
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Unknown calling convention */
/* 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 */
/* WARNING: Enum "ComplianceType": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

MagickBooleanType SyncImageSettings(ImageInfo *image_info,Image *image,ExceptionInfo *exception)

{
  int iVar1;
  size_t sVar2;
  int iVar3;
  ResolutionType RVar4;
  float fVar5;
  float fVar6;
  float fVar7;
  char *pcVar8;
  MagickBooleanType MVar9;
  MagickStatusType MVar10;
  CompositeOperator CVar11;
  CompressionType CVar12;
  ulong uVar13;
  EndianType EVar14;
  FilterType FVar15;
  GravityType GVar16;
  RenderingIntent RVar17;
  PixelIntensityMethod PVar18;
  InterlaceType IVar19;
  PixelInterpolateMethod PVar20;
  OrientationType OVar21;
  ImageType IVar22;
  ResolutionType RVar23;
  VirtualPixelMethod virtual_pixel_method;
  ImageInfo *pIVar24;
  int in_GS_OFFSET;
  double dVar25;
  char *q;
  GeometryInfo geometry_info;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  if (image_info == (ImageInfo *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,
                  "SyncImageSettings");
  }
  if (image_info->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,
                  "SyncImageSettings");
  }
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");
  }
  if (image->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,
                  "SyncImageSettings");
  }
  if (image->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename);
  }
  pcVar8 = GetImageOption(image_info,"background");
  if (pcVar8 != (char *)0x0) {
    QueryColorCompliance(pcVar8,AllCompliance,&image->background_color,exception);
  }
  pcVar8 = GetImageOption(image_info,"black-point-compensation");
  if (pcVar8 != (char *)0x0) {
    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);
    image->black_point_compensation = MVar9;
  }
  pcVar8 = GetImageOption(image_info,"blue-primary");
  if (pcVar8 != (char *)0x0) {
    MVar10 = ParseGeometry(pcVar8,&geometry_info);
    (image->chromaticity).blue_primary.x = geometry_info.rho;
    if ((MVar10 & 8) == 0) {
      (image->chromaticity).blue_primary.y = geometry_info.rho;
    }
    else {
      (image->chromaticity).blue_primary.y = geometry_info.sigma;
    }
  }
  pcVar8 = GetImageOption(image_info,"bordercolor");
  if (pcVar8 != (char *)0x0) {
    QueryColorCompliance(pcVar8,AllCompliance,&image->border_color,exception);
  }
  pcVar8 = GetImageOption(image_info,"compose");
  if (pcVar8 != (char *)0x0) {
    CVar11 = ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8);
    image->compose = CVar11;
  }
  pcVar8 = GetImageOption(image_info,"compress");
  if (pcVar8 != (char *)0x0) {
    CVar12 = ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8);
    image->compression = CVar12;
  }
  pcVar8 = GetImageOption(image_info,"debug");
  if (pcVar8 != (char *)0x0) {
    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);
    image->debug = MVar9;
  }
  pcVar8 = GetImageOption(image_info,"density");
  if (pcVar8 != (char *)0x0) {
    MVar10 = ParseGeometry(pcVar8,&geometry_info);
    (image->resolution).x = geometry_info.rho;
    if ((MVar10 & 8) == 0) {
      (image->resolution).y = geometry_info.rho;
    }
    else {
      (image->resolution).y = geometry_info.sigma;
    }
  }
  pcVar8 = GetImageOption(image_info,"depth");
  if (pcVar8 != (char *)0x0) {
    uVar13 = strtoul(pcVar8,(char **)0x0,10);
    image->depth = uVar13;
  }
  pcVar8 = GetImageOption(image_info,"endian");
  if (pcVar8 != (char *)0x0) {
    EVar14 = ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8);
    image->endian = EVar14;
  }
  pcVar8 = GetImageOption(image_info,"filter");
  if (pcVar8 != (char *)0x0) {
    FVar15 = ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8);
    image->filter = FVar15;
  }
  pcVar8 = GetImageOption(image_info,"fuzz");
  if (pcVar8 != (char *)0x0) {
    dVar25 = InterpretLocaleValue(pcVar8,&q);
    if (*q == '%') {
      dVar25 = dVar25 * _DAT_002e1b78;
    }
    image->fuzz = dVar25;
  }
  pcVar8 = GetImageOption(image_info,"gravity");
  if (pcVar8 != (char *)0x0) {
    GVar16 = ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8);
    image->gravity = GVar16;
  }
  pcVar8 = GetImageOption(image_info,"green-primary");
  if (pcVar8 != (char *)0x0) {
    MVar10 = ParseGeometry(pcVar8,&geometry_info);
    (image->chromaticity).green_primary.x = geometry_info.rho;
    if ((MVar10 & 8) == 0) {
      (image->chromaticity).green_primary.y = geometry_info.rho;
    }
    else {
      (image->chromaticity).green_primary.y = geometry_info.sigma;
    }
  }
  pcVar8 = GetImageOption(image_info,"intent");
  if (pcVar8 != (char *)0x0) {
    RVar17 = ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8);
    image->rendering_intent = RVar17;
  }
  pcVar8 = GetImageOption(image_info,"intensity");
  if (pcVar8 != (char *)0x0) {
    PVar18 = ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8);
    image->intensity = PVar18;
  }
  pcVar8 = GetImageOption(image_info,"interlace");
  if (pcVar8 != (char *)0x0) {
    IVar19 = ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8);
    image->interlace = IVar19;
  }
  pcVar8 = GetImageOption(image_info,"interpolate");
  if (pcVar8 != (char *)0x0) {
    PVar20 = ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8);
    image->interpolate = PVar20;
  }
  pcVar8 = GetImageOption(image_info,"loop");
  if (pcVar8 != (char *)0x0) {
    uVar13 = strtoul(pcVar8,(char **)0x0,10);
    image->iterations = uVar13;
  }
  pcVar8 = GetImageOption(image_info,"mattecolor");
  if (pcVar8 != (char *)0x0) {
    QueryColorCompliance(pcVar8,AllCompliance,&image->matte_color,exception);
  }
  pcVar8 = GetImageOption(image_info,"orient");
  if (pcVar8 != (char *)0x0) {
    OVar21 = ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8);
    image->orientation = OVar21;
  }
  pcVar8 = GetImageOption(image_info,"page");
  if (pcVar8 != (char *)0x0) {
    pcVar8 = GetPageGeometry(pcVar8);
    ParseAbsoluteGeometry(pcVar8,&image->page);
    DestroyString(pcVar8);
  }
  pcVar8 = GetImageOption(image_info,"quality");
  if (pcVar8 != (char *)0x0) {
    uVar13 = strtoul(pcVar8,(char **)0x0,10);
    image->quality = uVar13;
  }
  pcVar8 = GetImageOption(image_info,"red-primary");
  if (pcVar8 != (char *)0x0) {
    MVar10 = ParseGeometry(pcVar8,&geometry_info);
    (image->chromaticity).red_primary.x = geometry_info.rho;
    if ((MVar10 & 8) != 0) {
      sVar2 = image_info->quality;
      (image->chromaticity).red_primary.y = geometry_info.sigma;
      goto joined_r0x000f6c24;
    }
    (image->chromaticity).red_primary.y = geometry_info.rho;
  }
  sVar2 = image_info->quality;
joined_r0x000f6c24:
  if (sVar2 != 0) {
    image->quality = sVar2;
  }
  pcVar8 = GetImageOption(image_info,"scene");
  if (pcVar8 != (char *)0x0) {
    uVar13 = strtoul(pcVar8,(char **)0x0,10);
    image->scene = uVar13;
  }
  pcVar8 = GetImageOption(image_info,"taint");
  if (pcVar8 != (char *)0x0) {
    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);
    image->taint = MVar9;
  }
  pcVar8 = GetImageOption(image_info,"tile-offset");
  if (pcVar8 != (char *)0x0) {
    pcVar8 = GetPageGeometry(pcVar8);
    ParseAbsoluteGeometry(pcVar8,&image->tile_offset);
    DestroyString(pcVar8);
  }
  pcVar8 = GetImageOption(image_info,"transparent-color");
  if (pcVar8 != (char *)0x0) {
    QueryColorCompliance(pcVar8,AllCompliance,&image->transparent_color,exception);
  }
  pcVar8 = GetImageOption(image_info,"type");
  if (pcVar8 != (char *)0x0) {
    IVar22 = ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8);
    image->type = IVar22;
  }
  pcVar8 = GetImageOption(image_info,"units");
  if (pcVar8 == (char *)0x0) {
    RVar23 = image_info->units;
  }
  else {
    RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8);
  }
  dVar25 = _DAT_002f84b0;
  fVar7 = DAT_002f8478;
  fVar6 = DAT_002df8b8;
  fVar5 = DAT_002df2b8;
  if (RVar23 != UndefinedResolution) {
    RVar4 = image->units;
    if (RVar4 != RVar23) {
      if (RVar4 == PixelsPerInchResolution) {
        if (RVar23 == PixelsPerCentimeterResolution) {
          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;
          (image->resolution).y = (image->resolution).y / dVar25;
        }
      }
      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {
        (image->resolution).x =
             (double)((float)((longlong)
                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &
                             0xffffffff) / DAT_002df8b8);
        (image->resolution).y =
             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &
                             0xffffffff) / fVar6);
      }
    }
    image->units = RVar23;
    pcVar8 = GetImageOption(image_info,"density");
    if (pcVar8 != (char *)0x0) {
      MVar10 = ParseGeometry(pcVar8,&geometry_info);
      (image->resolution).x = geometry_info.rho;
      if ((MVar10 & 8) == 0) {
        (image->resolution).y = geometry_info.rho;
      }
      else {
        (image->resolution).y = geometry_info.sigma;
      }
    }
  }
  pcVar8 = GetImageOption(image_info,"virtual-pixel");
  if (pcVar8 != (char *)0x0) {
    virtual_pixel_method = ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8);
    SetImageVirtualPixelMethod(image,virtual_pixel_method,exception);
  }
  pcVar8 = GetImageOption(image_info,"white-point");
  if (pcVar8 != (char *)0x0) {
    MVar10 = ParseGeometry(pcVar8,&geometry_info);
    (image->chromaticity).white_point.x = geometry_info.rho;
    if ((MVar10 & 8) == 0) {
      (image->chromaticity).white_point.y = geometry_info.rho;
    }
    else {
      (image->chromaticity).white_point.y = geometry_info.sigma;
    }
  }
  if (image->image_info != (ImageInfo *)0x0) {
    pIVar24 = DestroyImageInfo(image->image_info);
    image->image_info = pIVar24;
  }
  pIVar24 = CloneImageInfo(image_info);
  iVar3 = *(int *)(in_GS_OFFSET + 0x14);
  image->image_info = pIVar24;
  if (iVar1 == iVar3) {
    return MagickTrue;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 SyncImageSettings(int param_1,int param_2,undefined4 param_3)

{
  int iVar1;
  float fVar2;
  float fVar3;
  float fVar4;
  double dVar5;
  int iVar6;
  undefined4 uVar7;
  uint uVar8;
  char *pcVar9;
  ulong uVar10;
  int in_GS_OFFSET;
  longdouble lVar11;
  char *local_50;
  undefined8 local_4c;
  undefined8 local_44;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xf6719;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,
                  "SyncImageSettings");
  }
  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,
                  "SyncImageSettings");
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");
  }
  if (*(int *)(param_2 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,
                  "SyncImageSettings");
  }
  if (*(int *)(param_2 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,
                   param_2 + 0x318);
  }
  iVar6 = GetImageOption(param_1,"background");
  if (iVar6 != 0) {
    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);
  }
  iVar6 = GetImageOption(param_1,"black-point-compensation");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(2,0,iVar6);
    *(undefined4 *)(param_2 + 0x264) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"blue-primary");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x1a4) = local_4c;
    if ((uVar8 & 8) == 0) {
      *(undefined8 *)(param_2 + 0x1ac) = local_4c;
    }
    else {
      *(undefined8 *)(param_2 + 0x1ac) = local_44;
    }
  }
  iVar6 = GetImageOption(param_1,"bordercolor");
  if (iVar6 != 0) {
    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);
  }
  iVar6 = GetImageOption(param_1,"compose");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0xd,0,iVar6);
    *(undefined4 *)(param_2 + 0x23c) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"compress");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0xe,0,iVar6);
    *(undefined4 *)(param_2 + 8) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"debug");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(2,0,iVar6);
    *(undefined4 *)(param_2 + 0x3328) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"density");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x1f0) = local_4c;
    if ((uVar8 & 8) == 0) {
      *(undefined8 *)(param_2 + 0x1f8) = local_4c;
    }
    else {
      *(undefined8 *)(param_2 + 0x1f8) = local_44;
    }
  }
  pcVar9 = (char *)GetImageOption(param_1,"depth");
  if (pcVar9 != (char *)0x0) {
    uVar10 = strtoul(pcVar9,(char **)0x0,10);
    *(ulong *)(param_2 + 0x20) = uVar10;
  }
  iVar6 = GetImageOption(param_1,"endian");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x18,0,iVar6);
    *(undefined4 *)(param_2 + 0x234) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"filter");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x1b,0,iVar6);
    *(undefined4 *)(param_2 + 0x228) = uVar7;
  }
  iVar6 = GetImageOption(param_1,&DAT_002fef1a);
  if (iVar6 != 0) {
    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);
    if (*local_50 == '%') {
      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;
    }
    *(double *)(param_2 + 0x220) = (double)lVar11;
  }
  iVar6 = GetImageOption(param_1,"gravity");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x21,0,iVar6);
    *(undefined4 *)(param_2 + 0x238) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"green-primary");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x18c) = local_4c;
    if ((uVar8 & 8) == 0) {
      *(undefined8 *)(param_2 + 0x194) = local_4c;
    }
    else {
      *(undefined8 *)(param_2 + 0x194) = local_44;
    }
  }
  iVar6 = GetImageOption(param_1,"intent");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x23,0,iVar6);
    *(undefined4 *)(param_2 + 0x1d4) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"intensity");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x38,0,iVar6);
    *(undefined4 *)(param_2 + 0x22c) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"interlace");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x24,0,iVar6);
    *(undefined4 *)(param_2 + 0x230) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"interpolate");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x25,0,iVar6);
    *(undefined4 *)(param_2 + 0x260) = uVar7;
  }
  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);
  if (pcVar9 != (char *)0x0) {
    uVar10 = strtoul(pcVar9,(char **)0x0,10);
    *(ulong *)(param_2 + 0x254) = uVar10;
  }
  iVar6 = GetImageOption(param_1,"mattecolor");
  if (iVar6 != 0) {
    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);
  }
  iVar6 = GetImageOption(param_1,"orient");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x36,0,iVar6);
    *(undefined4 *)(param_2 + 0x10) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"page");
  if (iVar6 != 0) {
    uVar7 = GetPageGeometry(iVar6);
    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);
    DestroyString(uVar7);
  }
  pcVar9 = (char *)GetImageOption(param_1,"quality");
  if (pcVar9 != (char *)0x0) {
    uVar10 = strtoul(pcVar9,(char **)0x0,10);
    *(ulong *)(param_2 + 0xc) = uVar10;
  }
  iVar6 = GetImageOption(param_1,"red-primary");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x174) = local_4c;
    if ((uVar8 & 8) != 0) {
      iVar6 = *(int *)(param_1 + 0x40);
      *(undefined8 *)(param_2 + 0x17c) = local_44;
      goto joined_r0x000f6c24;
    }
    *(undefined8 *)(param_2 + 0x17c) = local_4c;
  }
  iVar6 = *(int *)(param_1 + 0x40);
joined_r0x000f6c24:
  if (iVar6 != 0) {
    *(int *)(param_2 + 0xc) = iVar6;
  }
  pcVar9 = (char *)GetImageOption(param_1,"scene");
  if (pcVar9 != (char *)0x0) {
    uVar10 = strtoul(pcVar9,(char **)0x0,10);
    *(ulong *)(param_2 + 0x244) = uVar10;
  }
  iVar6 = GetImageOption(param_1,"taint");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(2,0,iVar6);
    *(undefined4 *)(param_2 + 0x14) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"tile-offset");
  if (iVar6 != 0) {
    uVar7 = GetPageGeometry(iVar6);
    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);
    DestroyString(uVar7);
  }
  iVar6 = GetImageOption(param_1,"transparent-color");
  if (iVar6 != 0) {
    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);
  }
  iVar6 = GetImageOption(param_1,"type");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x49,0,iVar6);
    *(undefined4 *)(param_2 + 0x278) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"units");
  if (iVar6 == 0) {
    iVar6 = *(int *)(param_1 + 0x3c);
  }
  else {
    iVar6 = ParseCommandOption(0x41,0,iVar6);
  }
  dVar5 = _DAT_002f84b0;
  fVar4 = DAT_002f8478;
  fVar3 = DAT_002df8b8;
  fVar2 = DAT_002df2b8;
  if (iVar6 != 0) {
    iVar1 = *(int *)(param_2 + 0x1dc);
    if (iVar1 != iVar6) {
      if (iVar1 == 1) {
        if (iVar6 == 2) {
          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;
          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;
        }
      }
      else if ((iVar1 == 2) && (iVar6 == 1)) {
        *(double *)(param_2 + 0x1f0) =
             (double)((float)((longlong)
                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +
                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);
        *(double *)(param_2 + 0x1f8) =
             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &
                             0xffffffff) / fVar3);
      }
    }
    *(int *)(param_2 + 0x1dc) = iVar6;
    iVar6 = GetImageOption(param_1,"density");
    if (iVar6 != 0) {
      uVar8 = ParseGeometry(iVar6,&local_4c);
      *(undefined8 *)(param_2 + 0x1f0) = local_4c;
      if ((uVar8 & 8) == 0) {
        *(undefined8 *)(param_2 + 0x1f8) = local_4c;
      }
      else {
        *(undefined8 *)(param_2 + 0x1f8) = local_44;
      }
    }
  }
  iVar6 = GetImageOption(param_1,"virtual-pixel");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x4b,0,iVar6);
    SetImageVirtualPixelMethod(param_2,uVar7,param_3);
  }
  iVar6 = GetImageOption(param_1,"white-point");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x1bc) = local_4c;
    if ((uVar8 & 8) == 0) {
      *(undefined8 *)(param_2 + 0x1c4) = local_4c;
    }
    else {
      *(undefined8 *)(param_2 + 0x1c4) = local_44;
    }
  }
  if (*(int *)(param_2 + 0x3334) != 0) {
    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));
    *(undefined4 *)(param_2 + 0x3334) = uVar7;
  }
  uVar7 = CloneImageInfo(param_1);
  iVar6 = *(int *)(in_GS_OFFSET + 0x14);
  *(undefined4 *)(param_2 + 0x3334) = uVar7;
  if (local_20 == iVar6) {
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002decd0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00039d70
ADD EBX,0x3278e7
SUB ESP,0x6c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x5c],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x80]
MOV EDI,dword ptr [ESP + 0x84]
MOV EBP,dword ptr [ESP + 0x88]
TEST ESI,ESI
JZ 0x000f7091
CMP dword ptr [ESI + 0x31f4],0xabacadab
JNZ 0x000f70b0
TEST EDI,EDI
JZ 0x000f7053
CMP dword ptr [EDI + 0x3344],0xabacadab
JNZ 0x000f7072
MOV EAX,dword ptr [EDI + 0x3328]
TEST EAX,EAX
JNZ 0x000f6f20
LEA EAX,[EBX + 0xffee0e0a]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f67ab
LEA EDX,[EDI + 0x7c]
PUSH EBP
PUSH EDX
PUSH 0x7fffffff
PUSH EAX
CALL 0x00033280
ADD ESP,0x10
LEA EAX,[EBX + 0xffee0e1e]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f67d8
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x2
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x264],EAX
LEA EAX,[EBX + 0xffee0e39]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6818
SUB ESP,0x8
LEA EDX,[ESP + 0x38]
PUSH EDX
PUSH EAX
CALL 0x00031a50
FLD qword ptr [ESP + 0x40]
ADD ESP,0x10
FST qword ptr [EDI + 0x1a4]
TEST AL,0x8
JNZ 0x000f6ee0
FSTP qword ptr [EDI + 0x1ac]
LEA EAX,[EBX + 0xffee0e48]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6845
LEA EDX,[EDI + 0xcc]
PUSH EBP
PUSH EDX
PUSH 0x7fffffff
PUSH EAX
CALL 0x00033280
ADD ESP,0x10
LEA EAX,[EBX + 0xffee1175]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6872
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0xd
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x23c],EAX
LEA EAX,[EBX + 0xffee0e74]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f689c
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0xe
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x8],EAX
LEA EAX,[EBX + 0xffee0e7f]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f68c9
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x2
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x3328],EAX
LEA EAX,[EBX + 0xffee0e98]
SUB ESP,0x8
MOV dword ptr [ESP + 0x18],EAX
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f690d
SUB ESP,0x8
LEA EDX,[ESP + 0x38]
PUSH EDX
PUSH EAX
CALL 0x00031a50
FLD qword ptr [ESP + 0x40]
ADD ESP,0x10
FST qword ptr [EDI + 0x1f0]
TEST AL,0x8
JNZ 0x000f6ec8
FSTP qword ptr [EDI + 0x1f8]
LEA EAX,[EBX + 0xffee0ea2]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6937
SUB ESP,0x4
PUSH 0xa
PUSH 0x0
PUSH EAX
CALL 0x00031e90
ADD ESP,0x10
MOV dword ptr [EDI + 0x20],EAX
LEA EAX,[EBX + 0xffee0ede]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6964
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x18
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x234],EAX
LEA EAX,[EBX + 0xffee0f01]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6991
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x1b
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x228],EAX
LEA EAX,[EBX + 0xffee0f1a]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f69cc
SUB ESP,0x8
LEA EDX,[ESP + 0x34]
PUSH EDX
PUSH EAX
CALL 0x00030e60
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x2c]
CMP byte ptr [EAX],0x25
JZ 0x000f6f60
FSTP qword ptr [EDI + 0x220]
LEA EAX,[EBX + 0xffee0f2c]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f69f9
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x21
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x238],EAX
LEA EAX,[EBX + 0xffee0f36]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6a39
SUB ESP,0x8
LEA EDX,[ESP + 0x38]
PUSH EDX
PUSH EAX
CALL 0x00031a50
FLD qword ptr [ESP + 0x40]
ADD ESP,0x10
FST qword ptr [EDI + 0x18c]
TEST AL,0x8
JNZ 0x000f6eb0
FSTP qword ptr [EDI + 0x194]
LEA EAX,[EBX + 0xffee0f52]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6a66
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x23
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x1d4],EAX
LEA EAX,[EBX + 0xffee00d9]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6a93
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x38
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x22c],EAX
LEA EAX,[EBX + 0xffee0f46]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6ac0
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x24
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x230],EAX
LEA EAX,[EBX + 0xffee0f5b]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6aed
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x25
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x260],EAX
LEA EAX,[EBX + 0xffee0f8b]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6b1a
SUB ESP,0x4
PUSH 0xa
PUSH 0x0
PUSH EAX
CALL 0x00031e90
ADD ESP,0x10
MOV dword ptr [EDI + 0x254],EAX
LEA EAX,[EBX + 0xffee0f92]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6b47
LEA EDX,[EDI + 0x3348]
PUSH EBP
PUSH EDX
PUSH 0x7fffffff
PUSH EAX
CALL 0x00033280
ADD ESP,0x10
LEA EAX,[EBX + 0xffee0fa9]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6b71
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x36
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x10],EAX
LEA EAX,[EBX + 0xffee0fb2]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6bb5
SUB ESP,0xc
PUSH EAX
CALL 0x000306d0
MOV EDX,EAX
POP EAX
POP ECX
LEA EAX,[EDI + 0x200]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x10],EDX
CALL 0x00033220
MOV EDX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP],EDX
CALL 0x00032950
ADD ESP,0x10
LEA EAX,[EBX + 0xffee0fcf]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6bdf
SUB ESP,0x4
PUSH 0xa
PUSH 0x0
PUSH EAX
CALL 0x00031e90
ADD ESP,0x10
MOV dword ptr [EDI + 0xc],EAX
LEA EAX,[EBX + 0xffee0fed]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6c1f
SUB ESP,0x8
LEA EDX,[ESP + 0x38]
PUSH EDX
PUSH EAX
CALL 0x00031a50
FLD qword ptr [ESP + 0x40]
ADD ESP,0x10
FST qword ptr [EDI + 0x174]
TEST AL,0x8
JNZ 0x000f6e90
FSTP qword ptr [EDI + 0x17c]
MOV EAX,dword ptr [ESI + 0x40]
TEST EAX,EAX
JNZ 0x000f6e80
LEA EAX,[EBX + 0xffee1028]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6c57
SUB ESP,0x4
PUSH 0xa
PUSH 0x0
PUSH EAX
CALL 0x00031e90
ADD ESP,0x10
MOV dword ptr [EDI + 0x244],EAX
LEA EAX,[EBX + 0xffee0a02]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6c81
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x2
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x14],EAX
LEA EAX,[EBX + 0xffee0a5e]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6cc5
SUB ESP,0xc
PUSH EAX
CALL 0x000306d0
MOV EDX,EAX
POP EAX
POP ECX
LEA EAX,[EDI + 0x268]
PUSH EAX
PUSH EDX
MOV dword ptr [ESP + 0x10],EDX
CALL 0x00033220
MOV EDX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP],EDX
CALL 0x00032950
ADD ESP,0x10
LEA EAX,[EBX + 0xffee1078]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6cf2
LEA EDX,[EDI + 0x11c]
PUSH EBP
PUSH EDX
PUSH 0x7fffffff
PUSH EAX
CALL 0x00033280
ADD ESP,0x10
LEA EAX,[EBX + 0xffee1098]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6d1f
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x49
CALL 0x000311a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x278],EAX
LEA EAX,[EBX + 0xffee10ac]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6f10
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x41
CALL 0x000311a0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000f6e10
LEA EAX,[EBX + 0xffee10be]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6d84
SUB ESP,0x4
PUSH EAX
PUSH 0x0
PUSH 0x4b
CALL 0x000311a0
ADD ESP,0xc
PUSH EBP
PUSH EAX
PUSH EDI
CALL 0x000332d0
ADD ESP,0x10
LEA EAX,[EBX + 0xffee1422]
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6dc4
SUB ESP,0x8
LEA EDX,[ESP + 0x38]
PUSH EDX
PUSH EAX
CALL 0x00031a50
FLD qword ptr [ESP + 0x40]
ADD ESP,0x10
FST qword ptr [EDI + 0x1bc]
TEST AL,0x8
JNZ 0x000f6ef8
FSTP qword ptr [EDI + 0x1c4]
MOV EAX,dword ptr [EDI + 0x3334]
TEST EAX,EAX
JZ 0x000f6de0
SUB ESP,0xc
PUSH EAX
CALL 0x00031450
ADD ESP,0x10
MOV dword ptr [EDI + 0x3334],EAX
SUB ESP,0xc
PUSH ESI
CALL 0x000324c0
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x5c]
XOR ECX,dword ptr GS:[0x14]
MOV dword ptr [EDI + 0x3334],EAX
MOV EAX,0x1
JNZ 0x000f704e
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [EDI + 0x1dc]
CMP EDX,EAX
JZ 0x000f6e2c
CMP EDX,0x1
JZ 0x000f7020
CMP EDX,0x2
JZ 0x000f6f88
SUB ESP,0x8
MOV dword ptr [EDI + 0x1dc],EAX
PUSH dword ptr [ESP + 0x18]
PUSH ESI
CALL 0x00032590
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f6d52
SUB ESP,0x8
LEA EDX,[ESP + 0x38]
PUSH EDX
PUSH EAX
CALL 0x00031a50
FLD qword ptr [ESP + 0x40]
ADD ESP,0x10
FST qword ptr [EDI + 0x1f0]
TEST AL,0x8
JNZ 0x000f6f70
FSTP qword ptr [EDI + 0x1f8]
JMP 0x000f6d52
MOV dword ptr [EDI + 0xc],EAX
JMP 0x000f6c2a
FSTP ST0
MOV EAX,dword ptr [ESI + 0x40]
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [EDI + 0x17c]
TEST EAX,EAX
JZ 0x000f6c2a
JMP 0x000f6e80
FSTP ST0
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [EDI + 0x194]
JMP 0x000f6a39
FSTP ST0
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [EDI + 0x1f8]
JMP 0x000f690d
FSTP ST0
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [EDI + 0x1ac]
JMP 0x000f6818
FSTP ST0
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [EDI + 0x1c4]
JMP 0x000f6dc4
MOV EAX,dword ptr [ESI + 0x3c]
JMP 0x000f6d4a
LEA EAX,[EDI + 0x318]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffed95ae]
PUSH EAX
LEA EAX,[EBX + 0xffed9f00]
PUSH 0xfaf
PUSH EAX
LEA EAX,[EBX + 0xffed9c5b]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
JMP 0x000f6781
FMUL qword ptr [EBX + 0xffec3b78]
JMP 0x000f69c6
FSTP ST0
FLD qword ptr [ESP + 0x38]
FSTP qword ptr [EDI + 0x1f8]
JMP 0x000f6d52
CMP EAX,0x1
JNZ 0x000f6e2c
FLD dword ptr [EBX + 0xffeda478]
MOV dword ptr [ESP + 0x4],0x0
FLD qword ptr [EDI + 0x1f0]
FNSTCW word ptr [ESP + 0x16]
FMUL ST1
MOVZX EDX,word ptr [ESP + 0x16]
FLD dword ptr [EBX + 0xffec12b8]
OR DH,0xc
FADD ST1,ST0
FXCH
MOV word ptr [ESP + 0x14],DX
FLDCW word ptr [ESP + 0x14]
FISTP qword ptr [ESP + 0x8]
FLDCW word ptr [ESP + 0x16]
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP],EDX
FILD qword ptr [ESP]
FLD dword ptr [EBX + 0xffec18b8]
MOV dword ptr [ESP + 0x4],0x0
FDIV ST1,ST0
FXCH
FSTP qword ptr [EDI + 0x1f0]
FXCH ST2
FMUL qword ptr [EDI + 0x1f8]
FADDP
FLDCW word ptr [ESP + 0x14]
FISTP qword ptr [ESP + 0x8]
FLDCW word ptr [ESP + 0x16]
MOV EDX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP],EDX
FILD qword ptr [ESP]
FDIVRP
FSTP qword ptr [EDI + 0x1f8]
JMP 0x000f6e2c
CMP EAX,0x2
JNZ 0x000f6e2c
FLD qword ptr [EBX + 0xffeda4b0]
FLD qword ptr [EDI + 0x1f0]
FDIV ST0,ST1
FSTP qword ptr [EDI + 0x1f0]
FDIVR qword ptr [EDI + 0x1f8]
FSTP qword ptr [EDI + 0x1f8]
JMP 0x000f6e2c
CALL 0x002decd0
LEA EAX,[EBX + 0xffed9f14]
PUSH EAX
LEA EAX,[EBX + 0xffed9c5b]
PUSH 0xfac
PUSH EAX
LEA EAX,[EBX + 0xffed9cf4]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffed9f14]
PUSH EAX
LEA EAX,[EBX + 0xffed9c5b]
PUSH 0xfad
PUSH EAX
LEA EAX,[EBX + 0xffecc4b8]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffed9f14]
PUSH EAX
LEA EAX,[EBX + 0xffed9c5b]
PUSH 0xfaa
PUSH EAX
LEA EAX,[EBX + 0xffec0d20]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffed9f14]
PUSH EAX
LEA EAX,[EBX + 0xffed9c5b]
PUSH 0xfab
PUSH EAX
LEA EAX,[EBX + 0xffec0d48]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nundefined4 SyncImageSettings(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  char *pcVar9;\n  ulong uVar10;\n  int in_GS_OFFSET;\n  longdouble lVar11;\n  char *local_50;\n  undefined8 local_4c;\n  undefined8 local_44;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf6719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }\n  iVar6 = GetImageOption(param_1,"background");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"black-point-compensation");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"blue-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"bordercolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"compose");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"compress");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"debug");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"density");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"depth");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"endian");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"filter");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,&DAT_002fef1a);\n  if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }\n  iVar6 = GetImageOption(param_1,"gravity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"green-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"intent");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"intensity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interlace");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interpolate");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"mattecolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"orient");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"page");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"quality");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"red-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }\n  iVar6 = *(int *)(param_1 + 0x40);\njoined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"scene");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"taint");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"tile-offset");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }\n  iVar6 = GetImageOption(param_1,"transparent-color");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"type");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"units");\n  if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }\n  dVar5 = _DAT_002f84b0;\n  fVar4 = DAT_002f8478;\n  fVar3 = DAT_002df8b8;\n  fVar2 = DAT_002df2b8;\n  if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }\n  iVar6 = GetImageOption(param_1,"virtual-pixel");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"white-point");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }\n  if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }\n  uVar7 = CloneImageInfo(param_1);\n  iVar6 = *(int *)(in_GS_OFFSET + 0x14);\n  *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  if (local_20 == iVar6) {\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002decd0();\n}\n\n" comment comment (function_definition "undefined4 SyncImageSettings(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  char *pcVar9;\n  ulong uVar10;\n  int in_GS_OFFSET;\n  longdouble lVar11;\n  char *local_50;\n  undefined8 local_4c;\n  undefined8 local_44;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf6719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }\n  iVar6 = GetImageOption(param_1,"background");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"black-point-compensation");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"blue-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"bordercolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"compose");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"compress");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"debug");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"density");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"depth");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"endian");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"filter");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,&DAT_002fef1a);\n  if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }\n  iVar6 = GetImageOption(param_1,"gravity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"green-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"intent");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"intensity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interlace");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interpolate");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"mattecolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"orient");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"page");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"quality");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"red-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }\n  iVar6 = *(int *)(param_1 + 0x40);\njoined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"scene");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"taint");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"tile-offset");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }\n  iVar6 = GetImageOption(param_1,"transparent-color");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"type");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"units");\n  if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }\n  dVar5 = _DAT_002f84b0;\n  fVar4 = DAT_002f8478;\n  fVar3 = DAT_002df8b8;\n  fVar2 = DAT_002df2b8;\n  if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }\n  iVar6 = GetImageOption(param_1,"virtual-pixel");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"white-point");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }\n  if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }\n  uVar7 = CloneImageInfo(param_1);\n  iVar6 = *(int *)(in_GS_OFFSET + 0x14);\n  *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  if (local_20 == iVar6) {\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002decd0();\n}" type_identifier (function_declarator "SyncImageSettings(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  char *pcVar9;\n  ulong uVar10;\n  int in_GS_OFFSET;\n  longdouble lVar11;\n  char *local_50;\n  undefined8 local_4c;\n  undefined8 local_44;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf6719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }\n  iVar6 = GetImageOption(param_1,"background");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"black-point-compensation");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"blue-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"bordercolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"compose");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"compress");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"debug");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"density");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"depth");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"endian");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"filter");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,&DAT_002fef1a);\n  if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }\n  iVar6 = GetImageOption(param_1,"gravity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"green-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"intent");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"intensity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interlace");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interpolate");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"mattecolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"orient");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"page");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"quality");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"red-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }\n  iVar6 = *(int *)(param_1 + 0x40);\njoined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"scene");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"taint");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"tile-offset");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }\n  iVar6 = GetImageOption(param_1,"transparent-color");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"type");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"units");\n  if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }\n  dVar5 = _DAT_002f84b0;\n  fVar4 = DAT_002f8478;\n  fVar3 = DAT_002df8b8;\n  fVar2 = DAT_002df2b8;\n  if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }\n  iVar6 = GetImageOption(param_1,"virtual-pixel");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"white-point");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }\n  if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }\n  uVar7 = CloneImageInfo(param_1);\n  iVar6 = *(int *)(in_GS_OFFSET + 0x14);\n  *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  if (local_20 == iVar6) {\n    return 1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002decd0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "float fVar3;" primitive_type identifier ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "double dVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "ulong uVar10;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longdouble lVar11;" type_identifier identifier ;) (declaration "char *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined8 local_4c;" type_identifier identifier ;) (declaration "undefined8 local_44;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xf6719;" (assignment_expression "uStack_14 = 0xf6719" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }" { comment (expression_statement "__assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings")" identifier (argument_list "("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings")" ( (string_literal ""image_info != (const ImageInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x31f4) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x31f4) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x31f4)" * (cast_expression "(int *)(param_1 + 0x31f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x31f4)" ( (binary_expression "param_1 + 0x31f4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }" { comment (expression_statement "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings")" identifier (argument_list "("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings")" ( (string_literal ""image_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (param_2 == 0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings")" identifier (argument_list "("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_2 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_2 + 0x3344)" * (cast_expression "(int *)(param_2 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3344)" ( (binary_expression "param_2 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_2 + 0x3328) != 0" (pointer_expression "*(int *)(param_2 + 0x3328)" * (cast_expression "(int *)(param_2 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3328)" ( (binary_expression "param_2 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318)" ( number_literal , (string_literal ""MagickCore/image.c"" " string_content ") , (string_literal ""SyncImageSettings"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_2 + 0x318" identifier + number_literal) ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"background");" (assignment_expression "iVar6 = GetImageOption(param_1,"background")" identifier = (call_expression "GetImageOption(param_1,"background")" identifier (argument_list "(param_1,"background")" ( identifier , (string_literal ""background"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }" { (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3)" identifier (argument_list "(iVar6,0x7fffffff,param_2 + 0x7c,param_3)" ( identifier , number_literal , (binary_expression "param_2 + 0x7c" identifier + number_literal) , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"black-point-compensation");" (assignment_expression "iVar6 = GetImageOption(param_1,"black-point-compensation")" identifier = (call_expression "GetImageOption(param_1,"black-point-compensation")" identifier (argument_list "(param_1,"black-point-compensation")" ( identifier , (string_literal ""black-point-compensation"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" identifier = (call_expression "ParseCommandOption(2,0,iVar6)" identifier (argument_list "(2,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x264) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x264) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x264)" * (cast_expression "(undefined4 *)(param_2 + 0x264)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x264)" ( (binary_expression "param_2 + 0x264" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"blue-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"blue-primary")" identifier = (call_expression "GetImageOption(param_1,"blue-primary")" identifier (argument_list "(param_1,"blue-primary")" ( identifier , (string_literal ""blue-primary"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x1a4) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1a4) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1a4)" * (cast_expression "(undefined8 *)(param_2 + 0x1a4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1a4)" ( (binary_expression "param_2 + 0x1a4" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1ac) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1ac) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1ac)" * (cast_expression "(undefined8 *)(param_2 + 0x1ac)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1ac)" ( (binary_expression "param_2 + 0x1ac" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1ac) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1ac) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1ac)" * (cast_expression "(undefined8 *)(param_2 + 0x1ac)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1ac)" ( (binary_expression "param_2 + 0x1ac" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "iVar6 = GetImageOption(param_1,"bordercolor");" (assignment_expression "iVar6 = GetImageOption(param_1,"bordercolor")" identifier = (call_expression "GetImageOption(param_1,"bordercolor")" identifier (argument_list "(param_1,"bordercolor")" ( identifier , (string_literal ""bordercolor"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }" { (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3)" identifier (argument_list "(iVar6,0x7fffffff,param_2 + 0xcc,param_3)" ( identifier , number_literal , (binary_expression "param_2 + 0xcc" identifier + number_literal) , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"compose");" (assignment_expression "iVar6 = GetImageOption(param_1,"compose")" identifier = (call_expression "GetImageOption(param_1,"compose")" identifier (argument_list "(param_1,"compose")" ( identifier , (string_literal ""compose"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0xd,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0xd,0,iVar6)" identifier = (call_expression "ParseCommandOption(0xd,0,iVar6)" identifier (argument_list "(0xd,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x23c) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x23c) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x23c)" * (cast_expression "(undefined4 *)(param_2 + 0x23c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x23c)" ( (binary_expression "param_2 + 0x23c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"compress");" (assignment_expression "iVar6 = GetImageOption(param_1,"compress")" identifier = (call_expression "GetImageOption(param_1,"compress")" identifier (argument_list "(param_1,"compress")" ( identifier , (string_literal ""compress"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0xe,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0xe,0,iVar6)" identifier = (call_expression "ParseCommandOption(0xe,0,iVar6)" identifier (argument_list "(0xe,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 8) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 8) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"debug");" (assignment_expression "iVar6 = GetImageOption(param_1,"debug")" identifier = (call_expression "GetImageOption(param_1,"debug")" identifier (argument_list "(param_1,"debug")" ( identifier , (string_literal ""debug"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" identifier = (call_expression "ParseCommandOption(2,0,iVar6)" identifier (argument_list "(2,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x3328) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3328) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3328)" * (cast_expression "(undefined4 *)(param_2 + 0x3328)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3328)" ( (binary_expression "param_2 + 0x3328" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"density");" (assignment_expression "iVar6 = GetImageOption(param_1,"density")" identifier = (call_expression "GetImageOption(param_1,"density")" identifier (argument_list "(param_1,"density")" ( identifier , (string_literal ""density"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x1f0) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f0) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f0)" * (cast_expression "(undefined8 *)(param_2 + 0x1f0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" * (cast_expression "(undefined8 *)(param_2 + 0x1f8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" * (cast_expression "(undefined8 *)(param_2 + 0x1f8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"depth");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"depth")" identifier = (cast_expression "(char *)GetImageOption(param_1,"depth")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetImageOption(param_1,"depth")" identifier (argument_list "(param_1,"depth")" ( identifier , (string_literal ""depth"" " string_content ") ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }" { (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar9,(char **)0x0,10)" identifier (argument_list "(pcVar9,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(ulong *)(param_2 + 0x20) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x20) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x20)" * (cast_expression "(ulong *)(param_2 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"endian");" (assignment_expression "iVar6 = GetImageOption(param_1,"endian")" identifier = (call_expression "GetImageOption(param_1,"endian")" identifier (argument_list "(param_1,"endian")" ( identifier , (string_literal ""endian"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x18,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x18,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x18,0,iVar6)" identifier (argument_list "(0x18,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x234) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x234) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x234)" * (cast_expression "(undefined4 *)(param_2 + 0x234)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x234)" ( (binary_expression "param_2 + 0x234" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"filter");" (assignment_expression "iVar6 = GetImageOption(param_1,"filter")" identifier = (call_expression "GetImageOption(param_1,"filter")" identifier (argument_list "(param_1,"filter")" ( identifier , (string_literal ""filter"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x1b,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x1b,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x1b,0,iVar6)" identifier (argument_list "(0x1b,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x228) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x228) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x228)" * (cast_expression "(undefined4 *)(param_2 + 0x228)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x228)" ( (binary_expression "param_2 + 0x228" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,&DAT_002fef1a);" (assignment_expression "iVar6 = GetImageOption(param_1,&DAT_002fef1a)" identifier = (call_expression "GetImageOption(param_1,&DAT_002fef1a)" identifier (argument_list "(param_1,&DAT_002fef1a)" ( identifier , (pointer_expression "&DAT_002fef1a" & identifier) )))) ;) (if_statement "if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }" { (expression_statement "lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);" (assignment_expression "lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50)" identifier = (cast_expression "(longdouble)InterpretLocaleValue(iVar6,&local_50)" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "InterpretLocaleValue(iVar6,&local_50)" identifier (argument_list "(iVar6,&local_50)" ( identifier , (pointer_expression "&local_50" & identifier) ))))) ;) (if_statement "if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }" if (parenthesized_expression "(*local_50 == '%')" ( (binary_expression "*local_50 == '%'" (pointer_expression "*local_50" * identifier) == (char_literal "'%'" ' character ')) )) (compound_statement "{\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }" { (expression_statement "lVar11 = lVar11 * (longdouble)_DAT_002e1b78;" (assignment_expression "lVar11 = lVar11 * (longdouble)_DAT_002e1b78" identifier = (binary_expression "lVar11 * (longdouble)_DAT_002e1b78" identifier * (cast_expression "(longdouble)_DAT_002e1b78" ( (type_descriptor "longdouble" type_identifier) ) identifier))) ;) })) (expression_statement "*(double *)(param_2 + 0x220) = (double)lVar11;" (assignment_expression "*(double *)(param_2 + 0x220) = (double)lVar11" (pointer_expression "*(double *)(param_2 + 0x220)" * (cast_expression "(double *)(param_2 + 0x220)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x220)" ( (binary_expression "param_2 + 0x220" identifier + number_literal) )))) = (cast_expression "(double)lVar11" ( (type_descriptor "double" primitive_type) ) identifier)) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"gravity");" (assignment_expression "iVar6 = GetImageOption(param_1,"gravity")" identifier = (call_expression "GetImageOption(param_1,"gravity")" identifier (argument_list "(param_1,"gravity")" ( identifier , (string_literal ""gravity"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x21,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x21,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x21,0,iVar6)" identifier (argument_list "(0x21,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x238) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x238) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x238)" * (cast_expression "(undefined4 *)(param_2 + 0x238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x238)" ( (binary_expression "param_2 + 0x238" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"green-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"green-primary")" identifier = (call_expression "GetImageOption(param_1,"green-primary")" identifier (argument_list "(param_1,"green-primary")" ( identifier , (string_literal ""green-primary"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x18c) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x18c) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x18c)" * (cast_expression "(undefined8 *)(param_2 + 0x18c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18c)" ( (binary_expression "param_2 + 0x18c" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x194) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x194) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x194)" * (cast_expression "(undefined8 *)(param_2 + 0x194)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x194)" ( (binary_expression "param_2 + 0x194" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x194) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x194) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x194)" * (cast_expression "(undefined8 *)(param_2 + 0x194)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x194)" ( (binary_expression "param_2 + 0x194" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "iVar6 = GetImageOption(param_1,"intent");" (assignment_expression "iVar6 = GetImageOption(param_1,"intent")" identifier = (call_expression "GetImageOption(param_1,"intent")" identifier (argument_list "(param_1,"intent")" ( identifier , (string_literal ""intent"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x23,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x23,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x23,0,iVar6)" identifier (argument_list "(0x23,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x1d4) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x1d4) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x1d4)" * (cast_expression "(undefined4 *)(param_2 + 0x1d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1d4)" ( (binary_expression "param_2 + 0x1d4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"intensity");" (assignment_expression "iVar6 = GetImageOption(param_1,"intensity")" identifier = (call_expression "GetImageOption(param_1,"intensity")" identifier (argument_list "(param_1,"intensity")" ( identifier , (string_literal ""intensity"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x38,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x38,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x38,0,iVar6)" identifier (argument_list "(0x38,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x22c) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x22c) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x22c)" * (cast_expression "(undefined4 *)(param_2 + 0x22c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x22c)" ( (binary_expression "param_2 + 0x22c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"interlace");" (assignment_expression "iVar6 = GetImageOption(param_1,"interlace")" identifier = (call_expression "GetImageOption(param_1,"interlace")" identifier (argument_list "(param_1,"interlace")" ( identifier , (string_literal ""interlace"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x24,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x24,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x24,0,iVar6)" identifier (argument_list "(0x24,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x230) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x230) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x230)" * (cast_expression "(undefined4 *)(param_2 + 0x230)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x230)" ( (binary_expression "param_2 + 0x230" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"interpolate");" (assignment_expression "iVar6 = GetImageOption(param_1,"interpolate")" identifier = (call_expression "GetImageOption(param_1,"interpolate")" identifier (argument_list "(param_1,"interpolate")" ( identifier , (string_literal ""interpolate"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x25,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x25,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x25,0,iVar6)" identifier (argument_list "(0x25,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x260) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x260) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x260)" * (cast_expression "(undefined4 *)(param_2 + 0x260)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x260)" ( (binary_expression "param_2 + 0x260" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b)" identifier = (cast_expression "(char *)GetImageOption(param_1,&DAT_002fef8b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetImageOption(param_1,&DAT_002fef8b)" identifier (argument_list "(param_1,&DAT_002fef8b)" ( identifier , (pointer_expression "&DAT_002fef8b" & identifier) ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }" { (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar9,(char **)0x0,10)" identifier (argument_list "(pcVar9,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(ulong *)(param_2 + 0x254) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x254) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x254)" * (cast_expression "(ulong *)(param_2 + 0x254)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x254)" ( (binary_expression "param_2 + 0x254" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"mattecolor");" (assignment_expression "iVar6 = GetImageOption(param_1,"mattecolor")" identifier = (call_expression "GetImageOption(param_1,"mattecolor")" identifier (argument_list "(param_1,"mattecolor")" ( identifier , (string_literal ""mattecolor"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }" { (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3)" identifier (argument_list "(iVar6,0x7fffffff,param_2 + 0x3348,param_3)" ( identifier , number_literal , (binary_expression "param_2 + 0x3348" identifier + number_literal) , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"orient");" (assignment_expression "iVar6 = GetImageOption(param_1,"orient")" identifier = (call_expression "GetImageOption(param_1,"orient")" identifier (argument_list "(param_1,"orient")" ( identifier , (string_literal ""orient"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x36,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x36,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x36,0,iVar6)" identifier (argument_list "(0x36,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"page");" (assignment_expression "iVar6 = GetImageOption(param_1,"page")" identifier = (call_expression "GetImageOption(param_1,"page")" identifier (argument_list "(param_1,"page")" ( identifier , (string_literal ""page"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }" { (expression_statement "uVar7 = GetPageGeometry(iVar6);" (assignment_expression "uVar7 = GetPageGeometry(iVar6)" identifier = (call_expression "GetPageGeometry(iVar6)" identifier (argument_list "(iVar6)" ( identifier )))) ;) (expression_statement "ParseAbsoluteGeometry(uVar7,param_2 + 0x200);" (call_expression "ParseAbsoluteGeometry(uVar7,param_2 + 0x200)" identifier (argument_list "(uVar7,param_2 + 0x200)" ( identifier , (binary_expression "param_2 + 0x200" identifier + number_literal) ))) ;) (expression_statement "DestroyString(uVar7);" (call_expression "DestroyString(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) })) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"quality");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"quality")" identifier = (cast_expression "(char *)GetImageOption(param_1,"quality")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetImageOption(param_1,"quality")" identifier (argument_list "(param_1,"quality")" ( identifier , (string_literal ""quality"" " string_content ") ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }" { (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar9,(char **)0x0,10)" identifier (argument_list "(pcVar9,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(ulong *)(param_2 + 0xc) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0xc) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0xc)" * (cast_expression "(ulong *)(param_2 + 0xc)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"red-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"red-primary")" identifier = (call_expression "GetImageOption(param_1,"red-primary")" identifier (argument_list "(param_1,"red-primary")" ( identifier , (string_literal ""red-primary"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x174) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x174) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x174)" * (cast_expression "(undefined8 *)(param_2 + 0x174)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x174)" ( (binary_expression "param_2 + 0x174" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }" if (parenthesized_expression "((uVar8 & 8) != 0)" ( (binary_expression "(uVar8 & 8) != 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }" { (expression_statement "iVar6 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x17c) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x17c) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x17c)" * (cast_expression "(undefined8 *)(param_2 + 0x17c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x17c)" ( (binary_expression "param_2 + 0x17c" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto joined_r0x000f6c24;" goto statement_identifier ;) })) (expression_statement "*(undefined8 *)(param_2 + 0x17c) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x17c) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x17c)" * (cast_expression "(undefined8 *)(param_2 + 0x17c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x17c)" ( (binary_expression "param_2 + 0x17c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" statement_identifier : (if_statement "if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" { (expression_statement "*(int *)(param_2 + 0xc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0xc) = iVar6" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"scene");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"scene")" identifier = (cast_expression "(char *)GetImageOption(param_1,"scene")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetImageOption(param_1,"scene")" identifier (argument_list "(param_1,"scene")" ( identifier , (string_literal ""scene"" " string_content ") ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }" { (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar9,(char **)0x0,10)" identifier (argument_list "(pcVar9,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(ulong *)(param_2 + 0x244) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x244) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x244)" * (cast_expression "(ulong *)(param_2 + 0x244)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x244)" ( (binary_expression "param_2 + 0x244" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"taint");" (assignment_expression "iVar6 = GetImageOption(param_1,"taint")" identifier = (call_expression "GetImageOption(param_1,"taint")" identifier (argument_list "(param_1,"taint")" ( identifier , (string_literal ""taint"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" identifier = (call_expression "ParseCommandOption(2,0,iVar6)" identifier (argument_list "(2,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x14) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x14) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"tile-offset");" (assignment_expression "iVar6 = GetImageOption(param_1,"tile-offset")" identifier = (call_expression "GetImageOption(param_1,"tile-offset")" identifier (argument_list "(param_1,"tile-offset")" ( identifier , (string_literal ""tile-offset"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }" { (expression_statement "uVar7 = GetPageGeometry(iVar6);" (assignment_expression "uVar7 = GetPageGeometry(iVar6)" identifier = (call_expression "GetPageGeometry(iVar6)" identifier (argument_list "(iVar6)" ( identifier )))) ;) (expression_statement "ParseAbsoluteGeometry(uVar7,param_2 + 0x268);" (call_expression "ParseAbsoluteGeometry(uVar7,param_2 + 0x268)" identifier (argument_list "(uVar7,param_2 + 0x268)" ( identifier , (binary_expression "param_2 + 0x268" identifier + number_literal) ))) ;) (expression_statement "DestroyString(uVar7);" (call_expression "DestroyString(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"transparent-color");" (assignment_expression "iVar6 = GetImageOption(param_1,"transparent-color")" identifier = (call_expression "GetImageOption(param_1,"transparent-color")" identifier (argument_list "(param_1,"transparent-color")" ( identifier , (string_literal ""transparent-color"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }" { (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3)" identifier (argument_list "(iVar6,0x7fffffff,param_2 + 0x11c,param_3)" ( identifier , number_literal , (binary_expression "param_2 + 0x11c" identifier + number_literal) , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"type");" (assignment_expression "iVar6 = GetImageOption(param_1,"type")" identifier = (call_expression "GetImageOption(param_1,"type")" identifier (argument_list "(param_1,"type")" ( identifier , (string_literal ""type"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x49,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x49,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x49,0,iVar6)" identifier (argument_list "(0x49,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x278) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x278) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x278)" * (cast_expression "(undefined4 *)(param_2 + 0x278)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x278)" ( (binary_expression "param_2 + 0x278" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"units");" (assignment_expression "iVar6 = GetImageOption(param_1,"units")" identifier = (call_expression "GetImageOption(param_1,"units")" identifier (argument_list "(param_1,"units")" ( identifier , (string_literal ""units"" " string_content ") )))) ;) (if_statement "if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }" { (expression_statement "iVar6 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" else (compound_statement "{\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" { (expression_statement "iVar6 = ParseCommandOption(0x41,0,iVar6);" (assignment_expression "iVar6 = ParseCommandOption(0x41,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x41,0,iVar6)" identifier (argument_list "(0x41,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) }))) (expression_statement "dVar5 = _DAT_002f84b0;" (assignment_expression "dVar5 = _DAT_002f84b0" identifier = identifier) ;) (expression_statement "fVar4 = DAT_002f8478;" (assignment_expression "fVar4 = DAT_002f8478" identifier = identifier) ;) (expression_statement "fVar3 = DAT_002df8b8;" (assignment_expression "fVar3 = DAT_002df8b8" identifier = identifier) ;) (expression_statement "fVar2 = DAT_002df2b8;" (assignment_expression "fVar2 = DAT_002df2b8" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }" { (expression_statement "iVar1 = *(int *)(param_2 + 0x1dc);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1dc)" identifier = (pointer_expression "*(int *)(param_2 + 0x1dc)" * (cast_expression "(int *)(param_2 + 0x1dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1dc)" ( (binary_expression "param_2 + 0x1dc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }" if (parenthesized_expression "(iVar1 != iVar6)" ( (binary_expression "iVar1 != iVar6" identifier != identifier) )) (compound_statement "{\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }" { (if_statement "if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }" { (if_statement "if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (compound_statement "{\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }" { (expression_statement "*(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;" (assignment_expression "*(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0" (pointer_expression "*(double *)(param_2 + 0x1f0)" * (cast_expression "(double *)(param_2 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) = (binary_expression "*(double *)(param_2 + 0x1f0) / _DAT_002f84b0" (pointer_expression "*(double *)(param_2 + 0x1f0)" * (cast_expression "(double *)(param_2 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) / identifier)) ;) (expression_statement "*(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;" (assignment_expression "*(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5" (pointer_expression "*(double *)(param_2 + 0x1f8)" * (cast_expression "(double *)(param_2 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = (binary_expression "*(double *)(param_2 + 0x1f8) / dVar5" (pointer_expression "*(double *)(param_2 + 0x1f8)" * (cast_expression "(double *)(param_2 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) / identifier)) ;) })) }) (else_clause "else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" else (if_statement "if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" if (parenthesized_expression "((iVar1 == 2) && (iVar6 == 1))" ( (binary_expression "(iVar1 == 2) && (iVar6 == 1)" (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) && (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" { (expression_statement "*(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);" (assignment_expression "*(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" (pointer_expression "*(double *)(param_2 + 0x1f0)" * (cast_expression "(double *)(param_2 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) = (cast_expression "(double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" ( (binary_expression "(float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8" (cast_expression "(float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff)" ( (binary_expression "(longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff" (cast_expression "(longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" identifier (argument_list "((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" ( (binary_expression "(float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8" (binary_expression "(float)*(double *)(param_2 + 0x1f0) * DAT_002f8478" (cast_expression "(float)*(double *)(param_2 + 0x1f0)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 0x1f0)" * (cast_expression "(double *)(param_2 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) ))))) * identifier) + identifier) )))) & number_literal) ))) / identifier) )))) ;) (expression_statement "*(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);" (assignment_expression "*(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" (pointer_expression "*(double *)(param_2 + 0x1f8)" * (cast_expression "(double *)(param_2 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = (cast_expression "(double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" ( (binary_expression "(float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3" (cast_expression "(float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff)" ( (binary_expression "(longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff" (cast_expression "(longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" identifier (argument_list "(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" ( (binary_expression "fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2" (binary_expression "fVar4 * (float)*(double *)(param_2 + 0x1f8)" identifier * (cast_expression "(float)*(double *)(param_2 + 0x1f8)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 0x1f8)" * (cast_expression "(double *)(param_2 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))))) + identifier) )))) & number_literal) ))) / identifier) )))) ;) })))) })) (expression_statement "*(int *)(param_2 + 0x1dc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0x1dc) = iVar6" (pointer_expression "*(int *)(param_2 + 0x1dc)" * (cast_expression "(int *)(param_2 + 0x1dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1dc)" ( (binary_expression "param_2 + 0x1dc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = GetImageOption(param_1,"density");" (assignment_expression "iVar6 = GetImageOption(param_1,"density")" identifier = (call_expression "GetImageOption(param_1,"density")" identifier (argument_list "(param_1,"density")" ( identifier , (string_literal ""density"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x1f0) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f0) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f0)" * (cast_expression "(undefined8 *)(param_2 + 0x1f0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }" { (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" * (cast_expression "(undefined8 *)(param_2 + 0x1f8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" else (compound_statement "{\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" { (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" * (cast_expression "(undefined8 *)(param_2 + 0x1f8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = identifier) ;) }))) })) })) (expression_statement "iVar6 = GetImageOption(param_1,"virtual-pixel");" (assignment_expression "iVar6 = GetImageOption(param_1,"virtual-pixel")" identifier = (call_expression "GetImageOption(param_1,"virtual-pixel")" identifier (argument_list "(param_1,"virtual-pixel")" ( identifier , (string_literal ""virtual-pixel"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x4b,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x4b,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x4b,0,iVar6)" identifier (argument_list "(0x4b,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "SetImageVirtualPixelMethod(param_2,uVar7,param_3);" (call_expression "SetImageVirtualPixelMethod(param_2,uVar7,param_3)" identifier (argument_list "(param_2,uVar7,param_3)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"white-point");" (assignment_expression "iVar6 = GetImageOption(param_1,"white-point")" identifier = (call_expression "GetImageOption(param_1,"white-point")" identifier (argument_list "(param_1,"white-point")" ( identifier , (string_literal ""white-point"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x1bc) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1bc) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1bc)" * (cast_expression "(undefined8 *)(param_2 + 0x1bc)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1bc)" ( (binary_expression "param_2 + 0x1bc" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1c4) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1c4) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1c4)" * (cast_expression "(undefined8 *)(param_2 + 0x1c4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c4)" ( (binary_expression "param_2 + 0x1c4" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1c4) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1c4) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1c4)" * (cast_expression "(undefined8 *)(param_2 + 0x1c4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c4)" ( (binary_expression "param_2 + 0x1c4" identifier + number_literal) )))) = identifier) ;) }))) })) (if_statement "if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x3334) != 0)" ( (binary_expression "*(int *)(param_2 + 0x3334) != 0" (pointer_expression "*(int *)(param_2 + 0x3334)" * (cast_expression "(int *)(param_2 + 0x3334)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3334)" ( (binary_expression "param_2 + 0x3334" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }" { (expression_statement "uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));" (assignment_expression "uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334))" identifier = (call_expression "DestroyImageInfo(*(int *)(param_2 + 0x3334))" identifier (argument_list "(*(int *)(param_2 + 0x3334))" ( (pointer_expression "*(int *)(param_2 + 0x3334)" * (cast_expression "(int *)(param_2 + 0x3334)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3334)" ( (binary_expression "param_2 + 0x3334" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x3334) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3334) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3334)" * (cast_expression "(undefined4 *)(param_2 + 0x3334)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3334)" ( (binary_expression "param_2 + 0x3334" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "uVar7 = CloneImageInfo(param_1);" (assignment_expression "uVar7 = CloneImageInfo(param_1)" identifier = (call_expression "CloneImageInfo(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar6 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar6 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x3334) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3334) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3334)" * (cast_expression "(undefined4 *)(param_2 + 0x3334)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3334)" ( (binary_expression "param_2 + 0x3334" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_20 == iVar6) {\n    return 1;\n  }" if (parenthesized_expression "(local_20 == iVar6)" ( (binary_expression "local_20 == iVar6" identifier == identifier) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) comment (expression_statement "FUN_002decd0();" (call_expression "FUN_002decd0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n/* WARNING: Unknown calling convention */\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/* WARNING: Enum "ComplianceType": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nMagickBooleanType SyncImageSettings(ImageInfo *image_info,Image *image,ExceptionInfo *exception)\n\n{\n  int iVar1;\n  size_t sVar2;\n  int iVar3;\n  ResolutionType RVar4;\n  float fVar5;\n  float fVar6;\n  float fVar7;\n  char *pcVar8;\n  MagickBooleanType MVar9;\n  MagickStatusType MVar10;\n  CompositeOperator CVar11;\n  CompressionType CVar12;\n  ulong uVar13;\n  EndianType EVar14;\n  FilterType FVar15;\n  GravityType GVar16;\n  RenderingIntent RVar17;\n  PixelIntensityMethod PVar18;\n  InterlaceType IVar19;\n  PixelInterpolateMethod PVar20;\n  OrientationType OVar21;\n  ImageType IVar22;\n  ResolutionType RVar23;\n  VirtualPixelMethod virtual_pixel_method;\n  ImageInfo *pIVar24;\n  int in_GS_OFFSET;\n  double dVar25;\n  char *q;\n  GeometryInfo geometry_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image_info == (ImageInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (image_info->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename);\n  }\n  pcVar8 = GetImageOption(image_info,"background");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->background_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"black-point-compensation");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->black_point_compensation = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"blue-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).blue_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).blue_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).blue_primary.y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"bordercolor");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->border_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"compose");\n  if (pcVar8 != (char *)0x0) {\n    CVar11 = ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8);\n    image->compose = CVar11;\n  }\n  pcVar8 = GetImageOption(image_info,"compress");\n  if (pcVar8 != (char *)0x0) {\n    CVar12 = ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8);\n    image->compression = CVar12;\n  }\n  pcVar8 = GetImageOption(image_info,"debug");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->debug = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"density");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->resolution).x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->resolution).y = geometry_info.rho;\n    }\n    else {\n      (image->resolution).y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"depth");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->depth = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"endian");\n  if (pcVar8 != (char *)0x0) {\n    EVar14 = ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8);\n    image->endian = EVar14;\n  }\n  pcVar8 = GetImageOption(image_info,"filter");\n  if (pcVar8 != (char *)0x0) {\n    FVar15 = ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8);\n    image->filter = FVar15;\n  }\n  pcVar8 = GetImageOption(image_info,"fuzz");\n  if (pcVar8 != (char *)0x0) {\n    dVar25 = InterpretLocaleValue(pcVar8,&q);\n    if (*q == '%') {\n      dVar25 = dVar25 * _DAT_002e1b78;\n    }\n    image->fuzz = dVar25;\n  }\n  pcVar8 = GetImageOption(image_info,"gravity");\n  if (pcVar8 != (char *)0x0) {\n    GVar16 = ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8);\n    image->gravity = GVar16;\n  }\n  pcVar8 = GetImageOption(image_info,"green-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).green_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).green_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).green_primary.y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"intent");\n  if (pcVar8 != (char *)0x0) {\n    RVar17 = ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8);\n    image->rendering_intent = RVar17;\n  }\n  pcVar8 = GetImageOption(image_info,"intensity");\n  if (pcVar8 != (char *)0x0) {\n    PVar18 = ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8);\n    image->intensity = PVar18;\n  }\n  pcVar8 = GetImageOption(image_info,"interlace");\n  if (pcVar8 != (char *)0x0) {\n    IVar19 = ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8);\n    image->interlace = IVar19;\n  }\n  pcVar8 = GetImageOption(image_info,"interpolate");\n  if (pcVar8 != (char *)0x0) {\n    PVar20 = ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8);\n    image->interpolate = PVar20;\n  }\n  pcVar8 = GetImageOption(image_info,"loop");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->iterations = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"mattecolor");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->matte_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"orient");\n  if (pcVar8 != (char *)0x0) {\n    OVar21 = ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8);\n    image->orientation = OVar21;\n  }\n  pcVar8 = GetImageOption(image_info,"page");\n  if (pcVar8 != (char *)0x0) {\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->page);\n    DestroyString(pcVar8);\n  }\n  pcVar8 = GetImageOption(image_info,"quality");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->quality = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"red-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).red_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) != 0) {\n      sVar2 = image_info->quality;\n      (image->chromaticity).red_primary.y = geometry_info.sigma;\n      goto joined_r0x000f6c24;\n    }\n    (image->chromaticity).red_primary.y = geometry_info.rho;\n  }\n  sVar2 = image_info->quality;\njoined_r0x000f6c24:\n  if (sVar2 != 0) {\n    image->quality = sVar2;\n  }\n  pcVar8 = GetImageOption(image_info,"scene");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->scene = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"taint");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->taint = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"tile-offset");\n  if (pcVar8 != (char *)0x0) {\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->tile_offset);\n    DestroyString(pcVar8);\n  }\n  pcVar8 = GetImageOption(image_info,"transparent-color");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->transparent_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"type");\n  if (pcVar8 != (char *)0x0) {\n    IVar22 = ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8);\n    image->type = IVar22;\n  }\n  pcVar8 = GetImageOption(image_info,"units");\n  if (pcVar8 == (char *)0x0) {\n    RVar23 = image_info->units;\n  }\n  else {\n    RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8);\n  }\n  dVar25 = _DAT_002f84b0;\n  fVar7 = DAT_002f8478;\n  fVar6 = DAT_002df8b8;\n  fVar5 = DAT_002df2b8;\n  if (RVar23 != UndefinedResolution) {\n    RVar4 = image->units;\n    if (RVar4 != RVar23) {\n      if (RVar4 == PixelsPerInchResolution) {\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }\n      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }\n    }\n    image->units = RVar23;\n    pcVar8 = GetImageOption(image_info,"density");\n    if (pcVar8 != (char *)0x0) {\n      MVar10 = ParseGeometry(pcVar8,&geometry_info);\n      (image->resolution).x = geometry_info.rho;\n      if ((MVar10 & 8) == 0) {\n        (image->resolution).y = geometry_info.rho;\n      }\n      else {\n        (image->resolution).y = geometry_info.sigma;\n      }\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"virtual-pixel");\n  if (pcVar8 != (char *)0x0) {\n    virtual_pixel_method = ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8);\n    SetImageVirtualPixelMethod(image,virtual_pixel_method,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"white-point");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).white_point.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).white_point.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).white_point.y = geometry_info.sigma;\n    }\n  }\n  if (image->image_info != (ImageInfo *)0x0) {\n    pIVar24 = DestroyImageInfo(image->image_info);\n    image->image_info = pIVar24;\n  }\n  pIVar24 = CloneImageInfo(image_info);\n  iVar3 = *(int *)(in_GS_OFFSET + 0x14);\n  image->image_info = pIVar24;\n  if (iVar1 == iVar3) {\n    return MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment comment comment comment comment comment comment comment comment (function_definition "MagickBooleanType SyncImageSettings(ImageInfo *image_info,Image *image,ExceptionInfo *exception)\n\n{\n  int iVar1;\n  size_t sVar2;\n  int iVar3;\n  ResolutionType RVar4;\n  float fVar5;\n  float fVar6;\n  float fVar7;\n  char *pcVar8;\n  MagickBooleanType MVar9;\n  MagickStatusType MVar10;\n  CompositeOperator CVar11;\n  CompressionType CVar12;\n  ulong uVar13;\n  EndianType EVar14;\n  FilterType FVar15;\n  GravityType GVar16;\n  RenderingIntent RVar17;\n  PixelIntensityMethod PVar18;\n  InterlaceType IVar19;\n  PixelInterpolateMethod PVar20;\n  OrientationType OVar21;\n  ImageType IVar22;\n  ResolutionType RVar23;\n  VirtualPixelMethod virtual_pixel_method;\n  ImageInfo *pIVar24;\n  int in_GS_OFFSET;\n  double dVar25;\n  char *q;\n  GeometryInfo geometry_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image_info == (ImageInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (image_info->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename);\n  }\n  pcVar8 = GetImageOption(image_info,"background");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->background_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"black-point-compensation");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->black_point_compensation = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"blue-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).blue_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).blue_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).blue_primary.y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"bordercolor");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->border_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"compose");\n  if (pcVar8 != (char *)0x0) {\n    CVar11 = ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8);\n    image->compose = CVar11;\n  }\n  pcVar8 = GetImageOption(image_info,"compress");\n  if (pcVar8 != (char *)0x0) {\n    CVar12 = ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8);\n    image->compression = CVar12;\n  }\n  pcVar8 = GetImageOption(image_info,"debug");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->debug = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"density");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->resolution).x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->resolution).y = geometry_info.rho;\n    }\n    else {\n      (image->resolution).y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"depth");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->depth = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"endian");\n  if (pcVar8 != (char *)0x0) {\n    EVar14 = ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8);\n    image->endian = EVar14;\n  }\n  pcVar8 = GetImageOption(image_info,"filter");\n  if (pcVar8 != (char *)0x0) {\n    FVar15 = ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8);\n    image->filter = FVar15;\n  }\n  pcVar8 = GetImageOption(image_info,"fuzz");\n  if (pcVar8 != (char *)0x0) {\n    dVar25 = InterpretLocaleValue(pcVar8,&q);\n    if (*q == '%') {\n      dVar25 = dVar25 * _DAT_002e1b78;\n    }\n    image->fuzz = dVar25;\n  }\n  pcVar8 = GetImageOption(image_info,"gravity");\n  if (pcVar8 != (char *)0x0) {\n    GVar16 = ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8);\n    image->gravity = GVar16;\n  }\n  pcVar8 = GetImageOption(image_info,"green-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).green_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).green_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).green_primary.y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"intent");\n  if (pcVar8 != (char *)0x0) {\n    RVar17 = ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8);\n    image->rendering_intent = RVar17;\n  }\n  pcVar8 = GetImageOption(image_info,"intensity");\n  if (pcVar8 != (char *)0x0) {\n    PVar18 = ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8);\n    image->intensity = PVar18;\n  }\n  pcVar8 = GetImageOption(image_info,"interlace");\n  if (pcVar8 != (char *)0x0) {\n    IVar19 = ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8);\n    image->interlace = IVar19;\n  }\n  pcVar8 = GetImageOption(image_info,"interpolate");\n  if (pcVar8 != (char *)0x0) {\n    PVar20 = ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8);\n    image->interpolate = PVar20;\n  }\n  pcVar8 = GetImageOption(image_info,"loop");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->iterations = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"mattecolor");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->matte_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"orient");\n  if (pcVar8 != (char *)0x0) {\n    OVar21 = ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8);\n    image->orientation = OVar21;\n  }\n  pcVar8 = GetImageOption(image_info,"page");\n  if (pcVar8 != (char *)0x0) {\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->page);\n    DestroyString(pcVar8);\n  }\n  pcVar8 = GetImageOption(image_info,"quality");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->quality = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"red-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).red_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) != 0) {\n      sVar2 = image_info->quality;\n      (image->chromaticity).red_primary.y = geometry_info.sigma;\n      goto joined_r0x000f6c24;\n    }\n    (image->chromaticity).red_primary.y = geometry_info.rho;\n  }\n  sVar2 = image_info->quality;\njoined_r0x000f6c24:\n  if (sVar2 != 0) {\n    image->quality = sVar2;\n  }\n  pcVar8 = GetImageOption(image_info,"scene");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->scene = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"taint");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->taint = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"tile-offset");\n  if (pcVar8 != (char *)0x0) {\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->tile_offset);\n    DestroyString(pcVar8);\n  }\n  pcVar8 = GetImageOption(image_info,"transparent-color");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->transparent_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"type");\n  if (pcVar8 != (char *)0x0) {\n    IVar22 = ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8);\n    image->type = IVar22;\n  }\n  pcVar8 = GetImageOption(image_info,"units");\n  if (pcVar8 == (char *)0x0) {\n    RVar23 = image_info->units;\n  }\n  else {\n    RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8);\n  }\n  dVar25 = _DAT_002f84b0;\n  fVar7 = DAT_002f8478;\n  fVar6 = DAT_002df8b8;\n  fVar5 = DAT_002df2b8;\n  if (RVar23 != UndefinedResolution) {\n    RVar4 = image->units;\n    if (RVar4 != RVar23) {\n      if (RVar4 == PixelsPerInchResolution) {\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }\n      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }\n    }\n    image->units = RVar23;\n    pcVar8 = GetImageOption(image_info,"density");\n    if (pcVar8 != (char *)0x0) {\n      MVar10 = ParseGeometry(pcVar8,&geometry_info);\n      (image->resolution).x = geometry_info.rho;\n      if ((MVar10 & 8) == 0) {\n        (image->resolution).y = geometry_info.rho;\n      }\n      else {\n        (image->resolution).y = geometry_info.sigma;\n      }\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"virtual-pixel");\n  if (pcVar8 != (char *)0x0) {\n    virtual_pixel_method = ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8);\n    SetImageVirtualPixelMethod(image,virtual_pixel_method,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"white-point");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).white_point.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).white_point.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).white_point.y = geometry_info.sigma;\n    }\n  }\n  if (image->image_info != (ImageInfo *)0x0) {\n    pIVar24 = DestroyImageInfo(image->image_info);\n    image->image_info = pIVar24;\n  }\n  pIVar24 = CloneImageInfo(image_info);\n  iVar3 = *(int *)(in_GS_OFFSET + 0x14);\n  image->image_info = pIVar24;\n  if (iVar1 == iVar3) {\n    return MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" type_identifier (function_declarator "SyncImageSettings(ImageInfo *image_info,Image *image,ExceptionInfo *exception)" identifier (parameter_list "(ImageInfo *image_info,Image *image,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 "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  int iVar3;\n  ResolutionType RVar4;\n  float fVar5;\n  float fVar6;\n  float fVar7;\n  char *pcVar8;\n  MagickBooleanType MVar9;\n  MagickStatusType MVar10;\n  CompositeOperator CVar11;\n  CompressionType CVar12;\n  ulong uVar13;\n  EndianType EVar14;\n  FilterType FVar15;\n  GravityType GVar16;\n  RenderingIntent RVar17;\n  PixelIntensityMethod PVar18;\n  InterlaceType IVar19;\n  PixelInterpolateMethod PVar20;\n  OrientationType OVar21;\n  ImageType IVar22;\n  ResolutionType RVar23;\n  VirtualPixelMethod virtual_pixel_method;\n  ImageInfo *pIVar24;\n  int in_GS_OFFSET;\n  double dVar25;\n  char *q;\n  GeometryInfo geometry_info;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image_info == (ImageInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (image_info->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename);\n  }\n  pcVar8 = GetImageOption(image_info,"background");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->background_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"black-point-compensation");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->black_point_compensation = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"blue-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).blue_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).blue_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).blue_primary.y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"bordercolor");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->border_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"compose");\n  if (pcVar8 != (char *)0x0) {\n    CVar11 = ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8);\n    image->compose = CVar11;\n  }\n  pcVar8 = GetImageOption(image_info,"compress");\n  if (pcVar8 != (char *)0x0) {\n    CVar12 = ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8);\n    image->compression = CVar12;\n  }\n  pcVar8 = GetImageOption(image_info,"debug");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->debug = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"density");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->resolution).x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->resolution).y = geometry_info.rho;\n    }\n    else {\n      (image->resolution).y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"depth");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->depth = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"endian");\n  if (pcVar8 != (char *)0x0) {\n    EVar14 = ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8);\n    image->endian = EVar14;\n  }\n  pcVar8 = GetImageOption(image_info,"filter");\n  if (pcVar8 != (char *)0x0) {\n    FVar15 = ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8);\n    image->filter = FVar15;\n  }\n  pcVar8 = GetImageOption(image_info,"fuzz");\n  if (pcVar8 != (char *)0x0) {\n    dVar25 = InterpretLocaleValue(pcVar8,&q);\n    if (*q == '%') {\n      dVar25 = dVar25 * _DAT_002e1b78;\n    }\n    image->fuzz = dVar25;\n  }\n  pcVar8 = GetImageOption(image_info,"gravity");\n  if (pcVar8 != (char *)0x0) {\n    GVar16 = ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8);\n    image->gravity = GVar16;\n  }\n  pcVar8 = GetImageOption(image_info,"green-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).green_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).green_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).green_primary.y = geometry_info.sigma;\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"intent");\n  if (pcVar8 != (char *)0x0) {\n    RVar17 = ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8);\n    image->rendering_intent = RVar17;\n  }\n  pcVar8 = GetImageOption(image_info,"intensity");\n  if (pcVar8 != (char *)0x0) {\n    PVar18 = ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8);\n    image->intensity = PVar18;\n  }\n  pcVar8 = GetImageOption(image_info,"interlace");\n  if (pcVar8 != (char *)0x0) {\n    IVar19 = ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8);\n    image->interlace = IVar19;\n  }\n  pcVar8 = GetImageOption(image_info,"interpolate");\n  if (pcVar8 != (char *)0x0) {\n    PVar20 = ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8);\n    image->interpolate = PVar20;\n  }\n  pcVar8 = GetImageOption(image_info,"loop");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->iterations = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"mattecolor");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->matte_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"orient");\n  if (pcVar8 != (char *)0x0) {\n    OVar21 = ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8);\n    image->orientation = OVar21;\n  }\n  pcVar8 = GetImageOption(image_info,"page");\n  if (pcVar8 != (char *)0x0) {\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->page);\n    DestroyString(pcVar8);\n  }\n  pcVar8 = GetImageOption(image_info,"quality");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->quality = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"red-primary");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).red_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) != 0) {\n      sVar2 = image_info->quality;\n      (image->chromaticity).red_primary.y = geometry_info.sigma;\n      goto joined_r0x000f6c24;\n    }\n    (image->chromaticity).red_primary.y = geometry_info.rho;\n  }\n  sVar2 = image_info->quality;\njoined_r0x000f6c24:\n  if (sVar2 != 0) {\n    image->quality = sVar2;\n  }\n  pcVar8 = GetImageOption(image_info,"scene");\n  if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->scene = uVar13;\n  }\n  pcVar8 = GetImageOption(image_info,"taint");\n  if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->taint = MVar9;\n  }\n  pcVar8 = GetImageOption(image_info,"tile-offset");\n  if (pcVar8 != (char *)0x0) {\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->tile_offset);\n    DestroyString(pcVar8);\n  }\n  pcVar8 = GetImageOption(image_info,"transparent-color");\n  if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->transparent_color,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"type");\n  if (pcVar8 != (char *)0x0) {\n    IVar22 = ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8);\n    image->type = IVar22;\n  }\n  pcVar8 = GetImageOption(image_info,"units");\n  if (pcVar8 == (char *)0x0) {\n    RVar23 = image_info->units;\n  }\n  else {\n    RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8);\n  }\n  dVar25 = _DAT_002f84b0;\n  fVar7 = DAT_002f8478;\n  fVar6 = DAT_002df8b8;\n  fVar5 = DAT_002df2b8;\n  if (RVar23 != UndefinedResolution) {\n    RVar4 = image->units;\n    if (RVar4 != RVar23) {\n      if (RVar4 == PixelsPerInchResolution) {\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }\n      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }\n    }\n    image->units = RVar23;\n    pcVar8 = GetImageOption(image_info,"density");\n    if (pcVar8 != (char *)0x0) {\n      MVar10 = ParseGeometry(pcVar8,&geometry_info);\n      (image->resolution).x = geometry_info.rho;\n      if ((MVar10 & 8) == 0) {\n        (image->resolution).y = geometry_info.rho;\n      }\n      else {\n        (image->resolution).y = geometry_info.sigma;\n      }\n    }\n  }\n  pcVar8 = GetImageOption(image_info,"virtual-pixel");\n  if (pcVar8 != (char *)0x0) {\n    virtual_pixel_method = ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8);\n    SetImageVirtualPixelMethod(image,virtual_pixel_method,exception);\n  }\n  pcVar8 = GetImageOption(image_info,"white-point");\n  if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).white_point.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).white_point.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).white_point.y = geometry_info.sigma;\n    }\n  }\n  if (image->image_info != (ImageInfo *)0x0) {\n    pIVar24 = DestroyImageInfo(image->image_info);\n    image->image_info = pIVar24;\n  }\n  pIVar24 = CloneImageInfo(image_info);\n  iVar3 = *(int *)(in_GS_OFFSET + 0x14);\n  image->image_info = pIVar24;\n  if (iVar1 == iVar3) {\n    return MagickTrue;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ResolutionType RVar4;" type_identifier identifier ;) (declaration "float fVar5;" primitive_type identifier ;) (declaration "float fVar6;" primitive_type identifier ;) (declaration "float fVar7;" primitive_type identifier ;) (declaration "char *pcVar8;" primitive_type (pointer_declarator "*pcVar8" * identifier) ;) (declaration "MagickBooleanType MVar9;" type_identifier identifier ;) (declaration "MagickStatusType MVar10;" type_identifier identifier ;) (declaration "CompositeOperator CVar11;" type_identifier identifier ;) (declaration "CompressionType CVar12;" type_identifier identifier ;) (declaration "ulong uVar13;" type_identifier identifier ;) (declaration "EndianType EVar14;" type_identifier identifier ;) (declaration "FilterType FVar15;" type_identifier identifier ;) (declaration "GravityType GVar16;" type_identifier identifier ;) (declaration "RenderingIntent RVar17;" type_identifier identifier ;) (declaration "PixelIntensityMethod PVar18;" type_identifier identifier ;) (declaration "InterlaceType IVar19;" type_identifier identifier ;) (declaration "PixelInterpolateMethod PVar20;" type_identifier identifier ;) (declaration "OrientationType OVar21;" type_identifier identifier ;) (declaration "ImageType IVar22;" type_identifier identifier ;) (declaration "ResolutionType RVar23;" type_identifier identifier ;) (declaration "VirtualPixelMethod virtual_pixel_method;" type_identifier identifier ;) (declaration "ImageInfo *pIVar24;" type_identifier (pointer_declarator "*pIVar24" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double dVar25;" primitive_type identifier ;) (declaration "char *q;" primitive_type (pointer_declarator "*q" * identifier) ;) (declaration "GeometryInfo geometry_info;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (image_info == (ImageInfo *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }" if (parenthesized_expression "(image_info == (ImageInfo *)0x0)" ( (binary_expression "image_info == (ImageInfo *)0x0" identifier == (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }" { comment (expression_statement "__assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings")" identifier (argument_list "("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings")" ( (string_literal ""image_info != (const ImageInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (image_info->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\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                    /* WARNING: Subroutine does not return */\n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }" { comment (expression_statement "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings")" identifier (argument_list "("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings")" ( (string_literal ""image_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }" 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)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings")" identifier (argument_list "("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }" if (parenthesized_expression "(image->signature != 0xabacadab)" ( (binary_expression "image->signature != 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename);\n  }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",image->filename)" ( identifier , (string_literal ""MagickCore/image.c"" " string_content ") , (string_literal ""SyncImageSettings"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"background");" (assignment_expression "pcVar8 = GetImageOption(image_info,"background")" identifier = (call_expression "GetImageOption(image_info,"background")" identifier (argument_list "(image_info,"background")" ( identifier , (string_literal ""background"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->background_color,exception);\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    QueryColorCompliance(pcVar8,AllCompliance,&image->background_color,exception);\n  }" { (expression_statement "QueryColorCompliance(pcVar8,AllCompliance,&image->background_color,exception);" (call_expression "QueryColorCompliance(pcVar8,AllCompliance,&image->background_color,exception)" identifier (argument_list "(pcVar8,AllCompliance,&image->background_color,exception)" ( identifier , identifier , (pointer_expression "&image->background_color" & (field_expression "image->background_color" identifier -> field_identifier)) , identifier ))) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"black-point-compensation");" (assignment_expression "pcVar8 = GetImageOption(image_info,"black-point-compensation")" identifier = (call_expression "GetImageOption(image_info,"black-point-compensation")" identifier (argument_list "(image_info,"black-point-compensation")" ( identifier , (string_literal ""black-point-compensation"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->black_point_compensation = MVar9;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->black_point_compensation = MVar9;\n  }" { (expression_statement "MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);" (assignment_expression "MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickBooleanOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->black_point_compensation = MVar9;" (assignment_expression "image->black_point_compensation = MVar9" (field_expression "image->black_point_compensation" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"blue-primary");" (assignment_expression "pcVar8 = GetImageOption(image_info,"blue-primary")" identifier = (call_expression "GetImageOption(image_info,"blue-primary")" identifier (argument_list "(image_info,"blue-primary")" ( identifier , (string_literal ""blue-primary"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).blue_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).blue_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).blue_primary.y = geometry_info.sigma;\n    }\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).blue_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).blue_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).blue_primary.y = geometry_info.sigma;\n    }\n  }" { (expression_statement "MVar10 = ParseGeometry(pcVar8,&geometry_info);" (assignment_expression "MVar10 = ParseGeometry(pcVar8,&geometry_info)" identifier = (call_expression "ParseGeometry(pcVar8,&geometry_info)" identifier (argument_list "(pcVar8,&geometry_info)" ( identifier , (pointer_expression "&geometry_info" & identifier) )))) ;) (expression_statement "(image->chromaticity).blue_primary.x = geometry_info.rho;" (assignment_expression "(image->chromaticity).blue_primary.x = geometry_info.rho" (field_expression "(image->chromaticity).blue_primary.x" (field_expression "(image->chromaticity).blue_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) (if_statement "if ((MVar10 & 8) == 0) {\n      (image->chromaticity).blue_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).blue_primary.y = geometry_info.sigma;\n    }" if (parenthesized_expression "((MVar10 & 8) == 0)" ( (binary_expression "(MVar10 & 8) == 0" (parenthesized_expression "(MVar10 & 8)" ( (binary_expression "MVar10 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      (image->chromaticity).blue_primary.y = geometry_info.rho;\n    }" { (expression_statement "(image->chromaticity).blue_primary.y = geometry_info.rho;" (assignment_expression "(image->chromaticity).blue_primary.y = geometry_info.rho" (field_expression "(image->chromaticity).blue_primary.y" (field_expression "(image->chromaticity).blue_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) }) (else_clause "else {\n      (image->chromaticity).blue_primary.y = geometry_info.sigma;\n    }" else (compound_statement "{\n      (image->chromaticity).blue_primary.y = geometry_info.sigma;\n    }" { (expression_statement "(image->chromaticity).blue_primary.y = geometry_info.sigma;" (assignment_expression "(image->chromaticity).blue_primary.y = geometry_info.sigma" (field_expression "(image->chromaticity).blue_primary.y" (field_expression "(image->chromaticity).blue_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.sigma" identifier . field_identifier)) ;) }))) })) (expression_statement "pcVar8 = GetImageOption(image_info,"bordercolor");" (assignment_expression "pcVar8 = GetImageOption(image_info,"bordercolor")" identifier = (call_expression "GetImageOption(image_info,"bordercolor")" identifier (argument_list "(image_info,"bordercolor")" ( identifier , (string_literal ""bordercolor"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->border_color,exception);\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    QueryColorCompliance(pcVar8,AllCompliance,&image->border_color,exception);\n  }" { (expression_statement "QueryColorCompliance(pcVar8,AllCompliance,&image->border_color,exception);" (call_expression "QueryColorCompliance(pcVar8,AllCompliance,&image->border_color,exception)" identifier (argument_list "(pcVar8,AllCompliance,&image->border_color,exception)" ( identifier , identifier , (pointer_expression "&image->border_color" & (field_expression "image->border_color" identifier -> field_identifier)) , identifier ))) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"compose");" (assignment_expression "pcVar8 = GetImageOption(image_info,"compose")" identifier = (call_expression "GetImageOption(image_info,"compose")" identifier (argument_list "(image_info,"compose")" ( identifier , (string_literal ""compose"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    CVar11 = ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8);\n    image->compose = CVar11;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    CVar11 = ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8);\n    image->compose = CVar11;\n  }" { (expression_statement "CVar11 = ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8);" (assignment_expression "CVar11 = ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickComposeOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickComposeOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->compose = CVar11;" (assignment_expression "image->compose = CVar11" (field_expression "image->compose" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"compress");" (assignment_expression "pcVar8 = GetImageOption(image_info,"compress")" identifier = (call_expression "GetImageOption(image_info,"compress")" identifier (argument_list "(image_info,"compress")" ( identifier , (string_literal ""compress"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    CVar12 = ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8);\n    image->compression = CVar12;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    CVar12 = ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8);\n    image->compression = CVar12;\n  }" { (expression_statement "CVar12 = ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8);" (assignment_expression "CVar12 = ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickCompressOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickCompressOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->compression = CVar12;" (assignment_expression "image->compression = CVar12" (field_expression "image->compression" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"debug");" (assignment_expression "pcVar8 = GetImageOption(image_info,"debug")" identifier = (call_expression "GetImageOption(image_info,"debug")" identifier (argument_list "(image_info,"debug")" ( identifier , (string_literal ""debug"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->debug = MVar9;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->debug = MVar9;\n  }" { (expression_statement "MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);" (assignment_expression "MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickBooleanOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->debug = MVar9;" (assignment_expression "image->debug = MVar9" (field_expression "image->debug" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"density");" (assignment_expression "pcVar8 = GetImageOption(image_info,"density")" identifier = (call_expression "GetImageOption(image_info,"density")" identifier (argument_list "(image_info,"density")" ( identifier , (string_literal ""density"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->resolution).x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->resolution).y = geometry_info.rho;\n    }\n    else {\n      (image->resolution).y = geometry_info.sigma;\n    }\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->resolution).x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->resolution).y = geometry_info.rho;\n    }\n    else {\n      (image->resolution).y = geometry_info.sigma;\n    }\n  }" { (expression_statement "MVar10 = ParseGeometry(pcVar8,&geometry_info);" (assignment_expression "MVar10 = ParseGeometry(pcVar8,&geometry_info)" identifier = (call_expression "ParseGeometry(pcVar8,&geometry_info)" identifier (argument_list "(pcVar8,&geometry_info)" ( identifier , (pointer_expression "&geometry_info" & identifier) )))) ;) (expression_statement "(image->resolution).x = geometry_info.rho;" (assignment_expression "(image->resolution).x = geometry_info.rho" (field_expression "(image->resolution).x" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) (if_statement "if ((MVar10 & 8) == 0) {\n      (image->resolution).y = geometry_info.rho;\n    }\n    else {\n      (image->resolution).y = geometry_info.sigma;\n    }" if (parenthesized_expression "((MVar10 & 8) == 0)" ( (binary_expression "(MVar10 & 8) == 0" (parenthesized_expression "(MVar10 & 8)" ( (binary_expression "MVar10 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      (image->resolution).y = geometry_info.rho;\n    }" { (expression_statement "(image->resolution).y = geometry_info.rho;" (assignment_expression "(image->resolution).y = geometry_info.rho" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) }) (else_clause "else {\n      (image->resolution).y = geometry_info.sigma;\n    }" else (compound_statement "{\n      (image->resolution).y = geometry_info.sigma;\n    }" { (expression_statement "(image->resolution).y = geometry_info.sigma;" (assignment_expression "(image->resolution).y = geometry_info.sigma" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (field_expression "geometry_info.sigma" identifier . field_identifier)) ;) }))) })) (expression_statement "pcVar8 = GetImageOption(image_info,"depth");" (assignment_expression "pcVar8 = GetImageOption(image_info,"depth")" identifier = (call_expression "GetImageOption(image_info,"depth")" identifier (argument_list "(image_info,"depth")" ( identifier , (string_literal ""depth"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->depth = uVar13;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->depth = uVar13;\n  }" { (expression_statement "uVar13 = strtoul(pcVar8,(char **)0x0,10);" (assignment_expression "uVar13 = strtoul(pcVar8,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar8,(char **)0x0,10)" identifier (argument_list "(pcVar8,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "image->depth = uVar13;" (assignment_expression "image->depth = uVar13" (field_expression "image->depth" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"endian");" (assignment_expression "pcVar8 = GetImageOption(image_info,"endian")" identifier = (call_expression "GetImageOption(image_info,"endian")" identifier (argument_list "(image_info,"endian")" ( identifier , (string_literal ""endian"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    EVar14 = ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8);\n    image->endian = EVar14;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    EVar14 = ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8);\n    image->endian = EVar14;\n  }" { (expression_statement "EVar14 = ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8);" (assignment_expression "EVar14 = ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickEndianOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickEndianOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->endian = EVar14;" (assignment_expression "image->endian = EVar14" (field_expression "image->endian" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"filter");" (assignment_expression "pcVar8 = GetImageOption(image_info,"filter")" identifier = (call_expression "GetImageOption(image_info,"filter")" identifier (argument_list "(image_info,"filter")" ( identifier , (string_literal ""filter"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    FVar15 = ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8);\n    image->filter = FVar15;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    FVar15 = ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8);\n    image->filter = FVar15;\n  }" { (expression_statement "FVar15 = ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8);" (assignment_expression "FVar15 = ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickFilterOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickFilterOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->filter = FVar15;" (assignment_expression "image->filter = FVar15" (field_expression "image->filter" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"fuzz");" (assignment_expression "pcVar8 = GetImageOption(image_info,"fuzz")" identifier = (call_expression "GetImageOption(image_info,"fuzz")" identifier (argument_list "(image_info,"fuzz")" ( identifier , (string_literal ""fuzz"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    dVar25 = InterpretLocaleValue(pcVar8,&q);\n    if (*q == '%') {\n      dVar25 = dVar25 * _DAT_002e1b78;\n    }\n    image->fuzz = dVar25;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dVar25 = InterpretLocaleValue(pcVar8,&q);\n    if (*q == '%') {\n      dVar25 = dVar25 * _DAT_002e1b78;\n    }\n    image->fuzz = dVar25;\n  }" { (expression_statement "dVar25 = InterpretLocaleValue(pcVar8,&q);" (assignment_expression "dVar25 = InterpretLocaleValue(pcVar8,&q)" identifier = (call_expression "InterpretLocaleValue(pcVar8,&q)" identifier (argument_list "(pcVar8,&q)" ( identifier , (pointer_expression "&q" & identifier) )))) ;) (if_statement "if (*q == '%') {\n      dVar25 = dVar25 * _DAT_002e1b78;\n    }" if (parenthesized_expression "(*q == '%')" ( (binary_expression "*q == '%'" (pointer_expression "*q" * identifier) == (char_literal "'%'" ' character ')) )) (compound_statement "{\n      dVar25 = dVar25 * _DAT_002e1b78;\n    }" { (expression_statement "dVar25 = dVar25 * _DAT_002e1b78;" (assignment_expression "dVar25 = dVar25 * _DAT_002e1b78" identifier = (binary_expression "dVar25 * _DAT_002e1b78" identifier * identifier)) ;) })) (expression_statement "image->fuzz = dVar25;" (assignment_expression "image->fuzz = dVar25" (field_expression "image->fuzz" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"gravity");" (assignment_expression "pcVar8 = GetImageOption(image_info,"gravity")" identifier = (call_expression "GetImageOption(image_info,"gravity")" identifier (argument_list "(image_info,"gravity")" ( identifier , (string_literal ""gravity"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    GVar16 = ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8);\n    image->gravity = GVar16;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    GVar16 = ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8);\n    image->gravity = GVar16;\n  }" { (expression_statement "GVar16 = ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8);" (assignment_expression "GVar16 = ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickGravityOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickGravityOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->gravity = GVar16;" (assignment_expression "image->gravity = GVar16" (field_expression "image->gravity" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"green-primary");" (assignment_expression "pcVar8 = GetImageOption(image_info,"green-primary")" identifier = (call_expression "GetImageOption(image_info,"green-primary")" identifier (argument_list "(image_info,"green-primary")" ( identifier , (string_literal ""green-primary"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).green_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).green_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).green_primary.y = geometry_info.sigma;\n    }\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).green_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).green_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).green_primary.y = geometry_info.sigma;\n    }\n  }" { (expression_statement "MVar10 = ParseGeometry(pcVar8,&geometry_info);" (assignment_expression "MVar10 = ParseGeometry(pcVar8,&geometry_info)" identifier = (call_expression "ParseGeometry(pcVar8,&geometry_info)" identifier (argument_list "(pcVar8,&geometry_info)" ( identifier , (pointer_expression "&geometry_info" & identifier) )))) ;) (expression_statement "(image->chromaticity).green_primary.x = geometry_info.rho;" (assignment_expression "(image->chromaticity).green_primary.x = geometry_info.rho" (field_expression "(image->chromaticity).green_primary.x" (field_expression "(image->chromaticity).green_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) (if_statement "if ((MVar10 & 8) == 0) {\n      (image->chromaticity).green_primary.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).green_primary.y = geometry_info.sigma;\n    }" if (parenthesized_expression "((MVar10 & 8) == 0)" ( (binary_expression "(MVar10 & 8) == 0" (parenthesized_expression "(MVar10 & 8)" ( (binary_expression "MVar10 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      (image->chromaticity).green_primary.y = geometry_info.rho;\n    }" { (expression_statement "(image->chromaticity).green_primary.y = geometry_info.rho;" (assignment_expression "(image->chromaticity).green_primary.y = geometry_info.rho" (field_expression "(image->chromaticity).green_primary.y" (field_expression "(image->chromaticity).green_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) }) (else_clause "else {\n      (image->chromaticity).green_primary.y = geometry_info.sigma;\n    }" else (compound_statement "{\n      (image->chromaticity).green_primary.y = geometry_info.sigma;\n    }" { (expression_statement "(image->chromaticity).green_primary.y = geometry_info.sigma;" (assignment_expression "(image->chromaticity).green_primary.y = geometry_info.sigma" (field_expression "(image->chromaticity).green_primary.y" (field_expression "(image->chromaticity).green_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.sigma" identifier . field_identifier)) ;) }))) })) (expression_statement "pcVar8 = GetImageOption(image_info,"intent");" (assignment_expression "pcVar8 = GetImageOption(image_info,"intent")" identifier = (call_expression "GetImageOption(image_info,"intent")" identifier (argument_list "(image_info,"intent")" ( identifier , (string_literal ""intent"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    RVar17 = ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8);\n    image->rendering_intent = RVar17;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    RVar17 = ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8);\n    image->rendering_intent = RVar17;\n  }" { (expression_statement "RVar17 = ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8);" (assignment_expression "RVar17 = ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickIntentOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickIntentOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->rendering_intent = RVar17;" (assignment_expression "image->rendering_intent = RVar17" (field_expression "image->rendering_intent" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"intensity");" (assignment_expression "pcVar8 = GetImageOption(image_info,"intensity")" identifier = (call_expression "GetImageOption(image_info,"intensity")" identifier (argument_list "(image_info,"intensity")" ( identifier , (string_literal ""intensity"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    PVar18 = ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8);\n    image->intensity = PVar18;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    PVar18 = ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8);\n    image->intensity = PVar18;\n  }" { (expression_statement "PVar18 = ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8);" (assignment_expression "PVar18 = ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickPixelIntensityOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickPixelIntensityOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->intensity = PVar18;" (assignment_expression "image->intensity = PVar18" (field_expression "image->intensity" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"interlace");" (assignment_expression "pcVar8 = GetImageOption(image_info,"interlace")" identifier = (call_expression "GetImageOption(image_info,"interlace")" identifier (argument_list "(image_info,"interlace")" ( identifier , (string_literal ""interlace"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    IVar19 = ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8);\n    image->interlace = IVar19;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    IVar19 = ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8);\n    image->interlace = IVar19;\n  }" { (expression_statement "IVar19 = ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8);" (assignment_expression "IVar19 = ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickInterlaceOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickInterlaceOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->interlace = IVar19;" (assignment_expression "image->interlace = IVar19" (field_expression "image->interlace" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"interpolate");" (assignment_expression "pcVar8 = GetImageOption(image_info,"interpolate")" identifier = (call_expression "GetImageOption(image_info,"interpolate")" identifier (argument_list "(image_info,"interpolate")" ( identifier , (string_literal ""interpolate"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    PVar20 = ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8);\n    image->interpolate = PVar20;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    PVar20 = ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8);\n    image->interpolate = PVar20;\n  }" { (expression_statement "PVar20 = ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8);" (assignment_expression "PVar20 = ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickInterpolateOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickInterpolateOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->interpolate = PVar20;" (assignment_expression "image->interpolate = PVar20" (field_expression "image->interpolate" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"loop");" (assignment_expression "pcVar8 = GetImageOption(image_info,"loop")" identifier = (call_expression "GetImageOption(image_info,"loop")" identifier (argument_list "(image_info,"loop")" ( identifier , (string_literal ""loop"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->iterations = uVar13;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->iterations = uVar13;\n  }" { (expression_statement "uVar13 = strtoul(pcVar8,(char **)0x0,10);" (assignment_expression "uVar13 = strtoul(pcVar8,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar8,(char **)0x0,10)" identifier (argument_list "(pcVar8,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "image->iterations = uVar13;" (assignment_expression "image->iterations = uVar13" (field_expression "image->iterations" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"mattecolor");" (assignment_expression "pcVar8 = GetImageOption(image_info,"mattecolor")" identifier = (call_expression "GetImageOption(image_info,"mattecolor")" identifier (argument_list "(image_info,"mattecolor")" ( identifier , (string_literal ""mattecolor"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->matte_color,exception);\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    QueryColorCompliance(pcVar8,AllCompliance,&image->matte_color,exception);\n  }" { (expression_statement "QueryColorCompliance(pcVar8,AllCompliance,&image->matte_color,exception);" (call_expression "QueryColorCompliance(pcVar8,AllCompliance,&image->matte_color,exception)" identifier (argument_list "(pcVar8,AllCompliance,&image->matte_color,exception)" ( identifier , identifier , (pointer_expression "&image->matte_color" & (field_expression "image->matte_color" identifier -> field_identifier)) , identifier ))) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"orient");" (assignment_expression "pcVar8 = GetImageOption(image_info,"orient")" identifier = (call_expression "GetImageOption(image_info,"orient")" identifier (argument_list "(image_info,"orient")" ( identifier , (string_literal ""orient"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    OVar21 = ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8);\n    image->orientation = OVar21;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    OVar21 = ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8);\n    image->orientation = OVar21;\n  }" { (expression_statement "OVar21 = ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8);" (assignment_expression "OVar21 = ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickOrientationOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickOrientationOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->orientation = OVar21;" (assignment_expression "image->orientation = OVar21" (field_expression "image->orientation" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"page");" (assignment_expression "pcVar8 = GetImageOption(image_info,"page")" identifier = (call_expression "GetImageOption(image_info,"page")" identifier (argument_list "(image_info,"page")" ( identifier , (string_literal ""page"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->page);\n    DestroyString(pcVar8);\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->page);\n    DestroyString(pcVar8);\n  }" { (expression_statement "pcVar8 = GetPageGeometry(pcVar8);" (assignment_expression "pcVar8 = GetPageGeometry(pcVar8)" identifier = (call_expression "GetPageGeometry(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "ParseAbsoluteGeometry(pcVar8,&image->page);" (call_expression "ParseAbsoluteGeometry(pcVar8,&image->page)" identifier (argument_list "(pcVar8,&image->page)" ( identifier , (pointer_expression "&image->page" & (field_expression "image->page" identifier -> field_identifier)) ))) ;) (expression_statement "DestroyString(pcVar8);" (call_expression "DestroyString(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier ))) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"quality");" (assignment_expression "pcVar8 = GetImageOption(image_info,"quality")" identifier = (call_expression "GetImageOption(image_info,"quality")" identifier (argument_list "(image_info,"quality")" ( identifier , (string_literal ""quality"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->quality = uVar13;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->quality = uVar13;\n  }" { (expression_statement "uVar13 = strtoul(pcVar8,(char **)0x0,10);" (assignment_expression "uVar13 = strtoul(pcVar8,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar8,(char **)0x0,10)" identifier (argument_list "(pcVar8,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "image->quality = uVar13;" (assignment_expression "image->quality = uVar13" (field_expression "image->quality" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"red-primary");" (assignment_expression "pcVar8 = GetImageOption(image_info,"red-primary")" identifier = (call_expression "GetImageOption(image_info,"red-primary")" identifier (argument_list "(image_info,"red-primary")" ( identifier , (string_literal ""red-primary"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).red_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) != 0) {\n      sVar2 = image_info->quality;\n      (image->chromaticity).red_primary.y = geometry_info.sigma;\n      goto joined_r0x000f6c24;\n    }\n    (image->chromaticity).red_primary.y = geometry_info.rho;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).red_primary.x = geometry_info.rho;\n    if ((MVar10 & 8) != 0) {\n      sVar2 = image_info->quality;\n      (image->chromaticity).red_primary.y = geometry_info.sigma;\n      goto joined_r0x000f6c24;\n    }\n    (image->chromaticity).red_primary.y = geometry_info.rho;\n  }" { (expression_statement "MVar10 = ParseGeometry(pcVar8,&geometry_info);" (assignment_expression "MVar10 = ParseGeometry(pcVar8,&geometry_info)" identifier = (call_expression "ParseGeometry(pcVar8,&geometry_info)" identifier (argument_list "(pcVar8,&geometry_info)" ( identifier , (pointer_expression "&geometry_info" & identifier) )))) ;) (expression_statement "(image->chromaticity).red_primary.x = geometry_info.rho;" (assignment_expression "(image->chromaticity).red_primary.x = geometry_info.rho" (field_expression "(image->chromaticity).red_primary.x" (field_expression "(image->chromaticity).red_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) (if_statement "if ((MVar10 & 8) != 0) {\n      sVar2 = image_info->quality;\n      (image->chromaticity).red_primary.y = geometry_info.sigma;\n      goto joined_r0x000f6c24;\n    }" if (parenthesized_expression "((MVar10 & 8) != 0)" ( (binary_expression "(MVar10 & 8) != 0" (parenthesized_expression "(MVar10 & 8)" ( (binary_expression "MVar10 & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      sVar2 = image_info->quality;\n      (image->chromaticity).red_primary.y = geometry_info.sigma;\n      goto joined_r0x000f6c24;\n    }" { (expression_statement "sVar2 = image_info->quality;" (assignment_expression "sVar2 = image_info->quality" identifier = (field_expression "image_info->quality" identifier -> field_identifier)) ;) (expression_statement "(image->chromaticity).red_primary.y = geometry_info.sigma;" (assignment_expression "(image->chromaticity).red_primary.y = geometry_info.sigma" (field_expression "(image->chromaticity).red_primary.y" (field_expression "(image->chromaticity).red_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.sigma" identifier . field_identifier)) ;) (goto_statement "goto joined_r0x000f6c24;" goto statement_identifier ;) })) (expression_statement "(image->chromaticity).red_primary.y = geometry_info.rho;" (assignment_expression "(image->chromaticity).red_primary.y = geometry_info.rho" (field_expression "(image->chromaticity).red_primary.y" (field_expression "(image->chromaticity).red_primary" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) })) (expression_statement "sVar2 = image_info->quality;" (assignment_expression "sVar2 = image_info->quality" identifier = (field_expression "image_info->quality" identifier -> field_identifier)) ;) (labeled_statement "joined_r0x000f6c24:\n  if (sVar2 != 0) {\n    image->quality = sVar2;\n  }" statement_identifier : (if_statement "if (sVar2 != 0) {\n    image->quality = sVar2;\n  }" if (parenthesized_expression "(sVar2 != 0)" ( (binary_expression "sVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    image->quality = sVar2;\n  }" { (expression_statement "image->quality = sVar2;" (assignment_expression "image->quality = sVar2" (field_expression "image->quality" identifier -> field_identifier) = identifier) ;) }))) (expression_statement "pcVar8 = GetImageOption(image_info,"scene");" (assignment_expression "pcVar8 = GetImageOption(image_info,"scene")" identifier = (call_expression "GetImageOption(image_info,"scene")" identifier (argument_list "(image_info,"scene")" ( identifier , (string_literal ""scene"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->scene = uVar13;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar13 = strtoul(pcVar8,(char **)0x0,10);\n    image->scene = uVar13;\n  }" { (expression_statement "uVar13 = strtoul(pcVar8,(char **)0x0,10);" (assignment_expression "uVar13 = strtoul(pcVar8,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar8,(char **)0x0,10)" identifier (argument_list "(pcVar8,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "image->scene = uVar13;" (assignment_expression "image->scene = uVar13" (field_expression "image->scene" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"taint");" (assignment_expression "pcVar8 = GetImageOption(image_info,"taint")" identifier = (call_expression "GetImageOption(image_info,"taint")" identifier (argument_list "(image_info,"taint")" ( identifier , (string_literal ""taint"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->taint = MVar9;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);\n    image->taint = MVar9;\n  }" { (expression_statement "MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8);" (assignment_expression "MVar9 = ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickBooleanOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickBooleanOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->taint = MVar9;" (assignment_expression "image->taint = MVar9" (field_expression "image->taint" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"tile-offset");" (assignment_expression "pcVar8 = GetImageOption(image_info,"tile-offset")" identifier = (call_expression "GetImageOption(image_info,"tile-offset")" identifier (argument_list "(image_info,"tile-offset")" ( identifier , (string_literal ""tile-offset"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->tile_offset);\n    DestroyString(pcVar8);\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar8 = GetPageGeometry(pcVar8);\n    ParseAbsoluteGeometry(pcVar8,&image->tile_offset);\n    DestroyString(pcVar8);\n  }" { (expression_statement "pcVar8 = GetPageGeometry(pcVar8);" (assignment_expression "pcVar8 = GetPageGeometry(pcVar8)" identifier = (call_expression "GetPageGeometry(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier )))) ;) (expression_statement "ParseAbsoluteGeometry(pcVar8,&image->tile_offset);" (call_expression "ParseAbsoluteGeometry(pcVar8,&image->tile_offset)" identifier (argument_list "(pcVar8,&image->tile_offset)" ( identifier , (pointer_expression "&image->tile_offset" & (field_expression "image->tile_offset" identifier -> field_identifier)) ))) ;) (expression_statement "DestroyString(pcVar8);" (call_expression "DestroyString(pcVar8)" identifier (argument_list "(pcVar8)" ( identifier ))) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"transparent-color");" (assignment_expression "pcVar8 = GetImageOption(image_info,"transparent-color")" identifier = (call_expression "GetImageOption(image_info,"transparent-color")" identifier (argument_list "(image_info,"transparent-color")" ( identifier , (string_literal ""transparent-color"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    QueryColorCompliance(pcVar8,AllCompliance,&image->transparent_color,exception);\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    QueryColorCompliance(pcVar8,AllCompliance,&image->transparent_color,exception);\n  }" { (expression_statement "QueryColorCompliance(pcVar8,AllCompliance,&image->transparent_color,exception);" (call_expression "QueryColorCompliance(pcVar8,AllCompliance,&image->transparent_color,exception)" identifier (argument_list "(pcVar8,AllCompliance,&image->transparent_color,exception)" ( identifier , identifier , (pointer_expression "&image->transparent_color" & (field_expression "image->transparent_color" identifier -> field_identifier)) , identifier ))) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"type");" (assignment_expression "pcVar8 = GetImageOption(image_info,"type")" identifier = (call_expression "GetImageOption(image_info,"type")" identifier (argument_list "(image_info,"type")" ( identifier , (string_literal ""type"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    IVar22 = ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8);\n    image->type = IVar22;\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    IVar22 = ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8);\n    image->type = IVar22;\n  }" { (expression_statement "IVar22 = ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8);" (assignment_expression "IVar22 = ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickTypeOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickTypeOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "image->type = IVar22;" (assignment_expression "image->type = IVar22" (field_expression "image->type" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"units");" (assignment_expression "pcVar8 = GetImageOption(image_info,"units")" identifier = (call_expression "GetImageOption(image_info,"units")" identifier (argument_list "(image_info,"units")" ( identifier , (string_literal ""units"" " string_content ") )))) ;) (if_statement "if (pcVar8 == (char *)0x0) {\n    RVar23 = image_info->units;\n  }\n  else {\n    RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8);\n  }" if (parenthesized_expression "(pcVar8 == (char *)0x0)" ( (binary_expression "pcVar8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    RVar23 = image_info->units;\n  }" { (expression_statement "RVar23 = image_info->units;" (assignment_expression "RVar23 = image_info->units" identifier = (field_expression "image_info->units" identifier -> field_identifier)) ;) }) (else_clause "else {\n    RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8);\n  }" else (compound_statement "{\n    RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8);\n  }" { (expression_statement "RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8);" (assignment_expression "RVar23 = ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickResolutionOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickResolutionOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) }))) (expression_statement "dVar25 = _DAT_002f84b0;" (assignment_expression "dVar25 = _DAT_002f84b0" identifier = identifier) ;) (expression_statement "fVar7 = DAT_002f8478;" (assignment_expression "fVar7 = DAT_002f8478" identifier = identifier) ;) (expression_statement "fVar6 = DAT_002df8b8;" (assignment_expression "fVar6 = DAT_002df8b8" identifier = identifier) ;) (expression_statement "fVar5 = DAT_002df2b8;" (assignment_expression "fVar5 = DAT_002df2b8" identifier = identifier) ;) (if_statement "if (RVar23 != UndefinedResolution) {\n    RVar4 = image->units;\n    if (RVar4 != RVar23) {\n      if (RVar4 == PixelsPerInchResolution) {\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }\n      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }\n    }\n    image->units = RVar23;\n    pcVar8 = GetImageOption(image_info,"density");\n    if (pcVar8 != (char *)0x0) {\n      MVar10 = ParseGeometry(pcVar8,&geometry_info);\n      (image->resolution).x = geometry_info.rho;\n      if ((MVar10 & 8) == 0) {\n        (image->resolution).y = geometry_info.rho;\n      }\n      else {\n        (image->resolution).y = geometry_info.sigma;\n      }\n    }\n  }" if (parenthesized_expression "(RVar23 != UndefinedResolution)" ( (binary_expression "RVar23 != UndefinedResolution" identifier != identifier) )) (compound_statement "{\n    RVar4 = image->units;\n    if (RVar4 != RVar23) {\n      if (RVar4 == PixelsPerInchResolution) {\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }\n      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }\n    }\n    image->units = RVar23;\n    pcVar8 = GetImageOption(image_info,"density");\n    if (pcVar8 != (char *)0x0) {\n      MVar10 = ParseGeometry(pcVar8,&geometry_info);\n      (image->resolution).x = geometry_info.rho;\n      if ((MVar10 & 8) == 0) {\n        (image->resolution).y = geometry_info.rho;\n      }\n      else {\n        (image->resolution).y = geometry_info.sigma;\n      }\n    }\n  }" { (expression_statement "RVar4 = image->units;" (assignment_expression "RVar4 = image->units" identifier = (field_expression "image->units" identifier -> field_identifier)) ;) (if_statement "if (RVar4 != RVar23) {\n      if (RVar4 == PixelsPerInchResolution) {\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }\n      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }\n    }" if (parenthesized_expression "(RVar4 != RVar23)" ( (binary_expression "RVar4 != RVar23" identifier != identifier) )) (compound_statement "{\n      if (RVar4 == PixelsPerInchResolution) {\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }\n      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }\n    }" { (if_statement "if (RVar4 == PixelsPerInchResolution) {\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }\n      else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }" if (parenthesized_expression "(RVar4 == PixelsPerInchResolution)" ( (binary_expression "RVar4 == PixelsPerInchResolution" identifier == identifier) )) (compound_statement "{\n        if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }\n      }" { (if_statement "if (RVar23 == PixelsPerCentimeterResolution) {\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }" if (parenthesized_expression "(RVar23 == PixelsPerCentimeterResolution)" ( (binary_expression "RVar23 == PixelsPerCentimeterResolution" identifier == identifier) )) (compound_statement "{\n          (image->resolution).x = (image->resolution).x / _DAT_002f84b0;\n          (image->resolution).y = (image->resolution).y / dVar25;\n        }" { (expression_statement "(image->resolution).x = (image->resolution).x / _DAT_002f84b0;" (assignment_expression "(image->resolution).x = (image->resolution).x / _DAT_002f84b0" (field_expression "(image->resolution).x" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(image->resolution).x / _DAT_002f84b0" (field_expression "(image->resolution).x" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) / identifier)) ;) (expression_statement "(image->resolution).y = (image->resolution).y / dVar25;" (assignment_expression "(image->resolution).y = (image->resolution).y / dVar25" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(image->resolution).y / dVar25" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) / identifier)) ;) })) }) (else_clause "else if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }" else (if_statement "if ((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)) {\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }" if (parenthesized_expression "((RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution))" ( (binary_expression "(RVar4 == PixelsPerCentimeterResolution) && (RVar23 == PixelsPerInchResolution)" (parenthesized_expression "(RVar4 == PixelsPerCentimeterResolution)" ( (binary_expression "RVar4 == PixelsPerCentimeterResolution" identifier == identifier) )) && (parenthesized_expression "(RVar23 == PixelsPerInchResolution)" ( (binary_expression "RVar23 == PixelsPerInchResolution" identifier == identifier) ))) )) (compound_statement "{\n        (image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);\n        (image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);\n      }" { (expression_statement "(image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8);" (assignment_expression "(image->resolution).x =\n             (double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8)" (field_expression "(image->resolution).x" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8)" ( (binary_expression "(float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff) / DAT_002df8b8" (cast_expression "(float)((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff)" ( (binary_expression "(longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8) &\n                             0xffffffff" (cast_expression "(longlong)\n                              ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8)" identifier (argument_list "((float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8)" ( (binary_expression "(float)(image->resolution).x * DAT_002f8478 + DAT_002df2b8" (binary_expression "(float)(image->resolution).x * DAT_002f8478" (cast_expression "(float)(image->resolution).x" ( (type_descriptor "float" primitive_type) ) (field_expression "(image->resolution).x" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier)) * identifier) + identifier) )))) & number_literal) ))) / identifier) )))) ;) (expression_statement "(image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6);" (assignment_expression "(image->resolution).y =\n             (double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6)" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6)" ( (binary_expression "(float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff) / fVar6" (cast_expression "(float)((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff)" ( (binary_expression "(longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5) &\n                             0xffffffff" (cast_expression "(longlong)ROUND(fVar7 * (float)(image->resolution).y + fVar5)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar7 * (float)(image->resolution).y + fVar5)" identifier (argument_list "(fVar7 * (float)(image->resolution).y + fVar5)" ( (binary_expression "fVar7 * (float)(image->resolution).y + fVar5" (binary_expression "fVar7 * (float)(image->resolution).y" identifier * (cast_expression "(float)(image->resolution).y" ( (type_descriptor "float" primitive_type) ) (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier))) + identifier) )))) & number_literal) ))) / identifier) )))) ;) })))) })) (expression_statement "image->units = RVar23;" (assignment_expression "image->units = RVar23" (field_expression "image->units" identifier -> field_identifier) = identifier) ;) (expression_statement "pcVar8 = GetImageOption(image_info,"density");" (assignment_expression "pcVar8 = GetImageOption(image_info,"density")" identifier = (call_expression "GetImageOption(image_info,"density")" identifier (argument_list "(image_info,"density")" ( identifier , (string_literal ""density"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n      MVar10 = ParseGeometry(pcVar8,&geometry_info);\n      (image->resolution).x = geometry_info.rho;\n      if ((MVar10 & 8) == 0) {\n        (image->resolution).y = geometry_info.rho;\n      }\n      else {\n        (image->resolution).y = geometry_info.sigma;\n      }\n    }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      MVar10 = ParseGeometry(pcVar8,&geometry_info);\n      (image->resolution).x = geometry_info.rho;\n      if ((MVar10 & 8) == 0) {\n        (image->resolution).y = geometry_info.rho;\n      }\n      else {\n        (image->resolution).y = geometry_info.sigma;\n      }\n    }" { (expression_statement "MVar10 = ParseGeometry(pcVar8,&geometry_info);" (assignment_expression "MVar10 = ParseGeometry(pcVar8,&geometry_info)" identifier = (call_expression "ParseGeometry(pcVar8,&geometry_info)" identifier (argument_list "(pcVar8,&geometry_info)" ( identifier , (pointer_expression "&geometry_info" & identifier) )))) ;) (expression_statement "(image->resolution).x = geometry_info.rho;" (assignment_expression "(image->resolution).x = geometry_info.rho" (field_expression "(image->resolution).x" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) (if_statement "if ((MVar10 & 8) == 0) {\n        (image->resolution).y = geometry_info.rho;\n      }\n      else {\n        (image->resolution).y = geometry_info.sigma;\n      }" if (parenthesized_expression "((MVar10 & 8) == 0)" ( (binary_expression "(MVar10 & 8) == 0" (parenthesized_expression "(MVar10 & 8)" ( (binary_expression "MVar10 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        (image->resolution).y = geometry_info.rho;\n      }" { (expression_statement "(image->resolution).y = geometry_info.rho;" (assignment_expression "(image->resolution).y = geometry_info.rho" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) }) (else_clause "else {\n        (image->resolution).y = geometry_info.sigma;\n      }" else (compound_statement "{\n        (image->resolution).y = geometry_info.sigma;\n      }" { (expression_statement "(image->resolution).y = geometry_info.sigma;" (assignment_expression "(image->resolution).y = geometry_info.sigma" (field_expression "(image->resolution).y" (parenthesized_expression "(image->resolution)" ( (field_expression "image->resolution" identifier -> field_identifier) )) . field_identifier) = (field_expression "geometry_info.sigma" identifier . field_identifier)) ;) }))) })) })) (expression_statement "pcVar8 = GetImageOption(image_info,"virtual-pixel");" (assignment_expression "pcVar8 = GetImageOption(image_info,"virtual-pixel")" identifier = (call_expression "GetImageOption(image_info,"virtual-pixel")" identifier (argument_list "(image_info,"virtual-pixel")" ( identifier , (string_literal ""virtual-pixel"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    virtual_pixel_method = ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8);\n    SetImageVirtualPixelMethod(image,virtual_pixel_method,exception);\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    virtual_pixel_method = ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8);\n    SetImageVirtualPixelMethod(image,virtual_pixel_method,exception);\n  }" { (expression_statement "virtual_pixel_method = ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8);" (assignment_expression "virtual_pixel_method = ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8)" identifier = (call_expression "ParseCommandOption(MagickVirtualPixelOptions,MagickFalse,pcVar8)" identifier (argument_list "(MagickVirtualPixelOptions,MagickFalse,pcVar8)" ( identifier , identifier , identifier )))) ;) (expression_statement "SetImageVirtualPixelMethod(image,virtual_pixel_method,exception);" (call_expression "SetImageVirtualPixelMethod(image,virtual_pixel_method,exception)" identifier (argument_list "(image,virtual_pixel_method,exception)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "pcVar8 = GetImageOption(image_info,"white-point");" (assignment_expression "pcVar8 = GetImageOption(image_info,"white-point")" identifier = (call_expression "GetImageOption(image_info,"white-point")" identifier (argument_list "(image_info,"white-point")" ( identifier , (string_literal ""white-point"" " string_content ") )))) ;) (if_statement "if (pcVar8 != (char *)0x0) {\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).white_point.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).white_point.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).white_point.y = geometry_info.sigma;\n    }\n  }" if (parenthesized_expression "(pcVar8 != (char *)0x0)" ( (binary_expression "pcVar8 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar10 = ParseGeometry(pcVar8,&geometry_info);\n    (image->chromaticity).white_point.x = geometry_info.rho;\n    if ((MVar10 & 8) == 0) {\n      (image->chromaticity).white_point.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).white_point.y = geometry_info.sigma;\n    }\n  }" { (expression_statement "MVar10 = ParseGeometry(pcVar8,&geometry_info);" (assignment_expression "MVar10 = ParseGeometry(pcVar8,&geometry_info)" identifier = (call_expression "ParseGeometry(pcVar8,&geometry_info)" identifier (argument_list "(pcVar8,&geometry_info)" ( identifier , (pointer_expression "&geometry_info" & identifier) )))) ;) (expression_statement "(image->chromaticity).white_point.x = geometry_info.rho;" (assignment_expression "(image->chromaticity).white_point.x = geometry_info.rho" (field_expression "(image->chromaticity).white_point.x" (field_expression "(image->chromaticity).white_point" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) (if_statement "if ((MVar10 & 8) == 0) {\n      (image->chromaticity).white_point.y = geometry_info.rho;\n    }\n    else {\n      (image->chromaticity).white_point.y = geometry_info.sigma;\n    }" if (parenthesized_expression "((MVar10 & 8) == 0)" ( (binary_expression "(MVar10 & 8) == 0" (parenthesized_expression "(MVar10 & 8)" ( (binary_expression "MVar10 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      (image->chromaticity).white_point.y = geometry_info.rho;\n    }" { (expression_statement "(image->chromaticity).white_point.y = geometry_info.rho;" (assignment_expression "(image->chromaticity).white_point.y = geometry_info.rho" (field_expression "(image->chromaticity).white_point.y" (field_expression "(image->chromaticity).white_point" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.rho" identifier . field_identifier)) ;) }) (else_clause "else {\n      (image->chromaticity).white_point.y = geometry_info.sigma;\n    }" else (compound_statement "{\n      (image->chromaticity).white_point.y = geometry_info.sigma;\n    }" { (expression_statement "(image->chromaticity).white_point.y = geometry_info.sigma;" (assignment_expression "(image->chromaticity).white_point.y = geometry_info.sigma" (field_expression "(image->chromaticity).white_point.y" (field_expression "(image->chromaticity).white_point" (parenthesized_expression "(image->chromaticity)" ( (field_expression "image->chromaticity" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (field_expression "geometry_info.sigma" identifier . field_identifier)) ;) }))) })) (if_statement "if (image->image_info != (ImageInfo *)0x0) {\n    pIVar24 = DestroyImageInfo(image->image_info);\n    image->image_info = pIVar24;\n  }" if (parenthesized_expression "(image->image_info != (ImageInfo *)0x0)" ( (binary_expression "image->image_info != (ImageInfo *)0x0" (field_expression "image->image_info" identifier -> field_identifier) != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pIVar24 = DestroyImageInfo(image->image_info);\n    image->image_info = pIVar24;\n  }" { (expression_statement "pIVar24 = DestroyImageInfo(image->image_info);" (assignment_expression "pIVar24 = DestroyImageInfo(image->image_info)" identifier = (call_expression "DestroyImageInfo(image->image_info)" identifier (argument_list "(image->image_info)" ( (field_expression "image->image_info" identifier -> field_identifier) )))) ;) (expression_statement "image->image_info = pIVar24;" (assignment_expression "image->image_info = pIVar24" (field_expression "image->image_info" identifier -> field_identifier) = identifier) ;) })) (expression_statement "pIVar24 = CloneImageInfo(image_info);" (assignment_expression "pIVar24 = CloneImageInfo(image_info)" identifier = (call_expression "CloneImageInfo(image_info)" identifier (argument_list "(image_info)" ( identifier )))) ;) (expression_statement "iVar3 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar3 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "image->image_info = pIVar24;" (assignment_expression "image->image_info = pIVar24" (field_expression "image->image_info" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar1 == iVar3) {\n    return MagickTrue;\n  }" if (parenthesized_expression "(iVar1 == iVar3)" ( (binary_expression "iVar1 == iVar3" identifier == identifier) )) (compound_statement "{\n    return MagickTrue;\n  }" { (return_statement "return MagickTrue;" return identifier ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 SyncImageSettings(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  char *pcVar9;\n  ulong uVar10;\n  int in_GS_OFFSET;\n  longdouble lVar11;\n  char *local_50;\n  undefined8 local_4c;\n  undefined8 local_44;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf6719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }\n  iVar6 = GetImageOption(param_1,"background");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"black-point-compensation");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"blue-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"bordercolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"compose");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"compress");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"debug");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"density");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"depth");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"endian");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"filter");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,&DAT_002fef1a);\n  if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }\n  iVar6 = GetImageOption(param_1,"gravity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"green-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"intent");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"intensity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interlace");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interpolate");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"mattecolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"orient");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"page");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"quality");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"red-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }\n  iVar6 = *(int *)(param_1 + 0x40);\njoined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"scene");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"taint");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"tile-offset");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }\n  iVar6 = GetImageOption(param_1,"transparent-color");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"type");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"units");\n  if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }\n  dVar5 = _DAT_002f84b0;\n  fVar4 = DAT_002f8478;\n  fVar3 = DAT_002df8b8;\n  fVar2 = DAT_002df2b8;\n  if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }\n  iVar6 = GetImageOption(param_1,"virtual-pixel");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"white-point");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }\n  if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }\n  uVar7 = CloneImageInfo(param_1);\n  iVar6 = *(int *)(in_GS_OFFSET + 0x14);\n  *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  if (local_20 == iVar6) {\n    return 1;\n  }\n                    \n  FUN_002decd0();\n}\n\n" (function_definition "undefined4 SyncImageSettings(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  char *pcVar9;\n  ulong uVar10;\n  int in_GS_OFFSET;\n  longdouble lVar11;\n  char *local_50;\n  undefined8 local_4c;\n  undefined8 local_44;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf6719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }\n  iVar6 = GetImageOption(param_1,"background");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"black-point-compensation");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"blue-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"bordercolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"compose");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"compress");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"debug");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"density");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"depth");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"endian");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"filter");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,&DAT_002fef1a);\n  if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }\n  iVar6 = GetImageOption(param_1,"gravity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"green-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"intent");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"intensity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interlace");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interpolate");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"mattecolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"orient");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"page");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"quality");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"red-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }\n  iVar6 = *(int *)(param_1 + 0x40);\njoined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"scene");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"taint");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"tile-offset");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }\n  iVar6 = GetImageOption(param_1,"transparent-color");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"type");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"units");\n  if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }\n  dVar5 = _DAT_002f84b0;\n  fVar4 = DAT_002f8478;\n  fVar3 = DAT_002df8b8;\n  fVar2 = DAT_002df2b8;\n  if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }\n  iVar6 = GetImageOption(param_1,"virtual-pixel");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"white-point");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }\n  if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }\n  uVar7 = CloneImageInfo(param_1);\n  iVar6 = *(int *)(in_GS_OFFSET + 0x14);\n  *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  if (local_20 == iVar6) {\n    return 1;\n  }\n                    \n  FUN_002decd0();\n}" type_identifier (function_declarator "SyncImageSettings(int param_1,int param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  char *pcVar9;\n  ulong uVar10;\n  int in_GS_OFFSET;\n  longdouble lVar11;\n  char *local_50;\n  undefined8 local_4c;\n  undefined8 local_44;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf6719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }\n  iVar6 = GetImageOption(param_1,"background");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"black-point-compensation");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"blue-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"bordercolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"compose");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"compress");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"debug");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"density");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"depth");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"endian");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"filter");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,&DAT_002fef1a);\n  if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }\n  iVar6 = GetImageOption(param_1,"gravity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"green-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"intent");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"intensity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interlace");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interpolate");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"mattecolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"orient");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"page");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"quality");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"red-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }\n  iVar6 = *(int *)(param_1 + 0x40);\njoined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"scene");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"taint");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"tile-offset");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }\n  iVar6 = GetImageOption(param_1,"transparent-color");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"type");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"units");\n  if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }\n  dVar5 = _DAT_002f84b0;\n  fVar4 = DAT_002f8478;\n  fVar3 = DAT_002df8b8;\n  fVar2 = DAT_002df2b8;\n  if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }\n  iVar6 = GetImageOption(param_1,"virtual-pixel");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"white-point");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }\n  if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }\n  uVar7 = CloneImageInfo(param_1);\n  iVar6 = *(int *)(in_GS_OFFSET + 0x14);\n  *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  if (local_20 == iVar6) {\n    return 1;\n  }\n                    \n  FUN_002decd0();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "float fVar2;" primitive_type identifier ;) (declaration "float fVar3;" primitive_type identifier ;) (declaration "float fVar4;" primitive_type identifier ;) (declaration "double dVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "ulong uVar10;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "longdouble lVar11;" type_identifier identifier ;) (declaration "char *local_50;" primitive_type (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined8 local_4c;" type_identifier identifier ;) (declaration "undefined8 local_44;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xf6719;" (assignment_expression "uStack_14 = 0xf6719" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }" { (expression_statement "__assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings")" identifier (argument_list "("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings")" ( (string_literal ""image_info != (const ImageInfo *) NULL"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x31f4) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x31f4) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x31f4)" * (cast_expression "(int *)(param_1 + 0x31f4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x31f4)" ( (binary_expression "param_1 + 0x31f4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }" { (expression_statement "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings")" identifier (argument_list "("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings")" ( (string_literal ""image_info->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (param_2 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings")" identifier (argument_list "("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x3344) != -0x54535255)" ( (binary_expression "*(int *)(param_2 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_2 + 0x3344)" * (cast_expression "(int *)(param_2 + 0x3344)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3344)" ( (binary_expression "param_2 + 0x3344" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }" { (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/image.c"" " string_content ") , number_literal , (string_literal ""SyncImageSettings"" " string_content ") ))) ;) })) (if_statement "if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x3328) != 0)" ( (binary_expression "*(int *)(param_2 + 0x3328) != 0" (pointer_expression "*(int *)(param_2 + 0x3328)" * (cast_expression "(int *)(param_2 + 0x3328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3328)" ( (binary_expression "param_2 + 0x3328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318)" identifier (argument_list "(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318)" ( number_literal , (string_literal ""MagickCore/image.c"" " string_content ") , (string_literal ""SyncImageSettings"" " string_content ") , number_literal , (pointer_expression "&DAT_002f75ae" & identifier) , (binary_expression "param_2 + 0x318" identifier + number_literal) ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"background");" (assignment_expression "iVar6 = GetImageOption(param_1,"background")" identifier = (call_expression "GetImageOption(param_1,"background")" identifier (argument_list "(param_1,"background")" ( identifier , (string_literal ""background"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }" { (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3)" identifier (argument_list "(iVar6,0x7fffffff,param_2 + 0x7c,param_3)" ( identifier , number_literal , (binary_expression "param_2 + 0x7c" identifier + number_literal) , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"black-point-compensation");" (assignment_expression "iVar6 = GetImageOption(param_1,"black-point-compensation")" identifier = (call_expression "GetImageOption(param_1,"black-point-compensation")" identifier (argument_list "(param_1,"black-point-compensation")" ( identifier , (string_literal ""black-point-compensation"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" identifier = (call_expression "ParseCommandOption(2,0,iVar6)" identifier (argument_list "(2,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x264) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x264) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x264)" * (cast_expression "(undefined4 *)(param_2 + 0x264)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x264)" ( (binary_expression "param_2 + 0x264" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"blue-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"blue-primary")" identifier = (call_expression "GetImageOption(param_1,"blue-primary")" identifier (argument_list "(param_1,"blue-primary")" ( identifier , (string_literal ""blue-primary"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x1a4) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1a4) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1a4)" * (cast_expression "(undefined8 *)(param_2 + 0x1a4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1a4)" ( (binary_expression "param_2 + 0x1a4" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1ac) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1ac) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1ac)" * (cast_expression "(undefined8 *)(param_2 + 0x1ac)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1ac)" ( (binary_expression "param_2 + 0x1ac" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1ac) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1ac) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1ac)" * (cast_expression "(undefined8 *)(param_2 + 0x1ac)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1ac)" ( (binary_expression "param_2 + 0x1ac" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "iVar6 = GetImageOption(param_1,"bordercolor");" (assignment_expression "iVar6 = GetImageOption(param_1,"bordercolor")" identifier = (call_expression "GetImageOption(param_1,"bordercolor")" identifier (argument_list "(param_1,"bordercolor")" ( identifier , (string_literal ""bordercolor"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }" { (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3)" identifier (argument_list "(iVar6,0x7fffffff,param_2 + 0xcc,param_3)" ( identifier , number_literal , (binary_expression "param_2 + 0xcc" identifier + number_literal) , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"compose");" (assignment_expression "iVar6 = GetImageOption(param_1,"compose")" identifier = (call_expression "GetImageOption(param_1,"compose")" identifier (argument_list "(param_1,"compose")" ( identifier , (string_literal ""compose"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0xd,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0xd,0,iVar6)" identifier = (call_expression "ParseCommandOption(0xd,0,iVar6)" identifier (argument_list "(0xd,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x23c) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x23c) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x23c)" * (cast_expression "(undefined4 *)(param_2 + 0x23c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x23c)" ( (binary_expression "param_2 + 0x23c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"compress");" (assignment_expression "iVar6 = GetImageOption(param_1,"compress")" identifier = (call_expression "GetImageOption(param_1,"compress")" identifier (argument_list "(param_1,"compress")" ( identifier , (string_literal ""compress"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0xe,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0xe,0,iVar6)" identifier = (call_expression "ParseCommandOption(0xe,0,iVar6)" identifier (argument_list "(0xe,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 8) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 8) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 8)" * (cast_expression "(undefined4 *)(param_2 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"debug");" (assignment_expression "iVar6 = GetImageOption(param_1,"debug")" identifier = (call_expression "GetImageOption(param_1,"debug")" identifier (argument_list "(param_1,"debug")" ( identifier , (string_literal ""debug"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" identifier = (call_expression "ParseCommandOption(2,0,iVar6)" identifier (argument_list "(2,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x3328) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3328) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3328)" * (cast_expression "(undefined4 *)(param_2 + 0x3328)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3328)" ( (binary_expression "param_2 + 0x3328" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"density");" (assignment_expression "iVar6 = GetImageOption(param_1,"density")" identifier = (call_expression "GetImageOption(param_1,"density")" identifier (argument_list "(param_1,"density")" ( identifier , (string_literal ""density"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x1f0) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f0) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f0)" * (cast_expression "(undefined8 *)(param_2 + 0x1f0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" * (cast_expression "(undefined8 *)(param_2 + 0x1f8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" * (cast_expression "(undefined8 *)(param_2 + 0x1f8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"depth");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"depth")" identifier = (cast_expression "(char *)GetImageOption(param_1,"depth")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetImageOption(param_1,"depth")" identifier (argument_list "(param_1,"depth")" ( identifier , (string_literal ""depth"" " string_content ") ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }" { (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar9,(char **)0x0,10)" identifier (argument_list "(pcVar9,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(ulong *)(param_2 + 0x20) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x20) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x20)" * (cast_expression "(ulong *)(param_2 + 0x20)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"endian");" (assignment_expression "iVar6 = GetImageOption(param_1,"endian")" identifier = (call_expression "GetImageOption(param_1,"endian")" identifier (argument_list "(param_1,"endian")" ( identifier , (string_literal ""endian"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x18,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x18,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x18,0,iVar6)" identifier (argument_list "(0x18,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x234) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x234) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x234)" * (cast_expression "(undefined4 *)(param_2 + 0x234)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x234)" ( (binary_expression "param_2 + 0x234" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"filter");" (assignment_expression "iVar6 = GetImageOption(param_1,"filter")" identifier = (call_expression "GetImageOption(param_1,"filter")" identifier (argument_list "(param_1,"filter")" ( identifier , (string_literal ""filter"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x1b,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x1b,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x1b,0,iVar6)" identifier (argument_list "(0x1b,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x228) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x228) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x228)" * (cast_expression "(undefined4 *)(param_2 + 0x228)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x228)" ( (binary_expression "param_2 + 0x228" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,&DAT_002fef1a);" (assignment_expression "iVar6 = GetImageOption(param_1,&DAT_002fef1a)" identifier = (call_expression "GetImageOption(param_1,&DAT_002fef1a)" identifier (argument_list "(param_1,&DAT_002fef1a)" ( identifier , (pointer_expression "&DAT_002fef1a" & identifier) )))) ;) (if_statement "if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }" { (expression_statement "lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);" (assignment_expression "lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50)" identifier = (cast_expression "(longdouble)InterpretLocaleValue(iVar6,&local_50)" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "InterpretLocaleValue(iVar6,&local_50)" identifier (argument_list "(iVar6,&local_50)" ( identifier , (pointer_expression "&local_50" & identifier) ))))) ;) (if_statement "if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }" if (parenthesized_expression "(*local_50 == '%')" ( (binary_expression "*local_50 == '%'" (pointer_expression "*local_50" * identifier) == (char_literal "'%'" ' character ')) )) (compound_statement "{\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }" { (expression_statement "lVar11 = lVar11 * (longdouble)_DAT_002e1b78;" (assignment_expression "lVar11 = lVar11 * (longdouble)_DAT_002e1b78" identifier = (binary_expression "lVar11 * (longdouble)_DAT_002e1b78" identifier * (cast_expression "(longdouble)_DAT_002e1b78" ( (type_descriptor "longdouble" type_identifier) ) identifier))) ;) })) (expression_statement "*(double *)(param_2 + 0x220) = (double)lVar11;" (assignment_expression "*(double *)(param_2 + 0x220) = (double)lVar11" (pointer_expression "*(double *)(param_2 + 0x220)" * (cast_expression "(double *)(param_2 + 0x220)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x220)" ( (binary_expression "param_2 + 0x220" identifier + number_literal) )))) = (cast_expression "(double)lVar11" ( (type_descriptor "double" primitive_type) ) identifier)) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"gravity");" (assignment_expression "iVar6 = GetImageOption(param_1,"gravity")" identifier = (call_expression "GetImageOption(param_1,"gravity")" identifier (argument_list "(param_1,"gravity")" ( identifier , (string_literal ""gravity"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x21,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x21,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x21,0,iVar6)" identifier (argument_list "(0x21,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x238) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x238) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x238)" * (cast_expression "(undefined4 *)(param_2 + 0x238)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x238)" ( (binary_expression "param_2 + 0x238" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"green-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"green-primary")" identifier = (call_expression "GetImageOption(param_1,"green-primary")" identifier (argument_list "(param_1,"green-primary")" ( identifier , (string_literal ""green-primary"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x18c) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x18c) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x18c)" * (cast_expression "(undefined8 *)(param_2 + 0x18c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18c)" ( (binary_expression "param_2 + 0x18c" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x194) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x194) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x194)" * (cast_expression "(undefined8 *)(param_2 + 0x194)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x194)" ( (binary_expression "param_2 + 0x194" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x194) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x194) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x194)" * (cast_expression "(undefined8 *)(param_2 + 0x194)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x194)" ( (binary_expression "param_2 + 0x194" identifier + number_literal) )))) = identifier) ;) }))) })) (expression_statement "iVar6 = GetImageOption(param_1,"intent");" (assignment_expression "iVar6 = GetImageOption(param_1,"intent")" identifier = (call_expression "GetImageOption(param_1,"intent")" identifier (argument_list "(param_1,"intent")" ( identifier , (string_literal ""intent"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x23,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x23,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x23,0,iVar6)" identifier (argument_list "(0x23,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x1d4) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x1d4) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x1d4)" * (cast_expression "(undefined4 *)(param_2 + 0x1d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1d4)" ( (binary_expression "param_2 + 0x1d4" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"intensity");" (assignment_expression "iVar6 = GetImageOption(param_1,"intensity")" identifier = (call_expression "GetImageOption(param_1,"intensity")" identifier (argument_list "(param_1,"intensity")" ( identifier , (string_literal ""intensity"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x38,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x38,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x38,0,iVar6)" identifier (argument_list "(0x38,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x22c) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x22c) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x22c)" * (cast_expression "(undefined4 *)(param_2 + 0x22c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x22c)" ( (binary_expression "param_2 + 0x22c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"interlace");" (assignment_expression "iVar6 = GetImageOption(param_1,"interlace")" identifier = (call_expression "GetImageOption(param_1,"interlace")" identifier (argument_list "(param_1,"interlace")" ( identifier , (string_literal ""interlace"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x24,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x24,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x24,0,iVar6)" identifier (argument_list "(0x24,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x230) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x230) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x230)" * (cast_expression "(undefined4 *)(param_2 + 0x230)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x230)" ( (binary_expression "param_2 + 0x230" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"interpolate");" (assignment_expression "iVar6 = GetImageOption(param_1,"interpolate")" identifier = (call_expression "GetImageOption(param_1,"interpolate")" identifier (argument_list "(param_1,"interpolate")" ( identifier , (string_literal ""interpolate"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x25,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x25,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x25,0,iVar6)" identifier (argument_list "(0x25,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x260) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x260) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x260)" * (cast_expression "(undefined4 *)(param_2 + 0x260)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x260)" ( (binary_expression "param_2 + 0x260" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b)" identifier = (cast_expression "(char *)GetImageOption(param_1,&DAT_002fef8b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetImageOption(param_1,&DAT_002fef8b)" identifier (argument_list "(param_1,&DAT_002fef8b)" ( identifier , (pointer_expression "&DAT_002fef8b" & identifier) ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }" { (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar9,(char **)0x0,10)" identifier (argument_list "(pcVar9,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(ulong *)(param_2 + 0x254) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x254) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x254)" * (cast_expression "(ulong *)(param_2 + 0x254)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x254)" ( (binary_expression "param_2 + 0x254" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"mattecolor");" (assignment_expression "iVar6 = GetImageOption(param_1,"mattecolor")" identifier = (call_expression "GetImageOption(param_1,"mattecolor")" identifier (argument_list "(param_1,"mattecolor")" ( identifier , (string_literal ""mattecolor"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }" { (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3)" identifier (argument_list "(iVar6,0x7fffffff,param_2 + 0x3348,param_3)" ( identifier , number_literal , (binary_expression "param_2 + 0x3348" identifier + number_literal) , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"orient");" (assignment_expression "iVar6 = GetImageOption(param_1,"orient")" identifier = (call_expression "GetImageOption(param_1,"orient")" identifier (argument_list "(param_1,"orient")" ( identifier , (string_literal ""orient"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x36,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x36,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x36,0,iVar6)" identifier (argument_list "(0x36,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x10) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" * (cast_expression "(undefined4 *)(param_2 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"page");" (assignment_expression "iVar6 = GetImageOption(param_1,"page")" identifier = (call_expression "GetImageOption(param_1,"page")" identifier (argument_list "(param_1,"page")" ( identifier , (string_literal ""page"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }" { (expression_statement "uVar7 = GetPageGeometry(iVar6);" (assignment_expression "uVar7 = GetPageGeometry(iVar6)" identifier = (call_expression "GetPageGeometry(iVar6)" identifier (argument_list "(iVar6)" ( identifier )))) ;) (expression_statement "ParseAbsoluteGeometry(uVar7,param_2 + 0x200);" (call_expression "ParseAbsoluteGeometry(uVar7,param_2 + 0x200)" identifier (argument_list "(uVar7,param_2 + 0x200)" ( identifier , (binary_expression "param_2 + 0x200" identifier + number_literal) ))) ;) (expression_statement "DestroyString(uVar7);" (call_expression "DestroyString(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) })) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"quality");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"quality")" identifier = (cast_expression "(char *)GetImageOption(param_1,"quality")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetImageOption(param_1,"quality")" identifier (argument_list "(param_1,"quality")" ( identifier , (string_literal ""quality"" " string_content ") ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }" { (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar9,(char **)0x0,10)" identifier (argument_list "(pcVar9,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(ulong *)(param_2 + 0xc) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0xc) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0xc)" * (cast_expression "(ulong *)(param_2 + 0xc)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"red-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"red-primary")" identifier = (call_expression "GetImageOption(param_1,"red-primary")" identifier (argument_list "(param_1,"red-primary")" ( identifier , (string_literal ""red-primary"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x174) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x174) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x174)" * (cast_expression "(undefined8 *)(param_2 + 0x174)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x174)" ( (binary_expression "param_2 + 0x174" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }" if (parenthesized_expression "((uVar8 & 8) != 0)" ( (binary_expression "(uVar8 & 8) != 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }" { (expression_statement "iVar6 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x17c) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x17c) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x17c)" * (cast_expression "(undefined8 *)(param_2 + 0x17c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x17c)" ( (binary_expression "param_2 + 0x17c" identifier + number_literal) )))) = identifier) ;) (goto_statement "goto joined_r0x000f6c24;" goto statement_identifier ;) })) (expression_statement "*(undefined8 *)(param_2 + 0x17c) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x17c) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x17c)" * (cast_expression "(undefined8 *)(param_2 + 0x17c)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x17c)" ( (binary_expression "param_2 + 0x17c" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x40)" identifier = (pointer_expression "*(int *)(param_1 + 0x40)" * (cast_expression "(int *)(param_1 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" statement_identifier : (if_statement "if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" { (expression_statement "*(int *)(param_2 + 0xc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0xc) = iVar6" (pointer_expression "*(int *)(param_2 + 0xc)" * (cast_expression "(int *)(param_2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0xc)" ( (binary_expression "param_2 + 0xc" identifier + number_literal) )))) = identifier) ;) }))) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"scene");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"scene")" identifier = (cast_expression "(char *)GetImageOption(param_1,"scene")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "GetImageOption(param_1,"scene")" identifier (argument_list "(param_1,"scene")" ( identifier , (string_literal ""scene"" " string_content ") ))))) ;) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }" if (parenthesized_expression "(pcVar9 != (char *)0x0)" ( (binary_expression "pcVar9 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }" { (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" identifier = (call_expression "strtoul(pcVar9,(char **)0x0,10)" identifier (argument_list "(pcVar9,(char **)0x0,10)" ( identifier , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) , number_literal )))) ;) (expression_statement "*(ulong *)(param_2 + 0x244) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x244) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x244)" * (cast_expression "(ulong *)(param_2 + 0x244)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x244)" ( (binary_expression "param_2 + 0x244" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"taint");" (assignment_expression "iVar6 = GetImageOption(param_1,"taint")" identifier = (call_expression "GetImageOption(param_1,"taint")" identifier (argument_list "(param_1,"taint")" ( identifier , (string_literal ""taint"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" identifier = (call_expression "ParseCommandOption(2,0,iVar6)" identifier (argument_list "(2,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x14) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x14) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x14)" * (cast_expression "(undefined4 *)(param_2 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x14)" ( (binary_expression "param_2 + 0x14" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"tile-offset");" (assignment_expression "iVar6 = GetImageOption(param_1,"tile-offset")" identifier = (call_expression "GetImageOption(param_1,"tile-offset")" identifier (argument_list "(param_1,"tile-offset")" ( identifier , (string_literal ""tile-offset"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }" { (expression_statement "uVar7 = GetPageGeometry(iVar6);" (assignment_expression "uVar7 = GetPageGeometry(iVar6)" identifier = (call_expression "GetPageGeometry(iVar6)" identifier (argument_list "(iVar6)" ( identifier )))) ;) (expression_statement "ParseAbsoluteGeometry(uVar7,param_2 + 0x268);" (call_expression "ParseAbsoluteGeometry(uVar7,param_2 + 0x268)" identifier (argument_list "(uVar7,param_2 + 0x268)" ( identifier , (binary_expression "param_2 + 0x268" identifier + number_literal) ))) ;) (expression_statement "DestroyString(uVar7);" (call_expression "DestroyString(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"transparent-color");" (assignment_expression "iVar6 = GetImageOption(param_1,"transparent-color")" identifier = (call_expression "GetImageOption(param_1,"transparent-color")" identifier (argument_list "(param_1,"transparent-color")" ( identifier , (string_literal ""transparent-color"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }" { (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3)" identifier (argument_list "(iVar6,0x7fffffff,param_2 + 0x11c,param_3)" ( identifier , number_literal , (binary_expression "param_2 + 0x11c" identifier + number_literal) , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"type");" (assignment_expression "iVar6 = GetImageOption(param_1,"type")" identifier = (call_expression "GetImageOption(param_1,"type")" identifier (argument_list "(param_1,"type")" ( identifier , (string_literal ""type"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x49,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x49,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x49,0,iVar6)" identifier (argument_list "(0x49,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x278) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x278) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x278)" * (cast_expression "(undefined4 *)(param_2 + 0x278)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x278)" ( (binary_expression "param_2 + 0x278" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"units");" (assignment_expression "iVar6 = GetImageOption(param_1,"units")" identifier = (call_expression "GetImageOption(param_1,"units")" identifier (argument_list "(param_1,"units")" ( identifier , (string_literal ""units"" " string_content ") )))) ;) (if_statement "if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }" { (expression_statement "iVar6 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x3c)" identifier = (pointer_expression "*(int *)(param_1 + 0x3c)" * (cast_expression "(int *)(param_1 + 0x3c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) }) (else_clause "else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" else (compound_statement "{\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" { (expression_statement "iVar6 = ParseCommandOption(0x41,0,iVar6);" (assignment_expression "iVar6 = ParseCommandOption(0x41,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x41,0,iVar6)" identifier (argument_list "(0x41,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) }))) (expression_statement "dVar5 = _DAT_002f84b0;" (assignment_expression "dVar5 = _DAT_002f84b0" identifier = identifier) ;) (expression_statement "fVar4 = DAT_002f8478;" (assignment_expression "fVar4 = DAT_002f8478" identifier = identifier) ;) (expression_statement "fVar3 = DAT_002df8b8;" (assignment_expression "fVar3 = DAT_002df8b8" identifier = identifier) ;) (expression_statement "fVar2 = DAT_002df2b8;" (assignment_expression "fVar2 = DAT_002df2b8" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }" { (expression_statement "iVar1 = *(int *)(param_2 + 0x1dc);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1dc)" identifier = (pointer_expression "*(int *)(param_2 + 0x1dc)" * (cast_expression "(int *)(param_2 + 0x1dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1dc)" ( (binary_expression "param_2 + 0x1dc" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }" if (parenthesized_expression "(iVar1 != iVar6)" ( (binary_expression "iVar1 != iVar6" identifier != identifier) )) (compound_statement "{\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }" { (if_statement "if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" if (parenthesized_expression "(iVar1 == 1)" ( (binary_expression "iVar1 == 1" identifier == number_literal) )) (compound_statement "{\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }" { (if_statement "if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (compound_statement "{\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }" { (expression_statement "*(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;" (assignment_expression "*(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0" (pointer_expression "*(double *)(param_2 + 0x1f0)" * (cast_expression "(double *)(param_2 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) = (binary_expression "*(double *)(param_2 + 0x1f0) / _DAT_002f84b0" (pointer_expression "*(double *)(param_2 + 0x1f0)" * (cast_expression "(double *)(param_2 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) / identifier)) ;) (expression_statement "*(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;" (assignment_expression "*(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5" (pointer_expression "*(double *)(param_2 + 0x1f8)" * (cast_expression "(double *)(param_2 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = (binary_expression "*(double *)(param_2 + 0x1f8) / dVar5" (pointer_expression "*(double *)(param_2 + 0x1f8)" * (cast_expression "(double *)(param_2 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) / identifier)) ;) })) }) (else_clause "else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" else (if_statement "if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" if (parenthesized_expression "((iVar1 == 2) && (iVar6 == 1))" ( (binary_expression "(iVar1 == 2) && (iVar6 == 1)" (parenthesized_expression "(iVar1 == 2)" ( (binary_expression "iVar1 == 2" identifier == number_literal) )) && (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) ))) )) (compound_statement "{\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" { (expression_statement "*(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);" (assignment_expression "*(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" (pointer_expression "*(double *)(param_2 + 0x1f0)" * (cast_expression "(double *)(param_2 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) = (cast_expression "(double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" ( (binary_expression "(float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8" (cast_expression "(float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff)" ( (binary_expression "(longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff" (cast_expression "(longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" identifier (argument_list "((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" ( (binary_expression "(float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8" (binary_expression "(float)*(double *)(param_2 + 0x1f0) * DAT_002f8478" (cast_expression "(float)*(double *)(param_2 + 0x1f0)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 0x1f0)" * (cast_expression "(double *)(param_2 + 0x1f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) ))))) * identifier) + identifier) )))) & number_literal) ))) / identifier) )))) ;) (expression_statement "*(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);" (assignment_expression "*(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" (pointer_expression "*(double *)(param_2 + 0x1f8)" * (cast_expression "(double *)(param_2 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = (cast_expression "(double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" ( (binary_expression "(float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3" (cast_expression "(float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff)" ( (binary_expression "(longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff" (cast_expression "(longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" ( (type_descriptor "longlong" type_identifier) ) (call_expression "ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" identifier (argument_list "(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" ( (binary_expression "fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2" (binary_expression "fVar4 * (float)*(double *)(param_2 + 0x1f8)" identifier * (cast_expression "(float)*(double *)(param_2 + 0x1f8)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(param_2 + 0x1f8)" * (cast_expression "(double *)(param_2 + 0x1f8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))))) + identifier) )))) & number_literal) ))) / identifier) )))) ;) })))) })) (expression_statement "*(int *)(param_2 + 0x1dc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0x1dc) = iVar6" (pointer_expression "*(int *)(param_2 + 0x1dc)" * (cast_expression "(int *)(param_2 + 0x1dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1dc)" ( (binary_expression "param_2 + 0x1dc" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar6 = GetImageOption(param_1,"density");" (assignment_expression "iVar6 = GetImageOption(param_1,"density")" identifier = (call_expression "GetImageOption(param_1,"density")" identifier (argument_list "(param_1,"density")" ( identifier , (string_literal ""density"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x1f0) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f0) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f0)" * (cast_expression "(undefined8 *)(param_2 + 0x1f0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f0)" ( (binary_expression "param_2 + 0x1f0" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }" { (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" * (cast_expression "(undefined8 *)(param_2 + 0x1f8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" else (compound_statement "{\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" { (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" * (cast_expression "(undefined8 *)(param_2 + 0x1f8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1f8)" ( (binary_expression "param_2 + 0x1f8" identifier + number_literal) )))) = identifier) ;) }))) })) })) (expression_statement "iVar6 = GetImageOption(param_1,"virtual-pixel");" (assignment_expression "iVar6 = GetImageOption(param_1,"virtual-pixel")" identifier = (call_expression "GetImageOption(param_1,"virtual-pixel")" identifier (argument_list "(param_1,"virtual-pixel")" ( identifier , (string_literal ""virtual-pixel"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }" { (expression_statement "uVar7 = ParseCommandOption(0x4b,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x4b,0,iVar6)" identifier = (call_expression "ParseCommandOption(0x4b,0,iVar6)" identifier (argument_list "(0x4b,0,iVar6)" ( number_literal , number_literal , identifier )))) ;) (expression_statement "SetImageVirtualPixelMethod(param_2,uVar7,param_3);" (call_expression "SetImageVirtualPixelMethod(param_2,uVar7,param_3)" identifier (argument_list "(param_2,uVar7,param_3)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "iVar6 = GetImageOption(param_1,"white-point");" (assignment_expression "iVar6 = GetImageOption(param_1,"white-point")" identifier = (call_expression "GetImageOption(param_1,"white-point")" identifier (argument_list "(param_1,"white-point")" ( identifier , (string_literal ""white-point"" " string_content ") )))) ;) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }" { (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" identifier = (call_expression "ParseGeometry(iVar6,&local_4c)" identifier (argument_list "(iVar6,&local_4c)" ( identifier , (pointer_expression "&local_4c" & identifier) )))) ;) (expression_statement "*(undefined8 *)(param_2 + 0x1bc) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1bc) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1bc)" * (cast_expression "(undefined8 *)(param_2 + 0x1bc)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1bc)" ( (binary_expression "param_2 + 0x1bc" identifier + number_literal) )))) = identifier) ;) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" if (parenthesized_expression "((uVar8 & 8) == 0)" ( (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" ( (binary_expression "uVar8 & 8" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1c4) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1c4) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1c4)" * (cast_expression "(undefined8 *)(param_2 + 0x1c4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c4)" ( (binary_expression "param_2 + 0x1c4" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" else (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" { (expression_statement "*(undefined8 *)(param_2 + 0x1c4) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1c4) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1c4)" * (cast_expression "(undefined8 *)(param_2 + 0x1c4)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c4)" ( (binary_expression "param_2 + 0x1c4" identifier + number_literal) )))) = identifier) ;) }))) })) (if_statement "if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x3334) != 0)" ( (binary_expression "*(int *)(param_2 + 0x3334) != 0" (pointer_expression "*(int *)(param_2 + 0x3334)" * (cast_expression "(int *)(param_2 + 0x3334)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3334)" ( (binary_expression "param_2 + 0x3334" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }" { (expression_statement "uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));" (assignment_expression "uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334))" identifier = (call_expression "DestroyImageInfo(*(int *)(param_2 + 0x3334))" identifier (argument_list "(*(int *)(param_2 + 0x3334))" ( (pointer_expression "*(int *)(param_2 + 0x3334)" * (cast_expression "(int *)(param_2 + 0x3334)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3334)" ( (binary_expression "param_2 + 0x3334" identifier + number_literal) )))) )))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x3334) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3334) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3334)" * (cast_expression "(undefined4 *)(param_2 + 0x3334)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3334)" ( (binary_expression "param_2 + 0x3334" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "uVar7 = CloneImageInfo(param_1);" (assignment_expression "uVar7 = CloneImageInfo(param_1)" identifier = (call_expression "CloneImageInfo(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "iVar6 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar6 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(param_2 + 0x3334) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3334) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3334)" * (cast_expression "(undefined4 *)(param_2 + 0x3334)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3334)" ( (binary_expression "param_2 + 0x3334" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_20 == iVar6) {\n    return 1;\n  }" if (parenthesized_expression "(local_20 == iVar6)" ( (binary_expression "local_20 == iVar6" identifier == identifier) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "FUN_002decd0();" (call_expression "FUN_002decd0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression 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) ;) (if_statement if (parenthesized_expression ( (binary_expression (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) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression 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) ;) (if_statement if (parenthesized_expression ( (binary_expression (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) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression 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) ;) (if_statement if (parenthesized_expression ( (binary_expression (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) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression 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) ;) (if_statement if (parenthesized_expression ( (binary_expression (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (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) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (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) )))) = IDENT) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) LIT) , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = 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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) / IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) / IDENT)) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) * IDENT) + IDENT) )))) & LIT) ))) / IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT * (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) + IDENT) )))) & LIT) ))) / IDENT) )))) ;) })))) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression 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) ;) (if_statement if (parenthesized_expression ( (binary_expression (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) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression 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) ;) (if_statement if (parenthesized_expression ( (binary_expression (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) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) })) (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 = (call_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) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 SyncImageSettings(int param_1,int param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  char *pcVar9;\n  ulong uVar10;\n  int in_GS_OFFSET;\n  longdouble lVar11;\n  char *local_50;\n  undefined8 local_4c;\n  undefined8 local_44;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf6719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }\n  iVar6 = GetImageOption(param_1,"background");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"black-point-compensation");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"blue-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"bordercolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"compose");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"compress");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"debug");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"density");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"depth");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"endian");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"filter");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,&DAT_002fef1a);\n  if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }\n  iVar6 = GetImageOption(param_1,"gravity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"green-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"intent");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"intensity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interlace");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interpolate");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"mattecolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"orient");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"page");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"quality");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"red-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }\n  iVar6 = *(int *)(param_1 + 0x40);\njoined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"scene");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"taint");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"tile-offset");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }\n  iVar6 = GetImageOption(param_1,"transparent-color");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"type");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"units");\n  if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }\n  dVar5 = _DAT_002f84b0;\n  fVar4 = DAT_002f8478;\n  fVar3 = DAT_002df8b8;\n  fVar2 = DAT_002df2b8;\n  if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }\n  iVar6 = GetImageOption(param_1,"virtual-pixel");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"white-point");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }\n  if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }\n  uVar7 = CloneImageInfo(param_1);\n  iVar6 = *(int *)(in_GS_OFFSET + 0x14);\n  *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  if (local_20 == iVar6) {\n    return 1;\n  }\n                    \n  FUN_002decd0();\n}" (type_identifier "undefined4") (function_declarator "SyncImageSettings(int param_1,int param_2,undefined4 param_3)" (identifier "SyncImageSettings") (parameter_list "(int param_1,int param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  float fVar2;\n  float fVar3;\n  float fVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  uint uVar8;\n  char *pcVar9;\n  ulong uVar10;\n  int in_GS_OFFSET;\n  longdouble lVar11;\n  char *local_50;\n  undefined8 local_4c;\n  undefined8 local_44;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf6719;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }\n  if (param_2 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }\n  if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }\n  iVar6 = GetImageOption(param_1,"background");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"black-point-compensation");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"blue-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"bordercolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"compose");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"compress");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"debug");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"density");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"depth");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"endian");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"filter");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,&DAT_002fef1a);\n  if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }\n  iVar6 = GetImageOption(param_1,"gravity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"green-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }\n  iVar6 = GetImageOption(param_1,"intent");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"intensity");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interlace");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"interpolate");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"mattecolor");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"orient");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"page");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"quality");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"red-primary");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }\n  iVar6 = *(int *)(param_1 + 0x40);\njoined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }\n  pcVar9 = (char *)GetImageOption(param_1,"scene");\n  if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }\n  iVar6 = GetImageOption(param_1,"taint");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"tile-offset");\n  if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }\n  iVar6 = GetImageOption(param_1,"transparent-color");\n  if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"type");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }\n  iVar6 = GetImageOption(param_1,"units");\n  if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }\n  dVar5 = _DAT_002f84b0;\n  fVar4 = DAT_002f8478;\n  fVar3 = DAT_002df8b8;\n  fVar2 = DAT_002df2b8;\n  if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }\n  iVar6 = GetImageOption(param_1,"virtual-pixel");\n  if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }\n  iVar6 = GetImageOption(param_1,"white-point");\n  if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }\n  if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }\n  uVar7 = CloneImageInfo(param_1);\n  iVar6 = *(int *)(in_GS_OFFSET + 0x14);\n  *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  if (local_20 == iVar6) {\n    return 1;\n  }\n                    \n  FUN_002decd0();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "float fVar2;" (primitive_type "float") (identifier "fVar2") (; ";")) (declaration "float fVar3;" (primitive_type "float") (identifier "fVar3") (; ";")) (declaration "float fVar4;" (primitive_type "float") (identifier "fVar4") (; ";")) (declaration "double dVar5;" (primitive_type "double") (identifier "dVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "char *pcVar9;" (primitive_type "char") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "ulong uVar10;" (type_identifier "ulong") (identifier "uVar10") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "longdouble lVar11;" (type_identifier "longdouble") (identifier "lVar11") (; ";")) (declaration "char *local_50;" (primitive_type "char") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "undefined8 local_4c;" (type_identifier "undefined8") (identifier "local_4c") (; ";")) (declaration "undefined8 local_44;" (type_identifier "undefined8") (identifier "local_44") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xf6719;" (assignment_expression "uStack_14 = 0xf6719" (identifier "uStack_14") (= "=") (number_literal "0xf6719")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_1 == 0) {\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");\n  }" ({ "{") (expression_statement "__assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings")" (identifier "__assert_fail") (argument_list "("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,\n                  "SyncImageSettings")" (( "(") (string_literal ""image_info != (const ImageInfo *) NULL"" (" """) (string_content "image_info != (const ImageInfo *) NULL") (" """)) (, ",") (string_literal ""MagickCore/image.c"" (" """) (string_content "MagickCore/image.c") (" """)) (, ",") (number_literal "0xfaa") (, ",") (string_literal ""SyncImageSettings"" (" """) (string_content "SyncImageSettings") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x31f4) != -0x54535255) {\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x31f4) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x31f4) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x31f4)" (* "*") (cast_expression "(int *)(param_1 + 0x31f4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x31f4)" (( "(") (binary_expression "param_1 + 0x31f4" (identifier "param_1") (+ "+") (number_literal "0x31f4")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");\n  }" ({ "{") (expression_statement "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings")" (identifier "__assert_fail") (argument_list "("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,\n                  "SyncImageSettings")" (( "(") (string_literal ""image_info->signature == MagickCoreSignature"" (" """) (string_content "image_info->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/image.c"" (" """) (string_content "MagickCore/image.c") (" """)) (, ",") (number_literal "0xfab") (, ",") (string_literal ""SyncImageSettings"" (" """) (string_content "SyncImageSettings") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == 0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/image.c"" (" """) (string_content "MagickCore/image.c") (" """)) (, ",") (number_literal "0xfac") (, ",") (string_literal ""SyncImageSettings"" (" """) (string_content "SyncImageSettings") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_2 + 0x3344) != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x3344) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_2 + 0x3344) != -0x54535255" (pointer_expression "*(int *)(param_2 + 0x3344)" (* "*") (cast_expression "(int *)(param_2 + 0x3344)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3344)" (( "(") (binary_expression "param_2 + 0x3344" (identifier "param_2") (+ "+") (number_literal "0x3344")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");\n  }" ({ "{") (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,\n                  "SyncImageSettings")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/image.c"" (" """) (string_content "MagickCore/image.c") (" """)) (, ",") (number_literal "0xfad") (, ",") (string_literal ""SyncImageSettings"" (" """) (string_content "SyncImageSettings") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(int *)(param_2 + 0x3328) != 0) {\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x3328) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x3328) != 0" (pointer_expression "*(int *)(param_2 + 0x3328)" (* "*") (cast_expression "(int *)(param_2 + 0x3328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3328)" (( "(") (binary_expression "param_2 + 0x3328" (identifier "param_2") (+ "+") (number_literal "0x3328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318);" (call_expression "LogMagickEvent(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/image.c","SyncImageSettings",0xfaf,&DAT_002f75ae,\n                   param_2 + 0x318)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/image.c"" (" """) (string_content "MagickCore/image.c") (" """)) (, ",") (string_literal ""SyncImageSettings"" (" """) (string_content "SyncImageSettings") (" """)) (, ",") (number_literal "0xfaf") (, ",") (pointer_expression "&DAT_002f75ae" (& "&") (identifier "DAT_002f75ae")) (, ",") (binary_expression "param_2 + 0x318" (identifier "param_2") (+ "+") (number_literal "0x318")) () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"background");" (assignment_expression "iVar6 = GetImageOption(param_1,"background")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"background")" (identifier "GetImageOption") (argument_list "(param_1,"background")" (( "(") (identifier "param_1") (, ",") (string_literal ""background"" (" """) (string_content "background") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);\n  }" ({ "{") (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3)" (identifier "QueryColorCompliance") (argument_list "(iVar6,0x7fffffff,param_2 + 0x7c,param_3)" (( "(") (identifier "iVar6") (, ",") (number_literal "0x7fffffff") (, ",") (binary_expression "param_2 + 0x7c" (identifier "param_2") (+ "+") (number_literal "0x7c")) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"black-point-compensation");" (assignment_expression "iVar6 = GetImageOption(param_1,"black-point-compensation")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"black-point-compensation")" (identifier "GetImageOption") (argument_list "(param_1,"black-point-compensation")" (( "(") (identifier "param_1") (, ",") (string_literal ""black-point-compensation"" (" """) (string_content "black-point-compensation") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x264) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(2,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(2,0,iVar6)" (( "(") (number_literal "2") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x264) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x264) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x264)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x264)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x264)" (( "(") (binary_expression "param_2 + 0x264" (identifier "param_2") (+ "+") (number_literal "0x264")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"blue-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"blue-primary")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"blue-primary")" (identifier "GetImageOption") (argument_list "(param_1,"blue-primary")" (( "(") (identifier "param_1") (, ",") (string_literal ""blue-primary"" (" """) (string_content "blue-primary") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1a4) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }\n  }" ({ "{") (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" (identifier "uVar8") (= "=") (call_expression "ParseGeometry(iVar6,&local_4c)" (identifier "ParseGeometry") (argument_list "(iVar6,&local_4c)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_2 + 0x1a4) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1a4) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1a4)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1a4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1a4)" (( "(") (binary_expression "param_2 + 0x1a4" (identifier "param_2") (+ "+") (number_literal "0x1a4")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" (if "if") (parenthesized_expression "((uVar8 & 8) == 0)" (( "(") (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" (( "(") (binary_expression "uVar8 & 8" (identifier "uVar8") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1ac) = local_4c;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x1ac) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1ac) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1ac)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1ac)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1ac)" (( "(") (binary_expression "param_2 + 0x1ac" (identifier "param_2") (+ "+") (number_literal "0x1ac")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" (else "else") (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1ac) = local_44;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x1ac) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1ac) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1ac)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1ac)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1ac)" (( "(") (binary_expression "param_2 + 0x1ac" (identifier "param_2") (+ "+") (number_literal "0x1ac")) () ")")))) (= "=") (identifier "local_44")) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"bordercolor");" (assignment_expression "iVar6 = GetImageOption(param_1,"bordercolor")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"bordercolor")" (identifier "GetImageOption") (argument_list "(param_1,"bordercolor")" (( "(") (identifier "param_1") (, ",") (string_literal ""bordercolor"" (" """) (string_content "bordercolor") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);\n  }" ({ "{") (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3)" (identifier "QueryColorCompliance") (argument_list "(iVar6,0x7fffffff,param_2 + 0xcc,param_3)" (( "(") (identifier "iVar6") (, ",") (number_literal "0x7fffffff") (, ",") (binary_expression "param_2 + 0xcc" (identifier "param_2") (+ "+") (number_literal "0xcc")) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"compose");" (assignment_expression "iVar6 = GetImageOption(param_1,"compose")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"compose")" (identifier "GetImageOption") (argument_list "(param_1,"compose")" (( "(") (identifier "param_1") (, ",") (string_literal ""compose"" (" """) (string_content "compose") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0xd,0,iVar6);\n    *(undefined4 *)(param_2 + 0x23c) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0xd,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0xd,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0xd,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0xd,0,iVar6)" (( "(") (number_literal "0xd") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x23c) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x23c) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x23c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x23c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x23c)" (( "(") (binary_expression "param_2 + 0x23c" (identifier "param_2") (+ "+") (number_literal "0x23c")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"compress");" (assignment_expression "iVar6 = GetImageOption(param_1,"compress")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"compress")" (identifier "GetImageOption") (argument_list "(param_1,"compress")" (( "(") (identifier "param_1") (, ",") (string_literal ""compress"" (" """) (string_content "compress") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0xe,0,iVar6);\n    *(undefined4 *)(param_2 + 8) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0xe,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0xe,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0xe,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0xe,0,iVar6)" (( "(") (number_literal "0xe") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 8) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 8) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 8)" (* "*") (cast_expression "(undefined4 *)(param_2 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"debug");" (assignment_expression "iVar6 = GetImageOption(param_1,"debug")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"debug")" (identifier "GetImageOption") (argument_list "(param_1,"debug")" (( "(") (identifier "param_1") (, ",") (string_literal ""debug"" (" """) (string_content "debug") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x3328) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(2,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(2,0,iVar6)" (( "(") (number_literal "2") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x3328) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3328) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3328)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x3328)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3328)" (( "(") (binary_expression "param_2 + 0x3328" (identifier "param_2") (+ "+") (number_literal "0x3328")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"density");" (assignment_expression "iVar6 = GetImageOption(param_1,"density")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"density")" (identifier "GetImageOption") (argument_list "(param_1,"density")" (( "(") (identifier "param_1") (, ",") (string_literal ""density"" (" """) (string_content "density") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }\n  }" ({ "{") (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" (identifier "uVar8") (= "=") (call_expression "ParseGeometry(iVar6,&local_4c)" (identifier "ParseGeometry") (argument_list "(iVar6,&local_4c)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_2 + 0x1f0) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f0) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f0)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1f0)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f0)" (( "(") (binary_expression "param_2 + 0x1f0" (identifier "param_2") (+ "+") (number_literal "0x1f0")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" (if "if") (parenthesized_expression "((uVar8 & 8) == 0)" (( "(") (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" (( "(") (binary_expression "uVar8 & 8" (identifier "uVar8") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1f8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f8)" (( "(") (binary_expression "param_2 + 0x1f8" (identifier "param_2") (+ "+") (number_literal "0x1f8")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" (else "else") (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1f8) = local_44;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1f8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f8)" (( "(") (binary_expression "param_2 + 0x1f8" (identifier "param_2") (+ "+") (number_literal "0x1f8")) () ")")))) (= "=") (identifier "local_44")) (; ";")) (} "}")))) (} "}"))) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"depth");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"depth")" (identifier "pcVar9") (= "=") (cast_expression "(char *)GetImageOption(param_1,"depth")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetImageOption(param_1,"depth")" (identifier "GetImageOption") (argument_list "(param_1,"depth")" (( "(") (identifier "param_1") (, ",") (string_literal ""depth"" (" """) (string_content "depth") (" """)) () ")"))))) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x20) = uVar10;\n  }" ({ "{") (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" (identifier "uVar10") (= "=") (call_expression "strtoul(pcVar9,(char **)0x0,10)" (identifier "strtoul") (argument_list "(pcVar9,(char **)0x0,10)" (( "(") (identifier "pcVar9") (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "*(ulong *)(param_2 + 0x20) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x20) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x20)" (* "*") (cast_expression "(ulong *)(param_2 + 0x20)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"endian");" (assignment_expression "iVar6 = GetImageOption(param_1,"endian")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"endian")" (identifier "GetImageOption") (argument_list "(param_1,"endian")" (( "(") (identifier "param_1") (, ",") (string_literal ""endian"" (" """) (string_content "endian") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x18,0,iVar6);\n    *(undefined4 *)(param_2 + 0x234) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x18,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x18,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x18,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x18,0,iVar6)" (( "(") (number_literal "0x18") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x234) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x234) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x234)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x234)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x234)" (( "(") (binary_expression "param_2 + 0x234" (identifier "param_2") (+ "+") (number_literal "0x234")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"filter");" (assignment_expression "iVar6 = GetImageOption(param_1,"filter")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"filter")" (identifier "GetImageOption") (argument_list "(param_1,"filter")" (( "(") (identifier "param_1") (, ",") (string_literal ""filter"" (" """) (string_content "filter") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x1b,0,iVar6);\n    *(undefined4 *)(param_2 + 0x228) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x1b,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x1b,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x1b,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x1b,0,iVar6)" (( "(") (number_literal "0x1b") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x228) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x228) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x228)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x228)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x228)" (( "(") (binary_expression "param_2 + 0x228" (identifier "param_2") (+ "+") (number_literal "0x228")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,&DAT_002fef1a);" (assignment_expression "iVar6 = GetImageOption(param_1,&DAT_002fef1a)" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,&DAT_002fef1a)" (identifier "GetImageOption") (argument_list "(param_1,&DAT_002fef1a)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002fef1a" (& "&") (identifier "DAT_002fef1a")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);\n    if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }\n    *(double *)(param_2 + 0x220) = (double)lVar11;\n  }" ({ "{") (expression_statement "lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);" (assignment_expression "lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50)" (identifier "lVar11") (= "=") (cast_expression "(longdouble)InterpretLocaleValue(iVar6,&local_50)" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (call_expression "InterpretLocaleValue(iVar6,&local_50)" (identifier "InterpretLocaleValue") (argument_list "(iVar6,&local_50)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&local_50" (& "&") (identifier "local_50")) () ")"))))) (; ";")) (if_statement "if (*local_50 == '%') {\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }" (if "if") (parenthesized_expression "(*local_50 == '%')" (( "(") (binary_expression "*local_50 == '%'" (pointer_expression "*local_50" (* "*") (identifier "local_50")) (== "==") (char_literal "'%'" (' "'") (character "%") (' "'"))) () ")")) (compound_statement "{\n      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;\n    }" ({ "{") (expression_statement "lVar11 = lVar11 * (longdouble)_DAT_002e1b78;" (assignment_expression "lVar11 = lVar11 * (longdouble)_DAT_002e1b78" (identifier "lVar11") (= "=") (binary_expression "lVar11 * (longdouble)_DAT_002e1b78" (identifier "lVar11") (* "*") (cast_expression "(longdouble)_DAT_002e1b78" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "_DAT_002e1b78")))) (; ";")) (} "}"))) (expression_statement "*(double *)(param_2 + 0x220) = (double)lVar11;" (assignment_expression "*(double *)(param_2 + 0x220) = (double)lVar11" (pointer_expression "*(double *)(param_2 + 0x220)" (* "*") (cast_expression "(double *)(param_2 + 0x220)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x220)" (( "(") (binary_expression "param_2 + 0x220" (identifier "param_2") (+ "+") (number_literal "0x220")) () ")")))) (= "=") (cast_expression "(double)lVar11" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar11"))) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"gravity");" (assignment_expression "iVar6 = GetImageOption(param_1,"gravity")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"gravity")" (identifier "GetImageOption") (argument_list "(param_1,"gravity")" (( "(") (identifier "param_1") (, ",") (string_literal ""gravity"" (" """) (string_content "gravity") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x21,0,iVar6);\n    *(undefined4 *)(param_2 + 0x238) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x21,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x21,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x21,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x21,0,iVar6)" (( "(") (number_literal "0x21") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x238) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x238) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x238)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x238)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x238)" (( "(") (binary_expression "param_2 + 0x238" (identifier "param_2") (+ "+") (number_literal "0x238")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"green-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"green-primary")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"green-primary")" (identifier "GetImageOption") (argument_list "(param_1,"green-primary")" (( "(") (identifier "param_1") (, ",") (string_literal ""green-primary"" (" """) (string_content "green-primary") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x18c) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }\n  }" ({ "{") (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" (identifier "uVar8") (= "=") (call_expression "ParseGeometry(iVar6,&local_4c)" (identifier "ParseGeometry") (argument_list "(iVar6,&local_4c)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_2 + 0x18c) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x18c) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x18c)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x18c)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18c)" (( "(") (binary_expression "param_2 + 0x18c" (identifier "param_2") (+ "+") (number_literal "0x18c")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" (if "if") (parenthesized_expression "((uVar8 & 8) == 0)" (( "(") (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" (( "(") (binary_expression "uVar8 & 8" (identifier "uVar8") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x194) = local_4c;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x194) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x194) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x194)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x194)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x194)" (( "(") (binary_expression "param_2 + 0x194" (identifier "param_2") (+ "+") (number_literal "0x194")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" (else "else") (compound_statement "{\n      *(undefined8 *)(param_2 + 0x194) = local_44;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x194) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x194) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x194)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x194)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x194)" (( "(") (binary_expression "param_2 + 0x194" (identifier "param_2") (+ "+") (number_literal "0x194")) () ")")))) (= "=") (identifier "local_44")) (; ";")) (} "}")))) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"intent");" (assignment_expression "iVar6 = GetImageOption(param_1,"intent")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"intent")" (identifier "GetImageOption") (argument_list "(param_1,"intent")" (( "(") (identifier "param_1") (, ",") (string_literal ""intent"" (" """) (string_content "intent") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x23,0,iVar6);\n    *(undefined4 *)(param_2 + 0x1d4) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x23,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x23,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x23,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x23,0,iVar6)" (( "(") (number_literal "0x23") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x1d4) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x1d4) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x1d4)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x1d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1d4)" (( "(") (binary_expression "param_2 + 0x1d4" (identifier "param_2") (+ "+") (number_literal "0x1d4")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"intensity");" (assignment_expression "iVar6 = GetImageOption(param_1,"intensity")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"intensity")" (identifier "GetImageOption") (argument_list "(param_1,"intensity")" (( "(") (identifier "param_1") (, ",") (string_literal ""intensity"" (" """) (string_content "intensity") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x38,0,iVar6);\n    *(undefined4 *)(param_2 + 0x22c) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x38,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x38,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x38,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x38,0,iVar6)" (( "(") (number_literal "0x38") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x22c) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x22c) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x22c)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x22c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x22c)" (( "(") (binary_expression "param_2 + 0x22c" (identifier "param_2") (+ "+") (number_literal "0x22c")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"interlace");" (assignment_expression "iVar6 = GetImageOption(param_1,"interlace")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"interlace")" (identifier "GetImageOption") (argument_list "(param_1,"interlace")" (( "(") (identifier "param_1") (, ",") (string_literal ""interlace"" (" """) (string_content "interlace") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x24,0,iVar6);\n    *(undefined4 *)(param_2 + 0x230) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x24,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x24,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x24,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x24,0,iVar6)" (( "(") (number_literal "0x24") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x230) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x230) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x230)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x230)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x230)" (( "(") (binary_expression "param_2 + 0x230" (identifier "param_2") (+ "+") (number_literal "0x230")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"interpolate");" (assignment_expression "iVar6 = GetImageOption(param_1,"interpolate")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"interpolate")" (identifier "GetImageOption") (argument_list "(param_1,"interpolate")" (( "(") (identifier "param_1") (, ",") (string_literal ""interpolate"" (" """) (string_content "interpolate") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x25,0,iVar6);\n    *(undefined4 *)(param_2 + 0x260) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x25,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x25,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x25,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x25,0,iVar6)" (( "(") (number_literal "0x25") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x260) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x260) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x260)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x260)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x260)" (( "(") (binary_expression "param_2 + 0x260" (identifier "param_2") (+ "+") (number_literal "0x260")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b)" (identifier "pcVar9") (= "=") (cast_expression "(char *)GetImageOption(param_1,&DAT_002fef8b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetImageOption(param_1,&DAT_002fef8b)" (identifier "GetImageOption") (argument_list "(param_1,&DAT_002fef8b)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002fef8b" (& "&") (identifier "DAT_002fef8b")) () ")"))))) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x254) = uVar10;\n  }" ({ "{") (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" (identifier "uVar10") (= "=") (call_expression "strtoul(pcVar9,(char **)0x0,10)" (identifier "strtoul") (argument_list "(pcVar9,(char **)0x0,10)" (( "(") (identifier "pcVar9") (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "*(ulong *)(param_2 + 0x254) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x254) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x254)" (* "*") (cast_expression "(ulong *)(param_2 + 0x254)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x254)" (( "(") (binary_expression "param_2 + 0x254" (identifier "param_2") (+ "+") (number_literal "0x254")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"mattecolor");" (assignment_expression "iVar6 = GetImageOption(param_1,"mattecolor")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"mattecolor")" (identifier "GetImageOption") (argument_list "(param_1,"mattecolor")" (( "(") (identifier "param_1") (, ",") (string_literal ""mattecolor"" (" """) (string_content "mattecolor") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);\n  }" ({ "{") (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3)" (identifier "QueryColorCompliance") (argument_list "(iVar6,0x7fffffff,param_2 + 0x3348,param_3)" (( "(") (identifier "iVar6") (, ",") (number_literal "0x7fffffff") (, ",") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"orient");" (assignment_expression "iVar6 = GetImageOption(param_1,"orient")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"orient")" (identifier "GetImageOption") (argument_list "(param_1,"orient")" (( "(") (identifier "param_1") (, ",") (string_literal ""orient"" (" """) (string_content "orient") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x36,0,iVar6);\n    *(undefined4 *)(param_2 + 0x10) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x36,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x36,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x36,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x36,0,iVar6)" (( "(") (number_literal "0x36") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x10) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x10) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"page");" (assignment_expression "iVar6 = GetImageOption(param_1,"page")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"page")" (identifier "GetImageOption") (argument_list "(param_1,"page")" (( "(") (identifier "param_1") (, ",") (string_literal ""page"" (" """) (string_content "page") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);\n    DestroyString(uVar7);\n  }" ({ "{") (expression_statement "uVar7 = GetPageGeometry(iVar6);" (assignment_expression "uVar7 = GetPageGeometry(iVar6)" (identifier "uVar7") (= "=") (call_expression "GetPageGeometry(iVar6)" (identifier "GetPageGeometry") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "ParseAbsoluteGeometry(uVar7,param_2 + 0x200);" (call_expression "ParseAbsoluteGeometry(uVar7,param_2 + 0x200)" (identifier "ParseAbsoluteGeometry") (argument_list "(uVar7,param_2 + 0x200)" (( "(") (identifier "uVar7") (, ",") (binary_expression "param_2 + 0x200" (identifier "param_2") (+ "+") (number_literal "0x200")) () ")"))) (; ";")) (expression_statement "DestroyString(uVar7);" (call_expression "DestroyString(uVar7)" (identifier "DestroyString") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"quality");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"quality")" (identifier "pcVar9") (= "=") (cast_expression "(char *)GetImageOption(param_1,"quality")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetImageOption(param_1,"quality")" (identifier "GetImageOption") (argument_list "(param_1,"quality")" (( "(") (identifier "param_1") (, ",") (string_literal ""quality"" (" """) (string_content "quality") (" """)) () ")"))))) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0xc) = uVar10;\n  }" ({ "{") (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" (identifier "uVar10") (= "=") (call_expression "strtoul(pcVar9,(char **)0x0,10)" (identifier "strtoul") (argument_list "(pcVar9,(char **)0x0,10)" (( "(") (identifier "pcVar9") (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "*(ulong *)(param_2 + 0xc) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0xc) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0xc)" (* "*") (cast_expression "(ulong *)(param_2 + 0xc)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"red-primary");" (assignment_expression "iVar6 = GetImageOption(param_1,"red-primary")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"red-primary")" (identifier "GetImageOption") (argument_list "(param_1,"red-primary")" (( "(") (identifier "param_1") (, ",") (string_literal ""red-primary"" (" """) (string_content "red-primary") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x174) = local_4c;\n    if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }\n    *(undefined8 *)(param_2 + 0x17c) = local_4c;\n  }" ({ "{") (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" (identifier "uVar8") (= "=") (call_expression "ParseGeometry(iVar6,&local_4c)" (identifier "ParseGeometry") (argument_list "(iVar6,&local_4c)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_2 + 0x174) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x174) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x174)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x174)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x174)" (( "(") (binary_expression "param_2 + 0x174" (identifier "param_2") (+ "+") (number_literal "0x174")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (if_statement "if ((uVar8 & 8) != 0) {\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }" (if "if") (parenthesized_expression "((uVar8 & 8) != 0)" (( "(") (binary_expression "(uVar8 & 8) != 0" (parenthesized_expression "(uVar8 & 8)" (( "(") (binary_expression "uVar8 & 8" (identifier "uVar8") (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x40);\n      *(undefined8 *)(param_2 + 0x17c) = local_44;\n      goto joined_r0x000f6c24;\n    }" ({ "{") (expression_statement "iVar6 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x40)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(param_2 + 0x17c) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x17c) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x17c)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x17c)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x17c)" (( "(") (binary_expression "param_2 + 0x17c" (identifier "param_2") (+ "+") (number_literal "0x17c")) () ")")))) (= "=") (identifier "local_44")) (; ";")) (goto_statement "goto joined_r0x000f6c24;" (goto "goto") (statement_identifier "joined_r0x000f6c24") (; ";")) (} "}"))) (expression_statement "*(undefined8 *)(param_2 + 0x17c) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x17c) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x17c)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x17c)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x17c)" (( "(") (binary_expression "param_2 + 0x17c" (identifier "param_2") (+ "+") (number_literal "0x17c")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (} "}"))) (expression_statement "iVar6 = *(int *)(param_1 + 0x40);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x40)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0x40)" (* "*") (cast_expression "(int *)(param_1 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (labeled_statement "joined_r0x000f6c24:\n  if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" (statement_identifier "joined_r0x000f6c24") (: ":") (if_statement "if (iVar6 != 0) {\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *(int *)(param_2 + 0xc) = iVar6;\n  }" ({ "{") (expression_statement "*(int *)(param_2 + 0xc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0xc) = iVar6" (pointer_expression "*(int *)(param_2 + 0xc)" (* "*") (cast_expression "(int *)(param_2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0xc)" (( "(") (binary_expression "param_2 + 0xc" (identifier "param_2") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (} "}")))) (expression_statement "pcVar9 = (char *)GetImageOption(param_1,"scene");" (assignment_expression "pcVar9 = (char *)GetImageOption(param_1,"scene")" (identifier "pcVar9") (= "=") (cast_expression "(char *)GetImageOption(param_1,"scene")" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "GetImageOption(param_1,"scene")" (identifier "GetImageOption") (argument_list "(param_1,"scene")" (( "(") (identifier "param_1") (, ",") (string_literal ""scene"" (" """) (string_content "scene") (" """)) () ")"))))) (; ";")) (if_statement "if (pcVar9 != (char *)0x0) {\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }" (if "if") (parenthesized_expression "(pcVar9 != (char *)0x0)" (( "(") (binary_expression "pcVar9 != (char *)0x0" (identifier "pcVar9") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar10 = strtoul(pcVar9,(char **)0x0,10);\n    *(ulong *)(param_2 + 0x244) = uVar10;\n  }" ({ "{") (expression_statement "uVar10 = strtoul(pcVar9,(char **)0x0,10);" (assignment_expression "uVar10 = strtoul(pcVar9,(char **)0x0,10)" (identifier "uVar10") (= "=") (call_expression "strtoul(pcVar9,(char **)0x0,10)" (identifier "strtoul") (argument_list "(pcVar9,(char **)0x0,10)" (( "(") (identifier "pcVar9") (, ",") (cast_expression "(char **)0x0" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (number_literal "0x0")) (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "*(ulong *)(param_2 + 0x244) = uVar10;" (assignment_expression "*(ulong *)(param_2 + 0x244) = uVar10" (pointer_expression "*(ulong *)(param_2 + 0x244)" (* "*") (cast_expression "(ulong *)(param_2 + 0x244)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x244)" (( "(") (binary_expression "param_2 + 0x244" (identifier "param_2") (+ "+") (number_literal "0x244")) () ")")))) (= "=") (identifier "uVar10")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"taint");" (assignment_expression "iVar6 = GetImageOption(param_1,"taint")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"taint")" (identifier "GetImageOption") (argument_list "(param_1,"taint")" (( "(") (identifier "param_1") (, ",") (string_literal ""taint"" (" """) (string_content "taint") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(2,0,iVar6);\n    *(undefined4 *)(param_2 + 0x14) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(2,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(2,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(2,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(2,0,iVar6)" (( "(") (number_literal "2") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x14) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x14) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x14)" (( "(") (binary_expression "param_2 + 0x14" (identifier "param_2") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"tile-offset");" (assignment_expression "iVar6 = GetImageOption(param_1,"tile-offset")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"tile-offset")" (identifier "GetImageOption") (argument_list "(param_1,"tile-offset")" (( "(") (identifier "param_1") (, ",") (string_literal ""tile-offset"" (" """) (string_content "tile-offset") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = GetPageGeometry(iVar6);\n    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);\n    DestroyString(uVar7);\n  }" ({ "{") (expression_statement "uVar7 = GetPageGeometry(iVar6);" (assignment_expression "uVar7 = GetPageGeometry(iVar6)" (identifier "uVar7") (= "=") (call_expression "GetPageGeometry(iVar6)" (identifier "GetPageGeometry") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "ParseAbsoluteGeometry(uVar7,param_2 + 0x268);" (call_expression "ParseAbsoluteGeometry(uVar7,param_2 + 0x268)" (identifier "ParseAbsoluteGeometry") (argument_list "(uVar7,param_2 + 0x268)" (( "(") (identifier "uVar7") (, ",") (binary_expression "param_2 + 0x268" (identifier "param_2") (+ "+") (number_literal "0x268")) () ")"))) (; ";")) (expression_statement "DestroyString(uVar7);" (call_expression "DestroyString(uVar7)" (identifier "DestroyString") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"transparent-color");" (assignment_expression "iVar6 = GetImageOption(param_1,"transparent-color")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"transparent-color")" (identifier "GetImageOption") (argument_list "(param_1,"transparent-color")" (( "(") (identifier "param_1") (, ",") (string_literal ""transparent-color"" (" """) (string_content "transparent-color") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);\n  }" ({ "{") (expression_statement "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);" (call_expression "QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3)" (identifier "QueryColorCompliance") (argument_list "(iVar6,0x7fffffff,param_2 + 0x11c,param_3)" (( "(") (identifier "iVar6") (, ",") (number_literal "0x7fffffff") (, ",") (binary_expression "param_2 + 0x11c" (identifier "param_2") (+ "+") (number_literal "0x11c")) (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"type");" (assignment_expression "iVar6 = GetImageOption(param_1,"type")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"type")" (identifier "GetImageOption") (argument_list "(param_1,"type")" (( "(") (identifier "param_1") (, ",") (string_literal ""type"" (" """) (string_content "type") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x49,0,iVar6);\n    *(undefined4 *)(param_2 + 0x278) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x49,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x49,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x49,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x49,0,iVar6)" (( "(") (number_literal "0x49") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x278) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x278) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x278)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x278)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x278)" (( "(") (binary_expression "param_2 + 0x278" (identifier "param_2") (+ "+") (number_literal "0x278")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"units");" (assignment_expression "iVar6 = GetImageOption(param_1,"units")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"units")" (identifier "GetImageOption") (argument_list "(param_1,"units")" (( "(") (identifier "param_1") (, ",") (string_literal ""units"" (" """) (string_content "units") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }\n  else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar6 = *(int *)(param_1 + 0x3c);\n  }" ({ "{") (expression_statement "iVar6 = *(int *)(param_1 + 0x3c);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x3c)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0x3c)" (* "*") (cast_expression "(int *)(param_1 + 0x3c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" (else "else") (compound_statement "{\n    iVar6 = ParseCommandOption(0x41,0,iVar6);\n  }" ({ "{") (expression_statement "iVar6 = ParseCommandOption(0x41,0,iVar6);" (assignment_expression "iVar6 = ParseCommandOption(0x41,0,iVar6)" (identifier "iVar6") (= "=") (call_expression "ParseCommandOption(0x41,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x41,0,iVar6)" (( "(") (number_literal "0x41") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (} "}")))) (expression_statement "dVar5 = _DAT_002f84b0;" (assignment_expression "dVar5 = _DAT_002f84b0" (identifier "dVar5") (= "=") (identifier "_DAT_002f84b0")) (; ";")) (expression_statement "fVar4 = DAT_002f8478;" (assignment_expression "fVar4 = DAT_002f8478" (identifier "fVar4") (= "=") (identifier "DAT_002f8478")) (; ";")) (expression_statement "fVar3 = DAT_002df8b8;" (assignment_expression "fVar3 = DAT_002df8b8" (identifier "fVar3") (= "=") (identifier "DAT_002df8b8")) (; ";")) (expression_statement "fVar2 = DAT_002df2b8;" (assignment_expression "fVar2 = DAT_002df2b8" (identifier "fVar2") (= "=") (identifier "DAT_002df2b8")) (; ";")) (if_statement "if (iVar6 != 0) {\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *(int *)(param_2 + 0x1dc);\n    if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }\n    *(int *)(param_2 + 0x1dc) = iVar6;\n    iVar6 = GetImageOption(param_1,"density");\n    if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }\n  }" ({ "{") (expression_statement "iVar1 = *(int *)(param_2 + 0x1dc);" (assignment_expression "iVar1 = *(int *)(param_2 + 0x1dc)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_2 + 0x1dc)" (* "*") (cast_expression "(int *)(param_2 + 0x1dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1dc)" (( "(") (binary_expression "param_2 + 0x1dc" (identifier "param_2") (+ "+") (number_literal "0x1dc")) () ")"))))) (; ";")) (if_statement "if (iVar1 != iVar6) {\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }" (if "if") (parenthesized_expression "(iVar1 != iVar6)" (( "(") (binary_expression "iVar1 != iVar6" (identifier "iVar1") (!= "!=") (identifier "iVar6")) () ")")) (compound_statement "{\n      if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }\n    }" ({ "{") (if_statement "if (iVar1 == 1) {\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }\n      else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" (if "if") (parenthesized_expression "(iVar1 == 1)" (( "(") (binary_expression "iVar1 == 1" (identifier "iVar1") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n        if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }\n      }" ({ "{") (if_statement "if (iVar6 == 2) {\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }" (if "if") (parenthesized_expression "(iVar6 == 2)" (( "(") (binary_expression "iVar6 == 2" (identifier "iVar6") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;\n          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;\n        }" ({ "{") (expression_statement "*(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;" (assignment_expression "*(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0" (pointer_expression "*(double *)(param_2 + 0x1f0)" (* "*") (cast_expression "(double *)(param_2 + 0x1f0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f0)" (( "(") (binary_expression "param_2 + 0x1f0" (identifier "param_2") (+ "+") (number_literal "0x1f0")) () ")")))) (= "=") (binary_expression "*(double *)(param_2 + 0x1f0) / _DAT_002f84b0" (pointer_expression "*(double *)(param_2 + 0x1f0)" (* "*") (cast_expression "(double *)(param_2 + 0x1f0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f0)" (( "(") (binary_expression "param_2 + 0x1f0" (identifier "param_2") (+ "+") (number_literal "0x1f0")) () ")")))) (/ "/") (identifier "_DAT_002f84b0"))) (; ";")) (expression_statement "*(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;" (assignment_expression "*(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5" (pointer_expression "*(double *)(param_2 + 0x1f8)" (* "*") (cast_expression "(double *)(param_2 + 0x1f8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f8)" (( "(") (binary_expression "param_2 + 0x1f8" (identifier "param_2") (+ "+") (number_literal "0x1f8")) () ")")))) (= "=") (binary_expression "*(double *)(param_2 + 0x1f8) / dVar5" (pointer_expression "*(double *)(param_2 + 0x1f8)" (* "*") (cast_expression "(double *)(param_2 + 0x1f8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f8)" (( "(") (binary_expression "param_2 + 0x1f8" (identifier "param_2") (+ "+") (number_literal "0x1f8")) () ")")))) (/ "/") (identifier "dVar5"))) (; ";")) (} "}"))) (} "}")) (else_clause "else if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" (else "else") (if_statement "if ((iVar1 == 2) && (iVar6 == 1)) {\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" (if "if") (parenthesized_expression "((iVar1 == 2) && (iVar6 == 1))" (( "(") (binary_expression "(iVar1 == 2) && (iVar6 == 1)" (parenthesized_expression "(iVar1 == 2)" (( "(") (binary_expression "iVar1 == 2" (identifier "iVar1") (== "==") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 == 1)" (( "(") (binary_expression "iVar6 == 1" (identifier "iVar6") (== "==") (number_literal "1")) () ")"))) () ")")) (compound_statement "{\n        *(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);\n        *(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);\n      }" ({ "{") (expression_statement "*(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);" (assignment_expression "*(double *)(param_2 + 0x1f0) =\n             (double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" (pointer_expression "*(double *)(param_2 + 0x1f0)" (* "*") (cast_expression "(double *)(param_2 + 0x1f0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f0)" (( "(") (binary_expression "param_2 + 0x1f0" (identifier "param_2") (+ "+") (number_literal "0x1f0")) () ")")))) (= "=") (cast_expression "(double)((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8)" (( "(") (binary_expression "(float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8" (cast_expression "(float)((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff)" (( "(") (binary_expression "(longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8) & 0xffffffff" (cast_expression "(longlong)\n                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (call_expression "ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" (identifier "ROUND") (argument_list "((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8)" (( "(") (binary_expression "(float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +\n                                    DAT_002df2b8" (binary_expression "(float)*(double *)(param_2 + 0x1f0) * DAT_002f8478" (cast_expression "(float)*(double *)(param_2 + 0x1f0)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(param_2 + 0x1f0)" (* "*") (cast_expression "(double *)(param_2 + 0x1f0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f0)" (( "(") (binary_expression "param_2 + 0x1f0" (identifier "param_2") (+ "+") (number_literal "0x1f0")) () ")"))))) (* "*") (identifier "DAT_002f8478")) (+ "+") (identifier "DAT_002df2b8")) () ")")))) (& "&") (number_literal "0xffffffff")) () ")"))) (/ "/") (identifier "DAT_002df8b8")) () ")")))) (; ";")) (expression_statement "*(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3);" (assignment_expression "*(double *)(param_2 + 0x1f8) =\n             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" (pointer_expression "*(double *)(param_2 + 0x1f8)" (* "*") (cast_expression "(double *)(param_2 + 0x1f8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f8)" (( "(") (binary_expression "param_2 + 0x1f8" (identifier "param_2") (+ "+") (number_literal "0x1f8")) () ")")))) (= "=") (cast_expression "(double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3)" (( "(") (binary_expression "(float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff) / fVar3" (cast_expression "(float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff)" (( "(") (binary_expression "(longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &\n                             0xffffffff" (cast_expression "(longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" (( "(") (type_descriptor "longlong" (type_identifier "longlong")) () ")") (call_expression "ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" (identifier "ROUND") (argument_list "(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2)" (( "(") (binary_expression "fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2" (binary_expression "fVar4 * (float)*(double *)(param_2 + 0x1f8)" (identifier "fVar4") (* "*") (cast_expression "(float)*(double *)(param_2 + 0x1f8)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(param_2 + 0x1f8)" (* "*") (cast_expression "(double *)(param_2 + 0x1f8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f8)" (( "(") (binary_expression "param_2 + 0x1f8" (identifier "param_2") (+ "+") (number_literal "0x1f8")) () ")")))))) (+ "+") (identifier "fVar2")) () ")")))) (& "&") (number_literal "0xffffffff")) () ")"))) (/ "/") (identifier "fVar3")) () ")")))) (; ";")) (} "}"))))) (} "}"))) (expression_statement "*(int *)(param_2 + 0x1dc) = iVar6;" (assignment_expression "*(int *)(param_2 + 0x1dc) = iVar6" (pointer_expression "*(int *)(param_2 + 0x1dc)" (* "*") (cast_expression "(int *)(param_2 + 0x1dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1dc)" (( "(") (binary_expression "param_2 + 0x1dc" (identifier "param_2") (+ "+") (number_literal "0x1dc")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar6 = GetImageOption(param_1,"density");" (assignment_expression "iVar6 = GetImageOption(param_1,"density")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"density")" (identifier "GetImageOption") (argument_list "(param_1,"density")" (( "(") (identifier "param_1") (, ",") (string_literal ""density"" (" """) (string_content "density") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar8 = ParseGeometry(iVar6,&local_4c);\n      *(undefined8 *)(param_2 + 0x1f0) = local_4c;\n      if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }\n    }" ({ "{") (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" (identifier "uVar8") (= "=") (call_expression "ParseGeometry(iVar6,&local_4c)" (identifier "ParseGeometry") (argument_list "(iVar6,&local_4c)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_2 + 0x1f0) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f0) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f0)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1f0)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f0)" (( "(") (binary_expression "param_2 + 0x1f0" (identifier "param_2") (+ "+") (number_literal "0x1f0")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (if_statement "if ((uVar8 & 8) == 0) {\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }\n      else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" (if "if") (parenthesized_expression "((uVar8 & 8) == 0)" (( "(") (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" (( "(") (binary_expression "uVar8 & 8" (identifier "uVar8") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *(undefined8 *)(param_2 + 0x1f8) = local_4c;\n      }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1f8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f8)" (( "(") (binary_expression "param_2 + 0x1f8" (identifier "param_2") (+ "+") (number_literal "0x1f8")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (} "}")) (else_clause "else {\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" (else "else") (compound_statement "{\n        *(undefined8 *)(param_2 + 0x1f8) = local_44;\n      }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x1f8) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1f8) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1f8)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1f8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1f8)" (( "(") (binary_expression "param_2 + 0x1f8" (identifier "param_2") (+ "+") (number_literal "0x1f8")) () ")")))) (= "=") (identifier "local_44")) (; ";")) (} "}")))) (} "}"))) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"virtual-pixel");" (assignment_expression "iVar6 = GetImageOption(param_1,"virtual-pixel")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"virtual-pixel")" (identifier "GetImageOption") (argument_list "(param_1,"virtual-pixel")" (( "(") (identifier "param_1") (, ",") (string_literal ""virtual-pixel"" (" """) (string_content "virtual-pixel") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = ParseCommandOption(0x4b,0,iVar6);\n    SetImageVirtualPixelMethod(param_2,uVar7,param_3);\n  }" ({ "{") (expression_statement "uVar7 = ParseCommandOption(0x4b,0,iVar6);" (assignment_expression "uVar7 = ParseCommandOption(0x4b,0,iVar6)" (identifier "uVar7") (= "=") (call_expression "ParseCommandOption(0x4b,0,iVar6)" (identifier "ParseCommandOption") (argument_list "(0x4b,0,iVar6)" (( "(") (number_literal "0x4b") (, ",") (number_literal "0") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "SetImageVirtualPixelMethod(param_2,uVar7,param_3);" (call_expression "SetImageVirtualPixelMethod(param_2,uVar7,param_3)" (identifier "SetImageVirtualPixelMethod") (argument_list "(param_2,uVar7,param_3)" (( "(") (identifier "param_2") (, ",") (identifier "uVar7") (, ",") (identifier "param_3") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar6 = GetImageOption(param_1,"white-point");" (assignment_expression "iVar6 = GetImageOption(param_1,"white-point")" (identifier "iVar6") (= "=") (call_expression "GetImageOption(param_1,"white-point")" (identifier "GetImageOption") (argument_list "(param_1,"white-point")" (( "(") (identifier "param_1") (, ",") (string_literal ""white-point"" (" """) (string_content "white-point") (" """)) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar8 = ParseGeometry(iVar6,&local_4c);\n    *(undefined8 *)(param_2 + 0x1bc) = local_4c;\n    if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }\n  }" ({ "{") (expression_statement "uVar8 = ParseGeometry(iVar6,&local_4c);" (assignment_expression "uVar8 = ParseGeometry(iVar6,&local_4c)" (identifier "uVar8") (= "=") (call_expression "ParseGeometry(iVar6,&local_4c)" (identifier "ParseGeometry") (argument_list "(iVar6,&local_4c)" (( "(") (identifier "iVar6") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(param_2 + 0x1bc) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1bc) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1bc)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1bc)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1bc)" (( "(") (binary_expression "param_2 + 0x1bc" (identifier "param_2") (+ "+") (number_literal "0x1bc")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (if_statement "if ((uVar8 & 8) == 0) {\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }\n    else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" (if "if") (parenthesized_expression "((uVar8 & 8) == 0)" (( "(") (binary_expression "(uVar8 & 8) == 0" (parenthesized_expression "(uVar8 & 8)" (( "(") (binary_expression "uVar8 & 8" (identifier "uVar8") (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1c4) = local_4c;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x1c4) = local_4c;" (assignment_expression "*(undefined8 *)(param_2 + 0x1c4) = local_4c" (pointer_expression "*(undefined8 *)(param_2 + 0x1c4)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1c4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c4)" (( "(") (binary_expression "param_2 + 0x1c4" (identifier "param_2") (+ "+") (number_literal "0x1c4")) () ")")))) (= "=") (identifier "local_4c")) (; ";")) (} "}")) (else_clause "else {\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" (else "else") (compound_statement "{\n      *(undefined8 *)(param_2 + 0x1c4) = local_44;\n    }" ({ "{") (expression_statement "*(undefined8 *)(param_2 + 0x1c4) = local_44;" (assignment_expression "*(undefined8 *)(param_2 + 0x1c4) = local_44" (pointer_expression "*(undefined8 *)(param_2 + 0x1c4)" (* "*") (cast_expression "(undefined8 *)(param_2 + 0x1c4)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c4)" (( "(") (binary_expression "param_2 + 0x1c4" (identifier "param_2") (+ "+") (number_literal "0x1c4")) () ")")))) (= "=") (identifier "local_44")) (; ";")) (} "}")))) (} "}"))) (if_statement "if (*(int *)(param_2 + 0x3334) != 0) {\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x3334) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x3334) != 0" (pointer_expression "*(int *)(param_2 + 0x3334)" (* "*") (cast_expression "(int *)(param_2 + 0x3334)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3334)" (( "(") (binary_expression "param_2 + 0x3334" (identifier "param_2") (+ "+") (number_literal "0x3334")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));\n    *(undefined4 *)(param_2 + 0x3334) = uVar7;\n  }" ({ "{") (expression_statement "uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));" (assignment_expression "uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334))" (identifier "uVar7") (= "=") (call_expression "DestroyImageInfo(*(int *)(param_2 + 0x3334))" (identifier "DestroyImageInfo") (argument_list "(*(int *)(param_2 + 0x3334))" (( "(") (pointer_expression "*(int *)(param_2 + 0x3334)" (* "*") (cast_expression "(int *)(param_2 + 0x3334)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3334)" (( "(") (binary_expression "param_2 + 0x3334" (identifier "param_2") (+ "+") (number_literal "0x3334")) () ")")))) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x3334) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3334) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3334)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x3334)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3334)" (( "(") (binary_expression "param_2 + 0x3334" (identifier "param_2") (+ "+") (number_literal "0x3334")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (} "}"))) (expression_statement "uVar7 = CloneImageInfo(param_1);" (assignment_expression "uVar7 = CloneImageInfo(param_1)" (identifier "uVar7") (= "=") (call_expression "CloneImageInfo(param_1)" (identifier "CloneImageInfo") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "iVar6 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar6 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(param_2 + 0x3334) = uVar7;" (assignment_expression "*(undefined4 *)(param_2 + 0x3334) = uVar7" (pointer_expression "*(undefined4 *)(param_2 + 0x3334)" (* "*") (cast_expression "(undefined4 *)(param_2 + 0x3334)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3334)" (( "(") (binary_expression "param_2 + 0x3334" (identifier "param_2") (+ "+") (number_literal "0x3334")) () ")")))) (= "=") (identifier "uVar7")) (; ";")) (if_statement "if (local_20 == iVar6) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(local_20 == iVar6)" (( "(") (binary_expression "local_20 == iVar6" (identifier "local_20") (== "==") (identifier "iVar6")) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "FUN_002decd0();" (call_expression "FUN_002decd0()" (identifier "FUN_002decd0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Unknown calling convention */
/* 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 */
/* WARNING: Enum "ComplianceType": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

type_1 function_1(type_2 *var_2,type_3 *var_4,type_4 *exception)

{
  int var_37;
  size_t var_20;
  int var_38;
  type_5 var_23;
  float var_32;
  float var_33;
  float var_31;
  char *var_8;
  type_1 MVar9;
  type_6 var_12;
  type_7 CVar11;
  type_8 CVar12;
  type_9 uVar13;
  type_10 EVar14;
  type_11 FVar15;
  type_12 GVar16;
  type_13 RVar17;
  type_14 PVar18;
  type_15 IVar19;
  type_16 PVar20;
  type_17 OVar21;
  type_18 IVar22;
  type_5 var_21;
  type_19 virtual_pixel_method;
  type_2 *pIVar24;
  int var_1;
  double var_15;
  char *q;
  type_20 geometry_info;
  
  var_37 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,
                  "SyncImageSettings");
  }
  if (var_2->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,
                  "SyncImageSettings");
  }
  if (var_4 == (type_3 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("image != (Image *) NULL","MagickCore/image.c",0xfac,"SyncImageSettings");
  }
  if (var_4->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,
                  "SyncImageSettings");
  }
  if (var_4->debug != var_5) {
    var_6(TraceEvent,"MagickCore/image.c","SyncImageSettings",0xfaf,"%s",var_4->filename);
  }
  var_8 = var_7(var_2,"background");
  if (var_8 != (char *)0x0) {
    var_9(var_8,AllCompliance,&var_4->background_color,exception);
  }
  var_8 = var_7(var_2,"black-point-compensation");
  if (var_8 != (char *)0x0) {
    MVar9 = var_10(MagickBooleanOptions,var_5,var_8);
    var_4->black_point_compensation = MVar9;
  }
  var_8 = var_7(var_2,"blue-primary");
  if (var_8 != (char *)0x0) {
    var_12 = var_11(var_8,&geometry_info);
    (var_4->chromaticity).blue_primary.x = geometry_info.rho;
    if ((var_12 & 8) == 0) {
      (var_4->chromaticity).blue_primary.y = geometry_info.rho;
    }
    else {
      (var_4->chromaticity).blue_primary.y = geometry_info.sigma;
    }
  }
  var_8 = var_7(var_2,"bordercolor");
  if (var_8 != (char *)0x0) {
    var_9(var_8,AllCompliance,&var_4->border_color,exception);
  }
  var_8 = var_7(var_2,"compose");
  if (var_8 != (char *)0x0) {
    CVar11 = var_10(MagickComposeOptions,var_5,var_8);
    var_4->compose = CVar11;
  }
  var_8 = var_7(var_2,"compress");
  if (var_8 != (char *)0x0) {
    CVar12 = var_10(MagickCompressOptions,var_5,var_8);
    var_4->compression = CVar12;
  }
  var_8 = var_7(var_2,"debug");
  if (var_8 != (char *)0x0) {
    MVar9 = var_10(MagickBooleanOptions,var_5,var_8);
    var_4->debug = MVar9;
  }
  var_8 = var_7(var_2,"density");
  if (var_8 != (char *)0x0) {
    var_12 = var_11(var_8,&geometry_info);
    (var_4->resolution).x = geometry_info.rho;
    if ((var_12 & 8) == 0) {
      (var_4->resolution).y = geometry_info.rho;
    }
    else {
      (var_4->resolution).y = geometry_info.sigma;
    }
  }
  var_8 = var_7(var_2,"depth");
  if (var_8 != (char *)0x0) {
    uVar13 = var_13(var_8,(char **)0x0,10);
    var_4->depth = uVar13;
  }
  var_8 = var_7(var_2,"endian");
  if (var_8 != (char *)0x0) {
    EVar14 = var_10(MagickEndianOptions,var_5,var_8);
    var_4->endian = EVar14;
  }
  var_8 = var_7(var_2,"filter");
  if (var_8 != (char *)0x0) {
    FVar15 = var_10(MagickFilterOptions,var_5,var_8);
    var_4->filter = FVar15;
  }
  var_8 = var_7(var_2,"fuzz");
  if (var_8 != (char *)0x0) {
    var_15 = var_14(var_8,&q);
    if (*q == '%') {
      var_15 = var_15 * var_16;
    }
    var_4->fuzz = var_15;
  }
  var_8 = var_7(var_2,"gravity");
  if (var_8 != (char *)0x0) {
    GVar16 = var_10(MagickGravityOptions,var_5,var_8);
    var_4->gravity = GVar16;
  }
  var_8 = var_7(var_2,"green-primary");
  if (var_8 != (char *)0x0) {
    var_12 = var_11(var_8,&geometry_info);
    (var_4->chromaticity).green_primary.x = geometry_info.rho;
    if ((var_12 & 8) == 0) {
      (var_4->chromaticity).green_primary.y = geometry_info.rho;
    }
    else {
      (var_4->chromaticity).green_primary.y = geometry_info.sigma;
    }
  }
  var_8 = var_7(var_2,"intent");
  if (var_8 != (char *)0x0) {
    RVar17 = var_10(MagickIntentOptions,var_5,var_8);
    var_4->rendering_intent = RVar17;
  }
  var_8 = var_7(var_2,"intensity");
  if (var_8 != (char *)0x0) {
    PVar18 = var_10(MagickPixelIntensityOptions,var_5,var_8);
    var_4->intensity = PVar18;
  }
  var_8 = var_7(var_2,"interlace");
  if (var_8 != (char *)0x0) {
    IVar19 = var_10(MagickInterlaceOptions,var_5,var_8);
    var_4->interlace = IVar19;
  }
  var_8 = var_7(var_2,"interpolate");
  if (var_8 != (char *)0x0) {
    PVar20 = var_10(MagickInterpolateOptions,var_5,var_8);
    var_4->interpolate = PVar20;
  }
  var_8 = var_7(var_2,"loop");
  if (var_8 != (char *)0x0) {
    uVar13 = var_13(var_8,(char **)0x0,10);
    var_4->iterations = uVar13;
  }
  var_8 = var_7(var_2,"mattecolor");
  if (var_8 != (char *)0x0) {
    var_9(var_8,AllCompliance,&var_4->matte_color,exception);
  }
  var_8 = var_7(var_2,"orient");
  if (var_8 != (char *)0x0) {
    OVar21 = var_10(MagickOrientationOptions,var_5,var_8);
    var_4->orientation = OVar21;
  }
  var_8 = var_7(var_2,"page");
  if (var_8 != (char *)0x0) {
    var_8 = var_17(var_8);
    var_18(var_8,&var_4->page);
    var_19(var_8);
  }
  var_8 = var_7(var_2,"quality");
  if (var_8 != (char *)0x0) {
    uVar13 = var_13(var_8,(char **)0x0,10);
    var_4->quality = uVar13;
  }
  var_8 = var_7(var_2,"red-primary");
  if (var_8 != (char *)0x0) {
    var_12 = var_11(var_8,&geometry_info);
    (var_4->chromaticity).red_primary.x = geometry_info.rho;
    if ((var_12 & 8) != 0) {
      var_20 = var_2->quality;
      (var_4->chromaticity).red_primary.y = geometry_info.sigma;
      goto joined_r0x000f6c24;
    }
    (var_4->chromaticity).red_primary.y = geometry_info.rho;
  }
  var_20 = var_2->quality;
joined_r0x000f6c24:
  if (var_20 != 0) {
    var_4->quality = var_20;
  }
  var_8 = var_7(var_2,"scene");
  if (var_8 != (char *)0x0) {
    uVar13 = var_13(var_8,(char **)0x0,10);
    var_4->scene = uVar13;
  }
  var_8 = var_7(var_2,"taint");
  if (var_8 != (char *)0x0) {
    MVar9 = var_10(MagickBooleanOptions,var_5,var_8);
    var_4->taint = MVar9;
  }
  var_8 = var_7(var_2,"tile-offset");
  if (var_8 != (char *)0x0) {
    var_8 = var_17(var_8);
    var_18(var_8,&var_4->tile_offset);
    var_19(var_8);
  }
  var_8 = var_7(var_2,"transparent-color");
  if (var_8 != (char *)0x0) {
    var_9(var_8,AllCompliance,&var_4->transparent_color,exception);
  }
  var_8 = var_7(var_2,"type");
  if (var_8 != (char *)0x0) {
    IVar22 = var_10(MagickTypeOptions,var_5,var_8);
    var_4->type = IVar22;
  }
  var_8 = var_7(var_2,"units");
  if (var_8 == (char *)0x0) {
    var_21 = var_2->units;
  }
  else {
    var_21 = var_10(MagickResolutionOptions,var_5,var_8);
  }
  var_15 = var_26;
  var_31 = var_28;
  var_33 = var_30;
  var_32 = var_29;
  if (var_21 != var_22) {
    var_23 = var_4->units;
    if (var_23 != var_21) {
      if (var_23 == var_24) {
        if (var_21 == var_25) {
          (var_4->resolution).x = (var_4->resolution).x / var_26;
          (var_4->resolution).y = (var_4->resolution).y / var_15;
        }
      }
      else if ((var_23 == var_25) && (var_21 == var_24)) {
        (var_4->resolution).x =
             (double)((float)((type_21)
                              var_27((float)(var_4->resolution).x * var_28 + var_29) &
                             0xffffffff) / var_30);
        (var_4->resolution).y =
             (double)((float)((type_21)var_27(var_31 * (float)(var_4->resolution).y + var_32) &
                             0xffffffff) / var_33);
      }
    }
    var_4->units = var_21;
    var_8 = var_7(var_2,"density");
    if (var_8 != (char *)0x0) {
      var_12 = var_11(var_8,&geometry_info);
      (var_4->resolution).x = geometry_info.rho;
      if ((var_12 & 8) == 0) {
        (var_4->resolution).y = geometry_info.rho;
      }
      else {
        (var_4->resolution).y = geometry_info.sigma;
      }
    }
  }
  var_8 = var_7(var_2,"virtual-pixel");
  if (var_8 != (char *)0x0) {
    virtual_pixel_method = var_10(MagickVirtualPixelOptions,var_5,var_8);
    var_34(var_4,virtual_pixel_method,exception);
  }
  var_8 = var_7(var_2,"white-point");
  if (var_8 != (char *)0x0) {
    var_12 = var_11(var_8,&geometry_info);
    (var_4->chromaticity).white_point.x = geometry_info.rho;
    if ((var_12 & 8) == 0) {
      (var_4->chromaticity).white_point.y = geometry_info.rho;
    }
    else {
      (var_4->chromaticity).white_point.y = geometry_info.sigma;
    }
  }
  if (var_4->var_2 != (type_2 *)0x0) {
    pIVar24 = var_35(var_4->var_2);
    var_4->var_2 = pIVar24;
  }
  pIVar24 = var_36(var_2);
  var_38 = *(int *)(var_1 + 0x14);
  var_4->var_2 = pIVar24;
  if (var_37 == var_38) {
    return MagickTrue;
  }
                    /* WARNING: Subroutine does not return */
  var_39();
}


(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: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (number_literal) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (string_literal (string_content)) (number_literal) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (identifier)))) alternative: (else_clause (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: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (identifier)))) alternative: (else_clause (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: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (identifier)))) alternative: (else_clause (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: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (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))) (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: (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))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (number_literal)) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (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: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (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))))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)) right: (identifier))))) right: (number_literal)))) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (identifier))))) right: (number_literal)))) right: (identifier)))))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (identifier)))) alternative: (else_clause (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: (identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (number_literal) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (string_literal (string_content)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (identifier)))) alternative: (else_clause (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: (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: (call_expression function: (identifier) arguments: (argument_list (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: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

undefined4 MASKED(int param_1,int param_2,undefined4 param_3)

{
  int iVar1;
  float fVar2;
  float fVar3;
  float fVar4;
  double dVar5;
  int iVar6;
  undefined4 uVar7;
  uint uVar8;
  char *pcVar9;
  ulong uVar10;
  int in_GS_OFFSET;
  longdouble lVar11;
  char *local_50;
  undefined8 local_4c;
  undefined8 local_44;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xf6719;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info != (const ImageInfo *) NULL","MagickCore/image.c",0xfaa,
                  "MASKED");
  }
  if (*(int *)(param_1 + 0x31f4) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image_info->signature == MagickCoreSignature","MagickCore/image.c",0xfab,
                  "MASKED");
  }
  if (param_2 == 0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/image.c",0xfac,"MASKED");
  }
  if (*(int *)(param_2 + 0x3344) != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/image.c",0xfad,
                  "MASKED");
  }
  if (*(int *)(param_2 + 0x3328) != 0) {
    LogMagickEvent(0x8000,"MagickCore/image.c","MASKED",0xfaf,&DAT_002f75ae,
                   param_2 + 0x318);
  }
  iVar6 = GetImageOption(param_1,"background");
  if (iVar6 != 0) {
    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x7c,param_3);
  }
  iVar6 = GetImageOption(param_1,"black-point-compensation");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(2,0,iVar6);
    *(undefined4 *)(param_2 + 0x264) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"blue-primary");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x1a4) = local_4c;
    if ((uVar8 & 8) == 0) {
      *(undefined8 *)(param_2 + 0x1ac) = local_4c;
    }
    else {
      *(undefined8 *)(param_2 + 0x1ac) = local_44;
    }
  }
  iVar6 = GetImageOption(param_1,"bordercolor");
  if (iVar6 != 0) {
    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0xcc,param_3);
  }
  iVar6 = GetImageOption(param_1,"compose");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0xd,0,iVar6);
    *(undefined4 *)(param_2 + 0x23c) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"compress");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0xe,0,iVar6);
    *(undefined4 *)(param_2 + 8) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"debug");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(2,0,iVar6);
    *(undefined4 *)(param_2 + 0x3328) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"density");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x1f0) = local_4c;
    if ((uVar8 & 8) == 0) {
      *(undefined8 *)(param_2 + 0x1f8) = local_4c;
    }
    else {
      *(undefined8 *)(param_2 + 0x1f8) = local_44;
    }
  }
  pcVar9 = (char *)GetImageOption(param_1,"depth");
  if (pcVar9 != (char *)0x0) {
    uVar10 = strtoul(pcVar9,(char **)0x0,10);
    *(ulong *)(param_2 + 0x20) = uVar10;
  }
  iVar6 = GetImageOption(param_1,"endian");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x18,0,iVar6);
    *(undefined4 *)(param_2 + 0x234) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"filter");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x1b,0,iVar6);
    *(undefined4 *)(param_2 + 0x228) = uVar7;
  }
  iVar6 = GetImageOption(param_1,&DAT_002fef1a);
  if (iVar6 != 0) {
    lVar11 = (longdouble)InterpretLocaleValue(iVar6,&local_50);
    if (*local_50 == '%') {
      lVar11 = lVar11 * (longdouble)_DAT_002e1b78;
    }
    *(double *)(param_2 + 0x220) = (double)lVar11;
  }
  iVar6 = GetImageOption(param_1,"gravity");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x21,0,iVar6);
    *(undefined4 *)(param_2 + 0x238) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"green-primary");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x18c) = local_4c;
    if ((uVar8 & 8) == 0) {
      *(undefined8 *)(param_2 + 0x194) = local_4c;
    }
    else {
      *(undefined8 *)(param_2 + 0x194) = local_44;
    }
  }
  iVar6 = GetImageOption(param_1,"intent");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x23,0,iVar6);
    *(undefined4 *)(param_2 + 0x1d4) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"intensity");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x38,0,iVar6);
    *(undefined4 *)(param_2 + 0x22c) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"interlace");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x24,0,iVar6);
    *(undefined4 *)(param_2 + 0x230) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"interpolate");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x25,0,iVar6);
    *(undefined4 *)(param_2 + 0x260) = uVar7;
  }
  pcVar9 = (char *)GetImageOption(param_1,&DAT_002fef8b);
  if (pcVar9 != (char *)0x0) {
    uVar10 = strtoul(pcVar9,(char **)0x0,10);
    *(ulong *)(param_2 + 0x254) = uVar10;
  }
  iVar6 = GetImageOption(param_1,"mattecolor");
  if (iVar6 != 0) {
    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x3348,param_3);
  }
  iVar6 = GetImageOption(param_1,"orient");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x36,0,iVar6);
    *(undefined4 *)(param_2 + 0x10) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"page");
  if (iVar6 != 0) {
    uVar7 = GetPageGeometry(iVar6);
    ParseAbsoluteGeometry(uVar7,param_2 + 0x200);
    DestroyString(uVar7);
  }
  pcVar9 = (char *)GetImageOption(param_1,"quality");
  if (pcVar9 != (char *)0x0) {
    uVar10 = strtoul(pcVar9,(char **)0x0,10);
    *(ulong *)(param_2 + 0xc) = uVar10;
  }
  iVar6 = GetImageOption(param_1,"red-primary");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x174) = local_4c;
    if ((uVar8 & 8) != 0) {
      iVar6 = *(int *)(param_1 + 0x40);
      *(undefined8 *)(param_2 + 0x17c) = local_44;
      goto joined_r0x000f6c24;
    }
    *(undefined8 *)(param_2 + 0x17c) = local_4c;
  }
  iVar6 = *(int *)(param_1 + 0x40);
