
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

Image * SketchImage(Image *image,double radius,double sigma,double angle,ExceptionInfo *exception)

{
  PixelInfo *pPVar1;
  bool bVar2;
  double dVar3;
  double dVar4;
  Image *pIVar5;
  size_t sVar6;
  undefined4 *__s;
  RandomInfo *pRVar7;
  CacheView *pCVar8;
  ulong uVar9;
  Image *pIVar10;
  MagickBooleanType MVar11;
  CacheType CVar12;
  MagickRealType *pMVar13;
  size_t sVar14;
  undefined4 *puVar15;
  undefined4 *puVar16;
  int iVar17;
  int in_GS_OFFSET;
  MagickSizeType MVar18;
  undefined4 uStack_b8;
  undefined4 uStack_b4;
  double dStack_b0;
  ExceptionInfo *pEStack_a4;
  CacheView *pCStack_a0;
  Image *pIStack_9c;
  undefined4 *puStack_98;
  undefined4 uStack_90;
  int iVar19;
  Image *pIStack_68;
  ExceptionInfo *local_5c;
  Image *dodge_image;
  ExceptionInfo *local_34;
  CacheView *local_30;
  Image *local_2c;
  undefined4 *local_28;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0x1bb8e9;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  uStack_90 = 0x1bb944;
  pIVar5 = CloneImage(image,image->columns * 2,image->rows * 2,MagickTrue,exception);
  if (pIVar5 != (Image *)0x0) {
    MVar18 = GetMagickResourceLimit(ThreadResource);
    sVar6 = (size_t)MVar18;
    __s = (undefined4 *)AcquireQuantumMemory(sVar6,4);
    local_5c = SUB84(radius,0);
    if (__s == (undefined4 *)0x0) {
      AcquireRandomInfoThreadSet();
      iVar19 = *(int *)(in_GS_OFFSET + 0x14);
      dVar4 = (double)CONCAT44(pIVar5,exception);
      if (pIStack_68 == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")
        ;
      }
      if (pIStack_68->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,
                      "SolarizeImage");
      }
      if (pIStack_68->debug != MagickFalse) {
        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",
                       pIStack_68->filename);
      }
      if ((pIStack_68->colorspace == LinearGRAYColorspace) ||
         (pIStack_68->colorspace == GRAYColorspace)) {
        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);
      }
      if (pIStack_68->storage_class == PseudoClass) {
        sVar6 = pIStack_68->colors;
        if (0 < (int)sVar6) {
          pPVar1 = pIStack_68->colormap;
          dVar3 = (double)DAT_0029f710;
          pMVar13 = &pPVar1->red;
          do {
            if (dVar4 < *pMVar13) {
              *pMVar13 = dVar3 - *pMVar13;
            }
            if (dVar4 < pMVar13[1]) {
              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];
            }
            if (dVar4 < pMVar13[2]) {
              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];
            }
            pMVar13 = pMVar13 + 10;
          } while (&pPVar1[sVar6].red != pMVar13);
        }
        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);
        goto LAB_001bbed7;
      }
      uStack_b8 = 0;
      uStack_b4 = 0;
      pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);
      CVar12 = GetImagePixelCacheType(pIStack_68);
      if (((CVar12 == MemoryCache) ||
          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&
         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||
          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {
        MVar18 = GetMagickResourceLimit(ThreadResource);
        sVar6 = pIStack_68->rows;
        sVar14 = sVar6 + 0x3f;
        if (-1 < (int)sVar6) {
          sVar14 = sVar6;
        }
        bVar2 = 0x7f < (int)sVar6;
        if ((int)MVar18 < (int)sVar14 >> 6) {
          MVar18 = GetMagickResourceLimit(ThreadResource);
          bVar2 = 1 < (int)MVar18;
        }
        if (bVar2) {
          MVar18 = GetMagickResourceLimit(ThreadResource);
          sVar6 = pIStack_68->rows;
          sVar14 = sVar6 + 0x3f;
          if (-1 < (int)sVar6) {
            sVar14 = sVar6;
          }
          iVar17 = (int)sVar14 >> 6;
          if ((int)MVar18 < iVar17) {
            MVar18 = GetMagickResourceLimit(ThreadResource);
            iVar17 = (int)MVar18;
          }
        }
        else {
LAB_001bc0c7:
          iVar17 = 1;
        }
      }
      else {
        MVar18 = GetMagickResourceLimit(ThreadResource);
        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {
          MVar18 = GetMagickResourceLimit(ThreadResource);
          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;
        }
        MVar18 = GetMagickResourceLimit(ThreadResource);
        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {
          MVar18 = GetMagickResourceLimit(ThreadResource);
          iVar17 = (int)MVar18;
        }
        else {
          iVar17 = 2;
        }
      }
      puStack_98 = &uStack_b8;
      pEStack_a4 = local_5c;
      pIStack_9c = (Image *)0x1;
      dStack_b0 = dVar4;
      pCStack_a0 = pCVar8;
      GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);
      pIVar5 = pIStack_9c;
      DestroyCacheView(pCVar8);
LAB_001bbed7:
      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
        __stack_chk_fail_local();
      }
      return pIVar5;
    }
    memset(__s,0,sVar6 * 4);
    if (0 < (int)sVar6) {
      puVar15 = __s;
      do {
        pRVar7 = AcquireRandomInfo();
        puVar16 = puVar15 + 1;
        *puVar15 = pRVar7;
        puVar15 = puVar16;
      } while (__s + sVar6 != puVar16);
    }
    pCVar8 = AcquireAuthenticCacheView(pIVar5,exception);
    uVar9 = GetRandomSecretKey((RandomInfo *)*__s);
    if (uVar9 == 0xffffffff) {
      CVar12 = GetImagePixelCacheType(pIVar5);
      if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))
         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||
             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {
        MVar18 = GetMagickResourceLimit(ThreadResource);
        sVar6 = pIVar5->rows;
        sVar14 = sVar6 + 0x3f;
        if (-1 < (int)sVar6) {
          sVar14 = sVar6;
        }
        bVar2 = 0x7f < (int)sVar6;
        if ((int)MVar18 < (int)sVar14 >> 6) {
          MVar18 = GetMagickResourceLimit(ThreadResource);
          bVar2 = 1 < (int)MVar18;
        }
        if (bVar2) {
          MVar18 = GetMagickResourceLimit(ThreadResource);
          sVar6 = pIVar5->rows;
          sVar14 = sVar6 + 0x3f;
          if (-1 < (int)sVar6) {
            sVar14 = sVar6;
          }
          if ((int)MVar18 < (int)sVar14 >> 6) {
            GetMagickResourceLimit(ThreadResource);
          }
        }
      }
      else {
        MVar18 = GetMagickResourceLimit(ThreadResource);
        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {
          MVar18 = GetMagickResourceLimit(ThreadResource);
          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;
        }
        MVar18 = GetMagickResourceLimit(ThreadResource);
        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {
          GetMagickResourceLimit(ThreadResource);
        }
      }
    }
LAB_001bb9e6:
    dodge_image = image;
    local_24 = 1;
    local_34 = exception;
    local_30 = pCVar8;
    local_2c = pIVar5;
    local_28 = __s;
    GOMP_parallel();
    iVar19 = local_24;
    DestroyCacheView(pCVar8);
    for (iVar17 = 0; MVar18 = GetMagickResourceLimit(ThreadResource), iVar17 < (int)MVar18;
        iVar17 = iVar17 + 1) {
      if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {
        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);
        __s[iVar17] = pRVar7;
      }
    }
    RelinquishMagickMemory(__s);
    if (iVar19 == 0) {
      pIVar5 = DestroyImage(pIVar5);
      goto LAB_001bbbd1;
    }
    uStack_90 = 0x1bbaa8;
    pIVar10 = MotionBlurImage(pIVar5,radius,sigma,angle,exception);
    DestroyImage(pIVar5);
    if (pIVar10 != (Image *)0x0) {
      dodge_image = EdgeImage(pIVar10,radius,exception);
      DestroyImage(pIVar10);
      if (dodge_image != (Image *)0x0) {
        MVar11 = ClampImage(dodge_image,exception);
        if (((MVar11 != MagickFalse) &&
            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&
           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {
          TransformImage(&dodge_image,(char *)0x0,"50%",exception);
        }
        uStack_90 = 0x1bbb13;
        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);
        if (pIVar5 == (Image *)0x0) {
          DestroyImage(dodge_image);
          goto LAB_001bbbd1;
        }
        uStack_90 = 0x1bbb3a;
        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);
        dodge_image = DestroyImage(dodge_image);
        uStack_90 = 0x1bbb59;
        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);
        if (pIVar10 != (Image *)0x0) {
          if (pIVar10->alpha_trait != BlendPixelTrait) {
            SetImageAlpha(pIVar10,0.0,exception);
          }
          SetImageArtifact(pIVar10,"compose:args","20x80");
          uStack_90 = 0x1bbbad;
          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);
          DestroyImage(pIVar10);
          goto LAB_001bbbd1;
        }
        DestroyImage(pIVar5);
      }
    }
  }
  pIVar5 = (Image *)0x0;
LAB_001bbbd1:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return pIVar5;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x001bbbc0) */

int SketchImage(int param_1,undefined8 param_2,undefined4 param_3)

{
  bool bVar1;
  double dVar2;
  double dVar3;
  int iVar4;
  int iVar5;
  undefined4 *__s;
  undefined4 uVar6;
  int iVar7;
  int iVar8;
  double *pdVar9;
  int iVar10;
  undefined4 *puVar11;
  undefined4 *puVar12;
  int in_GS_OFFSET;
  undefined8 uVar13;
  undefined4 in_stack_00000020;
  undefined4 uStack_b8;
  undefined4 uStack_b4;
  double dStack_b0;
  int iStack_a4;
  undefined4 uStack_a0;
  int iStack_9c;
  undefined4 *puStack_98;
  undefined4 uStack_90;
  int iStack_8c;
  int iStack_88;
  int iStack_84;
  undefined4 uStack_80;
  int *piStack_68;
  int local_5c;
  int iStack_58;
  
  iVar10 = *(int *)(in_GS_OFFSET + 0x14);
  uStack_80 = 1;
  iStack_84 = *(int *)(param_1 + 0x1c) * 2;
  iStack_88 = *(int *)(param_1 + 0x18) * 2;
  iStack_8c = param_1;
  uStack_90 = 0x1bb944;
  iVar4 = CloneImage();
  if (iVar4 != 0) {
    uStack_80 = 0x1bb95d;
    iVar5 = GetMagickResourceLimit();
    uStack_80 = 0x1bb969;
    __s = (undefined4 *)AcquireQuantumMemory();
    local_5c = (int)param_2;
    if (__s == (undefined4 *)0x0) {
      FUN_00033de7();
      uStack_80 = 0x1bbde9;
      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);
      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);
      if (piStack_68 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")
        ;
      }
      if (piStack_68[0xcd1] != -0x54535255) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,
                      "SolarizeImage");
      }
      if (piStack_68[0xcca] != 0) {
        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,
                       piStack_68 + 0xc6);
      }
      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {
        SetImageColorspace(piStack_68,0x17,local_5c);
      }
      if (*piStack_68 == 2) {
        iVar10 = piStack_68[9];
        if (0 < iVar10) {
          iVar4 = piStack_68[10];
          dVar2 = (double)DAT_0029f710;
          pdVar9 = (double *)(iVar4 + 0x20);
          do {
            if (dVar3 < *pdVar9) {
              *pdVar9 = dVar2 - *pdVar9;
            }
            if (dVar3 < pdVar9[1]) {
              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];
            }
            if (dVar3 < pdVar9[2]) {
              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];
            }
            pdVar9 = pdVar9 + 10;
          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);
        }
        iVar10 = SyncImage(piStack_68,local_5c);
        goto LAB_001bbed7;
      }
      uStack_b8 = 0;
      uStack_b4 = 0;
      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);
      iVar10 = GetImagePixelCacheType(piStack_68);
      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&
         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||
          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {
        iVar5 = GetMagickResourceLimit(7);
        iVar10 = piStack_68[7];
        iVar4 = iVar10 + 0x3f;
        if (-1 < iVar10) {
          iVar4 = iVar10;
        }
        bVar1 = 0x7f < iVar10;
        if (iVar5 < iVar4 >> 6) {
          iVar10 = GetMagickResourceLimit(7);
          bVar1 = 1 < iVar10;
        }
        if (bVar1) {
          iVar5 = GetMagickResourceLimit(7);
          iVar4 = piStack_68[7];
          iVar10 = iVar4 + 0x3f;
          if (-1 < iVar4) {
            iVar10 = iVar4;
          }
          iVar10 = iVar10 >> 6;
          if (iVar5 < iVar10) {
            iVar10 = GetMagickResourceLimit(7);
          }
        }
        else {
LAB_001bc0c7:
          iVar10 = 1;
        }
      }
      else {
        uVar13 = GetMagickResourceLimit(7);
        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {
          uVar13 = GetMagickResourceLimit(7);
          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;
        }
        uVar13 = GetMagickResourceLimit(7);
        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {
          iVar10 = GetMagickResourceLimit(7);
        }
        else {
          iVar10 = 2;
        }
      }
      puStack_98 = &uStack_b8;
      iStack_a4 = local_5c;
      iStack_9c = 1;
      dStack_b0 = dVar3;
      uStack_a0 = uVar6;
      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);
      iVar10 = iStack_9c;
      DestroyCacheView(uVar6);
LAB_001bbed7:
      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {
        return iVar10;
      }
                    /* WARNING: Subroutine does not return */
      FUN_0029eab0();
    }
    uStack_80 = 0x1bb98d;
    memset(__s,0,iVar5 * 4);
    if (0 < iVar5) {
      puVar11 = __s;
      do {
        uVar6 = AcquireRandomInfo();
        puVar12 = puVar11 + 1;
        *puVar11 = uVar6;
        puVar11 = puVar12;
      } while (__s + iVar5 != puVar12);
    }
    uStack_80 = 0x1bb9cb;
    AcquireAuthenticCacheView();
    uStack_80 = 0x1bb9d5;
    iVar5 = GetRandomSecretKey();
    if (iVar5 == -1) {
      uStack_80 = 0x1bbbfc;
      iVar5 = GetImagePixelCacheType();
      if (iVar5 == 4) {
LAB_001bbce8:
        uStack_80 = 0x1bbcf4;
        iVar5 = GetImagePixelCacheType();
        if (iVar5 != 4) {
          uStack_80 = 0x1bbd08;
          iVar5 = GetImagePixelCacheType();
          if (iVar5 != 3) goto LAB_001bbc20;
        }
        uStack_80 = 0x1bbd1e;
        iVar8 = GetMagickResourceLimit();
        iVar5 = *(int *)(iVar4 + 0x1c);
        iVar7 = iVar5 + 0x3f;
        if (-1 < iVar5) {
          iVar7 = iVar5;
        }
        bVar1 = 0x7f < iVar5;
        if (iVar8 < iVar7 >> 6) {
          uStack_80 = 0x1bbd9d;
          iVar5 = GetMagickResourceLimit();
          bVar1 = 1 < iVar5;
        }
        if (bVar1) {
          uStack_80 = 0x1bbd4f;
          iVar8 = GetMagickResourceLimit();
          iVar5 = *(int *)(iVar4 + 0x1c);
          iVar7 = iVar5 + 0x3f;
          if (-1 < iVar5) {
            iVar7 = iVar5;
          }
          if (iVar8 < iVar7 >> 6) {
            uStack_80 = 0x1bbdb2;
            GetMagickResourceLimit();
          }
        }
      }
      else {
        uStack_80 = 0x1bbc14;
        iVar5 = GetImagePixelCacheType();
        if (iVar5 == 3) goto LAB_001bbce8;
LAB_001bbc20:
        uStack_80 = 0x1bbc2a;
        uVar13 = GetMagickResourceLimit();
        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {
          uStack_80 = 0x1bbd79;
          uVar13 = GetMagickResourceLimit();
          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;
        }
        uStack_80 = 0x1bbc45;
        uVar13 = GetMagickResourceLimit();
        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {
          uStack_80 = 0x1bbc5c;
          GetMagickResourceLimit();
        }
      }
    }
LAB_001bb9e6:
    uStack_80 = 0x1bba22;
    GOMP_parallel();
    iVar5 = 0;
    uStack_80 = 0x1bba34;
    DestroyCacheView();
    while( true ) {
      uStack_80 = 0x1bba63;
      iVar7 = GetMagickResourceLimit();
      if (iVar7 <= iVar5) break;
      if (__s[iVar5] != 0) {
        uStack_80 = 0x1bba50;
        uVar6 = DestroyRandomInfo();
        __s[iVar5] = uVar6;
      }
      iVar5 = iVar5 + 1;
    }
    uStack_80 = 0x1bba73;
    RelinquishMagickMemory();
    uStack_80 = param_3;
    iStack_58 = (int)((ulonglong)param_2 >> 0x20);
    iStack_84 = iStack_58;
    iStack_88 = local_5c;
    uStack_90 = 0x1bbaa8;
    iStack_8c = iVar4;
    iVar4 = MotionBlurImage();
    uStack_80 = 0x1bbab6;
    DestroyImage();
    if (iVar4 != 0) {
      uStack_80 = 0x1bbad0;
      iVar4 = EdgeImage();
      uStack_80 = 0x1bbadc;
      DestroyImage();
      if (iVar4 != 0) {
        uStack_80 = 0x1bbaf5;
        iVar5 = ClampImage();
        if (iVar5 != 0) {
          uStack_80 = 0x1bbca1;
          iVar5 = NormalizeImage();
          if (iVar5 != 0) {
            uStack_80 = 0x1bbcbb;
            iVar5 = NegateImage();
            if (iVar5 != 0) {
              uStack_80 = 0x1bbcd9;
              FUN_001a9210();
            }
          }
        }
        uStack_80 = 1;
        iStack_84 = 0;
        iStack_88 = 0;
        iStack_8c = param_1;
        uStack_90 = 0x1bbb13;
        iVar5 = CloneImage();
        if (iVar5 == 0) {
          uStack_80 = 0x1bbdca;
          DestroyImage();
          goto LAB_001bbbd1;
        }
        uStack_80 = 1;
        iStack_84 = 9;
        uStack_90 = 0x1bbb3a;
        iStack_8c = iVar5;
        iStack_88 = iVar4;
        CompositeImage();
        uStack_80 = 0x1bbb46;
        DestroyImage();
        uStack_80 = 1;
        iStack_84 = 0;
        iStack_88 = 0;
        iStack_8c = param_1;
        uStack_90 = 0x1bbb59;
        iVar4 = CloneImage();
        if (iVar4 != 0) {
          if (*(int *)(iVar4 + 0x294) != 4) {
            uStack_80 = 0x1bbb7d;
            SetImageAlpha();
          }
          uStack_80 = 0x1bbb97;
          SetImageArtifact();
          uStack_80 = 1;
          iStack_84 = 3;
          uStack_90 = 0x1bbbad;
          iStack_8c = iVar5;
          iStack_88 = iVar4;
          CompositeImage();
          uStack_80 = 0x1bbbb6;
          DestroyImage();
          goto LAB_001bbbd1;
        }
        uStack_80 = 0x1bbc7b;
        DestroyImage();
      }
    }
  }
  iVar5 = 0;
LAB_001bbbd1:
  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0029eab0();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x21d717