joined_r0x000f6c24:
  if (iVar6 != 0) {
    *(int *)(param_2 + 0xc) = iVar6;
  }
  pcVar9 = (char *)GetImageOption(param_1,"scene");
  if (pcVar9 != (char *)0x0) {
    uVar10 = strtoul(pcVar9,(char **)0x0,10);
    *(ulong *)(param_2 + 0x244) = uVar10;
  }
  iVar6 = GetImageOption(param_1,"taint");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(2,0,iVar6);
    *(undefined4 *)(param_2 + 0x14) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"tile-offset");
  if (iVar6 != 0) {
    uVar7 = GetPageGeometry(iVar6);
    ParseAbsoluteGeometry(uVar7,param_2 + 0x268);
    DestroyString(uVar7);
  }
  iVar6 = GetImageOption(param_1,"transparent-color");
  if (iVar6 != 0) {
    QueryColorCompliance(iVar6,0x7fffffff,param_2 + 0x11c,param_3);
  }
  iVar6 = GetImageOption(param_1,"type");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x49,0,iVar6);
    *(undefined4 *)(param_2 + 0x278) = uVar7;
  }
  iVar6 = GetImageOption(param_1,"units");
  if (iVar6 == 0) {
    iVar6 = *(int *)(param_1 + 0x3c);
  }
  else {
    iVar6 = ParseCommandOption(0x41,0,iVar6);
  }
  dVar5 = _DAT_002f84b0;
  fVar4 = DAT_002f8478;
  fVar3 = DAT_002df8b8;
  fVar2 = DAT_002df2b8;
  if (iVar6 != 0) {
    iVar1 = *(int *)(param_2 + 0x1dc);
    if (iVar1 != iVar6) {
      if (iVar1 == 1) {
        if (iVar6 == 2) {
          *(double *)(param_2 + 0x1f0) = *(double *)(param_2 + 0x1f0) / _DAT_002f84b0;
          *(double *)(param_2 + 0x1f8) = *(double *)(param_2 + 0x1f8) / dVar5;
        }
      }
      else if ((iVar1 == 2) && (iVar6 == 1)) {
        *(double *)(param_2 + 0x1f0) =
             (double)((float)((longlong)
                              ROUND((float)*(double *)(param_2 + 0x1f0) * DAT_002f8478 +
                                    DAT_002df2b8) & 0xffffffff) / DAT_002df8b8);
        *(double *)(param_2 + 0x1f8) =
             (double)((float)((longlong)ROUND(fVar4 * (float)*(double *)(param_2 + 0x1f8) + fVar2) &
                             0xffffffff) / fVar3);
      }
    }
    *(int *)(param_2 + 0x1dc) = iVar6;
    iVar6 = GetImageOption(param_1,"density");
    if (iVar6 != 0) {
      uVar8 = ParseGeometry(iVar6,&local_4c);
      *(undefined8 *)(param_2 + 0x1f0) = local_4c;
      if ((uVar8 & 8) == 0) {
        *(undefined8 *)(param_2 + 0x1f8) = local_4c;
      }
      else {
        *(undefined8 *)(param_2 + 0x1f8) = local_44;
      }
    }
  }
  iVar6 = GetImageOption(param_1,"virtual-pixel");
  if (iVar6 != 0) {
    uVar7 = ParseCommandOption(0x4b,0,iVar6);
    SetImageVirtualPixelMethod(param_2,uVar7,param_3);
  }
  iVar6 = GetImageOption(param_1,"white-point");
  if (iVar6 != 0) {
    uVar8 = ParseGeometry(iVar6,&local_4c);
    *(undefined8 *)(param_2 + 0x1bc) = local_4c;
    if ((uVar8 & 8) == 0) {
      *(undefined8 *)(param_2 + 0x1c4) = local_4c;
    }
    else {
      *(undefined8 *)(param_2 + 0x1c4) = local_44;
    }
  }
  if (*(int *)(param_2 + 0x3334) != 0) {
    uVar7 = DestroyImageInfo(*(int *)(param_2 + 0x3334));
    *(undefined4 *)(param_2 + 0x3334) = uVar7;
  }
  uVar7 = CloneImageInfo(param_1);
  iVar6 = *(int *)(in_GS_OFFSET + 0x14);
  *(undefined4 *)(param_2 + 0x3334) = uVar7;
  if (local_20 == iVar6) {
    return 1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002decd0();
}