SUB ESP,0x68
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x58],ECX
XOR ECX,ECX
MOV EBP,dword ptr [ESP + 0x7c]
MOV EAX,dword ptr [ESP + 0x98]
FLD qword ptr [ESP + 0x80]
FSTP qword ptr [ESP + 0x1c]
FLD qword ptr [ESP + 0x88]
FSTP qword ptr [ESP + 0x24]
FLD qword ptr [ESP + 0x90]
MOV dword ptr [ESP + 0x14],EAX
FSTP qword ptr [ESP + 0x2c]
PUSH EAX
MOV EAX,dword ptr [EBP + 0x1c]
PUSH 0x1
ADD EAX,EAX
PUSH EAX
MOV EAX,dword ptr [EBP + 0x18]
ADD EAX,EAX
PUSH EAX
PUSH EBP
CALL 0x00030b90
MOV dword ptr [ESP + 0x2c],EAX
ADD ESP,0x20
TEST EAX,EAX
JZ 0x001bbc80
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
POP ECX
POP ESI
PUSH 0x4
MOV EDI,EAX
PUSH EAX
CALL 0x000317b0
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x001bbdd7
LEA EDX,[EDI*0x4 + 0x0]
SUB ESP,0x4
PUSH EDX
MOV dword ptr [ESP + 0x30],EDX
PUSH 0x0
PUSH EAX
CALL 0x000310a0
ADD ESP,0x10
TEST EDI,EDI
JLE 0x001bb9bb
MOV EDX,dword ptr [ESP + 0x28]
MOV dword ptr [ESP + 0x28],ESI
LEA EAX,[ESI + EDX*0x1]
MOV EDI,EAX
LEA ESI,[ESI]
CALL 0x000331c0
ADD ESI,0x4
MOV dword ptr [ESI + -0x4],EAX
CMP EDI,ESI
JNZ 0x001bb9a8
MOV ESI,dword ptr [ESP + 0x28]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x10]
PUSH dword ptr [ESP + 0x18]
CALL 0x00032fa0
POP EDX
PUSH dword ptr [ESI]
MOV EDI,EAX
CALL 0x000328e0
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x001bbbf0
MOV EAX,0x1
MOV ECX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x3c],EDI
MOV dword ptr [ESP + 0x34],EBP
MOV dword ptr [ESP + 0x44],ESI
MOV dword ptr [ESP + 0x48],0x1
MOV dword ptr [ESP + 0x40],ECX
MOV ECX,dword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x38],ECX
PUSH 0x0
PUSH EAX
LEA EAX,[ESP + 0x3c]
MOV dword ptr [ESP + 0x34],EAX
PUSH EAX
LEA EAX,[EBX + 0xffdde480]
PUSH EAX
CALL 0x000324d0
MOV EAX,dword ptr [ESP + 0x58]
MOV dword ptr [ESP],EDI
XOR EDI,EDI
MOV dword ptr [ESP + 0x38],EAX
CALL 0x00032f30
ADD ESP,0x10
JMP 0x001bba59
MOV EAX,dword ptr [ESI + EDI*0x4]
TEST EAX,EAX
JZ 0x001bba56
SUB ESP,0xc
PUSH EAX
CALL 0x00030f10
ADD ESP,0x10
MOV dword ptr [ESI + EDI*0x4],EAX
ADD EDI,0x1
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EDI,EAX
JL 0x001bba40
SUB ESP,0xc
PUSH ESI
CALL 0x00033ac8
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x28]
TEST EAX,EAX
JZ 0x001bbbc0
MOV EDI,dword ptr [ESP + 0x8]
PUSH EDI
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x28]
CALL 0x000313b0
ADD ESP,0x14
PUSH dword ptr [ESP + 0x18]
MOV ESI,EAX
CALL 0x00032dd0
ADD ESP,0x10
TEST ESI,ESI
JZ 0x001bbc80
PUSH EDI
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x18]
PUSH ESI
CALL 0x00033330
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x44],EAX
CALL 0x00032dd0
MOV EAX,dword ptr [ESP + 0x44]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001bbc80
SUB ESP,0x8
PUSH EDI
PUSH EAX
CALL 0x00031ca0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x001bbc90
SUB ESP,0xc
PUSH dword ptr [ESP + 0x14]
PUSH 0x1
PUSH 0x0
PUSH 0x0
PUSH EBP
CALL 0x00030b90
ADD ESP,0x20
MOV ESI,EAX
TEST EAX,EAX
JZ 0x001bbdbe
SUB ESP,0x4
MOV EDI,dword ptr [ESP + 0xc]
PUSH EDI
PUSH 0x0
PUSH 0x0
PUSH 0x1
PUSH 0x9
PUSH dword ptr [ESP + 0x4c]
PUSH EAX
CALL 0x000337f0
ADD ESP,0x14
PUSH dword ptr [ESP + 0x40]
CALL 0x00032dd0
MOV dword ptr [ESP + 0x44],EAX
MOV dword ptr [ESP],EDI
PUSH 0x1
PUSH 0x0
PUSH 0x0
PUSH EBP
CALL 0x00030b90
ADD ESP,0x20
MOV EDI,EAX
TEST EAX,EAX
JZ 0x001bbc72
CMP dword ptr [EAX + 0x294],0x4
JZ 0x001bbb80
PUSH dword ptr [ESP + 0x8]
PUSH 0x0
PUSH 0x0
PUSH EAX
CALL 0x00033910
ADD ESP,0x10
LEA EAX,[EBX + 0xffef1d68]
SUB ESP,0x4
PUSH EAX
LEA EAX,[EBX + 0xffed1573]
PUSH EAX
PUSH EDI
CALL 0x000333a0
ADD ESP,0xc
PUSH dword ptr [ESP + 0xc]
PUSH 0x0
PUSH 0x0
PUSH 0x1
PUSH 0x3
PUSH EDI
PUSH ESI
CALL 0x000337f0
ADD ESP,0x14
PUSH EDI
CALL 0x00032dd0
ADD ESP,0x10
JMP 0x001bbbd1
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x00032dd0
ADD ESP,0x10
MOV ESI,EAX
MOV ECX,dword ptr [ESP + 0x4c]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,ESI
JNZ 0x001bbdd2
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x000318f0
ADD ESP,0x10
CMP EAX,0x4
JZ 0x001bbce8
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x000318f0
ADD ESP,0x10
CMP EAX,0x3
JZ 0x001bbce8
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EDX,0x0
JA 0x001bbc3b
CMP EAX,0x1
JBE 0x001bbd6f
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EDX,0x0
JA 0x001bbc68
CMP EAX,0x1
JA 0x001bbc68
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
JMP 0x001bb9e6
MOV EAX,0x2
JMP 0x001bb9e6
SUB ESP,0xc
PUSH ESI
CALL 0x00032dd0
ADD ESP,0x10
NOP
XOR ESI,ESI
JMP 0x001bbbd1
SUB ESP,0x8
MOV ESI,dword ptr [ESP + 0x10]
PUSH ESI
PUSH dword ptr [ESP + 0x40]
CALL 0x00032d10
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001bbb00
SUB ESP,0x4
PUSH ESI
PUSH 0x0
PUSH dword ptr [ESP + 0x40]
CALL 0x00030af0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001bbb00
LEA EAX,[EBX + 0xffef1d64]
PUSH ESI
PUSH EAX
PUSH 0x0
PUSH dword ptr [ESP + 0x38]
CALL 0x001a9210
ADD ESP,0x10
JMP 0x001bbb00
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x000318f0
ADD ESP,0x10
CMP EAX,0x4
JZ 0x001bbd14
SUB ESP,0xc
PUSH dword ptr [ESP + 0x18]
CALL 0x000318f0
ADD ESP,0x10
CMP EAX,0x3
JNZ 0x001bbc20
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
MOV EDX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV ECX,dword ptr [EDX + 0x1c]
LEA EDX,[ECX + 0x3f]
TEST ECX,ECX
CMOVNS EDX,ECX
SAR EDX,0x6
CMP ECX,0x7f
SETG CL
CMP EDX,EAX
JG 0x001bbd93
TEST CL,CL
JZ 0x001bb9e1
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
MOV EDX,dword ptr [ESP + 0x1c]
ADD ESP,0x10
MOV ECX,dword ptr [EDX + 0x1c]
LEA EDX,[ECX + 0x3f]
TEST ECX,ECX
CMOVNS EDX,ECX
SAR EDX,0x6
CMP EDX,EAX
JG 0x001bbda8
MOV EAX,EDX
JMP 0x001bb9e6
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EDX,0x0
JA 0x001bbc3b
CMP EAX,0x1
JA 0x001bbc3b
JMP 0x001bb9e1
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
CMP EAX,0x1
SETG CL
JMP 0x001bbd3d
SUB ESP,0xc
PUSH 0x7
CALL 0x00032640
ADD ESP,0x10
MOV EDX,EAX
MOV EAX,EDX
JMP 0x001bb9e6
SUB ESP,0xc
PUSH dword ptr [ESP + 0x40]
CALL 0x00032dd0
ADD ESP,0x10
JMP 0x001bbbd1
CALL 0x0029eab0
CALL 0x00033de7
LEA ESI,[ESI]
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Removing unreachable block (ram,0x001bbbc0) */\n\nint SketchImage(int param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  bool bVar1;\n  double dVar2;\n  double dVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__s;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  undefined4 in_stack_00000020;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  int iStack_a4;\n  undefined4 uStack_a0;\n  int iStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  undefined4 uStack_80;\n  int *piStack_68;\n  int local_5c;\n  int iStack_58;\n  \n  iVar10 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_80 = 1;\n  iStack_84 = *(int *)(param_1 + 0x1c) * 2;\n  iStack_88 = *(int *)(param_1 + 0x18) * 2;\n  iStack_8c = param_1;\n  uStack_90 = 0x1bb944;\n  iVar4 = CloneImage();\n  if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }\n  iVar5 = 0;\nLAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}\n\n" comment comment (function_definition "int SketchImage(int param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  bool bVar1;\n  double dVar2;\n  double dVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__s;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  undefined4 in_stack_00000020;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  int iStack_a4;\n  undefined4 uStack_a0;\n  int iStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  undefined4 uStack_80;\n  int *piStack_68;\n  int local_5c;\n  int iStack_58;\n  \n  iVar10 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_80 = 1;\n  iStack_84 = *(int *)(param_1 + 0x1c) * 2;\n  iStack_88 = *(int *)(param_1 + 0x18) * 2;\n  iStack_8c = param_1;\n  uStack_90 = 0x1bb944;\n  iVar4 = CloneImage();\n  if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }\n  iVar5 = 0;\nLAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}" primitive_type (function_declarator "SketchImage(int param_1,undefined8 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined8 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  double dVar2;\n  double dVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__s;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  undefined4 in_stack_00000020;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  int iStack_a4;\n  undefined4 uStack_a0;\n  int iStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  undefined4 uStack_80;\n  int *piStack_68;\n  int local_5c;\n  int iStack_58;\n  \n  iVar10 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_80 = 1;\n  iStack_84 = *(int *)(param_1 + 0x1c) * 2;\n  iStack_88 = *(int *)(param_1 + 0x18) * 2;\n  iStack_8c = param_1;\n  uStack_90 = 0x1bb944;\n  iVar4 = CloneImage();\n  if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }\n  iVar5 = 0;\nLAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0029eab0();\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "double *pdVar9;" primitive_type (pointer_declarator "*pdVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar13;" type_identifier identifier ;) (declaration "undefined4 in_stack_00000020;" type_identifier identifier ;) (declaration "undefined4 uStack_b8;" type_identifier identifier ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "double dStack_b0;" primitive_type identifier ;) (declaration "int iStack_a4;" primitive_type identifier ;) (declaration "undefined4 uStack_a0;" type_identifier identifier ;) (declaration "int iStack_9c;" primitive_type identifier ;) (declaration "undefined4 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "undefined4 uStack_90;" type_identifier identifier ;) (declaration "int iStack_8c;" primitive_type identifier ;) (declaration "int iStack_88;" primitive_type identifier ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "undefined4 uStack_80;" type_identifier identifier ;) (declaration "int *piStack_68;" primitive_type (pointer_declarator "*piStack_68" * identifier) ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int iStack_58;" primitive_type identifier ;) (expression_statement "iVar10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar10 = *(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 "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = *(int *)(param_1 + 0x1c) * 2;" (assignment_expression "iStack_84 = *(int *)(param_1 + 0x1c) * 2" identifier = (binary_expression "*(int *)(param_1 + 0x1c) * 2" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) * number_literal)) ;) (expression_statement "iStack_88 = *(int *)(param_1 + 0x18) * 2;" (assignment_expression "iStack_88 = *(int *)(param_1 + 0x18) * 2" identifier = (binary_expression "*(int *)(param_1 + 0x18) * 2" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) * number_literal)) ;) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" identifier = identifier) ;) (expression_statement "uStack_90 = 0x1bb944;" (assignment_expression "uStack_90 = 0x1bb944" identifier = number_literal) ;) (expression_statement "iVar4 = CloneImage();" (assignment_expression "iVar4 = CloneImage()" identifier = (call_expression "CloneImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }" { (expression_statement "uStack_80 = 0x1bb95d;" (assignment_expression "uStack_80 = 0x1bb95d" identifier = number_literal) ;) (expression_statement "iVar5 = GetMagickResourceLimit();" (assignment_expression "iVar5 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (expression_statement "uStack_80 = 0x1bb969;" (assignment_expression "uStack_80 = 0x1bb969" identifier = number_literal) ;) (expression_statement "__s = (undefined4 *)AcquireQuantumMemory();" (assignment_expression "__s = (undefined4 *)AcquireQuantumMemory()" identifier = (cast_expression "(undefined4 *)AcquireQuantumMemory()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory()" identifier (argument_list "()" ( ))))) ;) (expression_statement "local_5c = (int)param_2;" (assignment_expression "local_5c = (int)param_2" identifier = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }" if (parenthesized_expression "(__s == (undefined4 *)0x0)" ( (binary_expression "__s == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }" { (expression_statement "FUN_00033de7();" (call_expression "FUN_00033de7()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 0x1bbde9;" (assignment_expression "uStack_80 = 0x1bbde9" identifier = number_literal) ;) (expression_statement "iStack_8c = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iStack_8c = *(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 "dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);" (assignment_expression "dVar3 = (double)CONCAT44(iVar4,in_stack_00000020)" identifier = (cast_expression "(double)CONCAT44(iVar4,in_stack_00000020)" ( (type_descriptor "double" primitive_type) ) (call_expression "CONCAT44(iVar4,in_stack_00000020)" identifier (argument_list "(iVar4,in_stack_00000020)" ( identifier , identifier ))))) ;) (if_statement "if (piStack_68 == (int *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }" if (parenthesized_expression "(piStack_68 == (int *)0x0)" ( (binary_expression "piStack_68 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , number_literal , (string_literal ""SolarizeImage"" " string_content ") ))) ;) })) (if_statement "if (piStack_68[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }" if (parenthesized_expression "(piStack_68[0xcd1] != -0x54535255)" ( (binary_expression "piStack_68[0xcd1] != -0x54535255" (subscript_expression "piStack_68[0xcd1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , number_literal , (string_literal ""SolarizeImage"" " string_content ") ))) ;) })) (if_statement "if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }" if (parenthesized_expression "(piStack_68[0xcca] != 0)" ( (binary_expression "piStack_68[0xcca] != 0" (subscript_expression "piStack_68[0xcca]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);" (call_expression "LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6)" identifier (argument_list "(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6)" ( number_literal , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , (string_literal ""SolarizeImage"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "piStack_68 + 0xc6" identifier + number_literal) ))) ;) })) (if_statement "if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }" if (parenthesized_expression "((piStack_68[1] == 0x21) || (piStack_68[1] == 3))" ( (binary_expression "(piStack_68[1] == 0x21) || (piStack_68[1] == 3)" (parenthesized_expression "(piStack_68[1] == 0x21)" ( (binary_expression "piStack_68[1] == 0x21" (subscript_expression "piStack_68[1]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "(piStack_68[1] == 3)" ( (binary_expression "piStack_68[1] == 3" (subscript_expression "piStack_68[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }" { (expression_statement "SetImageColorspace(piStack_68,0x17,local_5c);" (call_expression "SetImageColorspace(piStack_68,0x17,local_5c)" identifier (argument_list "(piStack_68,0x17,local_5c)" ( identifier , number_literal , identifier ))) ;) })) (if_statement "if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }" if (parenthesized_expression "(*piStack_68 == 2)" ( (binary_expression "*piStack_68 == 2" (pointer_expression "*piStack_68" * identifier) == number_literal) )) (compound_statement "{\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }" { (expression_statement "iVar10 = piStack_68[9];" (assignment_expression "iVar10 = piStack_68[9]" identifier = (subscript_expression "piStack_68[9]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }" { (expression_statement "iVar4 = piStack_68[10];" (assignment_expression "iVar4 = piStack_68[10]" identifier = (subscript_expression "piStack_68[10]" identifier [ number_literal ])) ;) (expression_statement "dVar2 = (double)DAT_0029f710;" (assignment_expression "dVar2 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "pdVar9 = (double *)(iVar4 + 0x20);" (assignment_expression "pdVar9 = (double *)(iVar4 + 0x20)" identifier = (cast_expression "(double *)(iVar4 + 0x20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) ;) (do_statement "do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);" do (compound_statement "{\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          }" { (if_statement "if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }" if (parenthesized_expression "(dVar3 < *pdVar9)" ( (binary_expression "dVar3 < *pdVar9" identifier < (pointer_expression "*pdVar9" * identifier)) )) (compound_statement "{\n              *pdVar9 = dVar2 - *pdVar9;\n            }" { (expression_statement "*pdVar9 = dVar2 - *pdVar9;" (assignment_expression "*pdVar9 = dVar2 - *pdVar9" (pointer_expression "*pdVar9" * identifier) = (binary_expression "dVar2 - *pdVar9" identifier - (pointer_expression "*pdVar9" * identifier))) ;) })) (if_statement "if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }" if (parenthesized_expression "(dVar3 < pdVar9[1])" ( (binary_expression "dVar3 < pdVar9[1]" identifier < (subscript_expression "pdVar9[1]" identifier [ number_literal ])) )) (compound_statement "{\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }" { (expression_statement "pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];" (assignment_expression "pdVar9[1] = (double)DAT_0029f710 - pdVar9[1]" (subscript_expression "pdVar9[1]" identifier [ number_literal ]) = (binary_expression "(double)DAT_0029f710 - pdVar9[1]" (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier) - (subscript_expression "pdVar9[1]" identifier [ number_literal ]))) ;) })) (if_statement "if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }" if (parenthesized_expression "(dVar3 < pdVar9[2])" ( (binary_expression "dVar3 < pdVar9[2]" identifier < (subscript_expression "pdVar9[2]" identifier [ number_literal ])) )) (compound_statement "{\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }" { (expression_statement "pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];" (assignment_expression "pdVar9[2] = (double)DAT_0029f710 - pdVar9[2]" (subscript_expression "pdVar9[2]" identifier [ number_literal ]) = (binary_expression "(double)DAT_0029f710 - pdVar9[2]" (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier) - (subscript_expression "pdVar9[2]" identifier [ number_literal ]))) ;) })) (expression_statement "pdVar9 = pdVar9 + 10;" (assignment_expression "pdVar9 = pdVar9 + 10" identifier = (binary_expression "pdVar9 + 10" identifier + number_literal)) ;) }) while (parenthesized_expression "((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9)" ( (binary_expression "(double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9" (cast_expression "(double *)(iVar4 + 0x20 + iVar10 * 0x50)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20 + iVar10 * 0x50)" ( (binary_expression "iVar4 + 0x20 + iVar10 * 0x50" (binary_expression "iVar4 + 0x20" identifier + number_literal) + (binary_expression "iVar10 * 0x50" identifier * number_literal)) ))) != identifier) )) ;) })) (expression_statement "iVar10 = SyncImage(piStack_68,local_5c);" (assignment_expression "iVar10 = SyncImage(piStack_68,local_5c)" identifier = (call_expression "SyncImage(piStack_68,local_5c)" identifier (argument_list "(piStack_68,local_5c)" ( identifier , identifier )))) ;) (goto_statement "goto LAB_001bbed7;" goto statement_identifier ;) })) (expression_statement "uStack_b8 = 0;" (assignment_expression "uStack_b8 = 0" identifier = number_literal) ;) (expression_statement "uStack_b4 = 0;" (assignment_expression "uStack_b4 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);" (assignment_expression "uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c)" identifier = (call_expression "AcquireAuthenticCacheView(piStack_68,local_5c)" identifier (argument_list "(piStack_68,local_5c)" ( identifier , identifier )))) ;) (expression_statement "iVar10 = GetImagePixelCacheType(piStack_68);" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" identifier = (call_expression "GetImagePixelCacheType(piStack_68)" identifier (argument_list "(piStack_68)" ( identifier )))) ;) (if_statement "if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" if (parenthesized_expression "(((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))))" ( (binary_expression "((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))" (parenthesized_expression "((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))" ( (binary_expression "(iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (parenthesized_expression "(iVar10 == 4)" ( (binary_expression "iVar10 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" ( (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" identifier = (call_expression "GetImagePixelCacheType(piStack_68)" identifier (argument_list "(piStack_68)" ( identifier )))) , (binary_expression "iVar10 == 3" identifier == number_literal)) ))) )) && (parenthesized_expression "((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))" ( (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))" ( (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" identifier = (call_expression "GetImagePixelCacheType(piStack_68)" identifier (argument_list "(piStack_68)" ( identifier )))) , (binary_expression "iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (binary_expression "iVar10 == 4" identifier == number_literal) || (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" ( (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" identifier = (call_expression "GetImagePixelCacheType(piStack_68)" identifier (argument_list "(piStack_68)" ( identifier )))) , (binary_expression "iVar10 == 3" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }" { (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "iVar10 = piStack_68[7];" (assignment_expression "iVar10 = piStack_68[7]" identifier = (subscript_expression "piStack_68[7]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar10 + 0x3f;" (assignment_expression "iVar4 = iVar10 + 0x3f" identifier = (binary_expression "iVar10 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }" if (parenthesized_expression "(-1 < iVar10)" ( (binary_expression "-1 < iVar10" number_literal < identifier) )) (compound_statement "{\n          iVar4 = iVar10;\n        }" { (expression_statement "iVar4 = iVar10;" (assignment_expression "iVar4 = iVar10" identifier = identifier) ;) })) (expression_statement "bVar1 = 0x7f < iVar10;" (assignment_expression "bVar1 = 0x7f < iVar10" identifier = (binary_expression "0x7f < iVar10" number_literal < identifier)) ;) (if_statement "if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }" if (parenthesized_expression "(iVar5 < iVar4 >> 6)" ( (binary_expression "iVar5 < iVar4 >> 6" identifier < (binary_expression "iVar4 >> 6" identifier >> number_literal)) )) (compound_statement "{\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }" { (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "bVar1 = 1 < iVar10;" (assignment_expression "bVar1 = 1 < iVar10" identifier = (binary_expression "1 < iVar10" number_literal < identifier)) ;) })) (if_statement "if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }" { (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "iVar4 = piStack_68[7];" (assignment_expression "iVar4 = piStack_68[7]" identifier = (subscript_expression "piStack_68[7]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = iVar4 + 0x3f;" (assignment_expression "iVar10 = iVar4 + 0x3f" identifier = (binary_expression "iVar4 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n            iVar10 = iVar4;\n          }" { (expression_statement "iVar10 = iVar4;" (assignment_expression "iVar10 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar10 = iVar10 >> 6;" (assignment_expression "iVar10 = iVar10 >> 6" identifier = (binary_expression "iVar10 >> 6" identifier >> number_literal)) ;) (if_statement "if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }" if (parenthesized_expression "(iVar5 < iVar10)" ( (binary_expression "iVar5 < iVar10" identifier < identifier) )) (compound_statement "{\n            iVar10 = GetMagickResourceLimit(7);\n          }" { (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) })) }) (else_clause "else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" else (compound_statement "{\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" { (labeled_statement "LAB_001bc0c7:\n          iVar10 = 1;" statement_identifier : (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;)) }))) }) (else_clause "else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" else (compound_statement "{\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" { (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }" { (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_001bc0c7;" goto statement_identifier ;)) })) (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          iVar10 = GetMagickResourceLimit(7);\n        }" { (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) }) (else_clause "else {\n          iVar10 = 2;\n        }" else (compound_statement "{\n          iVar10 = 2;\n        }" { (expression_statement "iVar10 = 2;" (assignment_expression "iVar10 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "puStack_98 = &uStack_b8;" (assignment_expression "puStack_98 = &uStack_b8" identifier = (pointer_expression "&uStack_b8" & identifier)) ;) (expression_statement "iStack_a4 = local_5c;" (assignment_expression "iStack_a4 = local_5c" identifier = identifier) ;) (expression_statement "iStack_9c = 1;" (assignment_expression "iStack_9c = 1" identifier = number_literal) ;) (expression_statement "dStack_b0 = dVar3;" (assignment_expression "dStack_b0 = dVar3" identifier = identifier) ;) (expression_statement "uStack_a0 = uVar6;" (assignment_expression "uStack_a0 = uVar6" identifier = identifier) ;) (expression_statement "GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);" (call_expression "GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0)" identifier (argument_list "(FUN_001b7640,&dStack_b0,iVar10,0)" ( identifier , (pointer_expression "&dStack_b0" & identifier) , identifier , number_literal ))) ;) (expression_statement "iVar10 = iStack_9c;" (assignment_expression "iVar10 = iStack_9c" identifier = identifier) ;) (expression_statement "DestroyCacheView(uVar6);" (call_expression "DestroyCacheView(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (labeled_statement "LAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }" statement_identifier : (if_statement "if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }" if (parenthesized_expression "(iStack_8c == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iStack_8c == *(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) ))))) )) (compound_statement "{\n        return iVar10;\n      }" { (return_statement "return iVar10;" return identifier ;) }))) comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uStack_80 = 0x1bb98d;" (assignment_expression "uStack_80 = 0x1bb98d" identifier = number_literal) ;) (expression_statement "memset(__s,0,iVar5 * 4);" (call_expression "memset(__s,0,iVar5 * 4)" identifier (argument_list "(__s,0,iVar5 * 4)" ( identifier , number_literal , (binary_expression "iVar5 * 4" identifier * number_literal) ))) ;) (if_statement "if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }" { (expression_statement "puVar11 = __s;" (assignment_expression "puVar11 = __s" identifier = identifier) ;) (do_statement "do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);" do (compound_statement "{\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      }" { (expression_statement "uVar6 = AcquireRandomInfo();" (assignment_expression "uVar6 = AcquireRandomInfo()" identifier = (call_expression "AcquireRandomInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar12 = puVar11 + 1;" (assignment_expression "puVar12 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = uVar6;" (assignment_expression "*puVar11 = uVar6" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" identifier = identifier) ;) }) while (parenthesized_expression "(__s + iVar5 != puVar12)" ( (binary_expression "__s + iVar5 != puVar12" (binary_expression "__s + iVar5" identifier + identifier) != identifier) )) ;) })) (expression_statement "uStack_80 = 0x1bb9cb;" (assignment_expression "uStack_80 = 0x1bb9cb" identifier = number_literal) ;) (expression_statement "AcquireAuthenticCacheView();" (call_expression "AcquireAuthenticCacheView()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 0x1bb9d5;" (assignment_expression "uStack_80 = 0x1bb9d5" identifier = number_literal) ;) (expression_statement "iVar5 = GetRandomSecretKey();" (assignment_expression "iVar5 = GetRandomSecretKey()" identifier = (call_expression "GetRandomSecretKey()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (compound_statement "{\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }" { (expression_statement "uStack_80 = 0x1bbbfc;" (assignment_expression "uStack_80 = 0x1bbbfc" identifier = number_literal) ;) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" identifier = (call_expression "GetImagePixelCacheType()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" if (parenthesized_expression "(iVar5 == 4)" ( (binary_expression "iVar5 == 4" identifier == number_literal) )) (compound_statement "{\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }" { (labeled_statement "LAB_001bbce8:\n        uStack_80 = 0x1bbcf4;" statement_identifier : (expression_statement "uStack_80 = 0x1bbcf4;" (assignment_expression "uStack_80 = 0x1bbcf4" identifier = number_literal) ;)) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" identifier = (call_expression "GetImagePixelCacheType()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }" if (parenthesized_expression "(iVar5 != 4)" ( (binary_expression "iVar5 != 4" identifier != number_literal) )) (compound_statement "{\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }" { (expression_statement "uStack_80 = 0x1bbd08;" (assignment_expression "uStack_80 = 0x1bbd08" identifier = number_literal) ;) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" identifier = (call_expression "GetImagePixelCacheType()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 3) goto LAB_001bbc20;" if (parenthesized_expression "(iVar5 != 3)" ( (binary_expression "iVar5 != 3" identifier != number_literal) )) (goto_statement "goto LAB_001bbc20;" goto statement_identifier ;)) })) (expression_statement "uStack_80 = 0x1bbd1e;" (assignment_expression "uStack_80 = 0x1bbd1e" identifier = number_literal) ;) (expression_statement "iVar8 = GetMagickResourceLimit();" (assignment_expression "iVar8 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0x1c);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = iVar5 + 0x3f;" (assignment_expression "iVar7 = iVar5 + 0x3f" identifier = (binary_expression "iVar5 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (compound_statement "{\n          iVar7 = iVar5;\n        }" { (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) })) (expression_statement "bVar1 = 0x7f < iVar5;" (assignment_expression "bVar1 = 0x7f < iVar5" identifier = (binary_expression "0x7f < iVar5" number_literal < identifier)) ;) (if_statement "if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }" if (parenthesized_expression "(iVar8 < iVar7 >> 6)" ( (binary_expression "iVar8 < iVar7 >> 6" identifier < (binary_expression "iVar7 >> 6" identifier >> number_literal)) )) (compound_statement "{\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }" { (expression_statement "uStack_80 = 0x1bbd9d;" (assignment_expression "uStack_80 = 0x1bbd9d" identifier = number_literal) ;) (expression_statement "iVar5 = GetMagickResourceLimit();" (assignment_expression "iVar5 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = 1 < iVar5;" (assignment_expression "bVar1 = 1 < iVar5" identifier = (binary_expression "1 < iVar5" number_literal < identifier)) ;) })) (if_statement "if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }" { (expression_statement "uStack_80 = 0x1bbd4f;" (assignment_expression "uStack_80 = 0x1bbd4f" identifier = number_literal) ;) (expression_statement "iVar8 = GetMagickResourceLimit();" (assignment_expression "iVar8 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0x1c);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = iVar5 + 0x3f;" (assignment_expression "iVar7 = iVar5 + 0x3f" identifier = (binary_expression "iVar5 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (compound_statement "{\n            iVar7 = iVar5;\n          }" { (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) })) (if_statement "if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }" if (parenthesized_expression "(iVar8 < iVar7 >> 6)" ( (binary_expression "iVar8 < iVar7 >> 6" identifier < (binary_expression "iVar7 >> 6" identifier >> number_literal)) )) (compound_statement "{\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }" { (expression_statement "uStack_80 = 0x1bbdb2;" (assignment_expression "uStack_80 = 0x1bbdb2" identifier = number_literal) ;) (expression_statement "GetMagickResourceLimit();" (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( ))) ;) })) })) }) (else_clause "else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" else (compound_statement "{\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" { (expression_statement "uStack_80 = 0x1bbc14;" (assignment_expression "uStack_80 = 0x1bbc14" identifier = number_literal) ;) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" identifier = (call_expression "GetImagePixelCacheType()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 3) goto LAB_001bbce8;" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (goto_statement "goto LAB_001bbce8;" goto statement_identifier ;)) (labeled_statement "LAB_001bbc20:\n        uStack_80 = 0x1bbc2a;" statement_identifier : (expression_statement "uStack_80 = 0x1bbc2a;" (assignment_expression "uStack_80 = 0x1bbc2a" identifier = number_literal) ;)) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }" { (expression_statement "uStack_80 = 0x1bbd79;" (assignment_expression "uStack_80 = 0x1bbd79" identifier = number_literal) ;) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_001bb9e6;" goto statement_identifier ;)) })) (expression_statement "uStack_80 = 0x1bbc45;" (assignment_expression "uStack_80 = 0x1bbc45" identifier = number_literal) ;) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }" { (expression_statement "uStack_80 = 0x1bbc5c;" (assignment_expression "uStack_80 = 0x1bbc5c" identifier = number_literal) ;) (expression_statement "GetMagickResourceLimit();" (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( ))) ;) })) }))) })) (labeled_statement "LAB_001bb9e6:\n    uStack_80 = 0x1bba22;" statement_identifier : (expression_statement "uStack_80 = 0x1bba22;" (assignment_expression "uStack_80 = 0x1bba22" identifier = number_literal) ;)) (expression_statement "GOMP_parallel();" (call_expression "GOMP_parallel()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uStack_80 = 0x1bba34;" (assignment_expression "uStack_80 = 0x1bba34" identifier = number_literal) ;) (expression_statement "DestroyCacheView();" (call_expression "DestroyCacheView()" identifier (argument_list "()" ( ))) ;) (while_statement "while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "uStack_80 = 0x1bba63;" (assignment_expression "uStack_80 = 0x1bba63" identifier = number_literal) ;) (expression_statement "iVar7 = GetMagickResourceLimit();" (assignment_expression "iVar7 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar7 <= iVar5) break;" if (parenthesized_expression "(iVar7 <= iVar5)" ( (binary_expression "iVar7 <= iVar5" identifier <= identifier) )) (break_statement "break;" break ;)) (if_statement "if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }" if (parenthesized_expression "(__s[iVar5] != 0)" ( (binary_expression "__s[iVar5] != 0" (subscript_expression "__s[iVar5]" identifier [ identifier ]) != number_literal) )) (compound_statement "{\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }" { (expression_statement "uStack_80 = 0x1bba50;" (assignment_expression "uStack_80 = 0x1bba50" identifier = number_literal) ;) (expression_statement "uVar6 = DestroyRandomInfo();" (assignment_expression "uVar6 = DestroyRandomInfo()" identifier = (call_expression "DestroyRandomInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s[iVar5] = uVar6;" (assignment_expression "__s[iVar5] = uVar6" (subscript_expression "__s[iVar5]" identifier [ identifier ]) = identifier) ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "uStack_80 = 0x1bba73;" (assignment_expression "uStack_80 = 0x1bba73" identifier = number_literal) ;) (expression_statement "RelinquishMagickMemory();" (call_expression "RelinquishMagickMemory()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = param_3;" (assignment_expression "uStack_80 = param_3" identifier = identifier) ;) (expression_statement "iStack_58 = (int)((ulonglong)param_2 >> 0x20);" (assignment_expression "iStack_58 = (int)((ulonglong)param_2 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)param_2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)param_2 >> 0x20)" ( (binary_expression "(ulonglong)param_2 >> 0x20" (cast_expression "(ulonglong)param_2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iStack_84 = iStack_58;" (assignment_expression "iStack_84 = iStack_58" identifier = identifier) ;) (expression_statement "iStack_88 = local_5c;" (assignment_expression "iStack_88 = local_5c" identifier = identifier) ;) (expression_statement "uStack_90 = 0x1bbaa8;" (assignment_expression "uStack_90 = 0x1bbaa8" identifier = number_literal) ;) (expression_statement "iStack_8c = iVar4;" (assignment_expression "iStack_8c = iVar4" identifier = identifier) ;) (expression_statement "iVar4 = MotionBlurImage();" (assignment_expression "iVar4 = MotionBlurImage()" identifier = (call_expression "MotionBlurImage()" identifier (argument_list "()" ( )))) ;) (expression_statement "uStack_80 = 0x1bbab6;" (assignment_expression "uStack_80 = 0x1bbab6" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }" { (expression_statement "uStack_80 = 0x1bbad0;" (assignment_expression "uStack_80 = 0x1bbad0" identifier = number_literal) ;) (expression_statement "iVar4 = EdgeImage();" (assignment_expression "iVar4 = EdgeImage()" identifier = (call_expression "EdgeImage()" identifier (argument_list "()" ( )))) ;) (expression_statement "uStack_80 = 0x1bbadc;" (assignment_expression "uStack_80 = 0x1bbadc" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }" { (expression_statement "uStack_80 = 0x1bbaf5;" (assignment_expression "uStack_80 = 0x1bbaf5" identifier = number_literal) ;) (expression_statement "iVar5 = ClampImage();" (assignment_expression "iVar5 = ClampImage()" identifier = (call_expression "ClampImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }" { (expression_statement "uStack_80 = 0x1bbca1;" (assignment_expression "uStack_80 = 0x1bbca1" identifier = number_literal) ;) (expression_statement "iVar5 = NormalizeImage();" (assignment_expression "iVar5 = NormalizeImage()" identifier = (call_expression "NormalizeImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }" { (expression_statement "uStack_80 = 0x1bbcbb;" (assignment_expression "uStack_80 = 0x1bbcbb" identifier = number_literal) ;) (expression_statement "iVar5 = NegateImage();" (assignment_expression "iVar5 = NegateImage()" identifier = (call_expression "NegateImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }" { (expression_statement "uStack_80 = 0x1bbcd9;" (assignment_expression "uStack_80 = 0x1bbcd9" identifier = number_literal) ;) (expression_statement "FUN_001a9210();" (call_expression "FUN_001a9210()" identifier (argument_list "()" ( ))) ;) })) })) })) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = 0;" (assignment_expression "iStack_84 = 0" identifier = number_literal) ;) (expression_statement "iStack_88 = 0;" (assignment_expression "iStack_88 = 0" identifier = number_literal) ;) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" identifier = identifier) ;) (expression_statement "uStack_90 = 0x1bbb13;" (assignment_expression "uStack_90 = 0x1bbb13" identifier = number_literal) ;) (expression_statement "iVar5 = CloneImage();" (assignment_expression "iVar5 = CloneImage()" identifier = (call_expression "CloneImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" { (expression_statement "uStack_80 = 0x1bbdca;" (assignment_expression "uStack_80 = 0x1bbdca" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_001bbbd1;" goto statement_identifier ;) })) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = 9;" (assignment_expression "iStack_84 = 9" identifier = number_literal) ;) (expression_statement "uStack_90 = 0x1bbb3a;" (assignment_expression "uStack_90 = 0x1bbb3a" identifier = number_literal) ;) (expression_statement "iStack_8c = iVar5;" (assignment_expression "iStack_8c = iVar5" identifier = identifier) ;) (expression_statement "iStack_88 = iVar4;" (assignment_expression "iStack_88 = iVar4" identifier = identifier) ;) (expression_statement "CompositeImage();" (call_expression "CompositeImage()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 0x1bbb46;" (assignment_expression "uStack_80 = 0x1bbb46" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = 0;" (assignment_expression "iStack_84 = 0" identifier = number_literal) ;) (expression_statement "iStack_88 = 0;" (assignment_expression "iStack_88 = 0" identifier = number_literal) ;) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" identifier = identifier) ;) (expression_statement "uStack_90 = 0x1bbb59;" (assignment_expression "uStack_90 = 0x1bbb59" identifier = number_literal) ;) (expression_statement "iVar4 = CloneImage();" (assignment_expression "iVar4 = CloneImage()" identifier = (call_expression "CloneImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" { (if_statement "if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }" if (parenthesized_expression "(*(int *)(iVar4 + 0x294) != 4)" ( (binary_expression "*(int *)(iVar4 + 0x294) != 4" (pointer_expression "*(int *)(iVar4 + 0x294)" * (cast_expression "(int *)(iVar4 + 0x294)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x294)" ( (binary_expression "iVar4 + 0x294" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }" { (expression_statement "uStack_80 = 0x1bbb7d;" (assignment_expression "uStack_80 = 0x1bbb7d" identifier = number_literal) ;) (expression_statement "SetImageAlpha();" (call_expression "SetImageAlpha()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uStack_80 = 0x1bbb97;" (assignment_expression "uStack_80 = 0x1bbb97" identifier = number_literal) ;) (expression_statement "SetImageArtifact();" (call_expression "SetImageArtifact()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = 3;" (assignment_expression "iStack_84 = 3" identifier = number_literal) ;) (expression_statement "uStack_90 = 0x1bbbad;" (assignment_expression "uStack_90 = 0x1bbbad" identifier = number_literal) ;) (expression_statement "iStack_8c = iVar5;" (assignment_expression "iStack_8c = iVar5" identifier = identifier) ;) (expression_statement "iStack_88 = iVar4;" (assignment_expression "iStack_88 = iVar4" identifier = identifier) ;) (expression_statement "CompositeImage();" (call_expression "CompositeImage()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 0x1bbbb6;" (assignment_expression "uStack_80 = 0x1bbbb6" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_001bbbd1;" goto statement_identifier ;) })) (expression_statement "uStack_80 = 0x1bbc7b;" (assignment_expression "uStack_80 = 0x1bbc7b" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) })) })) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" if (parenthesized_expression "(iVar10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar10 == *(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) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\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 "ChannelType": 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 "LogEventType": Some values do not have unique names */\n\nImage * SketchImage(Image *image,double radius,double sigma,double angle,ExceptionInfo *exception)\n\n{\n  PixelInfo *pPVar1;\n  bool bVar2;\n  double dVar3;\n  double dVar4;\n  Image *pIVar5;\n  size_t sVar6;\n  undefined4 *__s;\n  RandomInfo *pRVar7;\n  CacheView *pCVar8;\n  ulong uVar9;\n  Image *pIVar10;\n  MagickBooleanType MVar11;\n  CacheType CVar12;\n  MagickRealType *pMVar13;\n  size_t sVar14;\n  undefined4 *puVar15;\n  undefined4 *puVar16;\n  int iVar17;\n  int in_GS_OFFSET;\n  MagickSizeType MVar18;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  ExceptionInfo *pEStack_a4;\n  CacheView *pCStack_a0;\n  Image *pIStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iVar19;\n  Image *pIStack_68;\n  ExceptionInfo *local_5c;\n  Image *dodge_image;\n  ExceptionInfo *local_34;\n  CacheView *local_30;\n  Image *local_2c;\n  undefined4 *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bb8e9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_90 = 0x1bb944;\n  pIVar5 = CloneImage(image,image->columns * 2,image->rows * 2,MagickTrue,exception);\n  if (pIVar5 != (Image *)0x0) {\n    MVar18 = GetMagickResourceLimit(ThreadResource);\n    sVar6 = (size_t)MVar18;\n    __s = (undefined4 *)AcquireQuantumMemory(sVar6,4);\n    local_5c = SUB84(radius,0);\n    if (__s == (undefined4 *)0x0) {\n      AcquireRandomInfoThreadSet();\n      iVar19 = *(int *)(in_GS_OFFSET + 0x14);\n      dVar4 = (double)CONCAT44(pIVar5,exception);\n      if (pIStack_68 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (pIStack_68->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (pIStack_68->debug != MagickFalse) {\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }\n      if ((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)) {\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }\n      if (pIStack_68->storage_class == PseudoClass) {\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);\n      CVar12 = GetImagePixelCacheType(pIStack_68);\n      if (((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      pEStack_a4 = local_5c;\n      pIStack_9c = (Image *)0x1;\n      dStack_b0 = dVar4;\n      pCStack_a0 = pCVar8;\n      GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);\n      pIVar5 = pIStack_9c;\n      DestroyCacheView(pCVar8);\nLAB_001bbed7:\n      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return pIVar5;\n    }\n    memset(__s,0,sVar6 * 4);\n    if (0 < (int)sVar6) {\n      puVar15 = __s;\n      do {\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      } while (__s + sVar6 != puVar16);\n    }\n    pCVar8 = AcquireAuthenticCacheView(pIVar5,exception);\n    uVar9 = GetRandomSecretKey((RandomInfo *)*__s);\n    if (uVar9 == 0xffffffff) {\n      CVar12 = GetImagePixelCacheType(pIVar5);\n      if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }\n    }\nLAB_001bb9e6:\n    dodge_image = image;\n    local_24 = 1;\n    local_34 = exception;\n    local_30 = pCVar8;\n    local_2c = pIVar5;\n    local_28 = __s;\n    GOMP_parallel();\n    iVar19 = local_24;\n    DestroyCacheView(pCVar8);\n    for (iVar17 = 0; MVar18 = GetMagickResourceLimit(ThreadResource), iVar17 < (int)MVar18;\n        iVar17 = iVar17 + 1) {\n      if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }\n    }\n    RelinquishMagickMemory(__s);\n    if (iVar19 == 0) {\n      pIVar5 = DestroyImage(pIVar5);\n      goto LAB_001bbbd1;\n    }\n    uStack_90 = 0x1bbaa8;\n    pIVar10 = MotionBlurImage(pIVar5,radius,sigma,angle,exception);\n    DestroyImage(pIVar5);\n    if (pIVar10 != (Image *)0x0) {\n      dodge_image = EdgeImage(pIVar10,radius,exception);\n      DestroyImage(pIVar10);\n      if (dodge_image != (Image *)0x0) {\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }\n    }\n  }\n  pIVar5 = (Image *)0x0;\nLAB_001bbbd1:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return pIVar5;\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "Image * SketchImage(Image *image,double radius,double sigma,double angle,ExceptionInfo *exception)\n\n{\n  PixelInfo *pPVar1;\n  bool bVar2;\n  double dVar3;\n  double dVar4;\n  Image *pIVar5;\n  size_t sVar6;\n  undefined4 *__s;\n  RandomInfo *pRVar7;\n  CacheView *pCVar8;\n  ulong uVar9;\n  Image *pIVar10;\n  MagickBooleanType MVar11;\n  CacheType CVar12;\n  MagickRealType *pMVar13;\n  size_t sVar14;\n  undefined4 *puVar15;\n  undefined4 *puVar16;\n  int iVar17;\n  int in_GS_OFFSET;\n  MagickSizeType MVar18;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  ExceptionInfo *pEStack_a4;\n  CacheView *pCStack_a0;\n  Image *pIStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iVar19;\n  Image *pIStack_68;\n  ExceptionInfo *local_5c;\n  Image *dodge_image;\n  ExceptionInfo *local_34;\n  CacheView *local_30;\n  Image *local_2c;\n  undefined4 *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bb8e9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_90 = 0x1bb944;\n  pIVar5 = CloneImage(image,image->columns * 2,image->rows * 2,MagickTrue,exception);\n  if (pIVar5 != (Image *)0x0) {\n    MVar18 = GetMagickResourceLimit(ThreadResource);\n    sVar6 = (size_t)MVar18;\n    __s = (undefined4 *)AcquireQuantumMemory(sVar6,4);\n    local_5c = SUB84(radius,0);\n    if (__s == (undefined4 *)0x0) {\n      AcquireRandomInfoThreadSet();\n      iVar19 = *(int *)(in_GS_OFFSET + 0x14);\n      dVar4 = (double)CONCAT44(pIVar5,exception);\n      if (pIStack_68 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (pIStack_68->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (pIStack_68->debug != MagickFalse) {\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }\n      if ((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)) {\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }\n      if (pIStack_68->storage_class == PseudoClass) {\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);\n      CVar12 = GetImagePixelCacheType(pIStack_68);\n      if (((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      pEStack_a4 = local_5c;\n      pIStack_9c = (Image *)0x1;\n      dStack_b0 = dVar4;\n      pCStack_a0 = pCVar8;\n      GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);\n      pIVar5 = pIStack_9c;\n      DestroyCacheView(pCVar8);\nLAB_001bbed7:\n      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return pIVar5;\n    }\n    memset(__s,0,sVar6 * 4);\n    if (0 < (int)sVar6) {\n      puVar15 = __s;\n      do {\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      } while (__s + sVar6 != puVar16);\n    }\n    pCVar8 = AcquireAuthenticCacheView(pIVar5,exception);\n    uVar9 = GetRandomSecretKey((RandomInfo *)*__s);\n    if (uVar9 == 0xffffffff) {\n      CVar12 = GetImagePixelCacheType(pIVar5);\n      if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }\n    }\nLAB_001bb9e6:\n    dodge_image = image;\n    local_24 = 1;\n    local_34 = exception;\n    local_30 = pCVar8;\n    local_2c = pIVar5;\n    local_28 = __s;\n    GOMP_parallel();\n    iVar19 = local_24;\n    DestroyCacheView(pCVar8);\n    for (iVar17 = 0; MVar18 = GetMagickResourceLimit(ThreadResource), iVar17 < (int)MVar18;\n        iVar17 = iVar17 + 1) {\n      if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }\n    }\n    RelinquishMagickMemory(__s);\n    if (iVar19 == 0) {\n      pIVar5 = DestroyImage(pIVar5);\n      goto LAB_001bbbd1;\n    }\n    uStack_90 = 0x1bbaa8;\n    pIVar10 = MotionBlurImage(pIVar5,radius,sigma,angle,exception);\n    DestroyImage(pIVar5);\n    if (pIVar10 != (Image *)0x0) {\n      dodge_image = EdgeImage(pIVar10,radius,exception);\n      DestroyImage(pIVar10);\n      if (dodge_image != (Image *)0x0) {\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }\n    }\n  }\n  pIVar5 = (Image *)0x0;\nLAB_001bbbd1:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return pIVar5;\n}" type_identifier (pointer_declarator "* SketchImage(Image *image,double radius,double sigma,double angle,ExceptionInfo *exception)" * (function_declarator "SketchImage(Image *image,double radius,double sigma,double angle,ExceptionInfo *exception)" identifier (parameter_list "(Image *image,double radius,double sigma,double angle,ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "double radius" primitive_type identifier) , (parameter_declaration "double sigma" primitive_type identifier) , (parameter_declaration "double angle" primitive_type identifier) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) )))) (compound_statement "{\n  PixelInfo *pPVar1;\n  bool bVar2;\n  double dVar3;\n  double dVar4;\n  Image *pIVar5;\n  size_t sVar6;\n  undefined4 *__s;\n  RandomInfo *pRVar7;\n  CacheView *pCVar8;\n  ulong uVar9;\n  Image *pIVar10;\n  MagickBooleanType MVar11;\n  CacheType CVar12;\n  MagickRealType *pMVar13;\n  size_t sVar14;\n  undefined4 *puVar15;\n  undefined4 *puVar16;\n  int iVar17;\n  int in_GS_OFFSET;\n  MagickSizeType MVar18;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  ExceptionInfo *pEStack_a4;\n  CacheView *pCStack_a0;\n  Image *pIStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iVar19;\n  Image *pIStack_68;\n  ExceptionInfo *local_5c;\n  Image *dodge_image;\n  ExceptionInfo *local_34;\n  CacheView *local_30;\n  Image *local_2c;\n  undefined4 *local_28;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bb8e9;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_90 = 0x1bb944;\n  pIVar5 = CloneImage(image,image->columns * 2,image->rows * 2,MagickTrue,exception);\n  if (pIVar5 != (Image *)0x0) {\n    MVar18 = GetMagickResourceLimit(ThreadResource);\n    sVar6 = (size_t)MVar18;\n    __s = (undefined4 *)AcquireQuantumMemory(sVar6,4);\n    local_5c = SUB84(radius,0);\n    if (__s == (undefined4 *)0x0) {\n      AcquireRandomInfoThreadSet();\n      iVar19 = *(int *)(in_GS_OFFSET + 0x14);\n      dVar4 = (double)CONCAT44(pIVar5,exception);\n      if (pIStack_68 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (pIStack_68->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (pIStack_68->debug != MagickFalse) {\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }\n      if ((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)) {\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }\n      if (pIStack_68->storage_class == PseudoClass) {\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);\n      CVar12 = GetImagePixelCacheType(pIStack_68);\n      if (((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      pEStack_a4 = local_5c;\n      pIStack_9c = (Image *)0x1;\n      dStack_b0 = dVar4;\n      pCStack_a0 = pCVar8;\n      GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);\n      pIVar5 = pIStack_9c;\n      DestroyCacheView(pCVar8);\nLAB_001bbed7:\n      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return pIVar5;\n    }\n    memset(__s,0,sVar6 * 4);\n    if (0 < (int)sVar6) {\n      puVar15 = __s;\n      do {\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      } while (__s + sVar6 != puVar16);\n    }\n    pCVar8 = AcquireAuthenticCacheView(pIVar5,exception);\n    uVar9 = GetRandomSecretKey((RandomInfo *)*__s);\n    if (uVar9 == 0xffffffff) {\n      CVar12 = GetImagePixelCacheType(pIVar5);\n      if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }\n    }\nLAB_001bb9e6:\n    dodge_image = image;\n    local_24 = 1;\n    local_34 = exception;\n    local_30 = pCVar8;\n    local_2c = pIVar5;\n    local_28 = __s;\n    GOMP_parallel();\n    iVar19 = local_24;\n    DestroyCacheView(pCVar8);\n    for (iVar17 = 0; MVar18 = GetMagickResourceLimit(ThreadResource), iVar17 < (int)MVar18;\n        iVar17 = iVar17 + 1) {\n      if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }\n    }\n    RelinquishMagickMemory(__s);\n    if (iVar19 == 0) {\n      pIVar5 = DestroyImage(pIVar5);\n      goto LAB_001bbbd1;\n    }\n    uStack_90 = 0x1bbaa8;\n    pIVar10 = MotionBlurImage(pIVar5,radius,sigma,angle,exception);\n    DestroyImage(pIVar5);\n    if (pIVar10 != (Image *)0x0) {\n      dodge_image = EdgeImage(pIVar10,radius,exception);\n      DestroyImage(pIVar10);\n      if (dodge_image != (Image *)0x0) {\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }\n    }\n  }\n  pIVar5 = (Image *)0x0;\nLAB_001bbbd1:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return pIVar5;\n}" { (declaration "PixelInfo *pPVar1;" type_identifier (pointer_declarator "*pPVar1" * identifier) ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "double dVar4;" primitive_type identifier ;) (declaration "Image *pIVar5;" type_identifier (pointer_declarator "*pIVar5" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "undefined4 *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "RandomInfo *pRVar7;" type_identifier (pointer_declarator "*pRVar7" * identifier) ;) (declaration "CacheView *pCVar8;" type_identifier (pointer_declarator "*pCVar8" * identifier) ;) (declaration "ulong uVar9;" type_identifier identifier ;) (declaration "Image *pIVar10;" type_identifier (pointer_declarator "*pIVar10" * identifier) ;) (declaration "MagickBooleanType MVar11;" type_identifier identifier ;) (declaration "CacheType CVar12;" type_identifier identifier ;) (declaration "MagickRealType *pMVar13;" type_identifier (pointer_declarator "*pMVar13" * identifier) ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "MagickSizeType MVar18;" type_identifier identifier ;) (declaration "undefined4 uStack_b8;" type_identifier identifier ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "double dStack_b0;" primitive_type identifier ;) (declaration "ExceptionInfo *pEStack_a4;" type_identifier (pointer_declarator "*pEStack_a4" * identifier) ;) (declaration "CacheView *pCStack_a0;" type_identifier (pointer_declarator "*pCStack_a0" * identifier) ;) (declaration "Image *pIStack_9c;" type_identifier (pointer_declarator "*pIStack_9c" * identifier) ;) (declaration "undefined4 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "undefined4 uStack_90;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "Image *pIStack_68;" type_identifier (pointer_declarator "*pIStack_68" * identifier) ;) (declaration "ExceptionInfo *local_5c;" type_identifier (pointer_declarator "*local_5c" * identifier) ;) (declaration "Image *dodge_image;" type_identifier (pointer_declarator "*dodge_image" * identifier) ;) (declaration "ExceptionInfo *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "CacheView *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "Image *local_2c;" type_identifier (pointer_declarator "*local_2c" * identifier) ;) (declaration "undefined4 *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bb8e9;" (assignment_expression "uStack_14 = 0x1bb8e9" 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) ))))) ;) (expression_statement "uStack_90 = 0x1bb944;" (assignment_expression "uStack_90 = 0x1bb944" identifier = number_literal) ;) (expression_statement "pIVar5 = CloneImage(image,image->columns * 2,image->rows * 2,MagickTrue,exception);" (assignment_expression "pIVar5 = CloneImage(image,image->columns * 2,image->rows * 2,MagickTrue,exception)" identifier = (call_expression "CloneImage(image,image->columns * 2,image->rows * 2,MagickTrue,exception)" identifier (argument_list "(image,image->columns * 2,image->rows * 2,MagickTrue,exception)" ( identifier , (binary_expression "image->columns * 2" (field_expression "image->columns" identifier -> field_identifier) * number_literal) , (binary_expression "image->rows * 2" (field_expression "image->rows" identifier -> field_identifier) * number_literal) , identifier , identifier )))) ;) (if_statement "if (pIVar5 != (Image *)0x0) {\n    MVar18 = GetMagickResourceLimit(ThreadResource);\n    sVar6 = (size_t)MVar18;\n    __s = (undefined4 *)AcquireQuantumMemory(sVar6,4);\n    local_5c = SUB84(radius,0);\n    if (__s == (undefined4 *)0x0) {\n      AcquireRandomInfoThreadSet();\n      iVar19 = *(int *)(in_GS_OFFSET + 0x14);\n      dVar4 = (double)CONCAT44(pIVar5,exception);\n      if (pIStack_68 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (pIStack_68->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (pIStack_68->debug != MagickFalse) {\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }\n      if ((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)) {\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }\n      if (pIStack_68->storage_class == PseudoClass) {\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);\n      CVar12 = GetImagePixelCacheType(pIStack_68);\n      if (((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      pEStack_a4 = local_5c;\n      pIStack_9c = (Image *)0x1;\n      dStack_b0 = dVar4;\n      pCStack_a0 = pCVar8;\n      GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);\n      pIVar5 = pIStack_9c;\n      DestroyCacheView(pCVar8);\nLAB_001bbed7:\n      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return pIVar5;\n    }\n    memset(__s,0,sVar6 * 4);\n    if (0 < (int)sVar6) {\n      puVar15 = __s;\n      do {\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      } while (__s + sVar6 != puVar16);\n    }\n    pCVar8 = AcquireAuthenticCacheView(pIVar5,exception);\n    uVar9 = GetRandomSecretKey((RandomInfo *)*__s);\n    if (uVar9 == 0xffffffff) {\n      CVar12 = GetImagePixelCacheType(pIVar5);\n      if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }\n    }\nLAB_001bb9e6:\n    dodge_image = image;\n    local_24 = 1;\n    local_34 = exception;\n    local_30 = pCVar8;\n    local_2c = pIVar5;\n    local_28 = __s;\n    GOMP_parallel();\n    iVar19 = local_24;\n    DestroyCacheView(pCVar8);\n    for (iVar17 = 0; MVar18 = GetMagickResourceLimit(ThreadResource), iVar17 < (int)MVar18;\n        iVar17 = iVar17 + 1) {\n      if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }\n    }\n    RelinquishMagickMemory(__s);\n    if (iVar19 == 0) {\n      pIVar5 = DestroyImage(pIVar5);\n      goto LAB_001bbbd1;\n    }\n    uStack_90 = 0x1bbaa8;\n    pIVar10 = MotionBlurImage(pIVar5,radius,sigma,angle,exception);\n    DestroyImage(pIVar5);\n    if (pIVar10 != (Image *)0x0) {\n      dodge_image = EdgeImage(pIVar10,radius,exception);\n      DestroyImage(pIVar10);\n      if (dodge_image != (Image *)0x0) {\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }\n    }\n  }" if (parenthesized_expression "(pIVar5 != (Image *)0x0)" ( (binary_expression "pIVar5 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    MVar18 = GetMagickResourceLimit(ThreadResource);\n    sVar6 = (size_t)MVar18;\n    __s = (undefined4 *)AcquireQuantumMemory(sVar6,4);\n    local_5c = SUB84(radius,0);\n    if (__s == (undefined4 *)0x0) {\n      AcquireRandomInfoThreadSet();\n      iVar19 = *(int *)(in_GS_OFFSET + 0x14);\n      dVar4 = (double)CONCAT44(pIVar5,exception);\n      if (pIStack_68 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (pIStack_68->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (pIStack_68->debug != MagickFalse) {\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }\n      if ((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)) {\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }\n      if (pIStack_68->storage_class == PseudoClass) {\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);\n      CVar12 = GetImagePixelCacheType(pIStack_68);\n      if (((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      pEStack_a4 = local_5c;\n      pIStack_9c = (Image *)0x1;\n      dStack_b0 = dVar4;\n      pCStack_a0 = pCVar8;\n      GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);\n      pIVar5 = pIStack_9c;\n      DestroyCacheView(pCVar8);\nLAB_001bbed7:\n      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return pIVar5;\n    }\n    memset(__s,0,sVar6 * 4);\n    if (0 < (int)sVar6) {\n      puVar15 = __s;\n      do {\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      } while (__s + sVar6 != puVar16);\n    }\n    pCVar8 = AcquireAuthenticCacheView(pIVar5,exception);\n    uVar9 = GetRandomSecretKey((RandomInfo *)*__s);\n    if (uVar9 == 0xffffffff) {\n      CVar12 = GetImagePixelCacheType(pIVar5);\n      if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }\n    }\nLAB_001bb9e6:\n    dodge_image = image;\n    local_24 = 1;\n    local_34 = exception;\n    local_30 = pCVar8;\n    local_2c = pIVar5;\n    local_28 = __s;\n    GOMP_parallel();\n    iVar19 = local_24;\n    DestroyCacheView(pCVar8);\n    for (iVar17 = 0; MVar18 = GetMagickResourceLimit(ThreadResource), iVar17 < (int)MVar18;\n        iVar17 = iVar17 + 1) {\n      if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }\n    }\n    RelinquishMagickMemory(__s);\n    if (iVar19 == 0) {\n      pIVar5 = DestroyImage(pIVar5);\n      goto LAB_001bbbd1;\n    }\n    uStack_90 = 0x1bbaa8;\n    pIVar10 = MotionBlurImage(pIVar5,radius,sigma,angle,exception);\n    DestroyImage(pIVar5);\n    if (pIVar10 != (Image *)0x0) {\n      dodge_image = EdgeImage(pIVar10,radius,exception);\n      DestroyImage(pIVar10);\n      if (dodge_image != (Image *)0x0) {\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }\n    }\n  }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "sVar6 = (size_t)MVar18;" (assignment_expression "sVar6 = (size_t)MVar18" identifier = (cast_expression "(size_t)MVar18" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (expression_statement "__s = (undefined4 *)AcquireQuantumMemory(sVar6,4);" (assignment_expression "__s = (undefined4 *)AcquireQuantumMemory(sVar6,4)" identifier = (cast_expression "(undefined4 *)AcquireQuantumMemory(sVar6,4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(sVar6,4)" identifier (argument_list "(sVar6,4)" ( identifier , number_literal ))))) ;) (expression_statement "local_5c = SUB84(radius,0);" (assignment_expression "local_5c = SUB84(radius,0)" identifier = (call_expression "SUB84(radius,0)" identifier (argument_list "(radius,0)" ( identifier , number_literal )))) ;) (if_statement "if (__s == (undefined4 *)0x0) {\n      AcquireRandomInfoThreadSet();\n      iVar19 = *(int *)(in_GS_OFFSET + 0x14);\n      dVar4 = (double)CONCAT44(pIVar5,exception);\n      if (pIStack_68 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (pIStack_68->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (pIStack_68->debug != MagickFalse) {\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }\n      if ((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)) {\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }\n      if (pIStack_68->storage_class == PseudoClass) {\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);\n      CVar12 = GetImagePixelCacheType(pIStack_68);\n      if (((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      pEStack_a4 = local_5c;\n      pIStack_9c = (Image *)0x1;\n      dStack_b0 = dVar4;\n      pCStack_a0 = pCVar8;\n      GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);\n      pIVar5 = pIStack_9c;\n      DestroyCacheView(pCVar8);\nLAB_001bbed7:\n      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return pIVar5;\n    }" if (parenthesized_expression "(__s == (undefined4 *)0x0)" ( (binary_expression "__s == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      AcquireRandomInfoThreadSet();\n      iVar19 = *(int *)(in_GS_OFFSET + 0x14);\n      dVar4 = (double)CONCAT44(pIVar5,exception);\n      if (pIStack_68 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (pIStack_68->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (pIStack_68->debug != MagickFalse) {\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }\n      if ((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)) {\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }\n      if (pIStack_68->storage_class == PseudoClass) {\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);\n      CVar12 = GetImagePixelCacheType(pIStack_68);\n      if (((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      pEStack_a4 = local_5c;\n      pIStack_9c = (Image *)0x1;\n      dStack_b0 = dVar4;\n      pCStack_a0 = pCVar8;\n      GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);\n      pIVar5 = pIStack_9c;\n      DestroyCacheView(pCVar8);\nLAB_001bbed7:\n      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }\n      return pIVar5;\n    }" { (expression_statement "AcquireRandomInfoThreadSet();" (call_expression "AcquireRandomInfoThreadSet()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar19 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar19 = *(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 "dVar4 = (double)CONCAT44(pIVar5,exception);" (assignment_expression "dVar4 = (double)CONCAT44(pIVar5,exception)" identifier = (cast_expression "(double)CONCAT44(pIVar5,exception)" ( (type_descriptor "double" primitive_type) ) (call_expression "CONCAT44(pIVar5,exception)" identifier (argument_list "(pIVar5,exception)" ( identifier , identifier ))))) ;) (if_statement "if (pIStack_68 == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }" if (parenthesized_expression "(pIStack_68 == (Image *)0x0)" ( (binary_expression "pIStack_68 == (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/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , number_literal , (string_literal ""SolarizeImage"" " string_content ") ))) ;) })) (if_statement "if (pIStack_68->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }" if (parenthesized_expression "(pIStack_68->signature != 0xabacadab)" ( (binary_expression "pIStack_68->signature != 0xabacadab" (field_expression "pIStack_68->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , number_literal , (string_literal ""SolarizeImage"" " string_content ") ))) ;) })) (if_statement "if (pIStack_68->debug != MagickFalse) {\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }" if (parenthesized_expression "(pIStack_68->debug != MagickFalse)" ( (binary_expression "pIStack_68->debug != MagickFalse" (field_expression "pIStack_68->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n        LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);\n      }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename)" identifier (argument_list "(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",\n                       pIStack_68->filename)" ( identifier , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , (string_literal ""SolarizeImage"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "pIStack_68->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if ((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)) {\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }" if (parenthesized_expression "((pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace))" ( (binary_expression "(pIStack_68->colorspace == LinearGRAYColorspace) ||\n         (pIStack_68->colorspace == GRAYColorspace)" (parenthesized_expression "(pIStack_68->colorspace == LinearGRAYColorspace)" ( (binary_expression "pIStack_68->colorspace == LinearGRAYColorspace" (field_expression "pIStack_68->colorspace" identifier -> field_identifier) == identifier) )) || (parenthesized_expression "(pIStack_68->colorspace == GRAYColorspace)" ( (binary_expression "pIStack_68->colorspace == GRAYColorspace" (field_expression "pIStack_68->colorspace" identifier -> field_identifier) == identifier) ))) )) (compound_statement "{\n        SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);\n      }" { (expression_statement "SetImageColorspace(pIStack_68,sRGBColorspace,local_5c);" (call_expression "SetImageColorspace(pIStack_68,sRGBColorspace,local_5c)" identifier (argument_list "(pIStack_68,sRGBColorspace,local_5c)" ( identifier , identifier , identifier ))) ;) })) (if_statement "if (pIStack_68->storage_class == PseudoClass) {\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }" if (parenthesized_expression "(pIStack_68->storage_class == PseudoClass)" ( (binary_expression "pIStack_68->storage_class == PseudoClass" (field_expression "pIStack_68->storage_class" identifier -> field_identifier) == identifier) )) (compound_statement "{\n        sVar6 = pIStack_68->colors;\n        if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }\n        pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);\n        goto LAB_001bbed7;\n      }" { (expression_statement "sVar6 = pIStack_68->colors;" (assignment_expression "sVar6 = pIStack_68->colors" identifier = (field_expression "pIStack_68->colors" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)sVar6) {\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }" if (parenthesized_expression "(0 < (int)sVar6)" ( (binary_expression "0 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          pPVar1 = pIStack_68->colormap;\n          dVar3 = (double)DAT_0029f710;\n          pMVar13 = &pPVar1->red;\n          do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);\n        }" { (expression_statement "pPVar1 = pIStack_68->colormap;" (assignment_expression "pPVar1 = pIStack_68->colormap" identifier = (field_expression "pIStack_68->colormap" identifier -> field_identifier)) ;) (expression_statement "dVar3 = (double)DAT_0029f710;" (assignment_expression "dVar3 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "pMVar13 = &pPVar1->red;" (assignment_expression "pMVar13 = &pPVar1->red" identifier = (pointer_expression "&pPVar1->red" & (field_expression "pPVar1->red" identifier -> field_identifier))) ;) (do_statement "do {\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          } while (&pPVar1[sVar6].red != pMVar13);" do (compound_statement "{\n            if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }\n            if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }\n            if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }\n            pMVar13 = pMVar13 + 10;\n          }" { (if_statement "if (dVar4 < *pMVar13) {\n              *pMVar13 = dVar3 - *pMVar13;\n            }" if (parenthesized_expression "(dVar4 < *pMVar13)" ( (binary_expression "dVar4 < *pMVar13" identifier < (pointer_expression "*pMVar13" * identifier)) )) (compound_statement "{\n              *pMVar13 = dVar3 - *pMVar13;\n            }" { (expression_statement "*pMVar13 = dVar3 - *pMVar13;" (assignment_expression "*pMVar13 = dVar3 - *pMVar13" (pointer_expression "*pMVar13" * identifier) = (binary_expression "dVar3 - *pMVar13" identifier - (pointer_expression "*pMVar13" * identifier))) ;) })) (if_statement "if (dVar4 < pMVar13[1]) {\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }" if (parenthesized_expression "(dVar4 < pMVar13[1])" ( (binary_expression "dVar4 < pMVar13[1]" identifier < (subscript_expression "pMVar13[1]" identifier [ number_literal ])) )) (compound_statement "{\n              pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];\n            }" { (expression_statement "pMVar13[1] = (double)DAT_0029f710 - pMVar13[1];" (assignment_expression "pMVar13[1] = (double)DAT_0029f710 - pMVar13[1]" (subscript_expression "pMVar13[1]" identifier [ number_literal ]) = (binary_expression "(double)DAT_0029f710 - pMVar13[1]" (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier) - (subscript_expression "pMVar13[1]" identifier [ number_literal ]))) ;) })) (if_statement "if (dVar4 < pMVar13[2]) {\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }" if (parenthesized_expression "(dVar4 < pMVar13[2])" ( (binary_expression "dVar4 < pMVar13[2]" identifier < (subscript_expression "pMVar13[2]" identifier [ number_literal ])) )) (compound_statement "{\n              pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];\n            }" { (expression_statement "pMVar13[2] = (double)DAT_0029f710 - pMVar13[2];" (assignment_expression "pMVar13[2] = (double)DAT_0029f710 - pMVar13[2]" (subscript_expression "pMVar13[2]" identifier [ number_literal ]) = (binary_expression "(double)DAT_0029f710 - pMVar13[2]" (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier) - (subscript_expression "pMVar13[2]" identifier [ number_literal ]))) ;) })) (expression_statement "pMVar13 = pMVar13 + 10;" (assignment_expression "pMVar13 = pMVar13 + 10" identifier = (binary_expression "pMVar13 + 10" identifier + number_literal)) ;) }) while (parenthesized_expression "(&pPVar1[sVar6].red != pMVar13)" ( (binary_expression "&pPVar1[sVar6].red != pMVar13" (pointer_expression "&pPVar1[sVar6].red" & (field_expression "pPVar1[sVar6].red" (subscript_expression "pPVar1[sVar6]" identifier [ identifier ]) . field_identifier)) != identifier) )) ;) })) (expression_statement "pIVar5 = (Image *)SyncImage(pIStack_68,local_5c);" (assignment_expression "pIVar5 = (Image *)SyncImage(pIStack_68,local_5c)" identifier = (cast_expression "(Image *)SyncImage(pIStack_68,local_5c)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "SyncImage(pIStack_68,local_5c)" identifier (argument_list "(pIStack_68,local_5c)" ( identifier , identifier ))))) ;) (goto_statement "goto LAB_001bbed7;" goto statement_identifier ;) })) (expression_statement "uStack_b8 = 0;" (assignment_expression "uStack_b8 = 0" identifier = number_literal) ;) (expression_statement "uStack_b4 = 0;" (assignment_expression "uStack_b4 = 0" identifier = number_literal) ;) (expression_statement "pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c);" (assignment_expression "pCVar8 = AcquireAuthenticCacheView(pIStack_68,local_5c)" identifier = (call_expression "AcquireAuthenticCacheView(pIStack_68,local_5c)" identifier (argument_list "(pIStack_68,local_5c)" ( identifier , identifier )))) ;) (expression_statement "CVar12 = GetImagePixelCacheType(pIStack_68);" (assignment_expression "CVar12 = GetImagePixelCacheType(pIStack_68)" identifier = (call_expression "GetImagePixelCacheType(pIStack_68)" identifier (argument_list "(pIStack_68)" ( identifier )))) ;) (if_statement "if (((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }" if (parenthesized_expression "(((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache))))" ( (binary_expression "((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)) &&\n         ((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))" (parenthesized_expression "((CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache))" ( (binary_expression "(CVar12 == MemoryCache) ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)" (parenthesized_expression "(CVar12 == MemoryCache)" ( (binary_expression "CVar12 == MemoryCache" identifier == identifier) )) || (parenthesized_expression "(CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)" ( (comma_expression "CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache" (assignment_expression "CVar12 = GetImagePixelCacheType(pIStack_68)" identifier = (call_expression "GetImagePixelCacheType(pIStack_68)" identifier (argument_list "(pIStack_68)" ( identifier )))) , (binary_expression "CVar12 == MapCache" identifier == identifier)) ))) )) && (parenthesized_expression "((CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)))" ( (parenthesized_expression "(CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache))" ( (comma_expression "CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)" (assignment_expression "CVar12 = GetImagePixelCacheType(pIStack_68)" identifier = (call_expression "GetImagePixelCacheType(pIStack_68)" identifier (argument_list "(pIStack_68)" ( identifier )))) , (binary_expression "CVar12 == MemoryCache ||\n          (CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)" (binary_expression "CVar12 == MemoryCache" identifier == identifier) || (parenthesized_expression "(CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache)" ( (comma_expression "CVar12 = GetImagePixelCacheType(pIStack_68), CVar12 == MapCache" (assignment_expression "CVar12 = GetImagePixelCacheType(pIStack_68)" identifier = (call_expression "GetImagePixelCacheType(pIStack_68)" identifier (argument_list "(pIStack_68)" ( identifier )))) , (binary_expression "CVar12 == MapCache" identifier == identifier)) )))) )) ))) )) (compound_statement "{\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIStack_68->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }\n      }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "sVar6 = pIStack_68->rows;" (assignment_expression "sVar6 = pIStack_68->rows" identifier = (field_expression "pIStack_68->rows" identifier -> field_identifier)) ;) (expression_statement "sVar14 = sVar6 + 0x3f;" (assignment_expression "sVar14 = sVar6 + 0x3f" identifier = (binary_expression "sVar6 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }" if (parenthesized_expression "(-1 < (int)sVar6)" ( (binary_expression "-1 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          sVar14 = sVar6;\n        }" { (expression_statement "sVar14 = sVar6;" (assignment_expression "sVar14 = sVar6" identifier = identifier) ;) })) (expression_statement "bVar2 = 0x7f < (int)sVar6;" (assignment_expression "bVar2 = 0x7f < (int)sVar6" identifier = (binary_expression "0x7f < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }" if (parenthesized_expression "((int)MVar18 < (int)sVar14 >> 6)" ( (binary_expression "(int)MVar18 < (int)sVar14 >> 6" (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)sVar14 >> 6" (cast_expression "(int)sVar14" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) (compound_statement "{\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "bVar2 = 1 < (int)MVar18;" (assignment_expression "bVar2 = 1 < (int)MVar18" identifier = (binary_expression "1 < (int)MVar18" number_literal < (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (if_statement "if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIStack_68->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          iVar17 = (int)sVar14 >> 6;\n          if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }\n        }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "sVar6 = pIStack_68->rows;" (assignment_expression "sVar6 = pIStack_68->rows" identifier = (field_expression "pIStack_68->rows" identifier -> field_identifier)) ;) (expression_statement "sVar14 = sVar6 + 0x3f;" (assignment_expression "sVar14 = sVar6 + 0x3f" identifier = (binary_expression "sVar6 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }" if (parenthesized_expression "(-1 < (int)sVar6)" ( (binary_expression "-1 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            sVar14 = sVar6;\n          }" { (expression_statement "sVar14 = sVar6;" (assignment_expression "sVar14 = sVar6" identifier = identifier) ;) })) (expression_statement "iVar17 = (int)sVar14 >> 6;" (assignment_expression "iVar17 = (int)sVar14 >> 6" identifier = (binary_expression "(int)sVar14 >> 6" (cast_expression "(int)sVar14" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) ;) (if_statement "if ((int)MVar18 < iVar17) {\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }" if (parenthesized_expression "((int)MVar18 < iVar17)" ( (binary_expression "(int)MVar18 < iVar17" (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n            MVar18 = GetMagickResourceLimit(ThreadResource);\n            iVar17 = (int)MVar18;\n          }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "iVar17 = (int)MVar18;" (assignment_expression "iVar17 = (int)MVar18" identifier = (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) }) (else_clause "else {\nLAB_001bc0c7:\n          iVar17 = 1;\n        }" else (compound_statement "{\nLAB_001bc0c7:\n          iVar17 = 1;\n        }" { (labeled_statement "LAB_001bc0c7:\n          iVar17 = 1;" statement_identifier : (expression_statement "iVar17 = 1;" (assignment_expression "iVar17 = 1" identifier = number_literal) ;)) }))) }) (else_clause "else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }" else (compound_statement "{\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }\n      }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }" if (parenthesized_expression "(((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2))" ( (binary_expression "((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)" (parenthesized_expression "((int)(MVar18 >> 0x20) == 0)" ( (binary_expression "(int)(MVar18 >> 0x20) == 0" (cast_expression "(int)(MVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar18 >> 0x20)" ( (binary_expression "MVar18 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar18 < 2)" ( (binary_expression "(uint)MVar18 < 2" (cast_expression "(uint)MVar18" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;\n        }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bc0c7;" if (parenthesized_expression "(((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2))" ( (binary_expression "((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)" (parenthesized_expression "((int)(MVar18 >> 0x20) == 0)" ( (binary_expression "(int)(MVar18 >> 0x20) == 0" (cast_expression "(int)(MVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar18 >> 0x20)" ( (binary_expression "MVar18 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar18 < 2)" ( (binary_expression "(uint)MVar18 < 2" (cast_expression "(uint)MVar18" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_001bc0c7;" goto statement_identifier ;)) })) (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }\n        else {\n          iVar17 = 2;\n        }" if (parenthesized_expression "(((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2))" ( (binary_expression "((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)" (parenthesized_expression "((int)(MVar18 >> 0x20) == 0)" ( (binary_expression "(int)(MVar18 >> 0x20) == 0" (cast_expression "(int)(MVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar18 >> 0x20)" ( (binary_expression "MVar18 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar18 < 2)" ( (binary_expression "(uint)MVar18 < 2" (cast_expression "(uint)MVar18" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          iVar17 = (int)MVar18;\n        }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "iVar17 = (int)MVar18;" (assignment_expression "iVar17 = (int)MVar18" identifier = (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n          iVar17 = 2;\n        }" else (compound_statement "{\n          iVar17 = 2;\n        }" { (expression_statement "iVar17 = 2;" (assignment_expression "iVar17 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "puStack_98 = &uStack_b8;" (assignment_expression "puStack_98 = &uStack_b8" identifier = (pointer_expression "&uStack_b8" & identifier)) ;) (expression_statement "pEStack_a4 = local_5c;" (assignment_expression "pEStack_a4 = local_5c" identifier = identifier) ;) (expression_statement "pIStack_9c = (Image *)0x1;" (assignment_expression "pIStack_9c = (Image *)0x1" identifier = (cast_expression "(Image *)0x1" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dStack_b0 = dVar4;" (assignment_expression "dStack_b0 = dVar4" identifier = identifier) ;) (expression_statement "pCStack_a0 = pCVar8;" (assignment_expression "pCStack_a0 = pCVar8" identifier = identifier) ;) (expression_statement "GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0);" (call_expression "GOMP_parallel(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0)" identifier (argument_list "(SolarizeImage__omp_fn_8,&dStack_b0,iVar17,0)" ( identifier , (pointer_expression "&dStack_b0" & identifier) , identifier , number_literal ))) ;) (expression_statement "pIVar5 = pIStack_9c;" (assignment_expression "pIVar5 = pIStack_9c" identifier = identifier) ;) (expression_statement "DestroyCacheView(pCVar8);" (call_expression "DestroyCacheView(pCVar8)" identifier (argument_list "(pCVar8)" ( identifier ))) ;) (labeled_statement "LAB_001bbed7:\n      if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" statement_identifier : (if_statement "if (iVar19 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" if (parenthesized_expression "(iVar19 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar19 != *(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) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        __stack_chk_fail_local();\n      }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return pIVar5;" return identifier ;) })) (expression_statement "memset(__s,0,sVar6 * 4);" (call_expression "memset(__s,0,sVar6 * 4)" identifier (argument_list "(__s,0,sVar6 * 4)" ( identifier , number_literal , (binary_expression "sVar6 * 4" identifier * number_literal) ))) ;) (if_statement "if (0 < (int)sVar6) {\n      puVar15 = __s;\n      do {\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      } while (__s + sVar6 != puVar16);\n    }" if (parenthesized_expression "(0 < (int)sVar6)" ( (binary_expression "0 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      puVar15 = __s;\n      do {\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      } while (__s + sVar6 != puVar16);\n    }" { (expression_statement "puVar15 = __s;" (assignment_expression "puVar15 = __s" identifier = identifier) ;) (do_statement "do {\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      } while (__s + sVar6 != puVar16);" do (compound_statement "{\n        pRVar7 = AcquireRandomInfo();\n        puVar16 = puVar15 + 1;\n        *puVar15 = pRVar7;\n        puVar15 = puVar16;\n      }" { (expression_statement "pRVar7 = AcquireRandomInfo();" (assignment_expression "pRVar7 = AcquireRandomInfo()" identifier = (call_expression "AcquireRandomInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar16 = puVar15 + 1;" (assignment_expression "puVar16 = puVar15 + 1" identifier = (binary_expression "puVar15 + 1" identifier + number_literal)) ;) (expression_statement "*puVar15 = pRVar7;" (assignment_expression "*puVar15 = pRVar7" (pointer_expression "*puVar15" * identifier) = identifier) ;) (expression_statement "puVar15 = puVar16;" (assignment_expression "puVar15 = puVar16" identifier = identifier) ;) }) while (parenthesized_expression "(__s + sVar6 != puVar16)" ( (binary_expression "__s + sVar6 != puVar16" (binary_expression "__s + sVar6" identifier + identifier) != identifier) )) ;) })) (expression_statement "pCVar8 = AcquireAuthenticCacheView(pIVar5,exception);" (assignment_expression "pCVar8 = AcquireAuthenticCacheView(pIVar5,exception)" identifier = (call_expression "AcquireAuthenticCacheView(pIVar5,exception)" identifier (argument_list "(pIVar5,exception)" ( identifier , identifier )))) ;) (expression_statement "uVar9 = GetRandomSecretKey((RandomInfo *)*__s);" (assignment_expression "uVar9 = GetRandomSecretKey((RandomInfo *)*__s)" identifier = (call_expression "GetRandomSecretKey((RandomInfo *)*__s)" identifier (argument_list "((RandomInfo *)*__s)" ( (cast_expression "(RandomInfo *)*__s" ( (type_descriptor "RandomInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*__s" * identifier)) )))) ;) (if_statement "if (uVar9 == 0xffffffff) {\n      CVar12 = GetImagePixelCacheType(pIVar5);\n      if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }\n    }" if (parenthesized_expression "(uVar9 == 0xffffffff)" ( (binary_expression "uVar9 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n      CVar12 = GetImagePixelCacheType(pIVar5);\n      if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }\n    }" { (expression_statement "CVar12 = GetImagePixelCacheType(pIVar5);" (assignment_expression "CVar12 = GetImagePixelCacheType(pIVar5)" identifier = (call_expression "GetImagePixelCacheType(pIVar5)" identifier (argument_list "(pIVar5)" ( identifier )))) ;) (if_statement "if (((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))) {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }\n      else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }" if (parenthesized_expression "(((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))))" ( (binary_expression "((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))\n         && ((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))" (parenthesized_expression "((CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))" ( (binary_expression "(CVar12 == MemoryCache) || (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)" (parenthesized_expression "(CVar12 == MemoryCache)" ( (binary_expression "CVar12 == MemoryCache" identifier == identifier) )) || (parenthesized_expression "(CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)" ( (comma_expression "CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache" (assignment_expression "CVar12 = GetImagePixelCacheType(pIVar5)" identifier = (call_expression "GetImagePixelCacheType(pIVar5)" identifier (argument_list "(pIVar5)" ( identifier )))) , (binary_expression "CVar12 == MapCache" identifier == identifier)) ))) )) && (parenthesized_expression "((CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)))" ( (parenthesized_expression "(CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache))" ( (comma_expression "CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)" (assignment_expression "CVar12 = GetImagePixelCacheType(pIVar5)" identifier = (call_expression "GetImagePixelCacheType(pIVar5)" identifier (argument_list "(pIVar5)" ( identifier )))) , (binary_expression "CVar12 == MemoryCache ||\n             (CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)" (binary_expression "CVar12 == MemoryCache" identifier == identifier) || (parenthesized_expression "(CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache)" ( (comma_expression "CVar12 = GetImagePixelCacheType(pIVar5), CVar12 == MapCache" (assignment_expression "CVar12 = GetImagePixelCacheType(pIVar5)" identifier = (call_expression "GetImagePixelCacheType(pIVar5)" identifier (argument_list "(pIVar5)" ( identifier )))) , (binary_expression "CVar12 == MapCache" identifier == identifier)) )))) )) ))) )) (compound_statement "{\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        sVar6 = pIVar5->rows;\n        sVar14 = sVar6 + 0x3f;\n        if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }\n        bVar2 = 0x7f < (int)sVar6;\n        if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }\n        if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }\n      }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "sVar6 = pIVar5->rows;" (assignment_expression "sVar6 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) (expression_statement "sVar14 = sVar6 + 0x3f;" (assignment_expression "sVar14 = sVar6 + 0x3f" identifier = (binary_expression "sVar6 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < (int)sVar6) {\n          sVar14 = sVar6;\n        }" if (parenthesized_expression "(-1 < (int)sVar6)" ( (binary_expression "-1 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          sVar14 = sVar6;\n        }" { (expression_statement "sVar14 = sVar6;" (assignment_expression "sVar14 = sVar6" identifier = identifier) ;) })) (expression_statement "bVar2 = 0x7f < (int)sVar6;" (assignment_expression "bVar2 = 0x7f < (int)sVar6" identifier = (binary_expression "0x7f < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)MVar18 < (int)sVar14 >> 6) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }" if (parenthesized_expression "((int)MVar18 < (int)sVar14 >> 6)" ( (binary_expression "(int)MVar18 < (int)sVar14 >> 6" (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)sVar14 >> 6" (cast_expression "(int)sVar14" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) (compound_statement "{\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          bVar2 = 1 < (int)MVar18;\n        }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "bVar2 = 1 < (int)MVar18;" (assignment_expression "bVar2 = 1 < (int)MVar18" identifier = (binary_expression "1 < (int)MVar18" number_literal < (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (if_statement "if (bVar2) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          sVar6 = pIVar5->rows;\n          sVar14 = sVar6 + 0x3f;\n          if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }\n          if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }\n        }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (expression_statement "sVar6 = pIVar5->rows;" (assignment_expression "sVar6 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) (expression_statement "sVar14 = sVar6 + 0x3f;" (assignment_expression "sVar14 = sVar6 + 0x3f" identifier = (binary_expression "sVar6 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < (int)sVar6) {\n            sVar14 = sVar6;\n          }" if (parenthesized_expression "(-1 < (int)sVar6)" ( (binary_expression "-1 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            sVar14 = sVar6;\n          }" { (expression_statement "sVar14 = sVar6;" (assignment_expression "sVar14 = sVar6" identifier = identifier) ;) })) (if_statement "if ((int)MVar18 < (int)sVar14 >> 6) {\n            GetMagickResourceLimit(ThreadResource);\n          }" if (parenthesized_expression "((int)MVar18 < (int)sVar14 >> 6)" ( (binary_expression "(int)MVar18 < (int)sVar14 >> 6" (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)sVar14 >> 6" (cast_expression "(int)sVar14" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal)) )) (compound_statement "{\n            GetMagickResourceLimit(ThreadResource);\n          }" { (expression_statement "GetMagickResourceLimit(ThreadResource);" (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier ))) ;) })) })) }) (else_clause "else {\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }" else (compound_statement "{\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }\n        MVar18 = GetMagickResourceLimit(ThreadResource);\n        if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }\n      }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }" if (parenthesized_expression "(((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2))" ( (binary_expression "((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)" (parenthesized_expression "((int)(MVar18 >> 0x20) == 0)" ( (binary_expression "(int)(MVar18 >> 0x20) == 0" (cast_expression "(int)(MVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar18 >> 0x20)" ( (binary_expression "MVar18 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar18 < 2)" ( (binary_expression "(uint)MVar18 < 2" (cast_expression "(uint)MVar18" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          MVar18 = GetMagickResourceLimit(ThreadResource);\n          if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;\n        }" { (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) goto LAB_001bb9e6;" if (parenthesized_expression "(((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2))" ( (binary_expression "((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)" (parenthesized_expression "((int)(MVar18 >> 0x20) == 0)" ( (binary_expression "(int)(MVar18 >> 0x20) == 0" (cast_expression "(int)(MVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar18 >> 0x20)" ( (binary_expression "MVar18 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar18 < 2)" ( (binary_expression "(uint)MVar18 < 2" (cast_expression "(uint)MVar18" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_001bb9e6;" goto statement_identifier ;)) })) (expression_statement "MVar18 = GetMagickResourceLimit(ThreadResource);" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) ;) (if_statement "if (((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)) {\n          GetMagickResourceLimit(ThreadResource);\n        }" if (parenthesized_expression "(((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2))" ( (binary_expression "((int)(MVar18 >> 0x20) == 0) && ((uint)MVar18 < 2)" (parenthesized_expression "((int)(MVar18 >> 0x20) == 0)" ( (binary_expression "(int)(MVar18 >> 0x20) == 0" (cast_expression "(int)(MVar18 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(MVar18 >> 0x20)" ( (binary_expression "MVar18 >> 0x20" identifier >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)MVar18 < 2)" ( (binary_expression "(uint)MVar18 < 2" (cast_expression "(uint)MVar18" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          GetMagickResourceLimit(ThreadResource);\n        }" { (expression_statement "GetMagickResourceLimit(ThreadResource);" (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier ))) ;) })) }))) })) (labeled_statement "LAB_001bb9e6:\n    dodge_image = image;" statement_identifier : (expression_statement "dodge_image = image;" (assignment_expression "dodge_image = image" identifier = identifier) ;)) (expression_statement "local_24 = 1;" (assignment_expression "local_24 = 1" identifier = number_literal) ;) (expression_statement "local_34 = exception;" (assignment_expression "local_34 = exception" identifier = identifier) ;) (expression_statement "local_30 = pCVar8;" (assignment_expression "local_30 = pCVar8" identifier = identifier) ;) (expression_statement "local_2c = pIVar5;" (assignment_expression "local_2c = pIVar5" identifier = identifier) ;) (expression_statement "local_28 = __s;" (assignment_expression "local_28 = __s" identifier = identifier) ;) (expression_statement "GOMP_parallel();" (call_expression "GOMP_parallel()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar19 = local_24;" (assignment_expression "iVar19 = local_24" identifier = identifier) ;) (expression_statement "DestroyCacheView(pCVar8);" (call_expression "DestroyCacheView(pCVar8)" identifier (argument_list "(pCVar8)" ( identifier ))) ;) (for_statement "for (iVar17 = 0; MVar18 = GetMagickResourceLimit(ThreadResource), iVar17 < (int)MVar18;\n        iVar17 = iVar17 + 1) {\n      if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }\n    }" for ( (assignment_expression "iVar17 = 0" identifier = number_literal) ; (comma_expression "MVar18 = GetMagickResourceLimit(ThreadResource), iVar17 < (int)MVar18" (assignment_expression "MVar18 = GetMagickResourceLimit(ThreadResource)" identifier = (call_expression "GetMagickResourceLimit(ThreadResource)" identifier (argument_list "(ThreadResource)" ( identifier )))) , (binary_expression "iVar17 < (int)MVar18" identifier < (cast_expression "(int)MVar18" ( (type_descriptor "int" primitive_type) ) identifier))) ; (assignment_expression "iVar17 = iVar17 + 1" identifier = (binary_expression "iVar17 + 1" identifier + number_literal)) ) (compound_statement "{\n      if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }\n    }" { (if_statement "if ((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0) {\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }" if (parenthesized_expression "((RandomInfo *)__s[iVar17] != (RandomInfo *)0x0)" ( (binary_expression "(RandomInfo *)__s[iVar17] != (RandomInfo *)0x0" (cast_expression "(RandomInfo *)__s[iVar17]" ( (type_descriptor "RandomInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "__s[iVar17]" identifier [ identifier ])) != (cast_expression "(RandomInfo *)0x0" ( (type_descriptor "RandomInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);\n        __s[iVar17] = pRVar7;\n      }" { (expression_statement "pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17]);" (assignment_expression "pRVar7 = DestroyRandomInfo((RandomInfo *)__s[iVar17])" identifier = (call_expression "DestroyRandomInfo((RandomInfo *)__s[iVar17])" identifier (argument_list "((RandomInfo *)__s[iVar17])" ( (cast_expression "(RandomInfo *)__s[iVar17]" ( (type_descriptor "RandomInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "__s[iVar17]" identifier [ identifier ])) )))) ;) (expression_statement "__s[iVar17] = pRVar7;" (assignment_expression "__s[iVar17] = pRVar7" (subscript_expression "__s[iVar17]" identifier [ identifier ]) = identifier) ;) })) })) (expression_statement "RelinquishMagickMemory(__s);" (call_expression "RelinquishMagickMemory(__s)" identifier (argument_list "(__s)" ( identifier ))) ;) (if_statement "if (iVar19 == 0) {\n      pIVar5 = DestroyImage(pIVar5);\n      goto LAB_001bbbd1;\n    }" if (parenthesized_expression "(iVar19 == 0)" ( (binary_expression "iVar19 == 0" identifier == number_literal) )) (compound_statement "{\n      pIVar5 = DestroyImage(pIVar5);\n      goto LAB_001bbbd1;\n    }" { (expression_statement "pIVar5 = DestroyImage(pIVar5);" (assignment_expression "pIVar5 = DestroyImage(pIVar5)" identifier = (call_expression "DestroyImage(pIVar5)" identifier (argument_list "(pIVar5)" ( identifier )))) ;) (goto_statement "goto LAB_001bbbd1;" goto statement_identifier ;) })) (expression_statement "uStack_90 = 0x1bbaa8;" (assignment_expression "uStack_90 = 0x1bbaa8" identifier = number_literal) ;) (expression_statement "pIVar10 = MotionBlurImage(pIVar5,radius,sigma,angle,exception);" (assignment_expression "pIVar10 = MotionBlurImage(pIVar5,radius,sigma,angle,exception)" identifier = (call_expression "MotionBlurImage(pIVar5,radius,sigma,angle,exception)" identifier (argument_list "(pIVar5,radius,sigma,angle,exception)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "DestroyImage(pIVar5);" (call_expression "DestroyImage(pIVar5)" identifier (argument_list "(pIVar5)" ( identifier ))) ;) (if_statement "if (pIVar10 != (Image *)0x0) {\n      dodge_image = EdgeImage(pIVar10,radius,exception);\n      DestroyImage(pIVar10);\n      if (dodge_image != (Image *)0x0) {\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }\n    }" if (parenthesized_expression "(pIVar10 != (Image *)0x0)" ( (binary_expression "pIVar10 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      dodge_image = EdgeImage(pIVar10,radius,exception);\n      DestroyImage(pIVar10);\n      if (dodge_image != (Image *)0x0) {\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }\n    }" { (expression_statement "dodge_image = EdgeImage(pIVar10,radius,exception);" (assignment_expression "dodge_image = EdgeImage(pIVar10,radius,exception)" identifier = (call_expression "EdgeImage(pIVar10,radius,exception)" identifier (argument_list "(pIVar10,radius,exception)" ( identifier , identifier , identifier )))) ;) (expression_statement "DestroyImage(pIVar10);" (call_expression "DestroyImage(pIVar10)" identifier (argument_list "(pIVar10)" ( identifier ))) ;) (if_statement "if (dodge_image != (Image *)0x0) {\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }" if (parenthesized_expression "(dodge_image != (Image *)0x0)" ( (binary_expression "dodge_image != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        MVar11 = ClampImage(dodge_image,exception);\n        if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }\n        uStack_90 = 0x1bbb13;\n        pIVar5 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }\n        uStack_90 = 0x1bbb3a;\n        CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);\n        dodge_image = DestroyImage(dodge_image);\n        uStack_90 = 0x1bbb59;\n        pIVar10 = CloneImage(image,0,0,MagickTrue,exception);\n        if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }\n        DestroyImage(pIVar5);\n      }" { (expression_statement "MVar11 = ClampImage(dodge_image,exception);" (assignment_expression "MVar11 = ClampImage(dodge_image,exception)" identifier = (call_expression "ClampImage(dodge_image,exception)" identifier (argument_list "(dodge_image,exception)" ( identifier , identifier )))) ;) (if_statement "if (((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)) {\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }" if (parenthesized_expression "(((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse))" ( (binary_expression "((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)) &&\n           (MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)" (parenthesized_expression "((MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse))" ( (binary_expression "(MVar11 != MagickFalse) &&\n            (MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)" (parenthesized_expression "(MVar11 != MagickFalse)" ( (binary_expression "MVar11 != MagickFalse" identifier != identifier) )) && (parenthesized_expression "(MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse)" ( (comma_expression "MVar11 = NormalizeImage(dodge_image,exception), MVar11 != MagickFalse" (assignment_expression "MVar11 = NormalizeImage(dodge_image,exception)" identifier = (call_expression "NormalizeImage(dodge_image,exception)" identifier (argument_list "(dodge_image,exception)" ( identifier , identifier )))) , (binary_expression "MVar11 != MagickFalse" identifier != identifier)) ))) )) && (parenthesized_expression "(MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse)" ( (comma_expression "MVar11 = NegateImage(dodge_image,MagickFalse,exception), MVar11 != MagickFalse" (assignment_expression "MVar11 = NegateImage(dodge_image,MagickFalse,exception)" identifier = (call_expression "NegateImage(dodge_image,MagickFalse,exception)" identifier (argument_list "(dodge_image,MagickFalse,exception)" ( identifier , identifier , identifier )))) , (binary_expression "MVar11 != MagickFalse" identifier != identifier)) ))) )) (compound_statement "{\n          TransformImage(&dodge_image,(char *)0x0,"50%",exception);\n        }" { (expression_statement "TransformImage(&dodge_image,(char *)0x0,"50%",exception);" (call_expression "TransformImage(&dodge_image,(char *)0x0,"50%",exception)" identifier (argument_list "(&dodge_image,(char *)0x0,"50%",exception)" ( (pointer_expression "&dodge_image" & identifier) , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (string_literal ""50%"" " string_content ") , identifier ))) ;) })) (expression_statement "uStack_90 = 0x1bbb13;" (assignment_expression "uStack_90 = 0x1bbb13" identifier = number_literal) ;) (expression_statement "pIVar5 = CloneImage(image,0,0,MagickTrue,exception);" (assignment_expression "pIVar5 = CloneImage(image,0,0,MagickTrue,exception)" identifier = (call_expression "CloneImage(image,0,0,MagickTrue,exception)" identifier (argument_list "(image,0,0,MagickTrue,exception)" ( identifier , number_literal , number_literal , identifier , identifier )))) ;) (if_statement "if (pIVar5 == (Image *)0x0) {\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }" if (parenthesized_expression "(pIVar5 == (Image *)0x0)" ( (binary_expression "pIVar5 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          DestroyImage(dodge_image);\n          goto LAB_001bbbd1;\n        }" { (expression_statement "DestroyImage(dodge_image);" (call_expression "DestroyImage(dodge_image)" identifier (argument_list "(dodge_image)" ( identifier ))) ;) (goto_statement "goto LAB_001bbbd1;" goto statement_identifier ;) })) (expression_statement "uStack_90 = 0x1bbb3a;" (assignment_expression "uStack_90 = 0x1bbb3a" identifier = number_literal) ;) (expression_statement "CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception);" (call_expression "CompositeImage(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception)" identifier (argument_list "(pIVar5,dodge_image,ColorDodgeCompositeOp,MagickTrue,0,0,exception)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , identifier ))) ;) (expression_statement "dodge_image = DestroyImage(dodge_image);" (assignment_expression "dodge_image = DestroyImage(dodge_image)" identifier = (call_expression "DestroyImage(dodge_image)" identifier (argument_list "(dodge_image)" ( identifier )))) ;) (expression_statement "uStack_90 = 0x1bbb59;" (assignment_expression "uStack_90 = 0x1bbb59" identifier = number_literal) ;) (expression_statement "pIVar10 = CloneImage(image,0,0,MagickTrue,exception);" (assignment_expression "pIVar10 = CloneImage(image,0,0,MagickTrue,exception)" identifier = (call_expression "CloneImage(image,0,0,MagickTrue,exception)" identifier (argument_list "(image,0,0,MagickTrue,exception)" ( identifier , number_literal , number_literal , identifier , identifier )))) ;) (if_statement "if (pIVar10 != (Image *)0x0) {\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }" if (parenthesized_expression "(pIVar10 != (Image *)0x0)" ( (binary_expression "pIVar10 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }\n          SetImageArtifact(pIVar10,"compose:args","20x80");\n          uStack_90 = 0x1bbbad;\n          CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);\n          DestroyImage(pIVar10);\n          goto LAB_001bbbd1;\n        }" { (if_statement "if (pIVar10->alpha_trait != BlendPixelTrait) {\n            SetImageAlpha(pIVar10,0.0,exception);\n          }" if (parenthesized_expression "(pIVar10->alpha_trait != BlendPixelTrait)" ( (binary_expression "pIVar10->alpha_trait != BlendPixelTrait" (field_expression "pIVar10->alpha_trait" identifier -> field_identifier) != identifier) )) (compound_statement "{\n            SetImageAlpha(pIVar10,0.0,exception);\n          }" { (expression_statement "SetImageAlpha(pIVar10,0.0,exception);" (call_expression "SetImageAlpha(pIVar10,0.0,exception)" identifier (argument_list "(pIVar10,0.0,exception)" ( identifier , number_literal , identifier ))) ;) })) (expression_statement "SetImageArtifact(pIVar10,"compose:args","20x80");" (call_expression "SetImageArtifact(pIVar10,"compose:args","20x80")" identifier (argument_list "(pIVar10,"compose:args","20x80")" ( identifier , (string_literal ""compose:args"" " string_content ") , (string_literal ""20x80"" " string_content ") ))) ;) (expression_statement "uStack_90 = 0x1bbbad;" (assignment_expression "uStack_90 = 0x1bbbad" identifier = number_literal) ;) (expression_statement "CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception);" (call_expression "CompositeImage(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception)" identifier (argument_list "(pIVar5,pIVar10,BlendCompositeOp,MagickTrue,0,0,exception)" ( identifier , identifier , identifier , identifier , number_literal , number_literal , identifier ))) ;) (expression_statement "DestroyImage(pIVar10);" (call_expression "DestroyImage(pIVar10)" identifier (argument_list "(pIVar10)" ( identifier ))) ;) (goto_statement "goto LAB_001bbbd1;" goto statement_identifier ;) })) (expression_statement "DestroyImage(pIVar5);" (call_expression "DestroyImage(pIVar5)" identifier (argument_list "(pIVar5)" ( identifier ))) ;) })) })) })) (expression_statement "pIVar5 = (Image *)0x0;" (assignment_expression "pIVar5 = (Image *)0x0" identifier = (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_001bbbd1:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_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) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return pIVar5;" return identifier ;) })))
(translation_unit "int SketchImage(int param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  bool bVar1;\n  double dVar2;\n  double dVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__s;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  undefined4 in_stack_00000020;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  int iStack_a4;\n  undefined4 uStack_a0;\n  int iStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  undefined4 uStack_80;\n  int *piStack_68;\n  int local_5c;\n  int iStack_58;\n  \n  iVar10 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_80 = 1;\n  iStack_84 = *(int *)(param_1 + 0x1c) * 2;\n  iStack_88 = *(int *)(param_1 + 0x18) * 2;\n  iStack_8c = param_1;\n  uStack_90 = 0x1bb944;\n  iVar4 = CloneImage();\n  if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }\n  iVar5 = 0;\nLAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0029eab0();\n}\n\n" (function_definition "int SketchImage(int param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  bool bVar1;\n  double dVar2;\n  double dVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__s;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  undefined4 in_stack_00000020;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  int iStack_a4;\n  undefined4 uStack_a0;\n  int iStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  undefined4 uStack_80;\n  int *piStack_68;\n  int local_5c;\n  int iStack_58;\n  \n  iVar10 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_80 = 1;\n  iStack_84 = *(int *)(param_1 + 0x1c) * 2;\n  iStack_88 = *(int *)(param_1 + 0x18) * 2;\n  iStack_8c = param_1;\n  uStack_90 = 0x1bb944;\n  iVar4 = CloneImage();\n  if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }\n  iVar5 = 0;\nLAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0029eab0();\n}" primitive_type (function_declarator "SketchImage(int param_1,undefined8 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined8 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  bool bVar1;\n  double dVar2;\n  double dVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__s;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  undefined4 in_stack_00000020;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  int iStack_a4;\n  undefined4 uStack_a0;\n  int iStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  undefined4 uStack_80;\n  int *piStack_68;\n  int local_5c;\n  int iStack_58;\n  \n  iVar10 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_80 = 1;\n  iStack_84 = *(int *)(param_1 + 0x1c) * 2;\n  iStack_88 = *(int *)(param_1 + 0x18) * 2;\n  iStack_8c = param_1;\n  uStack_90 = 0x1bb944;\n  iVar4 = CloneImage();\n  if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }\n  iVar5 = 0;\nLAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0029eab0();\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "double *pdVar9;" primitive_type (pointer_declarator "*pdVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined8 uVar13;" type_identifier identifier ;) (declaration "undefined4 in_stack_00000020;" type_identifier identifier ;) (declaration "undefined4 uStack_b8;" type_identifier identifier ;) (declaration "undefined4 uStack_b4;" type_identifier identifier ;) (declaration "double dStack_b0;" primitive_type identifier ;) (declaration "int iStack_a4;" primitive_type identifier ;) (declaration "undefined4 uStack_a0;" type_identifier identifier ;) (declaration "int iStack_9c;" primitive_type identifier ;) (declaration "undefined4 *puStack_98;" type_identifier (pointer_declarator "*puStack_98" * identifier) ;) (declaration "undefined4 uStack_90;" type_identifier identifier ;) (declaration "int iStack_8c;" primitive_type identifier ;) (declaration "int iStack_88;" primitive_type identifier ;) (declaration "int iStack_84;" primitive_type identifier ;) (declaration "undefined4 uStack_80;" type_identifier identifier ;) (declaration "int *piStack_68;" primitive_type (pointer_declarator "*piStack_68" * identifier) ;) (declaration "int local_5c;" primitive_type identifier ;) (declaration "int iStack_58;" primitive_type identifier ;) (expression_statement "iVar10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar10 = *(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 "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = *(int *)(param_1 + 0x1c) * 2;" (assignment_expression "iStack_84 = *(int *)(param_1 + 0x1c) * 2" identifier = (binary_expression "*(int *)(param_1 + 0x1c) * 2" (pointer_expression "*(int *)(param_1 + 0x1c)" * (cast_expression "(int *)(param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) * number_literal)) ;) (expression_statement "iStack_88 = *(int *)(param_1 + 0x18) * 2;" (assignment_expression "iStack_88 = *(int *)(param_1 + 0x18) * 2" identifier = (binary_expression "*(int *)(param_1 + 0x18) * 2" (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) * number_literal)) ;) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" identifier = identifier) ;) (expression_statement "uStack_90 = 0x1bb944;" (assignment_expression "uStack_90 = 0x1bb944" identifier = number_literal) ;) (expression_statement "iVar4 = CloneImage();" (assignment_expression "iVar4 = CloneImage()" identifier = (call_expression "CloneImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }" { (expression_statement "uStack_80 = 0x1bb95d;" (assignment_expression "uStack_80 = 0x1bb95d" identifier = number_literal) ;) (expression_statement "iVar5 = GetMagickResourceLimit();" (assignment_expression "iVar5 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (expression_statement "uStack_80 = 0x1bb969;" (assignment_expression "uStack_80 = 0x1bb969" identifier = number_literal) ;) (expression_statement "__s = (undefined4 *)AcquireQuantumMemory();" (assignment_expression "__s = (undefined4 *)AcquireQuantumMemory()" identifier = (cast_expression "(undefined4 *)AcquireQuantumMemory()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory()" identifier (argument_list "()" ( ))))) ;) (expression_statement "local_5c = (int)param_2;" (assignment_expression "local_5c = (int)param_2" identifier = (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }" if (parenthesized_expression "(__s == (undefined4 *)0x0)" ( (binary_expression "__s == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }" { (expression_statement "FUN_00033de7();" (call_expression "FUN_00033de7()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 0x1bbde9;" (assignment_expression "uStack_80 = 0x1bbde9" identifier = number_literal) ;) (expression_statement "iStack_8c = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iStack_8c = *(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 "dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);" (assignment_expression "dVar3 = (double)CONCAT44(iVar4,in_stack_00000020)" identifier = (cast_expression "(double)CONCAT44(iVar4,in_stack_00000020)" ( (type_descriptor "double" primitive_type) ) (call_expression "CONCAT44(iVar4,in_stack_00000020)" identifier (argument_list "(iVar4,in_stack_00000020)" ( identifier , identifier ))))) ;) (if_statement "if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }" if (parenthesized_expression "(piStack_68 == (int *)0x0)" ( (binary_expression "piStack_68 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")" identifier (argument_list "("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , number_literal , (string_literal ""SolarizeImage"" " string_content ") ))) ;) })) (if_statement "if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }" if (parenthesized_expression "(piStack_68[0xcd1] != -0x54535255)" ( (binary_expression "piStack_68[0xcd1] != -0x54535255" (subscript_expression "piStack_68[0xcd1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }" { (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , number_literal , (string_literal ""SolarizeImage"" " string_content ") ))) ;) })) (if_statement "if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }" if (parenthesized_expression "(piStack_68[0xcca] != 0)" ( (binary_expression "piStack_68[0xcca] != 0" (subscript_expression "piStack_68[0xcca]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);" (call_expression "LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6)" identifier (argument_list "(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6)" ( number_literal , (string_literal ""MagickCore/visual-effects.c"" " string_content ") , (string_literal ""SolarizeImage"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "piStack_68 + 0xc6" identifier + number_literal) ))) ;) })) (if_statement "if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }" if (parenthesized_expression "((piStack_68[1] == 0x21) || (piStack_68[1] == 3))" ( (binary_expression "(piStack_68[1] == 0x21) || (piStack_68[1] == 3)" (parenthesized_expression "(piStack_68[1] == 0x21)" ( (binary_expression "piStack_68[1] == 0x21" (subscript_expression "piStack_68[1]" identifier [ number_literal ]) == number_literal) )) || (parenthesized_expression "(piStack_68[1] == 3)" ( (binary_expression "piStack_68[1] == 3" (subscript_expression "piStack_68[1]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }" { (expression_statement "SetImageColorspace(piStack_68,0x17,local_5c);" (call_expression "SetImageColorspace(piStack_68,0x17,local_5c)" identifier (argument_list "(piStack_68,0x17,local_5c)" ( identifier , number_literal , identifier ))) ;) })) (if_statement "if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }" if (parenthesized_expression "(*piStack_68 == 2)" ( (binary_expression "*piStack_68 == 2" (pointer_expression "*piStack_68" * identifier) == number_literal) )) (compound_statement "{\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }" { (expression_statement "iVar10 = piStack_68[9];" (assignment_expression "iVar10 = piStack_68[9]" identifier = (subscript_expression "piStack_68[9]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }" { (expression_statement "iVar4 = piStack_68[10];" (assignment_expression "iVar4 = piStack_68[10]" identifier = (subscript_expression "piStack_68[10]" identifier [ number_literal ])) ;) (expression_statement "dVar2 = (double)DAT_0029f710;" (assignment_expression "dVar2 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "pdVar9 = (double *)(iVar4 + 0x20);" (assignment_expression "pdVar9 = (double *)(iVar4 + 0x20)" identifier = (cast_expression "(double *)(iVar4 + 0x20)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20)" ( (binary_expression "iVar4 + 0x20" identifier + number_literal) )))) ;) (do_statement "do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);" do (compound_statement "{\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          }" { (if_statement "if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }" if (parenthesized_expression "(dVar3 < *pdVar9)" ( (binary_expression "dVar3 < *pdVar9" identifier < (pointer_expression "*pdVar9" * identifier)) )) (compound_statement "{\n              *pdVar9 = dVar2 - *pdVar9;\n            }" { (expression_statement "*pdVar9 = dVar2 - *pdVar9;" (assignment_expression "*pdVar9 = dVar2 - *pdVar9" (pointer_expression "*pdVar9" * identifier) = (binary_expression "dVar2 - *pdVar9" identifier - (pointer_expression "*pdVar9" * identifier))) ;) })) (if_statement "if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }" if (parenthesized_expression "(dVar3 < pdVar9[1])" ( (binary_expression "dVar3 < pdVar9[1]" identifier < (subscript_expression "pdVar9[1]" identifier [ number_literal ])) )) (compound_statement "{\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }" { (expression_statement "pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];" (assignment_expression "pdVar9[1] = (double)DAT_0029f710 - pdVar9[1]" (subscript_expression "pdVar9[1]" identifier [ number_literal ]) = (binary_expression "(double)DAT_0029f710 - pdVar9[1]" (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier) - (subscript_expression "pdVar9[1]" identifier [ number_literal ]))) ;) })) (if_statement "if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }" if (parenthesized_expression "(dVar3 < pdVar9[2])" ( (binary_expression "dVar3 < pdVar9[2]" identifier < (subscript_expression "pdVar9[2]" identifier [ number_literal ])) )) (compound_statement "{\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }" { (expression_statement "pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];" (assignment_expression "pdVar9[2] = (double)DAT_0029f710 - pdVar9[2]" (subscript_expression "pdVar9[2]" identifier [ number_literal ]) = (binary_expression "(double)DAT_0029f710 - pdVar9[2]" (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier) - (subscript_expression "pdVar9[2]" identifier [ number_literal ]))) ;) })) (expression_statement "pdVar9 = pdVar9 + 10;" (assignment_expression "pdVar9 = pdVar9 + 10" identifier = (binary_expression "pdVar9 + 10" identifier + number_literal)) ;) }) while (parenthesized_expression "((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9)" ( (binary_expression "(double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9" (cast_expression "(double *)(iVar4 + 0x20 + iVar10 * 0x50)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x20 + iVar10 * 0x50)" ( (binary_expression "iVar4 + 0x20 + iVar10 * 0x50" (binary_expression "iVar4 + 0x20" identifier + number_literal) + (binary_expression "iVar10 * 0x50" identifier * number_literal)) ))) != identifier) )) ;) })) (expression_statement "iVar10 = SyncImage(piStack_68,local_5c);" (assignment_expression "iVar10 = SyncImage(piStack_68,local_5c)" identifier = (call_expression "SyncImage(piStack_68,local_5c)" identifier (argument_list "(piStack_68,local_5c)" ( identifier , identifier )))) ;) (goto_statement "goto LAB_001bbed7;" goto statement_identifier ;) })) (expression_statement "uStack_b8 = 0;" (assignment_expression "uStack_b8 = 0" identifier = number_literal) ;) (expression_statement "uStack_b4 = 0;" (assignment_expression "uStack_b4 = 0" identifier = number_literal) ;) (expression_statement "uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);" (assignment_expression "uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c)" identifier = (call_expression "AcquireAuthenticCacheView(piStack_68,local_5c)" identifier (argument_list "(piStack_68,local_5c)" ( identifier , identifier )))) ;) (expression_statement "iVar10 = GetImagePixelCacheType(piStack_68);" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" identifier = (call_expression "GetImagePixelCacheType(piStack_68)" identifier (argument_list "(piStack_68)" ( identifier )))) ;) (if_statement "if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" if (parenthesized_expression "(((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))))" ( (binary_expression "((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))" (parenthesized_expression "((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))" ( (binary_expression "(iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (parenthesized_expression "(iVar10 == 4)" ( (binary_expression "iVar10 == 4" identifier == number_literal) )) || (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" ( (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" identifier = (call_expression "GetImagePixelCacheType(piStack_68)" identifier (argument_list "(piStack_68)" ( identifier )))) , (binary_expression "iVar10 == 3" identifier == number_literal)) ))) )) && (parenthesized_expression "((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))" ( (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))" ( (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" identifier = (call_expression "GetImagePixelCacheType(piStack_68)" identifier (argument_list "(piStack_68)" ( identifier )))) , (binary_expression "iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (binary_expression "iVar10 == 4" identifier == number_literal) || (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" ( (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" identifier = (call_expression "GetImagePixelCacheType(piStack_68)" identifier (argument_list "(piStack_68)" ( identifier )))) , (binary_expression "iVar10 == 3" identifier == number_literal)) )))) )) ))) )) (compound_statement "{\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }" { (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "iVar10 = piStack_68[7];" (assignment_expression "iVar10 = piStack_68[7]" identifier = (subscript_expression "piStack_68[7]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = iVar10 + 0x3f;" (assignment_expression "iVar4 = iVar10 + 0x3f" identifier = (binary_expression "iVar10 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }" if (parenthesized_expression "(-1 < iVar10)" ( (binary_expression "-1 < iVar10" number_literal < identifier) )) (compound_statement "{\n          iVar4 = iVar10;\n        }" { (expression_statement "iVar4 = iVar10;" (assignment_expression "iVar4 = iVar10" identifier = identifier) ;) })) (expression_statement "bVar1 = 0x7f < iVar10;" (assignment_expression "bVar1 = 0x7f < iVar10" identifier = (binary_expression "0x7f < iVar10" number_literal < identifier)) ;) (if_statement "if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }" if (parenthesized_expression "(iVar5 < iVar4 >> 6)" ( (binary_expression "iVar5 < iVar4 >> 6" identifier < (binary_expression "iVar4 >> 6" identifier >> number_literal)) )) (compound_statement "{\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }" { (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "bVar1 = 1 < iVar10;" (assignment_expression "bVar1 = 1 < iVar10" identifier = (binary_expression "1 < iVar10" number_literal < identifier)) ;) })) (if_statement "if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }" { (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (expression_statement "iVar4 = piStack_68[7];" (assignment_expression "iVar4 = piStack_68[7]" identifier = (subscript_expression "piStack_68[7]" identifier [ number_literal ])) ;) (expression_statement "iVar10 = iVar4 + 0x3f;" (assignment_expression "iVar10 = iVar4 + 0x3f" identifier = (binary_expression "iVar4 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }" if (parenthesized_expression "(-1 < iVar4)" ( (binary_expression "-1 < iVar4" number_literal < identifier) )) (compound_statement "{\n            iVar10 = iVar4;\n          }" { (expression_statement "iVar10 = iVar4;" (assignment_expression "iVar10 = iVar4" identifier = identifier) ;) })) (expression_statement "iVar10 = iVar10 >> 6;" (assignment_expression "iVar10 = iVar10 >> 6" identifier = (binary_expression "iVar10 >> 6" identifier >> number_literal)) ;) (if_statement "if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }" if (parenthesized_expression "(iVar5 < iVar10)" ( (binary_expression "iVar5 < iVar10" identifier < identifier) )) (compound_statement "{\n            iVar10 = GetMagickResourceLimit(7);\n          }" { (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) })) }) (else_clause "else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" else (compound_statement "{\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" { (labeled_statement "LAB_001bc0c7:\n          iVar10 = 1;" statement_identifier : (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" identifier = number_literal) ;)) }))) }) (else_clause "else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" else (compound_statement "{\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" { (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }" { (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_001bc0c7;" goto statement_identifier ;)) })) (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          iVar10 = GetMagickResourceLimit(7);\n        }" { (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" identifier = (call_expression "GetMagickResourceLimit(7)" identifier (argument_list "(7)" ( number_literal )))) ;) }) (else_clause "else {\n          iVar10 = 2;\n        }" else (compound_statement "{\n          iVar10 = 2;\n        }" { (expression_statement "iVar10 = 2;" (assignment_expression "iVar10 = 2" identifier = number_literal) ;) }))) }))) (expression_statement "puStack_98 = &uStack_b8;" (assignment_expression "puStack_98 = &uStack_b8" identifier = (pointer_expression "&uStack_b8" & identifier)) ;) (expression_statement "iStack_a4 = local_5c;" (assignment_expression "iStack_a4 = local_5c" identifier = identifier) ;) (expression_statement "iStack_9c = 1;" (assignment_expression "iStack_9c = 1" identifier = number_literal) ;) (expression_statement "dStack_b0 = dVar3;" (assignment_expression "dStack_b0 = dVar3" identifier = identifier) ;) (expression_statement "uStack_a0 = uVar6;" (assignment_expression "uStack_a0 = uVar6" identifier = identifier) ;) (expression_statement "GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);" (call_expression "GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0)" identifier (argument_list "(FUN_001b7640,&dStack_b0,iVar10,0)" ( identifier , (pointer_expression "&dStack_b0" & identifier) , identifier , number_literal ))) ;) (expression_statement "iVar10 = iStack_9c;" (assignment_expression "iVar10 = iStack_9c" identifier = identifier) ;) (expression_statement "DestroyCacheView(uVar6);" (call_expression "DestroyCacheView(uVar6)" identifier (argument_list "(uVar6)" ( identifier ))) ;) (labeled_statement "LAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }" statement_identifier : (if_statement "if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }" if (parenthesized_expression "(iStack_8c == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iStack_8c == *(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) ))))) )) (compound_statement "{\n        return iVar10;\n      }" { (return_statement "return iVar10;" return identifier ;) }))) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uStack_80 = 0x1bb98d;" (assignment_expression "uStack_80 = 0x1bb98d" identifier = number_literal) ;) (expression_statement "memset(__s,0,iVar5 * 4);" (call_expression "memset(__s,0,iVar5 * 4)" identifier (argument_list "(__s,0,iVar5 * 4)" ( identifier , number_literal , (binary_expression "iVar5 * 4" identifier * number_literal) ))) ;) (if_statement "if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }" { (expression_statement "puVar11 = __s;" (assignment_expression "puVar11 = __s" identifier = identifier) ;) (do_statement "do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);" do (compound_statement "{\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      }" { (expression_statement "uVar6 = AcquireRandomInfo();" (assignment_expression "uVar6 = AcquireRandomInfo()" identifier = (call_expression "AcquireRandomInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar12 = puVar11 + 1;" (assignment_expression "puVar12 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = uVar6;" (assignment_expression "*puVar11 = uVar6" (pointer_expression "*puVar11" * identifier) = identifier) ;) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" identifier = identifier) ;) }) while (parenthesized_expression "(__s + iVar5 != puVar12)" ( (binary_expression "__s + iVar5 != puVar12" (binary_expression "__s + iVar5" identifier + identifier) != identifier) )) ;) })) (expression_statement "uStack_80 = 0x1bb9cb;" (assignment_expression "uStack_80 = 0x1bb9cb" identifier = number_literal) ;) (expression_statement "AcquireAuthenticCacheView();" (call_expression "AcquireAuthenticCacheView()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 0x1bb9d5;" (assignment_expression "uStack_80 = 0x1bb9d5" identifier = number_literal) ;) (expression_statement "iVar5 = GetRandomSecretKey();" (assignment_expression "iVar5 = GetRandomSecretKey()" identifier = (call_expression "GetRandomSecretKey()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (compound_statement "{\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }" { (expression_statement "uStack_80 = 0x1bbbfc;" (assignment_expression "uStack_80 = 0x1bbbfc" identifier = number_literal) ;) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" identifier = (call_expression "GetImagePixelCacheType()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" if (parenthesized_expression "(iVar5 == 4)" ( (binary_expression "iVar5 == 4" identifier == number_literal) )) (compound_statement "{\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }" { (labeled_statement "LAB_001bbce8:\n        uStack_80 = 0x1bbcf4;" statement_identifier : (expression_statement "uStack_80 = 0x1bbcf4;" (assignment_expression "uStack_80 = 0x1bbcf4" identifier = number_literal) ;)) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" identifier = (call_expression "GetImagePixelCacheType()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }" if (parenthesized_expression "(iVar5 != 4)" ( (binary_expression "iVar5 != 4" identifier != number_literal) )) (compound_statement "{\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }" { (expression_statement "uStack_80 = 0x1bbd08;" (assignment_expression "uStack_80 = 0x1bbd08" identifier = number_literal) ;) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" identifier = (call_expression "GetImagePixelCacheType()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 3) goto LAB_001bbc20;" if (parenthesized_expression "(iVar5 != 3)" ( (binary_expression "iVar5 != 3" identifier != number_literal) )) (goto_statement "goto LAB_001bbc20;" goto statement_identifier ;)) })) (expression_statement "uStack_80 = 0x1bbd1e;" (assignment_expression "uStack_80 = 0x1bbd1e" identifier = number_literal) ;) (expression_statement "iVar8 = GetMagickResourceLimit();" (assignment_expression "iVar8 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0x1c);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = iVar5 + 0x3f;" (assignment_expression "iVar7 = iVar5 + 0x3f" identifier = (binary_expression "iVar5 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (compound_statement "{\n          iVar7 = iVar5;\n        }" { (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) })) (expression_statement "bVar1 = 0x7f < iVar5;" (assignment_expression "bVar1 = 0x7f < iVar5" identifier = (binary_expression "0x7f < iVar5" number_literal < identifier)) ;) (if_statement "if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }" if (parenthesized_expression "(iVar8 < iVar7 >> 6)" ( (binary_expression "iVar8 < iVar7 >> 6" identifier < (binary_expression "iVar7 >> 6" identifier >> number_literal)) )) (compound_statement "{\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }" { (expression_statement "uStack_80 = 0x1bbd9d;" (assignment_expression "uStack_80 = 0x1bbd9d" identifier = number_literal) ;) (expression_statement "iVar5 = GetMagickResourceLimit();" (assignment_expression "iVar5 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar1 = 1 < iVar5;" (assignment_expression "bVar1 = 1 < iVar5" identifier = (binary_expression "1 < iVar5" number_literal < identifier)) ;) })) (if_statement "if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }" if (parenthesized_expression "(bVar1)" ( identifier )) (compound_statement "{\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }" { (expression_statement "uStack_80 = 0x1bbd4f;" (assignment_expression "uStack_80 = 0x1bbd4f" identifier = number_literal) ;) (expression_statement "iVar8 = GetMagickResourceLimit();" (assignment_expression "iVar8 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = *(int *)(iVar4 + 0x1c);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x1c)" identifier = (pointer_expression "*(int *)(iVar4 + 0x1c)" * (cast_expression "(int *)(iVar4 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x1c)" ( (binary_expression "iVar4 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = iVar5 + 0x3f;" (assignment_expression "iVar7 = iVar5 + 0x3f" identifier = (binary_expression "iVar5 + 0x3f" identifier + number_literal)) ;) (if_statement "if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }" if (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) (compound_statement "{\n            iVar7 = iVar5;\n          }" { (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" identifier = identifier) ;) })) (if_statement "if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }" if (parenthesized_expression "(iVar8 < iVar7 >> 6)" ( (binary_expression "iVar8 < iVar7 >> 6" identifier < (binary_expression "iVar7 >> 6" identifier >> number_literal)) )) (compound_statement "{\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }" { (expression_statement "uStack_80 = 0x1bbdb2;" (assignment_expression "uStack_80 = 0x1bbdb2" identifier = number_literal) ;) (expression_statement "GetMagickResourceLimit();" (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( ))) ;) })) })) }) (else_clause "else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" else (compound_statement "{\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" { (expression_statement "uStack_80 = 0x1bbc14;" (assignment_expression "uStack_80 = 0x1bbc14" identifier = number_literal) ;) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" identifier = (call_expression "GetImagePixelCacheType()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 3) goto LAB_001bbce8;" if (parenthesized_expression "(iVar5 == 3)" ( (binary_expression "iVar5 == 3" identifier == number_literal) )) (goto_statement "goto LAB_001bbce8;" goto statement_identifier ;)) (labeled_statement "LAB_001bbc20:\n        uStack_80 = 0x1bbc2a;" statement_identifier : (expression_statement "uStack_80 = 0x1bbc2a;" (assignment_expression "uStack_80 = 0x1bbc2a" identifier = number_literal) ;)) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }" { (expression_statement "uStack_80 = 0x1bbd79;" (assignment_expression "uStack_80 = 0x1bbd79" identifier = number_literal) ;) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (goto_statement "goto LAB_001bb9e6;" goto statement_identifier ;)) })) (expression_statement "uStack_80 = 0x1bbc45;" (assignment_expression "uStack_80 = 0x1bbc45" identifier = number_literal) ;) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }" if (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" ( (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" ( (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar13 < 2)" ( (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" ( (type_descriptor "uint" type_identifier) ) identifier) < number_literal) ))) )) (compound_statement "{\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }" { (expression_statement "uStack_80 = 0x1bbc5c;" (assignment_expression "uStack_80 = 0x1bbc5c" identifier = number_literal) ;) (expression_statement "GetMagickResourceLimit();" (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( ))) ;) })) }))) })) (labeled_statement "LAB_001bb9e6:\n    uStack_80 = 0x1bba22;" statement_identifier : (expression_statement "uStack_80 = 0x1bba22;" (assignment_expression "uStack_80 = 0x1bba22" identifier = number_literal) ;)) (expression_statement "GOMP_parallel();" (call_expression "GOMP_parallel()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (expression_statement "uStack_80 = 0x1bba34;" (assignment_expression "uStack_80 = 0x1bba34" identifier = number_literal) ;) (expression_statement "DestroyCacheView();" (call_expression "DestroyCacheView()" identifier (argument_list "()" ( ))) ;) (while_statement "while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }" { (expression_statement "uStack_80 = 0x1bba63;" (assignment_expression "uStack_80 = 0x1bba63" identifier = number_literal) ;) (expression_statement "iVar7 = GetMagickResourceLimit();" (assignment_expression "iVar7 = GetMagickResourceLimit()" identifier = (call_expression "GetMagickResourceLimit()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar7 <= iVar5) break;" if (parenthesized_expression "(iVar7 <= iVar5)" ( (binary_expression "iVar7 <= iVar5" identifier <= identifier) )) (break_statement "break;" break ;)) (if_statement "if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }" if (parenthesized_expression "(__s[iVar5] != 0)" ( (binary_expression "__s[iVar5] != 0" (subscript_expression "__s[iVar5]" identifier [ identifier ]) != number_literal) )) (compound_statement "{\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }" { (expression_statement "uStack_80 = 0x1bba50;" (assignment_expression "uStack_80 = 0x1bba50" identifier = number_literal) ;) (expression_statement "uVar6 = DestroyRandomInfo();" (assignment_expression "uVar6 = DestroyRandomInfo()" identifier = (call_expression "DestroyRandomInfo()" identifier (argument_list "()" ( )))) ;) (expression_statement "__s[iVar5] = uVar6;" (assignment_expression "__s[iVar5] = uVar6" (subscript_expression "__s[iVar5]" identifier [ identifier ]) = identifier) ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) })) (expression_statement "uStack_80 = 0x1bba73;" (assignment_expression "uStack_80 = 0x1bba73" identifier = number_literal) ;) (expression_statement "RelinquishMagickMemory();" (call_expression "RelinquishMagickMemory()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = param_3;" (assignment_expression "uStack_80 = param_3" identifier = identifier) ;) (expression_statement "iStack_58 = (int)((ulonglong)param_2 >> 0x20);" (assignment_expression "iStack_58 = (int)((ulonglong)param_2 >> 0x20)" identifier = (cast_expression "(int)((ulonglong)param_2 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)param_2 >> 0x20)" ( (binary_expression "(ulonglong)param_2 >> 0x20" (cast_expression "(ulonglong)param_2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "iStack_84 = iStack_58;" (assignment_expression "iStack_84 = iStack_58" identifier = identifier) ;) (expression_statement "iStack_88 = local_5c;" (assignment_expression "iStack_88 = local_5c" identifier = identifier) ;) (expression_statement "uStack_90 = 0x1bbaa8;" (assignment_expression "uStack_90 = 0x1bbaa8" identifier = number_literal) ;) (expression_statement "iStack_8c = iVar4;" (assignment_expression "iStack_8c = iVar4" identifier = identifier) ;) (expression_statement "iVar4 = MotionBlurImage();" (assignment_expression "iVar4 = MotionBlurImage()" identifier = (call_expression "MotionBlurImage()" identifier (argument_list "()" ( )))) ;) (expression_statement "uStack_80 = 0x1bbab6;" (assignment_expression "uStack_80 = 0x1bbab6" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }" { (expression_statement "uStack_80 = 0x1bbad0;" (assignment_expression "uStack_80 = 0x1bbad0" identifier = number_literal) ;) (expression_statement "iVar4 = EdgeImage();" (assignment_expression "iVar4 = EdgeImage()" identifier = (call_expression "EdgeImage()" identifier (argument_list "()" ( )))) ;) (expression_statement "uStack_80 = 0x1bbadc;" (assignment_expression "uStack_80 = 0x1bbadc" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (if_statement "if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }" { (expression_statement "uStack_80 = 0x1bbaf5;" (assignment_expression "uStack_80 = 0x1bbaf5" identifier = number_literal) ;) (expression_statement "iVar5 = ClampImage();" (assignment_expression "iVar5 = ClampImage()" identifier = (call_expression "ClampImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }" { (expression_statement "uStack_80 = 0x1bbca1;" (assignment_expression "uStack_80 = 0x1bbca1" identifier = number_literal) ;) (expression_statement "iVar5 = NormalizeImage();" (assignment_expression "iVar5 = NormalizeImage()" identifier = (call_expression "NormalizeImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }" { (expression_statement "uStack_80 = 0x1bbcbb;" (assignment_expression "uStack_80 = 0x1bbcbb" identifier = number_literal) ;) (expression_statement "iVar5 = NegateImage();" (assignment_expression "iVar5 = NegateImage()" identifier = (call_expression "NegateImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }" { (expression_statement "uStack_80 = 0x1bbcd9;" (assignment_expression "uStack_80 = 0x1bbcd9" identifier = number_literal) ;) (expression_statement "FUN_001a9210();" (call_expression "FUN_001a9210()" identifier (argument_list "()" ( ))) ;) })) })) })) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = 0;" (assignment_expression "iStack_84 = 0" identifier = number_literal) ;) (expression_statement "iStack_88 = 0;" (assignment_expression "iStack_88 = 0" identifier = number_literal) ;) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" identifier = identifier) ;) (expression_statement "uStack_90 = 0x1bbb13;" (assignment_expression "uStack_90 = 0x1bbb13" identifier = number_literal) ;) (expression_statement "iVar5 = CloneImage();" (assignment_expression "iVar5 = CloneImage()" identifier = (call_expression "CloneImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" { (expression_statement "uStack_80 = 0x1bbdca;" (assignment_expression "uStack_80 = 0x1bbdca" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_001bbbd1;" goto statement_identifier ;) })) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = 9;" (assignment_expression "iStack_84 = 9" identifier = number_literal) ;) (expression_statement "uStack_90 = 0x1bbb3a;" (assignment_expression "uStack_90 = 0x1bbb3a" identifier = number_literal) ;) (expression_statement "iStack_8c = iVar5;" (assignment_expression "iStack_8c = iVar5" identifier = identifier) ;) (expression_statement "iStack_88 = iVar4;" (assignment_expression "iStack_88 = iVar4" identifier = identifier) ;) (expression_statement "CompositeImage();" (call_expression "CompositeImage()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 0x1bbb46;" (assignment_expression "uStack_80 = 0x1bbb46" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = 0;" (assignment_expression "iStack_84 = 0" identifier = number_literal) ;) (expression_statement "iStack_88 = 0;" (assignment_expression "iStack_88 = 0" identifier = number_literal) ;) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" identifier = identifier) ;) (expression_statement "uStack_90 = 0x1bbb59;" (assignment_expression "uStack_90 = 0x1bbb59" identifier = number_literal) ;) (expression_statement "iVar4 = CloneImage();" (assignment_expression "iVar4 = CloneImage()" identifier = (call_expression "CloneImage()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" { (if_statement "if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }" if (parenthesized_expression "(*(int *)(iVar4 + 0x294) != 4)" ( (binary_expression "*(int *)(iVar4 + 0x294) != 4" (pointer_expression "*(int *)(iVar4 + 0x294)" * (cast_expression "(int *)(iVar4 + 0x294)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x294)" ( (binary_expression "iVar4 + 0x294" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }" { (expression_statement "uStack_80 = 0x1bbb7d;" (assignment_expression "uStack_80 = 0x1bbb7d" identifier = number_literal) ;) (expression_statement "SetImageAlpha();" (call_expression "SetImageAlpha()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uStack_80 = 0x1bbb97;" (assignment_expression "uStack_80 = 0x1bbb97" identifier = number_literal) ;) (expression_statement "SetImageArtifact();" (call_expression "SetImageArtifact()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" identifier = number_literal) ;) (expression_statement "iStack_84 = 3;" (assignment_expression "iStack_84 = 3" identifier = number_literal) ;) (expression_statement "uStack_90 = 0x1bbbad;" (assignment_expression "uStack_90 = 0x1bbbad" identifier = number_literal) ;) (expression_statement "iStack_8c = iVar5;" (assignment_expression "iStack_8c = iVar5" identifier = identifier) ;) (expression_statement "iStack_88 = iVar4;" (assignment_expression "iStack_88 = iVar4" identifier = identifier) ;) (expression_statement "CompositeImage();" (call_expression "CompositeImage()" identifier (argument_list "()" ( ))) ;) (expression_statement "uStack_80 = 0x1bbbb6;" (assignment_expression "uStack_80 = 0x1bbbb6" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) (goto_statement "goto LAB_001bbbd1;" goto statement_identifier ;) })) (expression_statement "uStack_80 = 0x1bbc7b;" (assignment_expression "uStack_80 = 0x1bbc7b" identifier = number_literal) ;) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" identifier (argument_list "()" ( ))) ;) })) })) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (labeled_statement "LAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" statement_identifier : (if_statement "if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" if (parenthesized_expression "(iVar10 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar10 == *(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) ))))) )) (compound_statement "{\n    return iVar5;\n  }" { (return_statement "return iVar5;" return identifier ;) }))) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_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 (subscript_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) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT - (pointer_expression * IDENT))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (subscript_expression IDENT [ LIT ]))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (subscript_expression IDENT [ LIT ]))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT >> LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) }))) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , (binary_expression IDENT * LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT >> LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression LIT < IDENT)) ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT >> LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) }))) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ IDENT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int SketchImage(int param_1,undefined8 param_2,undefined4 param_3)\n\n{\n  bool bVar1;\n  double dVar2;\n  double dVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__s;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  undefined4 in_stack_00000020;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  int iStack_a4;\n  undefined4 uStack_a0;\n  int iStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  undefined4 uStack_80;\n  int *piStack_68;\n  int local_5c;\n  int iStack_58;\n  \n  iVar10 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_80 = 1;\n  iStack_84 = *(int *)(param_1 + 0x1c) * 2;\n  iStack_88 = *(int *)(param_1 + 0x18) * 2;\n  iStack_8c = param_1;\n  uStack_90 = 0x1bb944;\n  iVar4 = CloneImage();\n  if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }\n  iVar5 = 0;\nLAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0029eab0();\n}" (primitive_type "int") (function_declarator "SketchImage(int param_1,undefined8 param_2,undefined4 param_3)" (identifier "SketchImage") (parameter_list "(int param_1,undefined8 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  bool bVar1;\n  double dVar2;\n  double dVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *__s;\n  undefined4 uVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int in_GS_OFFSET;\n  undefined8 uVar13;\n  undefined4 in_stack_00000020;\n  undefined4 uStack_b8;\n  undefined4 uStack_b4;\n  double dStack_b0;\n  int iStack_a4;\n  undefined4 uStack_a0;\n  int iStack_9c;\n  undefined4 *puStack_98;\n  undefined4 uStack_90;\n  int iStack_8c;\n  int iStack_88;\n  int iStack_84;\n  undefined4 uStack_80;\n  int *piStack_68;\n  int local_5c;\n  int iStack_58;\n  \n  iVar10 = *(int *)(in_GS_OFFSET + 0x14);\n  uStack_80 = 1;\n  iStack_84 = *(int *)(param_1 + 0x1c) * 2;\n  iStack_88 = *(int *)(param_1 + 0x18) * 2;\n  iStack_8c = param_1;\n  uStack_90 = 0x1bb944;\n  iVar4 = CloneImage();\n  if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }\n  iVar5 = 0;\nLAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }\n                    \n  FUN_0029eab0();\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (declaration "double dVar2;" (primitive_type "double") (identifier "dVar2") (; ";")) (declaration "double dVar3;" (primitive_type "double") (identifier "dVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 *__s;" (type_identifier "undefined4") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "double *pdVar9;" (primitive_type "double") (pointer_declarator "*pdVar9" (* "*") (identifier "pdVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined8 uVar13;" (type_identifier "undefined8") (identifier "uVar13") (; ";")) (declaration "undefined4 in_stack_00000020;" (type_identifier "undefined4") (identifier "in_stack_00000020") (; ";")) (declaration "undefined4 uStack_b8;" (type_identifier "undefined4") (identifier "uStack_b8") (; ";")) (declaration "undefined4 uStack_b4;" (type_identifier "undefined4") (identifier "uStack_b4") (; ";")) (declaration "double dStack_b0;" (primitive_type "double") (identifier "dStack_b0") (; ";")) (declaration "int iStack_a4;" (primitive_type "int") (identifier "iStack_a4") (; ";")) (declaration "undefined4 uStack_a0;" (type_identifier "undefined4") (identifier "uStack_a0") (; ";")) (declaration "int iStack_9c;" (primitive_type "int") (identifier "iStack_9c") (; ";")) (declaration "undefined4 *puStack_98;" (type_identifier "undefined4") (pointer_declarator "*puStack_98" (* "*") (identifier "puStack_98")) (; ";")) (declaration "undefined4 uStack_90;" (type_identifier "undefined4") (identifier "uStack_90") (; ";")) (declaration "int iStack_8c;" (primitive_type "int") (identifier "iStack_8c") (; ";")) (declaration "int iStack_88;" (primitive_type "int") (identifier "iStack_88") (; ";")) (declaration "int iStack_84;" (primitive_type "int") (identifier "iStack_84") (; ";")) (declaration "undefined4 uStack_80;" (type_identifier "undefined4") (identifier "uStack_80") (; ";")) (declaration "int *piStack_68;" (primitive_type "int") (pointer_declarator "*piStack_68" (* "*") (identifier "piStack_68")) (; ";")) (declaration "int local_5c;" (primitive_type "int") (identifier "local_5c") (; ";")) (declaration "int iStack_58;" (primitive_type "int") (identifier "iStack_58") (; ";")) (expression_statement "iVar10 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar10 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar10") (= "=") (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 "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" (identifier "uStack_80") (= "=") (number_literal "1")) (; ";")) (expression_statement "iStack_84 = *(int *)(param_1 + 0x1c) * 2;" (assignment_expression "iStack_84 = *(int *)(param_1 + 0x1c) * 2" (identifier "iStack_84") (= "=") (binary_expression "*(int *)(param_1 + 0x1c) * 2" (pointer_expression "*(int *)(param_1 + 0x1c)" (* "*") (cast_expression "(int *)(param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (* "*") (number_literal "2"))) (; ";")) (expression_statement "iStack_88 = *(int *)(param_1 + 0x18) * 2;" (assignment_expression "iStack_88 = *(int *)(param_1 + 0x18) * 2" (identifier "iStack_88") (= "=") (binary_expression "*(int *)(param_1 + 0x18) * 2" (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (* "*") (number_literal "2"))) (; ";")) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" (identifier "iStack_8c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uStack_90 = 0x1bb944;" (assignment_expression "uStack_90 = 0x1bb944" (identifier "uStack_90") (= "=") (number_literal "0x1bb944")) (; ";")) (expression_statement "iVar4 = CloneImage();" (assignment_expression "iVar4 = CloneImage()" (identifier "iVar4") (= "=") (call_expression "CloneImage()" (identifier "CloneImage") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uStack_80 = 0x1bb95d;\n    iVar5 = GetMagickResourceLimit();\n    uStack_80 = 0x1bb969;\n    __s = (undefined4 *)AcquireQuantumMemory();\n    local_5c = (int)param_2;\n    if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }\n    uStack_80 = 0x1bb98d;\n    memset(__s,0,iVar5 * 4);\n    if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }\n    uStack_80 = 0x1bb9cb;\n    AcquireAuthenticCacheView();\n    uStack_80 = 0x1bb9d5;\n    iVar5 = GetRandomSecretKey();\n    if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }\nLAB_001bb9e6:\n    uStack_80 = 0x1bba22;\n    GOMP_parallel();\n    iVar5 = 0;\n    uStack_80 = 0x1bba34;\n    DestroyCacheView();\n    while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }\n    uStack_80 = 0x1bba73;\n    RelinquishMagickMemory();\n    uStack_80 = param_3;\n    iStack_58 = (int)((ulonglong)param_2 >> 0x20);\n    iStack_84 = iStack_58;\n    iStack_88 = local_5c;\n    uStack_90 = 0x1bbaa8;\n    iStack_8c = iVar4;\n    iVar4 = MotionBlurImage();\n    uStack_80 = 0x1bbab6;\n    DestroyImage();\n    if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }\n  }" ({ "{") (expression_statement "uStack_80 = 0x1bb95d;" (assignment_expression "uStack_80 = 0x1bb95d" (identifier "uStack_80") (= "=") (number_literal "0x1bb95d")) (; ";")) (expression_statement "iVar5 = GetMagickResourceLimit();" (assignment_expression "iVar5 = GetMagickResourceLimit()" (identifier "iVar5") (= "=") (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uStack_80 = 0x1bb969;" (assignment_expression "uStack_80 = 0x1bb969" (identifier "uStack_80") (= "=") (number_literal "0x1bb969")) (; ";")) (expression_statement "__s = (undefined4 *)AcquireQuantumMemory();" (assignment_expression "__s = (undefined4 *)AcquireQuantumMemory()" (identifier "__s") (= "=") (cast_expression "(undefined4 *)AcquireQuantumMemory()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "AcquireQuantumMemory()" (identifier "AcquireQuantumMemory") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "local_5c = (int)param_2;" (assignment_expression "local_5c = (int)param_2" (identifier "local_5c") (= "=") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2"))) (; ";")) (if_statement "if (__s == (undefined4 *)0x0) {\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }" (if "if") (parenthesized_expression "(__s == (undefined4 *)0x0)" (( "(") (binary_expression "__s == (undefined4 *)0x0" (identifier "__s") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      FUN_00033de7();\n      uStack_80 = 0x1bbde9;\n      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);\n      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);\n      if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }\n      if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }\n      if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }\n      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }\n      if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }\n      uStack_b8 = 0;\n      uStack_b4 = 0;\n      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);\n      iVar10 = GetImagePixelCacheType(piStack_68);\n      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }\n      puStack_98 = &uStack_b8;\n      iStack_a4 = local_5c;\n      iStack_9c = 1;\n      dStack_b0 = dVar3;\n      uStack_a0 = uVar6;\n      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);\n      iVar10 = iStack_9c;\n      DestroyCacheView(uVar6);\nLAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }\n                    \n      FUN_0029eab0();\n    }" ({ "{") (expression_statement "FUN_00033de7();" (call_expression "FUN_00033de7()" (identifier "FUN_00033de7") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_80 = 0x1bbde9;" (assignment_expression "uStack_80 = 0x1bbde9" (identifier "uStack_80") (= "=") (number_literal "0x1bbde9")) (; ";")) (expression_statement "iStack_8c = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iStack_8c = *(int *)(in_GS_OFFSET + 0x14)" (identifier "iStack_8c") (= "=") (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 "dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);" (assignment_expression "dVar3 = (double)CONCAT44(iVar4,in_stack_00000020)" (identifier "dVar3") (= "=") (cast_expression "(double)CONCAT44(iVar4,in_stack_00000020)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (call_expression "CONCAT44(iVar4,in_stack_00000020)" (identifier "CONCAT44") (argument_list "(iVar4,in_stack_00000020)" (( "(") (identifier "iVar4") (, ",") (identifier "in_stack_00000020") () ")"))))) (; ";")) (if_statement "if (piStack_68 == (int *)0x0) {\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }" (if "if") (parenthesized_expression "(piStack_68 == (int *)0x0)" (( "(") (binary_expression "piStack_68 == (int *)0x0" (identifier "piStack_68") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;\n      }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")\n        ;" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/visual-effects.c"" (" """) (string_content "MagickCore/visual-effects.c") (" """)) (, ",") (number_literal "0x92a") (, ",") (string_literal ""SolarizeImage"" (" """) (string_content "SolarizeImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (piStack_68[0xcd1] != -0x54535255) {\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }" (if "if") (parenthesized_expression "(piStack_68[0xcd1] != -0x54535255)" (( "(") (binary_expression "piStack_68[0xcd1] != -0x54535255" (subscript_expression "piStack_68[0xcd1]" (identifier "piStack_68") ([ "[") (number_literal "0xcd1") (] "]")) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");\n      }" ({ "{") (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,\n                      "SolarizeImage")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/visual-effects.c"" (" """) (string_content "MagickCore/visual-effects.c") (" """)) (, ",") (number_literal "0x92b") (, ",") (string_literal ""SolarizeImage"" (" """) (string_content "SolarizeImage") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (piStack_68[0xcca] != 0) {\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }" (if "if") (parenthesized_expression "(piStack_68[0xcca] != 0)" (( "(") (binary_expression "piStack_68[0xcca] != 0" (subscript_expression "piStack_68[0xcca]" (identifier "piStack_68") ([ "[") (number_literal "0xcca") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);\n      }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6);" (call_expression "LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,\n                       piStack_68 + 0xc6)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/visual-effects.c"" (" """) (string_content "MagickCore/visual-effects.c") (" """)) (, ",") (string_literal ""SolarizeImage"" (" """) (string_content "SolarizeImage") (" """)) (, ",") (number_literal "0x92d") (, ",") (pointer_expression "&DAT_002b6e4e" (& "&") (identifier "DAT_002b6e4e")) (, ",") (binary_expression "piStack_68 + 0xc6" (identifier "piStack_68") (+ "+") (number_literal "0xc6")) () ")"))) (; ";")) (} "}"))) (if_statement "if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }" (if "if") (parenthesized_expression "((piStack_68[1] == 0x21) || (piStack_68[1] == 3))" (( "(") (binary_expression "(piStack_68[1] == 0x21) || (piStack_68[1] == 3)" (parenthesized_expression "(piStack_68[1] == 0x21)" (( "(") (binary_expression "piStack_68[1] == 0x21" (subscript_expression "piStack_68[1]" (identifier "piStack_68") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "0x21")) () ")")) (|| "||") (parenthesized_expression "(piStack_68[1] == 3)" (( "(") (binary_expression "piStack_68[1] == 3" (subscript_expression "piStack_68[1]" (identifier "piStack_68") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "3")) () ")"))) () ")")) (compound_statement "{\n        SetImageColorspace(piStack_68,0x17,local_5c);\n      }" ({ "{") (expression_statement "SetImageColorspace(piStack_68,0x17,local_5c);" (call_expression "SetImageColorspace(piStack_68,0x17,local_5c)" (identifier "SetImageColorspace") (argument_list "(piStack_68,0x17,local_5c)" (( "(") (identifier "piStack_68") (, ",") (number_literal "0x17") (, ",") (identifier "local_5c") () ")"))) (; ";")) (} "}"))) (if_statement "if (*piStack_68 == 2) {\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }" (if "if") (parenthesized_expression "(*piStack_68 == 2)" (( "(") (binary_expression "*piStack_68 == 2" (pointer_expression "*piStack_68" (* "*") (identifier "piStack_68")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n        iVar10 = piStack_68[9];\n        if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }\n        iVar10 = SyncImage(piStack_68,local_5c);\n        goto LAB_001bbed7;\n      }" ({ "{") (expression_statement "iVar10 = piStack_68[9];" (assignment_expression "iVar10 = piStack_68[9]" (identifier "iVar10") (= "=") (subscript_expression "piStack_68[9]" (identifier "piStack_68") ([ "[") (number_literal "9") (] "]"))) (; ";")) (if_statement "if (0 < iVar10) {\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }" (if "if") (parenthesized_expression "(0 < iVar10)" (( "(") (binary_expression "0 < iVar10" (number_literal "0") (< "<") (identifier "iVar10")) () ")")) (compound_statement "{\n          iVar4 = piStack_68[10];\n          dVar2 = (double)DAT_0029f710;\n          pdVar9 = (double *)(iVar4 + 0x20);\n          do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);\n        }" ({ "{") (expression_statement "iVar4 = piStack_68[10];" (assignment_expression "iVar4 = piStack_68[10]" (identifier "iVar4") (= "=") (subscript_expression "piStack_68[10]" (identifier "piStack_68") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "dVar2 = (double)DAT_0029f710;" (assignment_expression "dVar2 = (double)DAT_0029f710" (identifier "dVar2") (= "=") (cast_expression "(double)DAT_0029f710" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_0029f710"))) (; ";")) (expression_statement "pdVar9 = (double *)(iVar4 + 0x20);" (assignment_expression "pdVar9 = (double *)(iVar4 + 0x20)" (identifier "pdVar9") (= "=") (cast_expression "(double *)(iVar4 + 0x20)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x20)" (( "(") (binary_expression "iVar4 + 0x20" (identifier "iVar4") (+ "+") (number_literal "0x20")) () ")")))) (; ";")) (do_statement "do {\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);" (do "do") (compound_statement "{\n            if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }\n            if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }\n            if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }\n            pdVar9 = pdVar9 + 10;\n          }" ({ "{") (if_statement "if (dVar3 < *pdVar9) {\n              *pdVar9 = dVar2 - *pdVar9;\n            }" (if "if") (parenthesized_expression "(dVar3 < *pdVar9)" (( "(") (binary_expression "dVar3 < *pdVar9" (identifier "dVar3") (< "<") (pointer_expression "*pdVar9" (* "*") (identifier "pdVar9"))) () ")")) (compound_statement "{\n              *pdVar9 = dVar2 - *pdVar9;\n            }" ({ "{") (expression_statement "*pdVar9 = dVar2 - *pdVar9;" (assignment_expression "*pdVar9 = dVar2 - *pdVar9" (pointer_expression "*pdVar9" (* "*") (identifier "pdVar9")) (= "=") (binary_expression "dVar2 - *pdVar9" (identifier "dVar2") (- "-") (pointer_expression "*pdVar9" (* "*") (identifier "pdVar9")))) (; ";")) (} "}"))) (if_statement "if (dVar3 < pdVar9[1]) {\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }" (if "if") (parenthesized_expression "(dVar3 < pdVar9[1])" (( "(") (binary_expression "dVar3 < pdVar9[1]" (identifier "dVar3") (< "<") (subscript_expression "pdVar9[1]" (identifier "pdVar9") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];\n            }" ({ "{") (expression_statement "pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];" (assignment_expression "pdVar9[1] = (double)DAT_0029f710 - pdVar9[1]" (subscript_expression "pdVar9[1]" (identifier "pdVar9") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(double)DAT_0029f710 - pdVar9[1]" (cast_expression "(double)DAT_0029f710" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_0029f710")) (- "-") (subscript_expression "pdVar9[1]" (identifier "pdVar9") ([ "[") (number_literal "1") (] "]")))) (; ";")) (} "}"))) (if_statement "if (dVar3 < pdVar9[2]) {\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }" (if "if") (parenthesized_expression "(dVar3 < pdVar9[2])" (( "(") (binary_expression "dVar3 < pdVar9[2]" (identifier "dVar3") (< "<") (subscript_expression "pdVar9[2]" (identifier "pdVar9") ([ "[") (number_literal "2") (] "]"))) () ")")) (compound_statement "{\n              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];\n            }" ({ "{") (expression_statement "pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];" (assignment_expression "pdVar9[2] = (double)DAT_0029f710 - pdVar9[2]" (subscript_expression "pdVar9[2]" (identifier "pdVar9") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "(double)DAT_0029f710 - pdVar9[2]" (cast_expression "(double)DAT_0029f710" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_0029f710")) (- "-") (subscript_expression "pdVar9[2]" (identifier "pdVar9") ([ "[") (number_literal "2") (] "]")))) (; ";")) (} "}"))) (expression_statement "pdVar9 = pdVar9 + 10;" (assignment_expression "pdVar9 = pdVar9 + 10" (identifier "pdVar9") (= "=") (binary_expression "pdVar9 + 10" (identifier "pdVar9") (+ "+") (number_literal "10"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9)" (( "(") (binary_expression "(double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9" (cast_expression "(double *)(iVar4 + 0x20 + iVar10 * 0x50)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x20 + iVar10 * 0x50)" (( "(") (binary_expression "iVar4 + 0x20 + iVar10 * 0x50" (binary_expression "iVar4 + 0x20" (identifier "iVar4") (+ "+") (number_literal "0x20")) (+ "+") (binary_expression "iVar10 * 0x50" (identifier "iVar10") (* "*") (number_literal "0x50"))) () ")"))) (!= "!=") (identifier "pdVar9")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar10 = SyncImage(piStack_68,local_5c);" (assignment_expression "iVar10 = SyncImage(piStack_68,local_5c)" (identifier "iVar10") (= "=") (call_expression "SyncImage(piStack_68,local_5c)" (identifier "SyncImage") (argument_list "(piStack_68,local_5c)" (( "(") (identifier "piStack_68") (, ",") (identifier "local_5c") () ")")))) (; ";")) (goto_statement "goto LAB_001bbed7;" (goto "goto") (statement_identifier "LAB_001bbed7") (; ";")) (} "}"))) (expression_statement "uStack_b8 = 0;" (assignment_expression "uStack_b8 = 0" (identifier "uStack_b8") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_b4 = 0;" (assignment_expression "uStack_b4 = 0" (identifier "uStack_b4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);" (assignment_expression "uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c)" (identifier "uVar6") (= "=") (call_expression "AcquireAuthenticCacheView(piStack_68,local_5c)" (identifier "AcquireAuthenticCacheView") (argument_list "(piStack_68,local_5c)" (( "(") (identifier "piStack_68") (, ",") (identifier "local_5c") () ")")))) (; ";")) (expression_statement "iVar10 = GetImagePixelCacheType(piStack_68);" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" (identifier "iVar10") (= "=") (call_expression "GetImagePixelCacheType(piStack_68)" (identifier "GetImagePixelCacheType") (argument_list "(piStack_68)" (( "(") (identifier "piStack_68") () ")")))) (; ";")) (if_statement "if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }\n      else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" (if "if") (parenthesized_expression "(((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))))" (( "(") (binary_expression "((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&\n         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))" (parenthesized_expression "((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))" (( "(") (binary_expression "(iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (parenthesized_expression "(iVar10 == 4)" (( "(") (binary_expression "iVar10 == 4" (identifier "iVar10") (== "==") (number_literal "4")) () ")")) (|| "||") (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (( "(") (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" (identifier "iVar10") (= "=") (call_expression "GetImagePixelCacheType(piStack_68)" (identifier "GetImagePixelCacheType") (argument_list "(piStack_68)" (( "(") (identifier "piStack_68") () ")")))) (, ",") (binary_expression "iVar10 == 3" (identifier "iVar10") (== "==") (number_literal "3"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))" (( "(") (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3))" (( "(") (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" (identifier "iVar10") (= "=") (call_expression "GetImagePixelCacheType(piStack_68)" (identifier "GetImagePixelCacheType") (argument_list "(piStack_68)" (( "(") (identifier "piStack_68") () ")")))) (, ",") (binary_expression "iVar10 == 4 ||\n          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (binary_expression "iVar10 == 4" (identifier "iVar10") (== "==") (number_literal "4")) (|| "||") (parenthesized_expression "(iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)" (( "(") (comma_expression "iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3" (assignment_expression "iVar10 = GetImagePixelCacheType(piStack_68)" (identifier "iVar10") (= "=") (call_expression "GetImagePixelCacheType(piStack_68)" (identifier "GetImagePixelCacheType") (argument_list "(piStack_68)" (( "(") (identifier "piStack_68") () ")")))) (, ",") (binary_expression "iVar10 == 3" (identifier "iVar10") (== "==") (number_literal "3"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n        iVar5 = GetMagickResourceLimit(7);\n        iVar10 = piStack_68[7];\n        iVar4 = iVar10 + 0x3f;\n        if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }\n        bVar1 = 0x7f < iVar10;\n        if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }\n        if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }\n      }" ({ "{") (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" (identifier "iVar5") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (expression_statement "iVar10 = piStack_68[7];" (assignment_expression "iVar10 = piStack_68[7]" (identifier "iVar10") (= "=") (subscript_expression "piStack_68[7]" (identifier "piStack_68") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "iVar4 = iVar10 + 0x3f;" (assignment_expression "iVar4 = iVar10 + 0x3f" (identifier "iVar4") (= "=") (binary_expression "iVar10 + 0x3f" (identifier "iVar10") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < iVar10) {\n          iVar4 = iVar10;\n        }" (if "if") (parenthesized_expression "(-1 < iVar10)" (( "(") (binary_expression "-1 < iVar10" (number_literal "-1") (< "<") (identifier "iVar10")) () ")")) (compound_statement "{\n          iVar4 = iVar10;\n        }" ({ "{") (expression_statement "iVar4 = iVar10;" (assignment_expression "iVar4 = iVar10" (identifier "iVar4") (= "=") (identifier "iVar10")) (; ";")) (} "}"))) (expression_statement "bVar1 = 0x7f < iVar10;" (assignment_expression "bVar1 = 0x7f < iVar10" (identifier "bVar1") (= "=") (binary_expression "0x7f < iVar10" (number_literal "0x7f") (< "<") (identifier "iVar10"))) (; ";")) (if_statement "if (iVar5 < iVar4 >> 6) {\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }" (if "if") (parenthesized_expression "(iVar5 < iVar4 >> 6)" (( "(") (binary_expression "iVar5 < iVar4 >> 6" (identifier "iVar5") (< "<") (binary_expression "iVar4 >> 6" (identifier "iVar4") (>> ">>") (number_literal "6"))) () ")")) (compound_statement "{\n          iVar10 = GetMagickResourceLimit(7);\n          bVar1 = 1 < iVar10;\n        }" ({ "{") (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" (identifier "iVar10") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (expression_statement "bVar1 = 1 < iVar10;" (assignment_expression "bVar1 = 1 < iVar10" (identifier "bVar1") (= "=") (binary_expression "1 < iVar10" (number_literal "1") (< "<") (identifier "iVar10"))) (; ";")) (} "}"))) (if_statement "if (bVar1) {\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }\n        else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n          iVar5 = GetMagickResourceLimit(7);\n          iVar4 = piStack_68[7];\n          iVar10 = iVar4 + 0x3f;\n          if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }\n          iVar10 = iVar10 >> 6;\n          if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }\n        }" ({ "{") (expression_statement "iVar5 = GetMagickResourceLimit(7);" (assignment_expression "iVar5 = GetMagickResourceLimit(7)" (identifier "iVar5") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (expression_statement "iVar4 = piStack_68[7];" (assignment_expression "iVar4 = piStack_68[7]" (identifier "iVar4") (= "=") (subscript_expression "piStack_68[7]" (identifier "piStack_68") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "iVar10 = iVar4 + 0x3f;" (assignment_expression "iVar10 = iVar4 + 0x3f" (identifier "iVar10") (= "=") (binary_expression "iVar4 + 0x3f" (identifier "iVar4") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < iVar4) {\n            iVar10 = iVar4;\n          }" (if "if") (parenthesized_expression "(-1 < iVar4)" (( "(") (binary_expression "-1 < iVar4" (number_literal "-1") (< "<") (identifier "iVar4")) () ")")) (compound_statement "{\n            iVar10 = iVar4;\n          }" ({ "{") (expression_statement "iVar10 = iVar4;" (assignment_expression "iVar10 = iVar4" (identifier "iVar10") (= "=") (identifier "iVar4")) (; ";")) (} "}"))) (expression_statement "iVar10 = iVar10 >> 6;" (assignment_expression "iVar10 = iVar10 >> 6" (identifier "iVar10") (= "=") (binary_expression "iVar10 >> 6" (identifier "iVar10") (>> ">>") (number_literal "6"))) (; ";")) (if_statement "if (iVar5 < iVar10) {\n            iVar10 = GetMagickResourceLimit(7);\n          }" (if "if") (parenthesized_expression "(iVar5 < iVar10)" (( "(") (binary_expression "iVar5 < iVar10" (identifier "iVar5") (< "<") (identifier "iVar10")) () ")")) (compound_statement "{\n            iVar10 = GetMagickResourceLimit(7);\n          }" ({ "{") (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" (identifier "iVar10") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" (else "else") (compound_statement "{\nLAB_001bc0c7:\n          iVar10 = 1;\n        }" ({ "{") (labeled_statement "LAB_001bc0c7:\n          iVar10 = 1;" (statement_identifier "LAB_001bc0c7") (: ":") (expression_statement "iVar10 = 1;" (assignment_expression "iVar10 = 1" (identifier "iVar10") (= "=") (number_literal "1")) (; ";"))) (} "}")))) (} "}")) (else_clause "else {\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" (else "else") (compound_statement "{\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }\n        uVar13 = GetMagickResourceLimit(7);\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }\n      }" ({ "{") (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" (identifier "uVar13") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar13")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar13 < 2)" (( "(") (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar13")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n          uVar13 = GetMagickResourceLimit(7);\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;\n        }" ({ "{") (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" (identifier "uVar13") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar13")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar13 < 2)" (( "(") (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar13")) (< "<") (number_literal "2")) () ")"))) () ")")) (goto_statement "goto LAB_001bc0c7;" (goto "goto") (statement_identifier "LAB_001bc0c7") (; ";"))) (} "}"))) (expression_statement "uVar13 = GetMagickResourceLimit(7);" (assignment_expression "uVar13 = GetMagickResourceLimit(7)" (identifier "uVar13") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          iVar10 = GetMagickResourceLimit(7);\n        }\n        else {\n          iVar10 = 2;\n        }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar13")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar13 < 2)" (( "(") (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar13")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n          iVar10 = GetMagickResourceLimit(7);\n        }" ({ "{") (expression_statement "iVar10 = GetMagickResourceLimit(7);" (assignment_expression "iVar10 = GetMagickResourceLimit(7)" (identifier "iVar10") (= "=") (call_expression "GetMagickResourceLimit(7)" (identifier "GetMagickResourceLimit") (argument_list "(7)" (( "(") (number_literal "7") () ")")))) (; ";")) (} "}")) (else_clause "else {\n          iVar10 = 2;\n        }" (else "else") (compound_statement "{\n          iVar10 = 2;\n        }" ({ "{") (expression_statement "iVar10 = 2;" (assignment_expression "iVar10 = 2" (identifier "iVar10") (= "=") (number_literal "2")) (; ";")) (} "}")))) (} "}")))) (expression_statement "puStack_98 = &uStack_b8;" (assignment_expression "puStack_98 = &uStack_b8" (identifier "puStack_98") (= "=") (pointer_expression "&uStack_b8" (& "&") (identifier "uStack_b8"))) (; ";")) (expression_statement "iStack_a4 = local_5c;" (assignment_expression "iStack_a4 = local_5c" (identifier "iStack_a4") (= "=") (identifier "local_5c")) (; ";")) (expression_statement "iStack_9c = 1;" (assignment_expression "iStack_9c = 1" (identifier "iStack_9c") (= "=") (number_literal "1")) (; ";")) (expression_statement "dStack_b0 = dVar3;" (assignment_expression "dStack_b0 = dVar3" (identifier "dStack_b0") (= "=") (identifier "dVar3")) (; ";")) (expression_statement "uStack_a0 = uVar6;" (assignment_expression "uStack_a0 = uVar6" (identifier "uStack_a0") (= "=") (identifier "uVar6")) (; ";")) (expression_statement "GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);" (call_expression "GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0)" (identifier "GOMP_parallel") (argument_list "(FUN_001b7640,&dStack_b0,iVar10,0)" (( "(") (identifier "FUN_001b7640") (, ",") (pointer_expression "&dStack_b0" (& "&") (identifier "dStack_b0")) (, ",") (identifier "iVar10") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar10 = iStack_9c;" (assignment_expression "iVar10 = iStack_9c" (identifier "iVar10") (= "=") (identifier "iStack_9c")) (; ";")) (expression_statement "DestroyCacheView(uVar6);" (call_expression "DestroyCacheView(uVar6)" (identifier "DestroyCacheView") (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (labeled_statement "LAB_001bbed7:\n      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }" (statement_identifier "LAB_001bbed7") (: ":") (if_statement "if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {\n        return iVar10;\n      }" (if "if") (parenthesized_expression "(iStack_8c == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iStack_8c == *(int *)(in_GS_OFFSET + 0x14)" (identifier "iStack_8c") (== "==") (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")) () ")"))))) () ")")) (compound_statement "{\n        return iVar10;\n      }" ({ "{") (return_statement "return iVar10;" (return "return") (identifier "iVar10") (; ";")) (} "}")))) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uStack_80 = 0x1bb98d;" (assignment_expression "uStack_80 = 0x1bb98d" (identifier "uStack_80") (= "=") (number_literal "0x1bb98d")) (; ";")) (expression_statement "memset(__s,0,iVar5 * 4);" (call_expression "memset(__s,0,iVar5 * 4)" (identifier "memset") (argument_list "(__s,0,iVar5 * 4)" (( "(") (identifier "__s") (, ",") (number_literal "0") (, ",") (binary_expression "iVar5 * 4" (identifier "iVar5") (* "*") (number_literal "4")) () ")"))) (; ";")) (if_statement "if (0 < iVar5) {\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n      puVar11 = __s;\n      do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);\n    }" ({ "{") (expression_statement "puVar11 = __s;" (assignment_expression "puVar11 = __s" (identifier "puVar11") (= "=") (identifier "__s")) (; ";")) (do_statement "do {\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      } while (__s + iVar5 != puVar12);" (do "do") (compound_statement "{\n        uVar6 = AcquireRandomInfo();\n        puVar12 = puVar11 + 1;\n        *puVar11 = uVar6;\n        puVar11 = puVar12;\n      }" ({ "{") (expression_statement "uVar6 = AcquireRandomInfo();" (assignment_expression "uVar6 = AcquireRandomInfo()" (identifier "uVar6") (= "=") (call_expression "AcquireRandomInfo()" (identifier "AcquireRandomInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar12 = puVar11 + 1;" (assignment_expression "puVar12 = puVar11 + 1" (identifier "puVar12") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar11 = uVar6;" (assignment_expression "*puVar11 = uVar6" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" (identifier "puVar11") (= "=") (identifier "puVar12")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(__s + iVar5 != puVar12)" (( "(") (binary_expression "__s + iVar5 != puVar12" (binary_expression "__s + iVar5" (identifier "__s") (+ "+") (identifier "iVar5")) (!= "!=") (identifier "puVar12")) () ")")) (; ";")) (} "}"))) (expression_statement "uStack_80 = 0x1bb9cb;" (assignment_expression "uStack_80 = 0x1bb9cb" (identifier "uStack_80") (= "=") (number_literal "0x1bb9cb")) (; ";")) (expression_statement "AcquireAuthenticCacheView();" (call_expression "AcquireAuthenticCacheView()" (identifier "AcquireAuthenticCacheView") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_80 = 0x1bb9d5;" (assignment_expression "uStack_80 = 0x1bb9d5" (identifier "uStack_80") (= "=") (number_literal "0x1bb9d5")) (; ";")) (expression_statement "iVar5 = GetRandomSecretKey();" (assignment_expression "iVar5 = GetRandomSecretKey()" (identifier "iVar5") (= "=") (call_expression "GetRandomSecretKey()" (identifier "GetRandomSecretKey") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 == -1) {\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      uStack_80 = 0x1bbbfc;\n      iVar5 = GetImagePixelCacheType();\n      if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }\n    }" ({ "{") (expression_statement "uStack_80 = 0x1bbbfc;" (assignment_expression "uStack_80 = 0x1bbbfc" (identifier "uStack_80") (= "=") (number_literal "0x1bbbfc")) (; ";")) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" (identifier "iVar5") (= "=") (call_expression "GetImagePixelCacheType()" (identifier "GetImagePixelCacheType") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 == 4) {\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }\n      else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" (if "if") (parenthesized_expression "(iVar5 == 4)" (( "(") (binary_expression "iVar5 == 4" (identifier "iVar5") (== "==") (number_literal "4")) () ")")) (compound_statement "{\nLAB_001bbce8:\n        uStack_80 = 0x1bbcf4;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }\n        uStack_80 = 0x1bbd1e;\n        iVar8 = GetMagickResourceLimit();\n        iVar5 = *(int *)(iVar4 + 0x1c);\n        iVar7 = iVar5 + 0x3f;\n        if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }\n        bVar1 = 0x7f < iVar5;\n        if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }\n        if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }\n      }" ({ "{") (labeled_statement "LAB_001bbce8:\n        uStack_80 = 0x1bbcf4;" (statement_identifier "LAB_001bbce8") (: ":") (expression_statement "uStack_80 = 0x1bbcf4;" (assignment_expression "uStack_80 = 0x1bbcf4" (identifier "uStack_80") (= "=") (number_literal "0x1bbcf4")) (; ";"))) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" (identifier "iVar5") (= "=") (call_expression "GetImagePixelCacheType()" (identifier "GetImagePixelCacheType") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 != 4) {\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }" (if "if") (parenthesized_expression "(iVar5 != 4)" (( "(") (binary_expression "iVar5 != 4" (identifier "iVar5") (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n          uStack_80 = 0x1bbd08;\n          iVar5 = GetImagePixelCacheType();\n          if (iVar5 != 3) goto LAB_001bbc20;\n        }" ({ "{") (expression_statement "uStack_80 = 0x1bbd08;" (assignment_expression "uStack_80 = 0x1bbd08" (identifier "uStack_80") (= "=") (number_literal "0x1bbd08")) (; ";")) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" (identifier "iVar5") (= "=") (call_expression "GetImagePixelCacheType()" (identifier "GetImagePixelCacheType") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 != 3) goto LAB_001bbc20;" (if "if") (parenthesized_expression "(iVar5 != 3)" (( "(") (binary_expression "iVar5 != 3" (identifier "iVar5") (!= "!=") (number_literal "3")) () ")")) (goto_statement "goto LAB_001bbc20;" (goto "goto") (statement_identifier "LAB_001bbc20") (; ";"))) (} "}"))) (expression_statement "uStack_80 = 0x1bbd1e;" (assignment_expression "uStack_80 = 0x1bbd1e" (identifier "uStack_80") (= "=") (number_literal "0x1bbd1e")) (; ";")) (expression_statement "iVar8 = GetMagickResourceLimit();" (assignment_expression "iVar8 = GetMagickResourceLimit()" (identifier "iVar8") (= "=") (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar4 + 0x1c);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x1c)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar7 = iVar5 + 0x3f;" (assignment_expression "iVar7 = iVar5 + 0x3f" (identifier "iVar7") (= "=") (binary_expression "iVar5 + 0x3f" (identifier "iVar5") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < iVar5) {\n          iVar7 = iVar5;\n        }" (if "if") (parenthesized_expression "(-1 < iVar5)" (( "(") (binary_expression "-1 < iVar5" (number_literal "-1") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n          iVar7 = iVar5;\n        }" ({ "{") (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" (identifier "iVar7") (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (expression_statement "bVar1 = 0x7f < iVar5;" (assignment_expression "bVar1 = 0x7f < iVar5" (identifier "bVar1") (= "=") (binary_expression "0x7f < iVar5" (number_literal "0x7f") (< "<") (identifier "iVar5"))) (; ";")) (if_statement "if (iVar8 < iVar7 >> 6) {\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }" (if "if") (parenthesized_expression "(iVar8 < iVar7 >> 6)" (( "(") (binary_expression "iVar8 < iVar7 >> 6" (identifier "iVar8") (< "<") (binary_expression "iVar7 >> 6" (identifier "iVar7") (>> ">>") (number_literal "6"))) () ")")) (compound_statement "{\n          uStack_80 = 0x1bbd9d;\n          iVar5 = GetMagickResourceLimit();\n          bVar1 = 1 < iVar5;\n        }" ({ "{") (expression_statement "uStack_80 = 0x1bbd9d;" (assignment_expression "uStack_80 = 0x1bbd9d" (identifier "uStack_80") (= "=") (number_literal "0x1bbd9d")) (; ";")) (expression_statement "iVar5 = GetMagickResourceLimit();" (assignment_expression "iVar5 = GetMagickResourceLimit()" (identifier "iVar5") (= "=") (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "bVar1 = 1 < iVar5;" (assignment_expression "bVar1 = 1 < iVar5" (identifier "bVar1") (= "=") (binary_expression "1 < iVar5" (number_literal "1") (< "<") (identifier "iVar5"))) (; ";")) (} "}"))) (if_statement "if (bVar1) {\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }" (if "if") (parenthesized_expression "(bVar1)" (( "(") (identifier "bVar1") () ")")) (compound_statement "{\n          uStack_80 = 0x1bbd4f;\n          iVar8 = GetMagickResourceLimit();\n          iVar5 = *(int *)(iVar4 + 0x1c);\n          iVar7 = iVar5 + 0x3f;\n          if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }\n          if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }\n        }" ({ "{") (expression_statement "uStack_80 = 0x1bbd4f;" (assignment_expression "uStack_80 = 0x1bbd4f" (identifier "uStack_80") (= "=") (number_literal "0x1bbd4f")) (; ";")) (expression_statement "iVar8 = GetMagickResourceLimit();" (assignment_expression "iVar8 = GetMagickResourceLimit()" (identifier "iVar8") (= "=") (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar4 + 0x1c);" (assignment_expression "iVar5 = *(int *)(iVar4 + 0x1c)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(iVar4 + 0x1c)" (* "*") (cast_expression "(int *)(iVar4 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x1c)" (( "(") (binary_expression "iVar4 + 0x1c" (identifier "iVar4") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "iVar7 = iVar5 + 0x3f;" (assignment_expression "iVar7 = iVar5 + 0x3f" (identifier "iVar7") (= "=") (binary_expression "iVar5 + 0x3f" (identifier "iVar5") (+ "+") (number_literal "0x3f"))) (; ";")) (if_statement "if (-1 < iVar5) {\n            iVar7 = iVar5;\n          }" (if "if") (parenthesized_expression "(-1 < iVar5)" (( "(") (binary_expression "-1 < iVar5" (number_literal "-1") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n            iVar7 = iVar5;\n          }" ({ "{") (expression_statement "iVar7 = iVar5;" (assignment_expression "iVar7 = iVar5" (identifier "iVar7") (= "=") (identifier "iVar5")) (; ";")) (} "}"))) (if_statement "if (iVar8 < iVar7 >> 6) {\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }" (if "if") (parenthesized_expression "(iVar8 < iVar7 >> 6)" (( "(") (binary_expression "iVar8 < iVar7 >> 6" (identifier "iVar8") (< "<") (binary_expression "iVar7 >> 6" (identifier "iVar7") (>> ">>") (number_literal "6"))) () ")")) (compound_statement "{\n            uStack_80 = 0x1bbdb2;\n            GetMagickResourceLimit();\n          }" ({ "{") (expression_statement "uStack_80 = 0x1bbdb2;" (assignment_expression "uStack_80 = 0x1bbdb2" (identifier "uStack_80") (= "=") (number_literal "0x1bbdb2")) (; ";")) (expression_statement "GetMagickResourceLimit();" (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" (else "else") (compound_statement "{\n        uStack_80 = 0x1bbc14;\n        iVar5 = GetImagePixelCacheType();\n        if (iVar5 == 3) goto LAB_001bbce8;\nLAB_001bbc20:\n        uStack_80 = 0x1bbc2a;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }\n        uStack_80 = 0x1bbc45;\n        uVar13 = GetMagickResourceLimit();\n        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }\n      }" ({ "{") (expression_statement "uStack_80 = 0x1bbc14;" (assignment_expression "uStack_80 = 0x1bbc14" (identifier "uStack_80") (= "=") (number_literal "0x1bbc14")) (; ";")) (expression_statement "iVar5 = GetImagePixelCacheType();" (assignment_expression "iVar5 = GetImagePixelCacheType()" (identifier "iVar5") (= "=") (call_expression "GetImagePixelCacheType()" (identifier "GetImagePixelCacheType") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 == 3) goto LAB_001bbce8;" (if "if") (parenthesized_expression "(iVar5 == 3)" (( "(") (binary_expression "iVar5 == 3" (identifier "iVar5") (== "==") (number_literal "3")) () ")")) (goto_statement "goto LAB_001bbce8;" (goto "goto") (statement_identifier "LAB_001bbce8") (; ";"))) (labeled_statement "LAB_001bbc20:\n        uStack_80 = 0x1bbc2a;" (statement_identifier "LAB_001bbc20") (: ":") (expression_statement "uStack_80 = 0x1bbc2a;" (assignment_expression "uStack_80 = 0x1bbc2a" (identifier "uStack_80") (= "=") (number_literal "0x1bbc2a")) (; ";"))) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" (identifier "uVar13") (= "=") (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar13")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar13 < 2)" (( "(") (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar13")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n          uStack_80 = 0x1bbd79;\n          uVar13 = GetMagickResourceLimit();\n          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;\n        }" ({ "{") (expression_statement "uStack_80 = 0x1bbd79;" (assignment_expression "uStack_80 = 0x1bbd79" (identifier "uStack_80") (= "=") (number_literal "0x1bbd79")) (; ";")) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" (identifier "uVar13") (= "=") (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar13")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar13 < 2)" (( "(") (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar13")) (< "<") (number_literal "2")) () ")"))) () ")")) (goto_statement "goto LAB_001bb9e6;" (goto "goto") (statement_identifier "LAB_001bb9e6") (; ";"))) (} "}"))) (expression_statement "uStack_80 = 0x1bbc45;" (assignment_expression "uStack_80 = 0x1bbc45" (identifier "uStack_80") (= "=") (number_literal "0x1bbc45")) (; ";")) (expression_statement "uVar13 = GetMagickResourceLimit();" (assignment_expression "uVar13 = GetMagickResourceLimit()" (identifier "uVar13") (= "=") (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2))" (( "(") (binary_expression "((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)" (parenthesized_expression "((int)((ulonglong)uVar13 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar13 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar13 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar13 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar13 >> 0x20" (cast_expression "(ulonglong)uVar13" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar13")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar13 < 2)" (( "(") (binary_expression "(uint)uVar13 < 2" (cast_expression "(uint)uVar13" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar13")) (< "<") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\n          uStack_80 = 0x1bbc5c;\n          GetMagickResourceLimit();\n        }" ({ "{") (expression_statement "uStack_80 = 0x1bbc5c;" (assignment_expression "uStack_80 = 0x1bbc5c" (identifier "uStack_80") (= "=") (number_literal "0x1bbc5c")) (; ";")) (expression_statement "GetMagickResourceLimit();" (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (labeled_statement "LAB_001bb9e6:\n    uStack_80 = 0x1bba22;" (statement_identifier "LAB_001bb9e6") (: ":") (expression_statement "uStack_80 = 0x1bba22;" (assignment_expression "uStack_80 = 0x1bba22" (identifier "uStack_80") (= "=") (number_literal "0x1bba22")) (; ";"))) (expression_statement "GOMP_parallel();" (call_expression "GOMP_parallel()" (identifier "GOMP_parallel") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_80 = 0x1bba34;" (assignment_expression "uStack_80 = 0x1bba34" (identifier "uStack_80") (= "=") (number_literal "0x1bba34")) (; ";")) (expression_statement "DestroyCacheView();" (call_expression "DestroyCacheView()" (identifier "DestroyCacheView") (argument_list "()" (( "(") () ")"))) (; ";")) (while_statement "while( true ) {\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      uStack_80 = 0x1bba63;\n      iVar7 = GetMagickResourceLimit();\n      if (iVar7 <= iVar5) break;\n      if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }\n      iVar5 = iVar5 + 1;\n    }" ({ "{") (expression_statement "uStack_80 = 0x1bba63;" (assignment_expression "uStack_80 = 0x1bba63" (identifier "uStack_80") (= "=") (number_literal "0x1bba63")) (; ";")) (expression_statement "iVar7 = GetMagickResourceLimit();" (assignment_expression "iVar7 = GetMagickResourceLimit()" (identifier "iVar7") (= "=") (call_expression "GetMagickResourceLimit()" (identifier "GetMagickResourceLimit") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar7 <= iVar5) break;" (if "if") (parenthesized_expression "(iVar7 <= iVar5)" (( "(") (binary_expression "iVar7 <= iVar5" (identifier "iVar7") (<= "<=") (identifier "iVar5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (__s[iVar5] != 0) {\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }" (if "if") (parenthesized_expression "(__s[iVar5] != 0)" (( "(") (binary_expression "__s[iVar5] != 0" (subscript_expression "__s[iVar5]" (identifier "__s") ([ "[") (identifier "iVar5") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uStack_80 = 0x1bba50;\n        uVar6 = DestroyRandomInfo();\n        __s[iVar5] = uVar6;\n      }" ({ "{") (expression_statement "uStack_80 = 0x1bba50;" (assignment_expression "uStack_80 = 0x1bba50" (identifier "uStack_80") (= "=") (number_literal "0x1bba50")) (; ";")) (expression_statement "uVar6 = DestroyRandomInfo();" (assignment_expression "uVar6 = DestroyRandomInfo()" (identifier "uVar6") (= "=") (call_expression "DestroyRandomInfo()" (identifier "DestroyRandomInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "__s[iVar5] = uVar6;" (assignment_expression "__s[iVar5] = uVar6" (subscript_expression "__s[iVar5]" (identifier "__s") ([ "[") (identifier "iVar5") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (} "}"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uStack_80 = 0x1bba73;" (assignment_expression "uStack_80 = 0x1bba73" (identifier "uStack_80") (= "=") (number_literal "0x1bba73")) (; ";")) (expression_statement "RelinquishMagickMemory();" (call_expression "RelinquishMagickMemory()" (identifier "RelinquishMagickMemory") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_80 = param_3;" (assignment_expression "uStack_80 = param_3" (identifier "uStack_80") (= "=") (identifier "param_3")) (; ";")) (expression_statement "iStack_58 = (int)((ulonglong)param_2 >> 0x20);" (assignment_expression "iStack_58 = (int)((ulonglong)param_2 >> 0x20)" (identifier "iStack_58") (= "=") (cast_expression "(int)((ulonglong)param_2 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)param_2 >> 0x20)" (( "(") (binary_expression "(ulonglong)param_2 >> 0x20" (cast_expression "(ulonglong)param_2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "param_2")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "iStack_84 = iStack_58;" (assignment_expression "iStack_84 = iStack_58" (identifier "iStack_84") (= "=") (identifier "iStack_58")) (; ";")) (expression_statement "iStack_88 = local_5c;" (assignment_expression "iStack_88 = local_5c" (identifier "iStack_88") (= "=") (identifier "local_5c")) (; ";")) (expression_statement "uStack_90 = 0x1bbaa8;" (assignment_expression "uStack_90 = 0x1bbaa8" (identifier "uStack_90") (= "=") (number_literal "0x1bbaa8")) (; ";")) (expression_statement "iStack_8c = iVar4;" (assignment_expression "iStack_8c = iVar4" (identifier "iStack_8c") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar4 = MotionBlurImage();" (assignment_expression "iVar4 = MotionBlurImage()" (identifier "iVar4") (= "=") (call_expression "MotionBlurImage()" (identifier "MotionBlurImage") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uStack_80 = 0x1bbab6;" (assignment_expression "uStack_80 = 0x1bbab6" (identifier "uStack_80") (= "=") (number_literal "0x1bbab6")) (; ";")) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" (identifier "DestroyImage") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar4 != 0) {\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uStack_80 = 0x1bbad0;\n      iVar4 = EdgeImage();\n      uStack_80 = 0x1bbadc;\n      DestroyImage();\n      if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }\n    }" ({ "{") (expression_statement "uStack_80 = 0x1bbad0;" (assignment_expression "uStack_80 = 0x1bbad0" (identifier "uStack_80") (= "=") (number_literal "0x1bbad0")) (; ";")) (expression_statement "iVar4 = EdgeImage();" (assignment_expression "iVar4 = EdgeImage()" (identifier "iVar4") (= "=") (call_expression "EdgeImage()" (identifier "EdgeImage") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "uStack_80 = 0x1bbadc;" (assignment_expression "uStack_80 = 0x1bbadc" (identifier "uStack_80") (= "=") (number_literal "0x1bbadc")) (; ";")) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" (identifier "DestroyImage") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (iVar4 != 0) {\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uStack_80 = 0x1bbaf5;\n        iVar5 = ClampImage();\n        if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb13;\n        iVar5 = CloneImage();\n        if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 1;\n        iStack_84 = 9;\n        uStack_90 = 0x1bbb3a;\n        iStack_8c = iVar5;\n        iStack_88 = iVar4;\n        CompositeImage();\n        uStack_80 = 0x1bbb46;\n        DestroyImage();\n        uStack_80 = 1;\n        iStack_84 = 0;\n        iStack_88 = 0;\n        iStack_8c = param_1;\n        uStack_90 = 0x1bbb59;\n        iVar4 = CloneImage();\n        if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }\n        uStack_80 = 0x1bbc7b;\n        DestroyImage();\n      }" ({ "{") (expression_statement "uStack_80 = 0x1bbaf5;" (assignment_expression "uStack_80 = 0x1bbaf5" (identifier "uStack_80") (= "=") (number_literal "0x1bbaf5")) (; ";")) (expression_statement "iVar5 = ClampImage();" (assignment_expression "iVar5 = ClampImage()" (identifier "iVar5") (= "=") (call_expression "ClampImage()" (identifier "ClampImage") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uStack_80 = 0x1bbca1;\n          iVar5 = NormalizeImage();\n          if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }\n        }" ({ "{") (expression_statement "uStack_80 = 0x1bbca1;" (assignment_expression "uStack_80 = 0x1bbca1" (identifier "uStack_80") (= "=") (number_literal "0x1bbca1")) (; ";")) (expression_statement "iVar5 = NormalizeImage();" (assignment_expression "iVar5 = NormalizeImage()" (identifier "iVar5") (= "=") (call_expression "NormalizeImage()" (identifier "NormalizeImage") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            uStack_80 = 0x1bbcbb;\n            iVar5 = NegateImage();\n            if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }\n          }" ({ "{") (expression_statement "uStack_80 = 0x1bbcbb;" (assignment_expression "uStack_80 = 0x1bbcbb" (identifier "uStack_80") (= "=") (number_literal "0x1bbcbb")) (; ";")) (expression_statement "iVar5 = NegateImage();" (assignment_expression "iVar5 = NegateImage()" (identifier "iVar5") (= "=") (call_expression "NegateImage()" (identifier "NegateImage") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              uStack_80 = 0x1bbcd9;\n              FUN_001a9210();\n            }" ({ "{") (expression_statement "uStack_80 = 0x1bbcd9;" (assignment_expression "uStack_80 = 0x1bbcd9" (identifier "uStack_80") (= "=") (number_literal "0x1bbcd9")) (; ";")) (expression_statement "FUN_001a9210();" (call_expression "FUN_001a9210()" (identifier "FUN_001a9210") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" (identifier "uStack_80") (= "=") (number_literal "1")) (; ";")) (expression_statement "iStack_84 = 0;" (assignment_expression "iStack_84 = 0" (identifier "iStack_84") (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_88 = 0;" (assignment_expression "iStack_88 = 0" (identifier "iStack_88") (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" (identifier "iStack_8c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uStack_90 = 0x1bbb13;" (assignment_expression "uStack_90 = 0x1bbb13" (identifier "uStack_90") (= "=") (number_literal "0x1bbb13")) (; ";")) (expression_statement "iVar5 = CloneImage();" (assignment_expression "iVar5 = CloneImage()" (identifier "iVar5") (= "=") (call_expression "CloneImage()" (identifier "CloneImage") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          uStack_80 = 0x1bbdca;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" ({ "{") (expression_statement "uStack_80 = 0x1bbdca;" (assignment_expression "uStack_80 = 0x1bbdca" (identifier "uStack_80") (= "=") (number_literal "0x1bbdca")) (; ";")) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" (identifier "DestroyImage") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_001bbbd1;" (goto "goto") (statement_identifier "LAB_001bbbd1") (; ";")) (} "}"))) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" (identifier "uStack_80") (= "=") (number_literal "1")) (; ";")) (expression_statement "iStack_84 = 9;" (assignment_expression "iStack_84 = 9" (identifier "iStack_84") (= "=") (number_literal "9")) (; ";")) (expression_statement "uStack_90 = 0x1bbb3a;" (assignment_expression "uStack_90 = 0x1bbb3a" (identifier "uStack_90") (= "=") (number_literal "0x1bbb3a")) (; ";")) (expression_statement "iStack_8c = iVar5;" (assignment_expression "iStack_8c = iVar5" (identifier "iStack_8c") (= "=") (identifier "iVar5")) (; ";")) (expression_statement "iStack_88 = iVar4;" (assignment_expression "iStack_88 = iVar4" (identifier "iStack_88") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "CompositeImage();" (call_expression "CompositeImage()" (identifier "CompositeImage") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_80 = 0x1bbb46;" (assignment_expression "uStack_80 = 0x1bbb46" (identifier "uStack_80") (= "=") (number_literal "0x1bbb46")) (; ";")) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" (identifier "DestroyImage") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" (identifier "uStack_80") (= "=") (number_literal "1")) (; ";")) (expression_statement "iStack_84 = 0;" (assignment_expression "iStack_84 = 0" (identifier "iStack_84") (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_88 = 0;" (assignment_expression "iStack_88 = 0" (identifier "iStack_88") (= "=") (number_literal "0")) (; ";")) (expression_statement "iStack_8c = param_1;" (assignment_expression "iStack_8c = param_1" (identifier "iStack_8c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "uStack_90 = 0x1bbb59;" (assignment_expression "uStack_90 = 0x1bbb59" (identifier "uStack_90") (= "=") (number_literal "0x1bbb59")) (; ";")) (expression_statement "iVar4 = CloneImage();" (assignment_expression "iVar4 = CloneImage()" (identifier "iVar4") (= "=") (call_expression "CloneImage()" (identifier "CloneImage") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }\n          uStack_80 = 0x1bbb97;\n          SetImageArtifact();\n          uStack_80 = 1;\n          iStack_84 = 3;\n          uStack_90 = 0x1bbbad;\n          iStack_8c = iVar5;\n          iStack_88 = iVar4;\n          CompositeImage();\n          uStack_80 = 0x1bbbb6;\n          DestroyImage();\n          goto LAB_001bbbd1;\n        }" ({ "{") (if_statement "if (*(int *)(iVar4 + 0x294) != 4) {\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar4 + 0x294) != 4)" (( "(") (binary_expression "*(int *)(iVar4 + 0x294) != 4" (pointer_expression "*(int *)(iVar4 + 0x294)" (* "*") (cast_expression "(int *)(iVar4 + 0x294)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x294)" (( "(") (binary_expression "iVar4 + 0x294" (identifier "iVar4") (+ "+") (number_literal "0x294")) () ")")))) (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n            uStack_80 = 0x1bbb7d;\n            SetImageAlpha();\n          }" ({ "{") (expression_statement "uStack_80 = 0x1bbb7d;" (assignment_expression "uStack_80 = 0x1bbb7d" (identifier "uStack_80") (= "=") (number_literal "0x1bbb7d")) (; ";")) (expression_statement "SetImageAlpha();" (call_expression "SetImageAlpha()" (identifier "SetImageAlpha") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uStack_80 = 0x1bbb97;" (assignment_expression "uStack_80 = 0x1bbb97" (identifier "uStack_80") (= "=") (number_literal "0x1bbb97")) (; ";")) (expression_statement "SetImageArtifact();" (call_expression "SetImageArtifact()" (identifier "SetImageArtifact") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_80 = 1;" (assignment_expression "uStack_80 = 1" (identifier "uStack_80") (= "=") (number_literal "1")) (; ";")) (expression_statement "iStack_84 = 3;" (assignment_expression "iStack_84 = 3" (identifier "iStack_84") (= "=") (number_literal "3")) (; ";")) (expression_statement "uStack_90 = 0x1bbbad;" (assignment_expression "uStack_90 = 0x1bbbad" (identifier "uStack_90") (= "=") (number_literal "0x1bbbad")) (; ";")) (expression_statement "iStack_8c = iVar5;" (assignment_expression "iStack_8c = iVar5" (identifier "iStack_8c") (= "=") (identifier "iVar5")) (; ";")) (expression_statement "iStack_88 = iVar4;" (assignment_expression "iStack_88 = iVar4" (identifier "iStack_88") (= "=") (identifier "iVar4")) (; ";")) (expression_statement "CompositeImage();" (call_expression "CompositeImage()" (identifier "CompositeImage") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uStack_80 = 0x1bbbb6;" (assignment_expression "uStack_80 = 0x1bbbb6" (identifier "uStack_80") (= "=") (number_literal "0x1bbbb6")) (; ";")) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" (identifier "DestroyImage") (argument_list "()" (( "(") () ")"))) (; ";")) (goto_statement "goto LAB_001bbbd1;" (goto "goto") (statement_identifier "LAB_001bbbd1") (; ";")) (} "}"))) (expression_statement "uStack_80 = 0x1bbc7b;" (assignment_expression "uStack_80 = 0x1bbc7b" (identifier "uStack_80") (= "=") (number_literal "0x1bbc7b")) (; ";")) (expression_statement "DestroyImage();" (call_expression "DestroyImage()" (identifier "DestroyImage") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_001bbbd1:\n  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" (statement_identifier "LAB_001bbbd1") (: ":") (if_statement "if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar5;\n  }" (if "if") (parenthesized_expression "(iVar10 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "iVar10 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "iVar10") (== "==") (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")) () ")"))))) () ")")) (compound_statement "{\n    return iVar5;\n  }" ({ "{") (return_statement "return iVar5;" (return "return") (identifier "iVar5") (; ";")) (} "}")))) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

type_1 * function_1(type_1 *image,double radius,double sigma,double angle,type_2 *exception)

{
  type_3 *pPVar1;
  bool bVar2;
  double var_19;
  double var_18;
  type_1 *var_3;
  size_t var_27;
  type_4 *var_7;
  type_5 *pRVar7;
  type_6 *pCVar8;
  type_7 var_39;
  type_1 *var_44;
  type_8 var_48;
  type_9 var_24;
  type_10 *var_20;
  size_t sVar14;
  type_4 *var_36;
  type_4 *var_37;
  int var_28;
  int var_1;
  type_11 var_29;
  type_4 uStack_b8;
  type_4 uStack_b4;
  double dStack_b0;
  type_2 *pEStack_a4;
  type_6 *pCStack_a0;
  type_1 *pIStack_9c;
  type_4 *puStack_98;
  type_4 uStack_90;
  int var_32;
  type_1 *var_10;
  type_2 *local_5c;
  type_1 *var_46;
  type_2 *local_34;
  type_6 *local_30;
  type_1 *local_2c;
  type_4 *local_28;
  int local_24;
  int var_56;
  type_4 uStack_14;
  
  uStack_14 = 0x1bb8e9;
  var_56 = *(int *)(var_1 + 0x14);
  uStack_90 = 0x1bb944;
  var_3 = var_2(image,image->columns * 2,image->rows * 2,MagickTrue,exception);
  if (var_3 != (type_1 *)0x0) {
    var_29 = var_4(ThreadResource);
    var_27 = (size_t)var_29;
    var_7 = (type_4 *)var_5(var_27,4);
    local_5c = var_6(radius,0);
    if (var_7 == (type_4 *)0x0) {
      var_8();
      var_32 = *(int *)(var_1 + 0x14);
      var_18 = (double)var_9(var_3,exception);
      if (var_10 == (type_1 *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_11("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")
        ;
      }
      if (var_10->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
        var_11("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,
                      "SolarizeImage");
      }
      if (var_10->debug != var_12) {
        var_13(TraceEvent,"MagickCore/visual-effects.c","SolarizeImage",0x92d,"%s",
                       var_10->filename);
      }
      if ((var_10->colorspace == var_14) ||
         (var_10->colorspace == var_15)) {
        var_16(var_10,sRGBColorspace,local_5c);
      }
      if (var_10->storage_class == var_17) {
        var_27 = var_10->colors;
        if (0 < (int)var_27) {
          pPVar1 = var_10->colormap;
          var_19 = (double)DAT_0029f710;
          var_20 = &pPVar1->red;
          do {
            if (var_18 < *var_20) {
              *var_20 = var_19 - *var_20;
            }
            if (var_18 < var_20[1]) {
              var_20[1] = (double)DAT_0029f710 - var_20[1];
            }
            if (var_18 < var_20[2]) {
              var_20[2] = (double)DAT_0029f710 - var_20[2];
            }
            var_20 = var_20 + 10;
          } while (&pPVar1[var_27].red != var_20);
        }
        var_3 = (type_1 *)var_21(var_10,local_5c);
        goto LAB_001bbed7;
      }
      uStack_b8 = 0;
      uStack_b4 = 0;
      pCVar8 = var_22(var_10,local_5c);
      var_24 = var_23(var_10);
      if (((var_24 == var_25) ||
          (var_24 = var_23(var_10), var_24 == var_26)) &&
         ((var_24 = var_23(var_10), var_24 == var_25 ||
          (var_24 = var_23(var_10), var_24 == var_26)))) {
        var_29 = var_4(ThreadResource);
        var_27 = var_10->rows;
        sVar14 = var_27 + 0x3f;
        if (-1 < (int)var_27) {
          sVar14 = var_27;
        }
        bVar2 = 0x7f < (int)var_27;
        if ((int)var_29 < (int)sVar14 >> 6) {
          var_29 = var_4(ThreadResource);
          bVar2 = 1 < (int)var_29;
        }
        if (bVar2) {
          var_29 = var_4(ThreadResource);
          var_27 = var_10->rows;
          sVar14 = var_27 + 0x3f;
          if (-1 < (int)var_27) {
            sVar14 = var_27;
          }
          var_28 = (int)sVar14 >> 6;
          if ((int)var_29 < var_28) {
            var_29 = var_4(ThreadResource);
            var_28 = (int)var_29;
          }
        }
        else {
LAB_001bc0c7:
          var_28 = 1;
        }
      }
      else {
        var_29 = var_4(ThreadResource);
        if (((int)(var_29 >> 0x20) == 0) && ((type_12)var_29 < 2)) {
          var_29 = var_4(ThreadResource);
          if (((int)(var_29 >> 0x20) == 0) && ((type_12)var_29 < 2)) goto LAB_001bc0c7;
        }
        var_29 = var_4(ThreadResource);
        if (((int)(var_29 >> 0x20) == 0) && ((type_12)var_29 < 2)) {
          var_29 = var_4(ThreadResource);
          var_28 = (int)var_29;
        }
        else {
          var_28 = 2;
        }
      }
      puStack_98 = &uStack_b8;
      pEStack_a4 = local_5c;
      pIStack_9c = (type_1 *)0x1;
      dStack_b0 = var_18;
      pCStack_a0 = pCVar8;
      var_30(SolarizeImage__omp_fn_8,&dStack_b0,var_28,0);
      var_3 = pIStack_9c;
      var_31(pCVar8);
LAB_001bbed7:
      if (var_32 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
        var_33();
      }
      return var_3;
    }
    var_34(var_7,0,var_27 * 4);
    if (0 < (int)var_27) {
      var_36 = var_7;
      do {
        pRVar7 = var_35();
        var_37 = var_36 + 1;
        *var_36 = pRVar7;
        var_36 = var_37;
      } while (var_7 + var_27 != var_37);
    }
    pCVar8 = var_22(var_3,exception);
    var_39 = var_38((type_5 *)*var_7);
    if (var_39 == 0xffffffff) {
      var_24 = var_23(var_3);
      if (((var_24 == var_25) || (var_24 = var_23(var_3), var_24 == var_26))
         && ((var_24 = var_23(var_3), var_24 == var_25 ||
             (var_24 = var_23(var_3), var_24 == var_26)))) {
        var_29 = var_4(ThreadResource);
        var_27 = var_3->rows;
        sVar14 = var_27 + 0x3f;
        if (-1 < (int)var_27) {
          sVar14 = var_27;
        }
        bVar2 = 0x7f < (int)var_27;
        if ((int)var_29 < (int)sVar14 >> 6) {
          var_29 = var_4(ThreadResource);
          bVar2 = 1 < (int)var_29;
        }
        if (bVar2) {
          var_29 = var_4(ThreadResource);
          var_27 = var_3->rows;
          sVar14 = var_27 + 0x3f;
          if (-1 < (int)var_27) {
            sVar14 = var_27;
          }
          if ((int)var_29 < (int)sVar14 >> 6) {
            var_4(ThreadResource);
          }
        }
      }
      else {
        var_29 = var_4(ThreadResource);
        if (((int)(var_29 >> 0x20) == 0) && ((type_12)var_29 < 2)) {
          var_29 = var_4(ThreadResource);
          if (((int)(var_29 >> 0x20) == 0) && ((type_12)var_29 < 2)) goto LAB_001bb9e6;
        }
        var_29 = var_4(ThreadResource);
        if (((int)(var_29 >> 0x20) == 0) && ((type_12)var_29 < 2)) {
          var_4(ThreadResource);
        }
      }
    }
LAB_001bb9e6:
    var_46 = image;
    local_24 = 1;
    local_34 = exception;
    local_30 = pCVar8;
    local_2c = var_3;
    local_28 = var_7;
    var_30();
    var_32 = local_24;
    var_31(pCVar8);
    for (var_28 = 0; var_29 = var_4(ThreadResource), var_28 < (int)var_29;
        var_28 = var_28 + 1) {
      if ((type_5 *)var_7[var_28] != (type_5 *)0x0) {
        pRVar7 = var_40((type_5 *)var_7[var_28]);
        var_7[var_28] = pRVar7;
      }
    }
    var_41(var_7);
    if (var_32 == 0) {
      var_3 = var_42(var_3);
      goto LAB_001bbbd1;
    }
    uStack_90 = 0x1bbaa8;
    var_44 = var_43(var_3,radius,sigma,angle,exception);
    var_42(var_3);
    if (var_44 != (type_1 *)0x0) {
      var_46 = var_45(var_44,radius,exception);
      var_42(var_44);
      if (var_46 != (type_1 *)0x0) {
        var_48 = var_47(var_46,exception);
        if (((var_48 != var_12) &&
            (var_48 = var_49(var_46,exception), var_48 != var_12)) &&
           (var_48 = var_50(var_46,var_12,exception), var_48 != var_12)) {
          var_51(&var_46,(char *)0x0,"50%",exception);
        }
        uStack_90 = 0x1bbb13;
        var_3 = var_2(image,0,0,MagickTrue,exception);
        if (var_3 == (type_1 *)0x0) {
          var_42(var_46);
          goto LAB_001bbbd1;
        }
        uStack_90 = 0x1bbb3a;
        var_52(var_3,var_46,ColorDodgeCompositeOp,MagickTrue,0,0,exception);
        var_46 = var_42(var_46);
        uStack_90 = 0x1bbb59;
        var_44 = var_2(image,0,0,MagickTrue,exception);
        if (var_44 != (type_1 *)0x0) {
          if (var_44->alpha_trait != var_53) {
            var_54(var_44,0.0,exception);
          }
          var_55(var_44,"compose:args","20x80");
          uStack_90 = 0x1bbbad;
          var_52(var_3,var_44,BlendCompositeOp,MagickTrue,0,0,exception);
          var_42(var_44);
          goto LAB_001bbbd1;
        }
        var_42(var_3);
      }
    }
  }
  var_3 = (type_1 *)0x0;
LAB_001bbbd1:
  if (var_56 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_33();
  }
  return var_3;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (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 (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: (subscript_expression argument: (identifier) index: (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: (subscript_expression argument: (identifier) index: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (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))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)) (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (identifier)))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Removing unreachable block (ram,0x001bbbc0) */

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

{
  bool bVar1;
  double dVar2;
  double dVar3;
  int iVar4;
  int iVar5;
  undefined4 *__s;
  undefined4 uVar6;
  int iVar7;
  int iVar8;
  double *pdVar9;
  int iVar10;
  undefined4 *puVar11;
  undefined4 *puVar12;
  int in_GS_OFFSET;
  undefined8 uVar13;
  undefined4 in_stack_00000020;
  undefined4 uStack_b8;
  undefined4 uStack_b4;
  double dStack_b0;
  int iStack_a4;
  undefined4 uStack_a0;
  int iStack_9c;
  undefined4 *puStack_98;
  undefined4 uStack_90;
  int iStack_8c;
  int iStack_88;
  int iStack_84;
  undefined4 uStack_80;
  int *piStack_68;
  int local_5c;
  int iStack_58;
  
  iVar10 = *(int *)(in_GS_OFFSET + 0x14);
  uStack_80 = 1;
  iStack_84 = *(int *)(param_1 + 0x1c) * 2;
  iStack_88 = *(int *)(param_1 + 0x18) * 2;
  iStack_8c = param_1;
  uStack_90 = 0x1bb944;
  iVar4 = CloneImage();
  if (iVar4 != 0) {
    uStack_80 = 0x1bb95d;
    iVar5 = GetMagickResourceLimit();
    uStack_80 = 0x1bb969;
    __s = (undefined4 *)AcquireQuantumMemory();
    local_5c = (int)param_2;
    if (__s == (undefined4 *)0x0) {
      FUN_00033de7();
      uStack_80 = 0x1bbde9;
      iStack_8c = *(int *)(in_GS_OFFSET + 0x14);
      dVar3 = (double)CONCAT44(iVar4,in_stack_00000020);
      if (piStack_68 == (int *)0x0) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("image != (Image *) NULL","MagickCore/visual-effects.c",0x92a,"SolarizeImage")
        ;
      }
      if (piStack_68[0xcd1] != -0x54535255) {
                    /* WARNING: Subroutine does not return */
        __assert_fail("image->signature == MagickCoreSignature","MagickCore/visual-effects.c",0x92b,
                      "SolarizeImage");
      }
      if (piStack_68[0xcca] != 0) {
        LogMagickEvent(0x8000,"MagickCore/visual-effects.c","SolarizeImage",0x92d,&DAT_002b6e4e,
                       piStack_68 + 0xc6);
      }
      if ((piStack_68[1] == 0x21) || (piStack_68[1] == 3)) {
        SetImageColorspace(piStack_68,0x17,local_5c);
      }
      if (*piStack_68 == 2) {
        iVar10 = piStack_68[9];
        if (0 < iVar10) {
          iVar4 = piStack_68[10];
          dVar2 = (double)DAT_0029f710;
          pdVar9 = (double *)(iVar4 + 0x20);
          do {
            if (dVar3 < *pdVar9) {
              *pdVar9 = dVar2 - *pdVar9;
            }
            if (dVar3 < pdVar9[1]) {
              pdVar9[1] = (double)DAT_0029f710 - pdVar9[1];
            }
            if (dVar3 < pdVar9[2]) {
              pdVar9[2] = (double)DAT_0029f710 - pdVar9[2];
            }
            pdVar9 = pdVar9 + 10;
          } while ((double *)(iVar4 + 0x20 + iVar10 * 0x50) != pdVar9);
        }
        iVar10 = SyncImage(piStack_68,local_5c);
        goto LAB_001bbed7;
      }
      uStack_b8 = 0;
      uStack_b4 = 0;
      uVar6 = AcquireAuthenticCacheView(piStack_68,local_5c);
      iVar10 = GetImagePixelCacheType(piStack_68);
      if (((iVar10 == 4) || (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)) &&
         ((iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 4 ||
          (iVar10 = GetImagePixelCacheType(piStack_68), iVar10 == 3)))) {
        iVar5 = GetMagickResourceLimit(7);
        iVar10 = piStack_68[7];
        iVar4 = iVar10 + 0x3f;
        if (-1 < iVar10) {
          iVar4 = iVar10;
        }
        bVar1 = 0x7f < iVar10;
        if (iVar5 < iVar4 >> 6) {
          iVar10 = GetMagickResourceLimit(7);
          bVar1 = 1 < iVar10;
        }
        if (bVar1) {
          iVar5 = GetMagickResourceLimit(7);
          iVar4 = piStack_68[7];
          iVar10 = iVar4 + 0x3f;
          if (-1 < iVar4) {
            iVar10 = iVar4;
          }
          iVar10 = iVar10 >> 6;
          if (iVar5 < iVar10) {
            iVar10 = GetMagickResourceLimit(7);
          }
        }
        else {
LAB_001bc0c7:
          iVar10 = 1;
        }
      }
      else {
        uVar13 = GetMagickResourceLimit(7);
        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {
          uVar13 = GetMagickResourceLimit(7);
          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bc0c7;
        }
        uVar13 = GetMagickResourceLimit(7);
        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {
          iVar10 = GetMagickResourceLimit(7);
        }
        else {
          iVar10 = 2;
        }
      }
      puStack_98 = &uStack_b8;
      iStack_a4 = local_5c;
      iStack_9c = 1;
      dStack_b0 = dVar3;
      uStack_a0 = uVar6;
      GOMP_parallel(FUN_001b7640,&dStack_b0,iVar10,0);
      iVar10 = iStack_9c;
      DestroyCacheView(uVar6);
LAB_001bbed7:
      if (iStack_8c == *(int *)(in_GS_OFFSET + 0x14)) {
        return iVar10;
      }
                    /* WARNING: Subroutine does not return */
      FUN_0029eab0();
    }
    uStack_80 = 0x1bb98d;
    memset(__s,0,iVar5 * 4);
    if (0 < iVar5) {
      puVar11 = __s;
      do {
        uVar6 = AcquireRandomInfo();
        puVar12 = puVar11 + 1;
        *puVar11 = uVar6;
        puVar11 = puVar12;
      } while (__s + iVar5 != puVar12);
    }
    uStack_80 = 0x1bb9cb;
    AcquireAuthenticCacheView();
    uStack_80 = 0x1bb9d5;
    iVar5 = GetRandomSecretKey();
    if (iVar5 == -1) {
      uStack_80 = 0x1bbbfc;
      iVar5 = GetImagePixelCacheType();
      if (iVar5 == 4) {
LAB_001bbce8:
        uStack_80 = 0x1bbcf4;
        iVar5 = GetImagePixelCacheType();
        if (iVar5 != 4) {
          uStack_80 = 0x1bbd08;
          iVar5 = GetImagePixelCacheType();
          if (iVar5 != 3) goto LAB_001bbc20;
        }
        uStack_80 = 0x1bbd1e;
        iVar8 = GetMagickResourceLimit();
        iVar5 = *(int *)(iVar4 + 0x1c);
        iVar7 = iVar5 + 0x3f;
        if (-1 < iVar5) {
          iVar7 = iVar5;
        }
        bVar1 = 0x7f < iVar5;
        if (iVar8 < iVar7 >> 6) {
          uStack_80 = 0x1bbd9d;
          iVar5 = GetMagickResourceLimit();
          bVar1 = 1 < iVar5;
        }
        if (bVar1) {
          uStack_80 = 0x1bbd4f;
          iVar8 = GetMagickResourceLimit();
          iVar5 = *(int *)(iVar4 + 0x1c);
          iVar7 = iVar5 + 0x3f;
          if (-1 < iVar5) {
            iVar7 = iVar5;
          }
          if (iVar8 < iVar7 >> 6) {
            uStack_80 = 0x1bbdb2;
            GetMagickResourceLimit();
          }
        }
      }
      else {
        uStack_80 = 0x1bbc14;
        iVar5 = GetImagePixelCacheType();
        if (iVar5 == 3) goto LAB_001bbce8;
LAB_001bbc20:
        uStack_80 = 0x1bbc2a;
        uVar13 = GetMagickResourceLimit();
        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {
          uStack_80 = 0x1bbd79;
          uVar13 = GetMagickResourceLimit();
          if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) goto LAB_001bb9e6;
        }
        uStack_80 = 0x1bbc45;
        uVar13 = GetMagickResourceLimit();
        if (((int)((ulonglong)uVar13 >> 0x20) == 0) && ((uint)uVar13 < 2)) {
          uStack_80 = 0x1bbc5c;
          GetMagickResourceLimit();
        }
      }
    }
LAB_001bb9e6:
    uStack_80 = 0x1bba22;
    GOMP_parallel();
    iVar5 = 0;
    uStack_80 = 0x1bba34;
    DestroyCacheView();
    while( true ) {
      uStack_80 = 0x1bba63;
      iVar7 = GetMagickResourceLimit();
      if (iVar7 <= iVar5) break;
      if (__s[iVar5] != 0) {
        uStack_80 = 0x1bba50;
        uVar6 = DestroyRandomInfo();
        __s[iVar5] = uVar6;
      }
      iVar5 = iVar5 + 1;
    }
    uStack_80 = 0x1bba73;
    RelinquishMagickMemory();
    uStack_80 = param_3;
    iStack_58 = (int)((ulonglong)param_2 >> 0x20);
    iStack_84 = iStack_58;
    iStack_88 = local_5c;
    uStack_90 = 0x1bbaa8;
    iStack_8c = iVar4;
    iVar4 = MotionBlurImage();
    uStack_80 = 0x1bbab6;
    DestroyImage();
    if (iVar4 != 0) {
      uStack_80 = 0x1bbad0;
      iVar4 = EdgeImage();
      uStack_80 = 0x1bbadc;
      DestroyImage();
      if (iVar4 != 0) {
        uStack_80 = 0x1bbaf5;
        iVar5 = ClampImage();
        if (iVar5 != 0) {
          uStack_80 = 0x1bbca1;
          iVar5 = NormalizeImage();
          if (iVar5 != 0) {
            uStack_80 = 0x1bbcbb;
            iVar5 = NegateImage();
            if (iVar5 != 0) {
              uStack_80 = 0x1bbcd9;
              FUN_001a9210();
            }
          }
        }
        uStack_80 = 1;
        iStack_84 = 0;
        iStack_88 = 0;
        iStack_8c = param_1;
        uStack_90 = 0x1bbb13;
        iVar5 = CloneImage();
        if (iVar5 == 0) {
          uStack_80 = 0x1bbdca;
          DestroyImage();
          goto LAB_001bbbd1;
        }
        uStack_80 = 1;
        iStack_84 = 9;
        uStack_90 = 0x1bbb3a;
        iStack_8c = iVar5;
        iStack_88 = iVar4;
        CompositeImage();
        uStack_80 = 0x1bbb46;
        DestroyImage();
        uStack_80 = 1;
        iStack_84 = 0;
        iStack_88 = 0;
        iStack_8c = param_1;
        uStack_90 = 0x1bbb59;
        iVar4 = CloneImage();
        if (iVar4 != 0) {
          if (*(int *)(iVar4 + 0x294) != 4) {
            uStack_80 = 0x1bbb7d;
            SetImageAlpha();
          }
          uStack_80 = 0x1bbb97;
          SetImageArtifact();
          uStack_80 = 1;
          iStack_84 = 3;
          uStack_90 = 0x1bbbad;
          iStack_8c = iVar5;
          iStack_88 = iVar4;
          CompositeImage();
          uStack_80 = 0x1bbbb6;
          DestroyImage();
          goto LAB_001bbbd1;
        }
        uStack_80 = 0x1bbc7b;
        DestroyImage();
      }
    }
  }
  iVar5 = 0;
LAB_001bbbd1:
  if (iVar10 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar5;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0029eab0();
}

