
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

CubeInfo * ClassifyImageColors(Image *image,ExceptionInfo *exception)

{
  MagickSizeType *pMVar1;
  _NodeInfo **pp_Var2;
  long lVar3;
  PixelChannelMap *pPVar4;
  MagickSizeType MVar5;
  byte bVar6;
  size_t count;
  uint uVar7;
  MagickBooleanType MVar8;
  CacheView *cache_view;
  Quantum *pQVar9;
  NodeInfo *pNVar10;
  PixelTrait *pPVar11;
  PixelInfo *pPVar12;
  byte bVar13;
  uint uVar14;
  uint uVar15;
  MagickSizeType MVar16;
  long lVar17;
  MagickSizeType MVar18;
  long in_FS_OFFSET;
  float fVar19;
  Quantum QVar20;
  double dVar21;
  double dVar22;
  MagickRealType MVar23;
  double dVar24;
  CubeInfo *local_c0;
  long local_b8;
  MagickOffsetType local_a8;
  PixelInfo pixel;
  
  lVar3 = *(long *)(in_FS_OFFSET + 0x28);
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,
                  "ClassifyImageColors");
  }
  if (image->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,
                  "ClassifyImageColors");
  }
  if (image->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",
                   image->filename);
  }
  local_c0 = GetCubeInfo();
  if (local_c0 == (CubeInfo *)0x0) {
    ThrowMagickException
              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,
               "MemoryAllocationFailed","`%s\'",image->filename);
  }
  else {
    GetPixelInfo(image,&pixel);
    cache_view = AcquireVirtualCacheView(image,exception);
    if (0 < (long)image->rows) {
      local_a8 = 0;
      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),
            pQVar9 != (Quantum *)0x0) {
        if (0 < (long)image->columns) {
          local_b8 = 0;
          do {
            dVar24 = DAT_003f95f8;
            pNVar10 = local_c0->root;
            lVar17 = 7;
            do {
              ResetMagickMemory(&pixel,0,0x58);
              pixel.alpha = dVar24;
              pixel.storage_class = image->storage_class;
              pixel.colorspace = image->colorspace;
              pixel.fuzz = image->fuzz;
              pixel.depth = image->depth;
              pixel.alpha_trait = image->alpha_trait;
              if (pQVar9 != (Quantum *)0x0) {
                pPVar4 = image->channel_map;
                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];
                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];
                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];
                if (pPVar4[3].traits != UndefinedPixelTrait) {
                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];
                }
                if (pPVar4[4].traits != UndefinedPixelTrait) {
                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];
                  pixel.alpha_trait = BlendPixelTrait;
                }
                if (pPVar4[5].traits != UndefinedPixelTrait) {
                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];
                }
              }
              fVar19 = (float)pixel.red;
              if (NAN(fVar19)) {
                uVar14 = 0;
              }
              else {
                uVar14 = 0;
                if (0.0 < fVar19) {
                  uVar14 = 0xffffffff;
                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {
                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              bVar6 = (byte)lVar17;
              fVar19 = (float)pixel.green;
              if (NAN(fVar19)) {
                uVar15 = 0;
              }
              else {
                uVar15 = 0;
                if (0.0 < fVar19) {
                  uVar15 = 0xffffffff;
                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {
                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              fVar19 = (float)pixel.blue;
              if (NAN(fVar19)) {
                uVar7 = 0;
              }
              else {
                uVar7 = 0;
                if (0.0 < fVar19) {
                  uVar7 = 0xffffffff;
                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {
                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |
                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |
                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;
              if (image->alpha_trait != UndefinedPixelTrait) {
                fVar19 = (float)pixel.alpha;
                if (NAN(fVar19)) {
                  bVar13 = 0;
                }
                else {
                  bVar13 = 0;
                  if (0.0 < fVar19) {
                    bVar13 = 0xff;
                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {
                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);
                    }
                  }
                }
                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;
              }
              pp_Var2 = pNVar10->child + (int)uVar14;
              if (*pp_Var2 == (_NodeInfo *)0x0) {
                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);
                *pp_Var2 = pNVar10;
                if (pNVar10 == (NodeInfo *)0x0) {
                  ThrowMagickException
                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,
                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);
                  local_c0 = (CubeInfo *)0x0;
                  goto LAB_00213193;
                }
              }
              pNVar10 = *pp_Var2;
              lVar17 = lVar17 + -1;
            } while (lVar17 != 0);
            MVar5 = pNVar10->number_unique;
            if ((long)MVar5 < 1) {
              MVar18 = 0;
            }
            else {
              MVar23 = DAT_003f95f8;
              if (pixel.alpha_trait != UndefinedPixelTrait) {
                MVar23 = pixel.alpha;
              }
              dVar24 = MVar23;
              if (MVar23 < 0.0) {
                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);
              }
              pPVar11 = &pNVar10->list->alpha_trait;
              MVar16 = 0;
              do {
                dVar22 = DAT_003f95f8;
                if (*pPVar11 != UndefinedPixelTrait) {
                  dVar22 = *(double *)(pPVar11 + 0x10);
                }
                dVar21 = MVar23 - dVar22;
                if (dVar21 < 0.0) {
                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);
                }
                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;
                if (dVar24 < DAT_003f9600) {
LAB_0021338d:
                  MVar18 = MVar16;
                  if ((long)MVar16 < (long)MVar5) {
                    pMVar1 = &pNVar10->list[MVar16].count;
                    *pMVar1 = *pMVar1 + 1;
                    goto LAB_002133a0;
                  }
                  break;
                }
                if (dVar22 < 0.0) {
                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);
                }
                if (dVar22 < DAT_003f9600) goto LAB_0021338d;
                dVar22 = pixel.red - *(double *)(pPVar11 + 8);
                if (dVar22 < 0.0) {
                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);
                }
                if (dVar22 < DAT_003f9600) {
                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);
                  if (dVar22 < 0.0) {
                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);
                  }
                  if (dVar22 < DAT_003f9600) {
                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);
                    if (dVar22 < 0.0) {
                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);
                    }
                    if (dVar22 < DAT_003f9600) {
                      if (pixel.colorspace == CMYKColorspace) {
                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);
                        if (dVar22 < 0.0) {
                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);
                        }
                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;
                      }
                      goto LAB_0021338d;
                    }
                  }
                }
LAB_002132b1:
                MVar16 = MVar16 + 1;
                pPVar11 = pPVar11 + 0x16;
                MVar18 = MVar5;
              } while (MVar16 != MVar5);
            }
            if (MVar5 == 0) {
              pNVar10->extent = 1;
              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);
              pNVar10->list = pPVar12;
            }
            else if ((long)pNVar10->extent <= (long)MVar18) {
              count = pNVar10->extent * 2;
              pNVar10->extent = count;
              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);
              pNVar10->list = pPVar12;
            }
            pPVar12 = pNVar10->list;
            if (pPVar12 == (PixelInfo *)0x0) {
              ThrowMagickException
                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,
                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);
              local_c0 = (CubeInfo *)0x0;
              goto LAB_00213193;
            }
            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);
            pPVar12[MVar18].colorspace =
                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);
            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);
            pPVar12[MVar18].fuzz = pixel.fuzz;
            pPVar12[MVar18].depth = pixel.depth;
            pPVar12[MVar18].count = pixel.count;
            pPVar12[MVar18].red = pixel.red;
            pPVar12[MVar18].green = pixel.green;
            pPVar12[MVar18].blue = pixel.blue;
            pPVar12[MVar18].black = pixel.black;
            pPVar12[MVar18].alpha = pixel.alpha;
            pPVar12[MVar18].index = pixel.index;
            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];
            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];
            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];
            if (image->colorspace == CMYKColorspace) {
              QVar20 = 0.0;
              if (image->channel_map[3].traits != UndefinedPixelTrait) {
                QVar20 = pQVar9[image->channel_map[3].offset];
              }
              pNVar10->list[MVar18].black = (double)QVar20;
            }
            fVar19 = _DAT_003fa400;
            if (image->channel_map[4].traits != UndefinedPixelTrait) {
              fVar19 = pQVar9[image->channel_map[4].offset];
            }
            pNVar10->list[MVar18].alpha = (double)fVar19;
            pNVar10->list[MVar18].count = 1;
            pNVar10->number_unique = pNVar10->number_unique + 1;
            local_c0->colors = local_c0->colors + 1;
LAB_002133a0:
            pQVar9 = pQVar9 + image->number_channels;
            local_b8 = local_b8 + 1;
          } while (local_b8 < (long)image->columns);
        }
        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);
        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))
        break;
      }
    }
    DestroyCacheView(cache_view);
  }
LAB_00213193:
  if (lVar3 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return local_c0;
}



/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

long * FUN_00212cd3(undefined4 *param_1,undefined8 param_2)

{
  long *plVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  undefined8 uVar5;
  long lVar6;
  long lVar7;
  int *piVar8;
  undefined8 uVar9;
  byte bVar10;
  uint uVar11;
  uint uVar12;
  long lVar13;
  long lVar14;
  long lVar15;
  long in_FS_OFFSET;
  float fVar16;
  double dVar17;
  double dVar18;
  double dVar19;
  double dVar20;
  long *local_c0;
  long local_b8;
  long local_a8;
  undefined4 local_98;
  int iStack_94;
  int local_90;
  undefined4 uStack_8c;
  undefined8 local_88;
  undefined8 local_80;
  undefined8 local_78;
  double local_70;
  double local_68;
  double local_60;
  double local_58;
  double local_50;
  double local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == (undefined4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,
                  "ClassifyImageColors");
  }
  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,
                  "ClassifyImageColors");
  }
  if (param_1[0xd06] != 0) {
    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,
                   param_1 + 0xfe);
  }
  local_c0 = (long *)FUN_00212c8f();
  if (local_c0 == (long *)0x0) {
    ThrowMagickException
              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,
               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);
  }
  else {
    GetPixelInfo(param_1,&local_98);
    uVar5 = AcquireVirtualCacheView(param_1,param_2);
    if (0 < *(long *)(param_1 + 10)) {
      local_a8 = 0;
      while (lVar6 = GetCacheViewVirtualPixels
                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0
            ) {
        if (0 < *(long *)(param_1 + 8)) {
          local_b8 = 0;
          do {
            dVar19 = DAT_003f95f8;
            lVar7 = *local_c0;
            lVar14 = 7;
            do {
              ResetMagickMemory(&local_98,0,0x58);
              local_50 = dVar19;
              local_98 = *param_1;
              iStack_94 = param_1[1];
              local_88 = *(undefined8 *)(param_1 + 0xa6);
              local_80 = *(undefined8 *)(param_1 + 0xc);
              local_90 = param_1[0xcf];
              if (lVar6 != 0) {
                lVar15 = *(long *)(param_1 + 0xd8);
                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);
                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);
                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);
                if (*(int *)(lVar15 + 0x34) != 0) {
                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);
                }
                if (*(int *)(lVar15 + 0x44) != 0) {
                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);
                  local_90 = 4;
                }
                if (*(int *)(lVar15 + 0x54) != 0) {
                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);
                }
              }
              fVar16 = (float)local_70;
              if (NAN(fVar16)) {
                uVar11 = 0;
              }
              else {
                uVar11 = 0;
                if (0.0 < fVar16) {
                  uVar11 = 0xffffffff;
                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {
                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              bVar2 = (byte)lVar14;
              fVar16 = (float)local_68;
              if (NAN(fVar16)) {
                uVar12 = 0;
              }
              else {
                uVar12 = 0;
                if (0.0 < fVar16) {
                  uVar12 = 0xffffffff;
                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {
                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              fVar16 = (float)local_60;
              if (NAN(fVar16)) {
                uVar3 = 0;
              }
              else {
                uVar3 = 0;
                if (0.0 < fVar16) {
                  uVar3 = 0xffffffff;
                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {
                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |
                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |
                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;
              if (param_1[0xcf] != 0) {
                fVar16 = (float)local_50;
                if (NAN(fVar16)) {
                  bVar10 = 0;
                }
                else {
                  bVar10 = 0;
                  if (0.0 < fVar16) {
                    bVar10 = 0xff;
                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {
                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);
                    }
                  }
                }
                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;
              }
              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);
              if (*plVar1 == 0) {
                lVar7 = FUN_00212c16(local_c0,8 - lVar14);
                *plVar1 = lVar7;
                if (lVar7 == 0) {
                  ThrowMagickException
                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,
                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);
                  local_c0 = (long *)0x0;
                  goto LAB_00213193;
                }
              }
              lVar7 = *plVar1;
              lVar14 = lVar14 + -1;
            } while (lVar14 != 0);
            lVar14 = *(long *)(lVar7 + 0x90);
            if (lVar14 < 1) {
              lVar15 = 0;
            }
            else {
              dVar19 = DAT_003f95f8;
              if (local_90 != 0) {
                dVar19 = local_50;
              }
              dVar20 = dVar19;
              if (dVar19 < 0.0) {
                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);
              }
              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);
              lVar13 = 0;
              do {
                dVar18 = DAT_003f95f8;
                if (*piVar8 != 0) {
                  dVar18 = *(double *)(piVar8 + 0x10);
                }
                dVar17 = dVar19 - dVar18;
                if (dVar17 < 0.0) {
                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);
                }
                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;
                if (dVar20 < DAT_003f9600) {
LAB_0021338d:
                  lVar15 = lVar13;
                  if (lVar13 < lVar14) {
                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);
                    *plVar1 = *plVar1 + 1;
                    goto LAB_002133a0;
                  }
                  break;
                }
                if (dVar18 < 0.0) {
                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                }
                if (dVar18 < DAT_003f9600) goto LAB_0021338d;
                dVar18 = local_70 - *(double *)(piVar8 + 8);
                if (dVar18 < 0.0) {
                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                }
                if (dVar18 < DAT_003f9600) {
                  dVar18 = local_68 - *(double *)(piVar8 + 10);
                  if (dVar18 < 0.0) {
                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                  }
                  if (dVar18 < DAT_003f9600) {
                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);
                    if (dVar18 < 0.0) {
                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                    }
                    if (dVar18 < DAT_003f9600) {
                      if (iStack_94 == 2) {
                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);
                        if (dVar18 < 0.0) {
                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                        }
                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;
                      }
                      goto LAB_0021338d;
                    }
                  }
                }
LAB_002132b1:
                lVar13 = lVar13 + 1;
                piVar8 = piVar8 + 0x16;
                lVar15 = lVar14;
              } while (lVar13 != lVar14);
            }
            if (lVar14 == 0) {
              *(undefined8 *)(lVar7 + 0x88) = 1;
              uVar9 = AcquireQuantumMemory(1,0x58);
              *(undefined8 *)(lVar7 + 0x80) = uVar9;
            }
            else if (*(long *)(lVar7 + 0x88) <= lVar15) {
              lVar14 = *(long *)(lVar7 + 0x88) * 2;
              *(long *)(lVar7 + 0x88) = lVar14;
              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);
              *(undefined8 *)(lVar7 + 0x80) = uVar9;
            }
            lVar14 = *(long *)(lVar7 + 0x80);
            if (lVar14 == 0) {
              ThrowMagickException
                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,
                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);
              local_c0 = (long *)0x0;
              goto LAB_00213193;
            }
            lVar13 = lVar15 * 0x58;
            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);
            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);
            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;
            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;
            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;
            *(double *)(lVar14 + 0x28 + lVar13) = local_70;
            *(double *)(lVar14 + 0x30 + lVar13) = local_68;
            *(double *)(lVar14 + 0x38 + lVar13) = local_60;
            *(double *)(lVar14 + 0x40 + lVar13) = local_58;
            *(double *)(lVar14 + 0x48 + lVar13) = local_50;
            *(double *)(lVar14 + 0x50 + lVar13) = local_48;
            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =
                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);
            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =
                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);
            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =
                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);
            if (param_1[1] == 2) {
              fVar16 = 0.0;
              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {
                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);
              }
              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;
            }
            fVar16 = _DAT_003fa400;
            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {
              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);
            }
            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;
            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;
            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;
            local_c0[3] = local_c0[3] + 1;
LAB_002133a0:
            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;
            local_b8 = local_b8 + 1;
          } while (local_b8 < *(long *)(param_1 + 8));
        }
        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,
                                 *(undefined8 *)(param_1 + 10));
        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;
      }
    }
    DestroyCacheView(uVar5);
  }
LAB_00213193:
  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return local_c0;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x98
MOV qword ptr [RSP + 0x18],RSI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x88],RAX
XOR EAX,EAX
TEST RDI,RDI
JZ 0x00212db5
MOV R15,RDI
MOV EAX,0xabacadab
CMP qword ptr [RDI + 0x3450],RAX
JNZ 0x00212dd4
CMP dword ptr [RDI + 0x3418],0x0
JNZ 0x00212df3
CALL 0x00212c8f
MOV qword ptr [RSP + 0x8],RAX
TEST RAX,RAX
JZ 0x00212e28
LEA RSI,[RSP + 0x30]
MOV RDI,R15
CALL 0x0014ba50
MOV RSI,qword ptr [RSP + 0x18]
MOV RDI,R15
CALL 0x0014a510
MOV qword ptr [RSP + 0x28],RAX
CMP qword ptr [R15 + 0x28],0x0
JLE 0x002134f4
MOV qword ptr [RSP + 0x20],0x0
MOV RCX,qword ptr [R15 + 0x20]
MOV R9,qword ptr [RSP + 0x18]
MOV R8D,0x1
MOV RDX,qword ptr [RSP + 0x20]
MOV ESI,0x0
MOV RDI,qword ptr [RSP + 0x28]
CALL 0x0014a9a0
MOV RBP,RAX
TEST RAX,RAX
JZ 0x002134f4
CMP qword ptr [R15 + 0x20],0x0
JLE 0x002134bf
MOV qword ptr [RSP + 0x10],0x0
JMP 0x002133c1
LEA RCX,[0x41ee30]
MOV EDX,0xd8
LEA RSI,[0x41ecdb]
LEA RDI,[0x3fa444]
CALL 0x0014a360
LEA RCX,[0x41ee30]
MOV EDX,0xd9
LEA RSI,[0x41ecdb]
LEA RDI,[0x3f98f0]
CALL 0x0014a360
LEA R9,[RDI + 0x3f8]
LEA R8,[0x41fe36]
MOV ECX,0xdb
LEA RDX,[0x41ee10]
LEA RSI,[0x41ecdb]
MOV EDI,0x8000
MOV EAX,0x0
CALL 0x0014be20
JMP 0x00212d27
LEA RAX,[R15 + 0x3f8]
PUSH RAX
LEA RAX,[0x3fcd40]
PUSH RAX
LEA R9,[0x3f86c0]
MOV R8D,0x190
MOV ECX,0xdf
LEA RDX,[0x41ee10]
LEA RSI,[0x41ecdb]
MOV RDI,qword ptr [RSP + 0x28]
MOV EAX,0x0
CALL 0x0014cb70
ADD RSP,0x10
JMP 0x00213193
MOV EDX,0x0
JMP 0x00213007
MOV EDX,0x0
JMP 0x0021305e
MOV EAX,0x0
JMP 0x002130bb
CDQE
JMP 0x00212ea8
MOV EDX,0x0
MOVZX EDX,DL
MOV ECX,ESI
SAR EDX,CL
SHL EDX,0x3
AND EDX,0x8
OR EAX,EDX
CDQE
LEA R13,[R13 + RAX*0x8]
CMP qword ptr [R13],0x0
JZ 0x0021312d
MOV R13,qword ptr [R13]
SUB RBX,0x1
JZ 0x002131c1
MOV R12D,0x8
SUB R12,RBX
LEA RDI,[RSP + 0x30]
MOV EDX,0x58
MOV ESI,0x0
CALL 0x0014c770
MOV qword ptr [RSP + 0x78],R14
MOV EAX,dword ptr [R15]
MOV dword ptr [RSP + 0x30],EAX
MOV EAX,dword ptr [R15 + 0x4]
MOV dword ptr [RSP + 0x34],EAX
MOVSD XMM0,qword ptr [R15 + 0x298]
MOVSD qword ptr [RSP + 0x40],XMM0
MOV RAX,qword ptr [R15 + 0x30]
MOV qword ptr [RSP + 0x48],RAX
MOV EAX,dword ptr [R15 + 0x33c]
MOV dword ptr [RSP + 0x38],EAX
TEST RBP,RBP
JZ 0x00212fbf
MOV RAX,qword ptr [R15 + 0x360]
MOV RDX,qword ptr [RAX + 0x8]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RDX*0x4]
MOVSD qword ptr [RSP + 0x58],XMM0
MOV RDX,qword ptr [RAX + 0x18]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RDX*0x4]
MOVSD qword ptr [RSP + 0x60],XMM0
MOV RDX,qword ptr [RAX + 0x28]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RDX*0x4]
MOVSD qword ptr [RSP + 0x68],XMM0
CMP dword ptr [RAX + 0x34],0x0
JZ 0x00212f80
MOV RDX,qword ptr [RAX + 0x38]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RDX*0x4]
MOVSD qword ptr [RSP + 0x70],XMM0
CMP dword ptr [RAX + 0x44],0x0
JZ 0x00212fa2
MOV RDX,qword ptr [RAX + 0x48]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RDX*0x4]
MOVSD qword ptr [RSP + 0x78],XMM0
MOV dword ptr [RSP + 0x38],0x4
CMP dword ptr [RAX + 0x54],0x0
JZ 0x00212fbf
MOV RAX,qword ptr [RAX + 0x58]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RAX*0x4]
MOVSD qword ptr [RSP + 0x80],XMM0
PXOR XMM0,XMM0
CVTSD2SS XMM0,qword ptr [RSP + 0x58]
UCOMISS XMM0,XMM0
JP 0x00212e70
MOV EDX,0x0
PXOR XMM7,XMM7
UCOMISS XMM7,XMM0
JNC 0x00213007
CVTSS2SD XMM0,XMM0
DIVSD XMM0,qword ptr [0x00404930]
MOV EDX,0xffffffff
UCOMISD XMM0,qword ptr [0x00404938]
JNC 0x00213007
ADDSD XMM0,qword ptr [0x003f9c28]
CVTTSD2SI EDX,XMM0
MOV ESI,EBX
MOVZX EDX,DL
MOV ECX,EBX
SAR EDX,CL
AND EDX,0x1
MOV R8D,EDX
PXOR XMM0,XMM0
CVTSD2SS XMM0,qword ptr [RSP + 0x60]
UCOMISS XMM0,XMM0
JP 0x00212e7a
MOV EDX,0x0
PXOR XMM1,XMM1
UCOMISS XMM1,XMM0
JNC 0x0021305e
CVTSS2SD XMM0,XMM0
DIVSD XMM0,qword ptr [0x00404930]
MOV EDX,0xffffffff
UCOMISD XMM0,qword ptr [0x00404938]
JNC 0x0021305e
ADDSD XMM0,qword ptr [0x003f9c28]
CVTTSD2SI EDX,XMM0
MOVZX EDI,DL
MOV ECX,ESI
SAR EDI,CL
MOV EDX,EDI
ADD EDX,EDX
MOV EAX,EDX
AND EAX,0x2
OR EAX,R8D
MOV EDX,EAX
PXOR XMM0,XMM0
CVTSD2SS XMM0,qword ptr [RSP + 0x68]
UCOMISS XMM0,XMM0
JP 0x00212e84
MOV EAX,0x0
PXOR XMM1,XMM1
UCOMISS XMM1,XMM0
JNC 0x002130bb
CVTSS2SD XMM0,XMM0
DIVSD XMM0,qword ptr [0x00404930]
MOV EAX,0xffffffff
UCOMISD XMM0,qword ptr [0x00404938]
JNC 0x002130bb
ADDSD XMM0,qword ptr [0x003f9c28]
CVTTSD2SI EAX,XMM0
MOVZX EAX,AL
MOV ECX,ESI
SAR EAX,CL
SHL EAX,0x2
AND EAX,0x4
OR EAX,EDX
CMP dword ptr [R15 + 0x33c],0x0
JZ 0x00212e8e
PXOR XMM0,XMM0
CVTSD2SS XMM0,qword ptr [RSP + 0x78]
UCOMISS XMM0,XMM0
JP 0x00212e92
MOV EDX,0x0
PXOR XMM1,XMM1
UCOMISS XMM1,XMM0
JNC 0x00212e97
CVTSS2SD XMM0,XMM0
DIVSD XMM0,qword ptr [0x00404930]
MOV EDX,0xffffffff
UCOMISD XMM0,qword ptr [0x00404938]
JNC 0x00212e97
ADDSD XMM0,qword ptr [0x003f9c28]
CVTTSD2SI EDX,XMM0
JMP 0x00212e97
MOV RSI,R12
MOV RDI,qword ptr [RSP + 0x8]
CALL 0x00212c16
MOV qword ptr [R13],RAX
TEST RAX,RAX
JNZ 0x00212eb8
LEA RAX,[R15 + 0x3f8]
PUSH RAX
LEA RAX,[0x3fcd40]
PUSH RAX
LEA R9,[0x3f86c0]
MOV R8D,0x190
MOV ECX,0xfa
LEA RDX,[0x41ee10]
LEA RSI,[0x41ecdb]
MOV RDI,qword ptr [RSP + 0x28]
MOV EAX,0x0
CALL 0x0014cb70
ADD RSP,0x10
MOV qword ptr [RSP + 0x8],0x0
MOV RAX,qword ptr [RSP + 0x8]
MOV RBX,qword ptr [RSP + 0x88]
XOR RBX,qword ptr FS:[0x28]
JNZ 0x00213679
ADD RSP,0x98
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RSI,qword ptr [R13 + 0x90]
MOV RBX,RSI
TEST RSI,RSI
JLE 0x00213503
MOV RDI,qword ptr [R13 + 0x80]
MOVSD XMM2,qword ptr [0x003f95f8]
CMP dword ptr [RSP + 0x38],0x0
JZ 0x002131f0
MOVSD XMM2,qword ptr [RSP + 0x78]
MOVAPD XMM6,XMM2
PXOR XMM0,XMM0
UCOMISD XMM0,XMM2
JBE 0x00213206
XORPD XMM2,xmmword ptr [0x003f9610]
MOVSD XMM8,qword ptr [RSP + 0x58]
MOVSD XMM9,qword ptr [RSP + 0x60]
MOVSD XMM10,qword ptr [RSP + 0x68]
MOV R8D,dword ptr [RSP + 0x34]
MOVSD XMM11,qword ptr [RSP + 0x70]
LEA RAX,[RDI + 0x8]
MOV EDX,0x0
MOVSD XMM5,qword ptr [0x003f95f8]
PXOR XMM4,XMM4
MOVSD XMM3,qword ptr [0x003f9600]
MOVAPD XMM7,XMM3
JMP 0x002132c2
XORPD XMM0,xmmword ptr [0x003f9610]
JMP 0x002132e5
XORPD XMM1,xmmword ptr [0x003f9610]
JMP 0x00213303
XORPD XMM0,xmmword ptr [0x003f9610]
JMP 0x00213329
XORPD XMM0,xmmword ptr [0x003f9610]
JMP 0x0021334f
XORPD XMM0,xmmword ptr [0x003f9610]
JMP 0x00213375
MOVAPD XMM0,XMM11
SUBSD XMM0,qword ptr [RCX + 0x38]
PXOR XMM1,XMM1
UCOMISD XMM1,XMM0
JA 0x002133da
UCOMISD XMM0,qword ptr [0x003f9600]
JC 0x0021338d
ADD RDX,0x1
ADD RAX,0x58
CMP RDX,RBX
JZ 0x00213508
MOV RCX,RAX
MOVAPD XMM1,XMM5
CMP dword ptr [RAX],0x0
JZ 0x002132d3
MOVSD XMM1,qword ptr [RAX + 0x40]
MOVAPD XMM0,XMM6
SUBSD XMM0,XMM1
UCOMISD XMM4,XMM0
JA 0x0021324a
UCOMISD XMM0,XMM3
JNC 0x002132b1
UCOMISD XMM7,XMM2
JA 0x0021338d
PXOR XMM0,XMM0
UCOMISD XMM0,XMM1
JA 0x00213257
MOVSD XMM0,qword ptr [0x003f9600]
UCOMISD XMM0,XMM1
JA 0x0021338d
MOVAPD XMM0,XMM8
SUBSD XMM0,qword ptr [RCX + 0x20]
PXOR XMM1,XMM1
UCOMISD XMM1,XMM0
JA 0x00213264
UCOMISD XMM0,qword ptr [0x003f9600]
JNC 0x002132b1
MOVAPD XMM0,XMM9
SUBSD XMM0,qword ptr [RCX + 0x28]
PXOR XMM1,XMM1
UCOMISD XMM1,XMM0
JA 0x00213271
UCOMISD XMM0,qword ptr [0x003f9600]
JNC 0x002132b1
MOVAPD XMM0,XMM10
SUBSD XMM0,qword ptr [RCX + 0x30]
PXOR XMM1,XMM1
UCOMISD XMM1,XMM0
JA 0x0021327e
UCOMISD XMM0,qword ptr [0x003f9600]
JNC 0x002132b1
CMP R8D,0x2
JZ 0x0021328b
CMP RSI,RDX
JLE 0x002133e7
LEA RAX,[RDX + RDX*0x4]
LEA RAX,[RDX + RAX*0x2]
ADD qword ptr [RDI + RAX*0x8 + 0x20],0x1
MOV RAX,qword ptr [R15 + 0x340]
LEA RBP,[RBP + RAX*0x4]
ADD qword ptr [RSP + 0x10],0x1
MOV RAX,qword ptr [RSP + 0x10]
CMP qword ptr [R15 + 0x20],RAX
JLE 0x002134bf
MOV RAX,qword ptr [RSP + 0x8]
MOV R13,qword ptr [RAX]
MOV EBX,0x7
MOV R14,qword ptr [0x003f95f8]
JMP 0x00212ec6
XORPD XMM0,xmmword ptr [0x003f9610]
JMP 0x002132a3
MOV RBX,RDX
JMP 0x00213508
MOV qword ptr [R13 + 0x88],0x1
MOV ESI,0x58
MOV EDI,0x1
CALL 0x0014af40
MOV qword ptr [R13 + 0x80],RAX
JMP 0x00213521
LEA RSI,[RAX + RAX*0x1]
MOV qword ptr [R13 + 0x88],RSI
MOV RDI,qword ptr [R13 + 0x80]
MOV EDX,0x58
CALL 0x0014b360
MOV qword ptr [R13 + 0x80],RAX
JMP 0x00213521
LEA RAX,[R15 + 0x3f8]
PUSH RAX
LEA RAX,[0x3fcd40]
PUSH RAX
LEA R9,[0x3f86c0]
MOV R8D,0x190
MOV ECX,0x119
LEA RDX,[0x41ee10]
LEA RSI,[0x41ecdb]
MOV RDI,qword ptr [RSP + 0x28]
MOV EAX,0x0
CALL 0x0014cb70
ADD RSP,0x10
MOV qword ptr [RSP + 0x8],0x0
JMP 0x00213193
MOV RDX,qword ptr [R15 + 0x360]
PXOR XMM0,XMM0
CMP dword ptr [RDX + 0x34],0x0
JZ 0x002134a9
MOV RDX,qword ptr [RDX + 0x38]
MOVSS XMM0,dword ptr [RBP + RDX*0x4]
MOV RDX,qword ptr [R13 + 0x80]
CVTSS2SD XMM0,XMM0
MOVSD qword ptr [RDX + RAX*0x1 + 0x40],XMM0
JMP 0x00213622
MOV RCX,qword ptr [R15 + 0x28]
MOV RBX,qword ptr [RSP + 0x20]
MOV RDX,RBX
LEA RSI,[0x41ecf2]
MOV RDI,R15
CALL 0x0014d780
TEST EAX,EAX
JZ 0x002134f4
MOV RAX,RBX
ADD RAX,0x1
MOV qword ptr [RSP + 0x20],RAX
CMP qword ptr [R15 + 0x28],RAX
JG 0x00212d6d
MOV RDI,qword ptr [RSP + 0x28]
CALL 0x0014cc70
JMP 0x00213193
MOV EBX,0x0
TEST RSI,RSI
JZ 0x002133ef
MOV RAX,qword ptr [R13 + 0x88]
CMP RAX,RBX
JLE 0x00213415
MOV RDX,qword ptr [R13 + 0x80]
TEST RDX,RDX
JZ 0x0021343d
LEA RAX,[RBX + RBX*0x4]
LEA RCX,[RBX + RAX*0x2]
LEA RAX,[RCX*0x8]
MOV RSI,qword ptr [RSP + 0x30]
MOV qword ptr [RDX + RCX*0x8],RSI
MOV RCX,qword ptr [RSP + 0x38]
MOV qword ptr [RDX + RAX*0x1 + 0x8],RCX
MOV RCX,qword ptr [RSP + 0x40]
MOV qword ptr [RDX + RAX*0x1 + 0x10],RCX
MOV RCX,qword ptr [RSP + 0x48]
MOV qword ptr [RDX + RAX*0x1 + 0x18],RCX
MOV RCX,qword ptr [RSP + 0x50]
MOV qword ptr [RDX + RAX*0x1 + 0x20],RCX
MOV RCX,qword ptr [RSP + 0x58]
MOV qword ptr [RDX + RAX*0x1 + 0x28],RCX
MOV RCX,qword ptr [RSP + 0x60]
MOV qword ptr [RDX + RAX*0x1 + 0x30],RCX
MOV RCX,qword ptr [RSP + 0x68]
MOV qword ptr [RDX + RAX*0x1 + 0x38],RCX
MOV RCX,qword ptr [RSP + 0x70]
MOV qword ptr [RDX + RAX*0x1 + 0x40],RCX
MOV RCX,qword ptr [RSP + 0x78]
MOV qword ptr [RDX + RAX*0x1 + 0x48],RCX
MOV RCX,qword ptr [RSP + 0x80]
MOV qword ptr [RDX + RAX*0x1 + 0x50],RCX
MOV RDX,qword ptr [R13 + 0x80]
MOV RCX,qword ptr [R15 + 0x360]
MOV RCX,qword ptr [RCX + 0x8]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RCX*0x4]
MOVSD qword ptr [RDX + RAX*0x1 + 0x28],XMM0
MOV RDX,qword ptr [R13 + 0x80]
MOV RCX,qword ptr [R15 + 0x360]
MOV RCX,qword ptr [RCX + 0x18]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RCX*0x4]
MOVSD qword ptr [RDX + RAX*0x1 + 0x30],XMM0
MOV RDX,qword ptr [R13 + 0x80]
MOV RCX,qword ptr [R15 + 0x360]
MOV RCX,qword ptr [RCX + 0x28]
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [RBP + RCX*0x4]
MOVSD qword ptr [RDX + RAX*0x1 + 0x38],XMM0
CMP dword ptr [R15 + 0x4],0x2
JZ 0x0021348e
MOV RDX,qword ptr [R15 + 0x360]
MOVSS XMM0,dword ptr [0x003fa400]
CMP dword ptr [RDX + 0x44],0x0
JZ 0x00213641
MOV RDX,qword ptr [RDX + 0x48]
MOVSS XMM0,dword ptr [RBP + RDX*0x4]
MOV RDX,qword ptr [R13 + 0x80]
CVTSS2SD XMM0,XMM0
MOVSD qword ptr [RDX + RAX*0x1 + 0x48],XMM0
MOV RDX,qword ptr [R13 + 0x80]
MOV qword ptr [RDX + RAX*0x1 + 0x20],0x1
ADD qword ptr [R13 + 0x90],0x1
MOV RAX,qword ptr [RSP + 0x8]
ADD qword ptr [RAX + 0x18],0x1
JMP 0x002133a0
CALL 0x0014c5c0
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nlong * FUN_00212cd3(undefined4 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  int *piVar8;\n  undefined8 uVar9;\n  byte bVar10;\n  uint uVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long *local_c0;\n  long local_b8;\n  long local_a8;\n  undefined4 local_98;\n  int iStack_94;\n  int local_90;\n  undefined4 uStack_8c;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  double local_70;\n  double local_68;\n  double local_60;\n  double local_58;\n  double local_50;\n  double local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }\n  local_c0 = (long *)FUN_00212c8f();\n  if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }\nLAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return local_c0;\n}\n\n" comment (function_definition "long * FUN_00212cd3(undefined4 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  int *piVar8;\n  undefined8 uVar9;\n  byte bVar10;\n  uint uVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long *local_c0;\n  long local_b8;\n  long local_a8;\n  undefined4 local_98;\n  int iStack_94;\n  int local_90;\n  undefined4 uStack_8c;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  double local_70;\n  double local_68;\n  double local_60;\n  double local_58;\n  double local_50;\n  double local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }\n  local_c0 = (long *)FUN_00212c8f();\n  if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }\nLAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return local_c0;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_00212cd3(undefined4 *param_1,undefined8 param_2)" * (function_declarator "FUN_00212cd3(undefined4 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) )))) (compound_statement "{\n  long *plVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  int *piVar8;\n  undefined8 uVar9;\n  byte bVar10;\n  uint uVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long *local_c0;\n  long local_b8;\n  long local_a8;\n  undefined4 local_98;\n  int iStack_94;\n  int local_90;\n  undefined4 uStack_8c;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  double local_70;\n  double local_68;\n  double local_60;\n  double local_58;\n  double local_50;\n  double local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }\n  local_c0 = (long *)FUN_00212c8f();\n  if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }\nLAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return local_c0;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "float fVar16;" primitive_type identifier ;) (declaration "double dVar17;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "long *local_c0;" (sized_type_specifier "long" long) (pointer_declarator "*local_c0" * identifier) ;) (declaration "long local_b8;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_a8;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 local_98;" type_identifier identifier ;) (declaration "int iStack_94;" primitive_type identifier ;) (declaration "int local_90;" primitive_type identifier ;) (declaration "undefined4 uStack_8c;" type_identifier identifier ;) (declaration "undefined8 local_88;" type_identifier identifier ;) (declaration "undefined8 local_80;" type_identifier identifier ;) (declaration "undefined8 local_78;" type_identifier identifier ;) (declaration "double local_70;" primitive_type identifier ;) (declaration "double local_68;" primitive_type identifier ;) (declaration "double local_60;" primitive_type identifier ;) (declaration "double local_58;" primitive_type identifier ;) (declaration "double local_50;" primitive_type identifier ;) (declaration "double local_48;" primitive_type identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }" { comment (expression_statement "__assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");" (call_expression "__assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors")" identifier (argument_list "("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors")" ( (string_literal ""image != (const Image *) NULL"" " string_content ") , (string_literal ""MagickCore/histogram.c"" " string_content ") , number_literal , (string_literal ""ClassifyImageColors"" " string_content ") ))) ;) })) (if_statement "if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0xd14) != 0xabacadab)" ( (binary_expression "*(long *)(param_1 + 0xd14) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0xd14)" * (cast_expression "(long *)(param_1 + 0xd14)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd14)" ( (binary_expression "param_1 + 0xd14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/histogram.c"" " string_content ") , number_literal , (string_literal ""ClassifyImageColors"" " string_content ") ))) ;) })) (if_statement "if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }" if (parenthesized_expression "(param_1[0xd06] != 0)" ( (binary_expression "param_1[0xd06] != 0" (subscript_expression "param_1[0xd06]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);" (call_expression "LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe)" identifier (argument_list "(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe)" ( number_literal , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , (pointer_expression "&DAT_0041fe36" & identifier) , (binary_expression "param_1 + 0xfe" identifier + number_literal) ))) ;) })) (expression_statement "local_c0 = (long *)FUN_00212c8f();" (assignment_expression "local_c0 = (long *)FUN_00212c8f()" identifier = (cast_expression "(long *)FUN_00212c8f()" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00212c8f()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" if (parenthesized_expression "(local_c0 == (long *)0x0)" ( (binary_expression "local_c0 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }" { (expression_statement "ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" identifier (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "param_1 + 0xfe" identifier + number_literal) ))) ;) }) (else_clause "else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" else (compound_statement "{\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" { (expression_statement "GetPixelInfo(param_1,&local_98);" (call_expression "GetPixelInfo(param_1,&local_98)" identifier (argument_list "(param_1,&local_98)" ( identifier , (pointer_expression "&local_98" & identifier) ))) ;) (expression_statement "uVar5 = AcquireVirtualCacheView(param_1,param_2);" (assignment_expression "uVar5 = AcquireVirtualCacheView(param_1,param_2)" identifier = (call_expression "AcquireVirtualCacheView(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }" if (parenthesized_expression "(0 < *(long *)(param_1 + 10))" ( (binary_expression "0 < *(long *)(param_1 + 10)" number_literal < (pointer_expression "*(long *)(param_1 + 10)" * (cast_expression "(long *)(param_1 + 10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))))) )) (compound_statement "{\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (while_statement "while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }" while (parenthesized_expression "(lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            )" ( (comma_expression "lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0" (assignment_expression "lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" identifier = (call_expression "GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" identifier (argument_list "(uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , number_literal , identifier )))) , (binary_expression "lVar6 != 0" identifier != number_literal)) )) (compound_statement "{\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }" { (if_statement "if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }" if (parenthesized_expression "(0 < *(long *)(param_1 + 8))" ( (binary_expression "0 < *(long *)(param_1 + 8)" number_literal < (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }" { (expression_statement "local_b8 = 0;" (assignment_expression "local_b8 = 0" identifier = number_literal) ;) (do_statement "do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));" do (compound_statement "{\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          }" { (expression_statement "dVar19 = DAT_003f95f8;" (assignment_expression "dVar19 = DAT_003f95f8" identifier = identifier) ;) (expression_statement "lVar7 = *local_c0;" (assignment_expression "lVar7 = *local_c0" identifier = (pointer_expression "*local_c0" * identifier)) ;) (expression_statement "lVar14 = 7;" (assignment_expression "lVar14 = 7" identifier = number_literal) ;) (do_statement "do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);" do (compound_statement "{\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            }" { (expression_statement "ResetMagickMemory(&local_98,0,0x58);" (call_expression "ResetMagickMemory(&local_98,0,0x58)" identifier (argument_list "(&local_98,0,0x58)" ( (pointer_expression "&local_98" & identifier) , number_literal , number_literal ))) ;) (expression_statement "local_50 = dVar19;" (assignment_expression "local_50 = dVar19" identifier = identifier) ;) (expression_statement "local_98 = *param_1;" (assignment_expression "local_98 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iStack_94 = param_1[1];" (assignment_expression "iStack_94 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_88 = *(undefined8 *)(param_1 + 0xa6);" (assignment_expression "local_88 = *(undefined8 *)(param_1 + 0xa6)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0xa6)" * (cast_expression "(undefined8 *)(param_1 + 0xa6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa6)" ( (binary_expression "param_1 + 0xa6" identifier + number_literal) ))))) ;) (expression_statement "local_80 = *(undefined8 *)(param_1 + 0xc);" (assignment_expression "local_80 = *(undefined8 *)(param_1 + 0xc)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0xc)" * (cast_expression "(undefined8 *)(param_1 + 0xc)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_90 = param_1[0xcf];" (assignment_expression "local_90 = param_1[0xcf]" identifier = (subscript_expression "param_1[0xcf]" identifier [ number_literal ])) ;) (if_statement "if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }" if (parenthesized_expression "(lVar6 != 0)" ( (binary_expression "lVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }" { (expression_statement "lVar15 = *(long *)(param_1 + 0xd8);" (assignment_expression "lVar15 = *(long *)(param_1 + 0xd8)" identifier = (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);" (assignment_expression "local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 8) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 8) * 4" identifier + (binary_expression "*(long *)(lVar15 + 8) * 4" (pointer_expression "*(long *)(lVar15 + 8)" * (cast_expression "(long *)(lVar15 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);" (assignment_expression "local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x18) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x18) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x18) * 4" (pointer_expression "*(long *)(lVar15 + 0x18)" * (cast_expression "(long *)(lVar15 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x18)" ( (binary_expression "lVar15 + 0x18" identifier + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);" (assignment_expression "local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x28) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x28) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x28) * 4" (pointer_expression "*(long *)(lVar15 + 0x28)" * (cast_expression "(long *)(lVar15 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x28)" ( (binary_expression "lVar15 + 0x28" identifier + number_literal) )))) * number_literal)) )))))) ;) (if_statement "if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }" if (parenthesized_expression "(*(int *)(lVar15 + 0x34) != 0)" ( (binary_expression "*(int *)(lVar15 + 0x34) != 0" (pointer_expression "*(int *)(lVar15 + 0x34)" * (cast_expression "(int *)(lVar15 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x34)" ( (binary_expression "lVar15 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }" { (expression_statement "local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);" (assignment_expression "local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x38) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x38) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x38) * 4" (pointer_expression "*(long *)(lVar15 + 0x38)" * (cast_expression "(long *)(lVar15 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x38)" ( (binary_expression "lVar15 + 0x38" identifier + number_literal) )))) * number_literal)) )))))) ;) })) (if_statement "if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }" if (parenthesized_expression "(*(int *)(lVar15 + 0x44) != 0)" ( (binary_expression "*(int *)(lVar15 + 0x44) != 0" (pointer_expression "*(int *)(lVar15 + 0x44)" * (cast_expression "(int *)(lVar15 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x44)" ( (binary_expression "lVar15 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }" { (expression_statement "local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);" (assignment_expression "local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x48) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x48) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x48) * 4" (pointer_expression "*(long *)(lVar15 + 0x48)" * (cast_expression "(long *)(lVar15 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x48)" ( (binary_expression "lVar15 + 0x48" identifier + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "local_90 = 4;" (assignment_expression "local_90 = 4" identifier = number_literal) ;) })) (if_statement "if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }" if (parenthesized_expression "(*(int *)(lVar15 + 0x54) != 0)" ( (binary_expression "*(int *)(lVar15 + 0x54) != 0" (pointer_expression "*(int *)(lVar15 + 0x54)" * (cast_expression "(int *)(lVar15 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x54)" ( (binary_expression "lVar15 + 0x54" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }" { (expression_statement "local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);" (assignment_expression "local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x58) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x58) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x58) * 4" (pointer_expression "*(long *)(lVar15 + 0x58)" * (cast_expression "(long *)(lVar15 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x58)" ( (binary_expression "lVar15 + 0x58" identifier + number_literal) )))) * number_literal)) )))))) ;) })) })) (expression_statement "fVar16 = (float)local_70;" (assignment_expression "fVar16 = (float)local_70" identifier = (cast_expression "(float)local_70" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (if_statement "if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar16))" ( (call_expression "NAN(fVar16)" identifier (argument_list "(fVar16)" ( identifier ))) )) (compound_statement "{\n                uVar11 = 0;\n              }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar16)" ( (binary_expression "0.0 < fVar16" number_literal < identifier) )) (compound_statement "{\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "bVar2 = (byte)lVar14;" (assignment_expression "bVar2 = (byte)lVar14" identifier = (cast_expression "(byte)lVar14" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "fVar16 = (float)local_68;" (assignment_expression "fVar16 = (float)local_68" identifier = (cast_expression "(float)local_68" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (if_statement "if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar16))" ( (call_expression "NAN(fVar16)" identifier (argument_list "(fVar16)" ( identifier ))) )) (compound_statement "{\n                uVar12 = 0;\n              }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar16)" ( (binary_expression "0.0 < fVar16" number_literal < identifier) )) (compound_statement "{\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar12 = 0xffffffff;" (assignment_expression "uVar12 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "fVar16 = (float)local_60;" (assignment_expression "fVar16 = (float)local_60" identifier = (cast_expression "(float)local_60" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (if_statement "if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar16))" ( (call_expression "NAN(fVar16)" identifier (argument_list "(fVar16)" ( identifier ))) )) (compound_statement "{\n                uVar3 = 0;\n              }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar16)" ( (binary_expression "0.0 < fVar16" number_literal < identifier) )) (compound_statement "{\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;" (assignment_expression "uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" identifier = (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U" (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2" (parenthesized_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U)" ( (binary_expression "(int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uVar3 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar3 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) ))) & number_literal) )) << number_literal) | (binary_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U" (binary_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2" (parenthesized_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f))" ( (binary_expression "(int)(uVar12 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar12 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar12 & 0xff)" ( (binary_expression "uVar12 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) ))) )) * number_literal) & number_literal)) | (binary_expression "(int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uVar11 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar11 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar11 & 0xff)" ( (binary_expression "uVar11 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) ))) & number_literal))) ;) (if_statement "if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }" if (parenthesized_expression "(param_1[0xcf] != 0)" ( (binary_expression "param_1[0xcf] != 0" (subscript_expression "param_1[0xcf]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }" { (expression_statement "fVar16 = (float)local_50;" (assignment_expression "fVar16 = (float)local_50" identifier = (cast_expression "(float)local_50" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (if_statement "if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" if (parenthesized_expression "(NAN(fVar16))" ( (call_expression "NAN(fVar16)" identifier (argument_list "(fVar16)" ( identifier ))) )) (compound_statement "{\n                  bVar10 = 0;\n                }" { (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" else (compound_statement "{\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" { (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }" if (parenthesized_expression "(0.0 < fVar16)" ( (binary_expression "0.0 < fVar16" number_literal < identifier) )) (compound_statement "{\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }" { (expression_statement "bVar10 = 0xff;" (assignment_expression "bVar10 = 0xff" identifier = number_literal) ;) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }" if (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }" { (expression_statement "bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (call_expression "(byte)(int)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;" (assignment_expression "uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" identifier = (binary_expression "uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" identifier | (binary_expression "((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" (parenthesized_expression "((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U)" ( (binary_expression "(int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uint)bVar10 >> (bVar2 & 0x1f)" (cast_expression "(int)(uint)bVar10" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) >> (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) ))) & number_literal) )) << number_literal))) ;) })) (expression_statement "plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);" (assignment_expression "plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8)" identifier = (cast_expression "(long *)(lVar7 + (long)(int)uVar11 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + (long)(int)uVar11 * 8)" ( (binary_expression "lVar7 + (long)(int)uVar11 * 8" identifier + (binary_expression "(long)(int)uVar11 * 8" (cast_expression "(long)(int)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) * number_literal)) )))) ;) (if_statement "if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }" if (parenthesized_expression "(*plVar1 == 0)" ( (binary_expression "*plVar1 == 0" (pointer_expression "*plVar1" * identifier) == number_literal) )) (compound_statement "{\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }" { (expression_statement "lVar7 = FUN_00212c16(local_c0,8 - lVar14);" (assignment_expression "lVar7 = FUN_00212c16(local_c0,8 - lVar14)" identifier = (call_expression "FUN_00212c16(local_c0,8 - lVar14)" identifier (argument_list "(local_c0,8 - lVar14)" ( identifier , (binary_expression "8 - lVar14" number_literal - identifier) )))) ;) (expression_statement "*plVar1 = lVar7;" (assignment_expression "*plVar1 = lVar7" (pointer_expression "*plVar1" * identifier) = identifier) ;) (if_statement "if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }" { (expression_statement "ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" identifier (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "param_1 + 0xfe" identifier + number_literal) ))) ;) (expression_statement "local_c0 = (long *)0x0;" (assignment_expression "local_c0 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00213193;" goto statement_identifier ;) })) })) (expression_statement "lVar7 = *plVar1;" (assignment_expression "lVar7 = *plVar1" identifier = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "lVar14 = lVar14 + -1;" (assignment_expression "lVar14 = lVar14 + -1" identifier = (binary_expression "lVar14 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 != 0)" ( (binary_expression "lVar14 != 0" identifier != number_literal) )) ;) (expression_statement "lVar14 = *(long *)(lVar7 + 0x90);" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x90)" identifier = (pointer_expression "*(long *)(lVar7 + 0x90)" * (cast_expression "(long *)(lVar7 + 0x90)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x90)" ( (binary_expression "lVar7 + 0x90" identifier + number_literal) ))))) ;) (if_statement "if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" if (parenthesized_expression "(lVar14 < 1)" ( (binary_expression "lVar14 < 1" identifier < number_literal) )) (compound_statement "{\n              lVar15 = 0;\n            }" { (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" else (compound_statement "{\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" { (expression_statement "dVar19 = DAT_003f95f8;" (assignment_expression "dVar19 = DAT_003f95f8" identifier = identifier) ;) (if_statement "if (local_90 != 0) {\n                dVar19 = local_50;\n              }" if (parenthesized_expression "(local_90 != 0)" ( (binary_expression "local_90 != 0" identifier != number_literal) )) (compound_statement "{\n                dVar19 = local_50;\n              }" { (expression_statement "dVar19 = local_50;" (assignment_expression "dVar19 = local_50" identifier = identifier) ;) })) (expression_statement "dVar20 = dVar19;" (assignment_expression "dVar20 = dVar19" identifier = identifier) ;) (if_statement "if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }" { (expression_statement "dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);" (assignment_expression "dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar19 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar19 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar19 ^ DAT_003f9610" (cast_expression "(ulong)dVar19" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (expression_statement "piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);" (assignment_expression "piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8)" identifier = (cast_expression "(int *)(*(long *)(lVar7 + 0x80) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 8)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 8" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);" do (compound_statement "{\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              }" { (expression_statement "dVar18 = DAT_003f95f8;" (assignment_expression "dVar18 = DAT_003f95f8" identifier = identifier) ;) (if_statement "if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }" if (parenthesized_expression "(*piVar8 != 0)" ( (binary_expression "*piVar8 != 0" (pointer_expression "*piVar8" * identifier) != number_literal) )) (compound_statement "{\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }" { (expression_statement "dVar18 = *(double *)(piVar8 + 0x10);" (assignment_expression "dVar18 = *(double *)(piVar8 + 0x10)" identifier = (pointer_expression "*(double *)(piVar8 + 0x10)" * (cast_expression "(double *)(piVar8 + 0x10)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 0x10)" ( (binary_expression "piVar8 + 0x10" identifier + number_literal) ))))) ;) })) (expression_statement "dVar17 = dVar19 - dVar18;" (assignment_expression "dVar17 = dVar19 - dVar18" identifier = (binary_expression "dVar19 - dVar18" identifier - identifier)) ;) (if_statement "if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar17 < 0.0)" ( (binary_expression "dVar17 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }" { (expression_statement "dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);" (assignment_expression "dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar17 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar17 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar17 ^ DAT_003f9610" (cast_expression "(ulong)dVar17" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (DAT_003f9600 <= dVar17) goto LAB_002132b1;" if (parenthesized_expression "(DAT_003f9600 <= dVar17)" ( (binary_expression "DAT_003f9600 <= dVar17" identifier <= identifier) )) (goto_statement "goto LAB_002132b1;" goto statement_identifier ;)) (if_statement "if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }" if (parenthesized_expression "(dVar20 < DAT_003f9600)" ( (binary_expression "dVar20 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }" { (labeled_statement "LAB_0021338d:\n                  lVar15 = lVar13;" statement_identifier : (expression_statement "lVar15 = lVar13;" (assignment_expression "lVar15 = lVar13" identifier = identifier) ;)) (if_statement "if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }" if (parenthesized_expression "(lVar13 < lVar14)" ( (binary_expression "lVar13 < lVar14" identifier < identifier) )) (compound_statement "{\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }" { (expression_statement "plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);" (assignment_expression "plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" identifier = (cast_expression "(long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58" (binary_expression "*(long *)(lVar7 + 0x80) + 0x20" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + (binary_expression "lVar13 * 0x58" identifier * number_literal)) )))) ;) (expression_statement "*plVar1 = *plVar1 + 1;" (assignment_expression "*plVar1 = *plVar1 + 1" (pointer_expression "*plVar1" * identifier) = (binary_expression "*plVar1 + 1" (pointer_expression "*plVar1" * identifier) + number_literal)) ;) (goto_statement "goto LAB_002133a0;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (if_statement "if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar18 < DAT_003f9600) goto LAB_0021338d;" if (parenthesized_expression "(dVar18 < DAT_003f9600)" ( (binary_expression "dVar18 < DAT_003f9600" identifier < identifier) )) (goto_statement "goto LAB_0021338d;" goto statement_identifier ;)) (expression_statement "dVar18 = local_70 - *(double *)(piVar8 + 8);" (assignment_expression "dVar18 = local_70 - *(double *)(piVar8 + 8)" identifier = (binary_expression "local_70 - *(double *)(piVar8 + 8)" identifier - (pointer_expression "*(double *)(piVar8 + 8)" * (cast_expression "(double *)(piVar8 + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 8)" ( (binary_expression "piVar8 + 8" identifier + number_literal) )))))) ;) (if_statement "if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }" if (parenthesized_expression "(dVar18 < DAT_003f9600)" ( (binary_expression "dVar18 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }" { (expression_statement "dVar18 = local_68 - *(double *)(piVar8 + 10);" (assignment_expression "dVar18 = local_68 - *(double *)(piVar8 + 10)" identifier = (binary_expression "local_68 - *(double *)(piVar8 + 10)" identifier - (pointer_expression "*(double *)(piVar8 + 10)" * (cast_expression "(double *)(piVar8 + 10)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 10)" ( (binary_expression "piVar8 + 10" identifier + number_literal) )))))) ;) (if_statement "if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }" if (parenthesized_expression "(dVar18 < DAT_003f9600)" ( (binary_expression "dVar18 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }" { (expression_statement "dVar18 = local_60 - *(double *)(piVar8 + 0xc);" (assignment_expression "dVar18 = local_60 - *(double *)(piVar8 + 0xc)" identifier = (binary_expression "local_60 - *(double *)(piVar8 + 0xc)" identifier - (pointer_expression "*(double *)(piVar8 + 0xc)" * (cast_expression "(double *)(piVar8 + 0xc)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 0xc)" ( (binary_expression "piVar8 + 0xc" identifier + number_literal) )))))) ;) (if_statement "if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }" if (parenthesized_expression "(dVar18 < DAT_003f9600)" ( (binary_expression "dVar18 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }" { (if_statement "if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }" if (parenthesized_expression "(iStack_94 == 2)" ( (binary_expression "iStack_94 == 2" identifier == number_literal) )) (compound_statement "{\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }" { (expression_statement "dVar18 = local_58 - *(double *)(piVar8 + 0xe);" (assignment_expression "dVar18 = local_58 - *(double *)(piVar8 + 0xe)" identifier = (binary_expression "local_58 - *(double *)(piVar8 + 0xe)" identifier - (pointer_expression "*(double *)(piVar8 + 0xe)" * (cast_expression "(double *)(piVar8 + 0xe)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 0xe)" ( (binary_expression "piVar8 + 0xe" identifier + number_literal) )))))) ;) (if_statement "if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (DAT_003f9600 <= dVar18) goto LAB_002132b1;" if (parenthesized_expression "(DAT_003f9600 <= dVar18)" ( (binary_expression "DAT_003f9600 <= dVar18" identifier <= identifier) )) (goto_statement "goto LAB_002132b1;" goto statement_identifier ;)) })) (goto_statement "goto LAB_0021338d;" goto statement_identifier ;) })) })) })) (labeled_statement "LAB_002132b1:\n                lVar13 = lVar13 + 1;" statement_identifier : (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;)) (expression_statement "piVar8 = piVar8 + 0x16;" (assignment_expression "piVar8 = piVar8 + 0x16" identifier = (binary_expression "piVar8 + 0x16" identifier + number_literal)) ;) (expression_statement "lVar15 = lVar14;" (assignment_expression "lVar15 = lVar14" identifier = identifier) ;) }) while (parenthesized_expression "(lVar13 != lVar14)" ( (binary_expression "lVar13 != lVar14" identifier != identifier) )) ;) }))) (if_statement "if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" if (parenthesized_expression "(lVar14 == 0)" ( (binary_expression "lVar14 == 0" identifier == number_literal) )) (compound_statement "{\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" { (expression_statement "*(undefined8 *)(lVar7 + 0x88) = 1;" (assignment_expression "*(undefined8 *)(lVar7 + 0x88) = 1" (pointer_expression "*(undefined8 *)(lVar7 + 0x88)" * (cast_expression "(undefined8 *)(lVar7 + 0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x88)" ( (binary_expression "lVar7 + 0x88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar9 = AcquireQuantumMemory(1,0x58);" (assignment_expression "uVar9 = AcquireQuantumMemory(1,0x58)" identifier = (call_expression "AcquireQuantumMemory(1,0x58)" identifier (argument_list "(1,0x58)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined8 *)(lVar7 + 0x80) = uVar9;" (assignment_expression "*(undefined8 *)(lVar7 + 0x80) = uVar9" (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" * (cast_expression "(undefined8 *)(lVar7 + 0x80)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" else (if_statement "if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" if (parenthesized_expression "(*(long *)(lVar7 + 0x88) <= lVar15)" ( (binary_expression "*(long *)(lVar7 + 0x88) <= lVar15" (pointer_expression "*(long *)(lVar7 + 0x88)" * (cast_expression "(long *)(lVar7 + 0x88)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x88)" ( (binary_expression "lVar7 + 0x88" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" { (expression_statement "lVar14 = *(long *)(lVar7 + 0x88) * 2;" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x88) * 2" identifier = (binary_expression "*(long *)(lVar7 + 0x88) * 2" (pointer_expression "*(long *)(lVar7 + 0x88)" * (cast_expression "(long *)(lVar7 + 0x88)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x88)" ( (binary_expression "lVar7 + 0x88" identifier + number_literal) )))) * number_literal)) ;) (expression_statement "*(long *)(lVar7 + 0x88) = lVar14;" (assignment_expression "*(long *)(lVar7 + 0x88) = lVar14" (pointer_expression "*(long *)(lVar7 + 0x88)" * (cast_expression "(long *)(lVar7 + 0x88)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x88)" ( (binary_expression "lVar7 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);" (assignment_expression "uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" identifier = (call_expression "ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" identifier (argument_list "(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" ( (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" * (cast_expression "(undefined8 *)(lVar7 + 0x80)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) , identifier , number_literal )))) ;) (expression_statement "*(undefined8 *)(lVar7 + 0x80) = uVar9;" (assignment_expression "*(undefined8 *)(lVar7 + 0x80) = uVar9" (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" * (cast_expression "(undefined8 *)(lVar7 + 0x80)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) = identifier) ;) })))) (expression_statement "lVar14 = *(long *)(lVar7 + 0x80);" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x80)" identifier = (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }" if (parenthesized_expression "(lVar14 == 0)" ( (binary_expression "lVar14 == 0" identifier == number_literal) )) (compound_statement "{\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }" { (expression_statement "ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" identifier (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "param_1 + 0xfe" identifier + number_literal) ))) ;) (expression_statement "local_c0 = (long *)0x0;" (assignment_expression "local_c0 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00213193;" goto statement_identifier ;) })) (expression_statement "lVar13 = lVar15 * 0x58;" (assignment_expression "lVar13 = lVar15 * 0x58" identifier = (binary_expression "lVar15 * 0x58" identifier * number_literal)) ;) (expression_statement "*(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);" (assignment_expression "*(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98)" (pointer_expression "*(ulong *)(lVar14 + lVar15 * 0x58)" * (cast_expression "(ulong *)(lVar14 + lVar15 * 0x58)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + lVar15 * 0x58)" ( (binary_expression "lVar14 + lVar15 * 0x58" identifier + (binary_expression "lVar15 * 0x58" identifier * number_literal)) )))) = (call_expression "CONCAT44(iStack_94,local_98)" identifier (argument_list "(iStack_94,local_98)" ( identifier , identifier )))) ;) (expression_statement "*(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);" (assignment_expression "*(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90)" (pointer_expression "*(ulong *)(lVar14 + 8 + lVar13)" * (cast_expression "(ulong *)(lVar14 + 8 + lVar13)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 8 + lVar13)" ( (binary_expression "lVar14 + 8 + lVar13" (binary_expression "lVar14 + 8" identifier + number_literal) + identifier) )))) = (call_expression "CONCAT44(uStack_8c,local_90)" identifier (argument_list "(uStack_8c,local_90)" ( identifier , identifier )))) ;) (expression_statement "*(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;" (assignment_expression "*(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88" (pointer_expression "*(undefined8 *)(lVar14 + 0x10 + lVar13)" * (cast_expression "(undefined8 *)(lVar14 + 0x10 + lVar13)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x10 + lVar13)" ( (binary_expression "lVar14 + 0x10 + lVar13" (binary_expression "lVar14 + 0x10" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;" (assignment_expression "*(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80" (pointer_expression "*(undefined8 *)(lVar14 + 0x18 + lVar13)" * (cast_expression "(undefined8 *)(lVar14 + 0x18 + lVar13)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x18 + lVar13)" ( (binary_expression "lVar14 + 0x18 + lVar13" (binary_expression "lVar14 + 0x18" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;" (assignment_expression "*(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78" (pointer_expression "*(undefined8 *)(lVar14 + 0x20 + lVar13)" * (cast_expression "(undefined8 *)(lVar14 + 0x20 + lVar13)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x20 + lVar13)" ( (binary_expression "lVar14 + 0x20 + lVar13" (binary_expression "lVar14 + 0x20" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x28 + lVar13) = local_70;" (assignment_expression "*(double *)(lVar14 + 0x28 + lVar13) = local_70" (pointer_expression "*(double *)(lVar14 + 0x28 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x28 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x28 + lVar13)" ( (binary_expression "lVar14 + 0x28 + lVar13" (binary_expression "lVar14 + 0x28" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x30 + lVar13) = local_68;" (assignment_expression "*(double *)(lVar14 + 0x30 + lVar13) = local_68" (pointer_expression "*(double *)(lVar14 + 0x30 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x30 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x30 + lVar13)" ( (binary_expression "lVar14 + 0x30 + lVar13" (binary_expression "lVar14 + 0x30" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x38 + lVar13) = local_60;" (assignment_expression "*(double *)(lVar14 + 0x38 + lVar13) = local_60" (pointer_expression "*(double *)(lVar14 + 0x38 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x38 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x38 + lVar13)" ( (binary_expression "lVar14 + 0x38 + lVar13" (binary_expression "lVar14 + 0x38" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x40 + lVar13) = local_58;" (assignment_expression "*(double *)(lVar14 + 0x40 + lVar13) = local_58" (pointer_expression "*(double *)(lVar14 + 0x40 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x40 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x40 + lVar13)" ( (binary_expression "lVar14 + 0x40 + lVar13" (binary_expression "lVar14 + 0x40" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x48 + lVar13) = local_50;" (assignment_expression "*(double *)(lVar14 + 0x48 + lVar13) = local_50" (pointer_expression "*(double *)(lVar14 + 0x48 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x48 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x48 + lVar13)" ( (binary_expression "lVar14 + 0x48 + lVar13" (binary_expression "lVar14 + 0x48" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x50 + lVar13) = local_48;" (assignment_expression "*(double *)(lVar14 + 0x50 + lVar13) = local_48" (pointer_expression "*(double *)(lVar14 + 0x50 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x50 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x50 + lVar13)" ( (binary_expression "lVar14 + 0x50 + lVar13" (binary_expression "lVar14 + 0x50" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x28 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x28" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 8) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 8)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 8" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x30 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x30" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x18)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x18)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x18" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x38 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x38" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x28)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x28)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x28" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))))) ;) (if_statement "if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }" if (parenthesized_expression "(param_1[1] == 2)" ( (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }" { (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" identifier = number_literal) ;) (if_statement "if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }" if (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0)" ( (binary_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0" (pointer_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x34)" * (cast_expression "(int *)(*(long *)(param_1 + 0xd8) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x34)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x34" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }" { (expression_statement "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);" (assignment_expression "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" identifier = (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x38)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x38)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x38" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) })) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x40 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x40" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier)) ;) })) (expression_statement "fVar16 = _DAT_003fa400;" (assignment_expression "fVar16 = _DAT_003fa400" identifier = identifier) ;) (if_statement "if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }" if (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0)" ( (binary_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0" (pointer_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x44)" * (cast_expression "(int *)(*(long *)(param_1 + 0xd8) + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x44)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x44" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }" { (expression_statement "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);" (assignment_expression "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" identifier = (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x48)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x48)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x48" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) })) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x48 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x48" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;" (assignment_expression "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1" (pointer_expression "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" * (cast_expression "(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x20 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x20" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;" (assignment_expression "*(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1" (pointer_expression "*(long *)(lVar7 + 0x90)" * (cast_expression "(long *)(lVar7 + 0x90)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x90)" ( (binary_expression "lVar7 + 0x90" identifier + number_literal) )))) = (binary_expression "*(long *)(lVar7 + 0x90) + 1" (pointer_expression "*(long *)(lVar7 + 0x90)" * (cast_expression "(long *)(lVar7 + 0x90)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x90)" ( (binary_expression "lVar7 + 0x90" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "local_c0[3] = local_c0[3] + 1;" (assignment_expression "local_c0[3] = local_c0[3] + 1" (subscript_expression "local_c0[3]" identifier [ number_literal ]) = (binary_expression "local_c0[3] + 1" (subscript_expression "local_c0[3]" identifier [ number_literal ]) + number_literal)) ;) (labeled_statement "LAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;" statement_identifier : (expression_statement "lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;" (assignment_expression "lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4" identifier = (binary_expression "lVar6 + *(long *)(param_1 + 0xd0) * 4" identifier + (binary_expression "*(long *)(param_1 + 0xd0) * 4" (pointer_expression "*(long *)(param_1 + 0xd0)" * (cast_expression "(long *)(param_1 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd0)" ( (binary_expression "param_1 + 0xd0" identifier + number_literal) )))) * number_literal))) ;)) (expression_statement "local_b8 = local_b8 + 1;" (assignment_expression "local_b8 = local_b8 + 1" identifier = (binary_expression "local_b8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_b8 < *(long *)(param_1 + 8))" ( (binary_expression "local_b8 < *(long *)(param_1 + 8)" identifier < (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));" (assignment_expression "iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" identifier = (call_expression "SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" identifier (argument_list "(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" ( identifier , (string_literal ""  Compute image colors...  "" " string_content ") , identifier , (pointer_expression "*(undefined8 *)(param_1 + 10)" * (cast_expression "(undefined8 *)(param_1 + 10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) )))) ;) (if_statement "if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;" if (parenthesized_expression "((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8))" ( (binary_expression "(iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)" ( (comma_expression "local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) , (binary_expression "*(long *)(param_1 + 10) <= local_a8" (pointer_expression "*(long *)(param_1 + 10)" * (cast_expression "(long *)(param_1 + 10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) <= identifier)) ))) )) (break_statement "break;" break ;)) })) })) (expression_statement "DestroyCacheView(uVar5);" (call_expression "DestroyCacheView(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) }))) (labeled_statement "LAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" statement_identifier : (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_c0;" return identifier ;) })))
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nCubeInfo * ClassifyImageColors(Image *image,ExceptionInfo *exception)\n\n{\n  MagickSizeType *pMVar1;\n  _NodeInfo **pp_Var2;\n  long lVar3;\n  PixelChannelMap *pPVar4;\n  MagickSizeType MVar5;\n  byte bVar6;\n  size_t count;\n  uint uVar7;\n  MagickBooleanType MVar8;\n  CacheView *cache_view;\n  Quantum *pQVar9;\n  NodeInfo *pNVar10;\n  PixelTrait *pPVar11;\n  PixelInfo *pPVar12;\n  byte bVar13;\n  uint uVar14;\n  uint uVar15;\n  MagickSizeType MVar16;\n  long lVar17;\n  MagickSizeType MVar18;\n  long in_FS_OFFSET;\n  float fVar19;\n  Quantum QVar20;\n  double dVar21;\n  double dVar22;\n  MagickRealType MVar23;\n  double dVar24;\n  CubeInfo *local_c0;\n  long local_b8;\n  MagickOffsetType local_a8;\n  PixelInfo pixel;\n  \n  lVar3 = *(long *)(in_FS_OFFSET + 0x28);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",\n                   image->filename);\n  }\n  local_c0 = GetCubeInfo();\n  if (local_c0 == (CubeInfo *)0x0) {\n    ThrowMagickException\n              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n  }\n  else {\n    GetPixelInfo(image,&pixel);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    if (0 < (long)image->rows) {\n      local_a8 = 0;\n      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }\n    }\n    DestroyCacheView(cache_view);\n  }\nLAB_00213193:\n  if (lVar3 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return local_c0;\n}\n\n" comment comment comment comment comment comment comment (function_definition "CubeInfo * ClassifyImageColors(Image *image,ExceptionInfo *exception)\n\n{\n  MagickSizeType *pMVar1;\n  _NodeInfo **pp_Var2;\n  long lVar3;\n  PixelChannelMap *pPVar4;\n  MagickSizeType MVar5;\n  byte bVar6;\n  size_t count;\n  uint uVar7;\n  MagickBooleanType MVar8;\n  CacheView *cache_view;\n  Quantum *pQVar9;\n  NodeInfo *pNVar10;\n  PixelTrait *pPVar11;\n  PixelInfo *pPVar12;\n  byte bVar13;\n  uint uVar14;\n  uint uVar15;\n  MagickSizeType MVar16;\n  long lVar17;\n  MagickSizeType MVar18;\n  long in_FS_OFFSET;\n  float fVar19;\n  Quantum QVar20;\n  double dVar21;\n  double dVar22;\n  MagickRealType MVar23;\n  double dVar24;\n  CubeInfo *local_c0;\n  long local_b8;\n  MagickOffsetType local_a8;\n  PixelInfo pixel;\n  \n  lVar3 = *(long *)(in_FS_OFFSET + 0x28);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",\n                   image->filename);\n  }\n  local_c0 = GetCubeInfo();\n  if (local_c0 == (CubeInfo *)0x0) {\n    ThrowMagickException\n              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n  }\n  else {\n    GetPixelInfo(image,&pixel);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    if (0 < (long)image->rows) {\n      local_a8 = 0;\n      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }\n    }\n    DestroyCacheView(cache_view);\n  }\nLAB_00213193:\n  if (lVar3 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return local_c0;\n}" type_identifier (pointer_declarator "* ClassifyImageColors(Image *image,ExceptionInfo *exception)" * (function_declarator "ClassifyImageColors(Image *image,ExceptionInfo *exception)" identifier (parameter_list "(Image *image,ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) )))) (compound_statement "{\n  MagickSizeType *pMVar1;\n  _NodeInfo **pp_Var2;\n  long lVar3;\n  PixelChannelMap *pPVar4;\n  MagickSizeType MVar5;\n  byte bVar6;\n  size_t count;\n  uint uVar7;\n  MagickBooleanType MVar8;\n  CacheView *cache_view;\n  Quantum *pQVar9;\n  NodeInfo *pNVar10;\n  PixelTrait *pPVar11;\n  PixelInfo *pPVar12;\n  byte bVar13;\n  uint uVar14;\n  uint uVar15;\n  MagickSizeType MVar16;\n  long lVar17;\n  MagickSizeType MVar18;\n  long in_FS_OFFSET;\n  float fVar19;\n  Quantum QVar20;\n  double dVar21;\n  double dVar22;\n  MagickRealType MVar23;\n  double dVar24;\n  CubeInfo *local_c0;\n  long local_b8;\n  MagickOffsetType local_a8;\n  PixelInfo pixel;\n  \n  lVar3 = *(long *)(in_FS_OFFSET + 0x28);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",\n                   image->filename);\n  }\n  local_c0 = GetCubeInfo();\n  if (local_c0 == (CubeInfo *)0x0) {\n    ThrowMagickException\n              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n  }\n  else {\n    GetPixelInfo(image,&pixel);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    if (0 < (long)image->rows) {\n      local_a8 = 0;\n      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }\n    }\n    DestroyCacheView(cache_view);\n  }\nLAB_00213193:\n  if (lVar3 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }\n  return local_c0;\n}" { (declaration "MagickSizeType *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (declaration "_NodeInfo **pp_Var2;" type_identifier (pointer_declarator "**pp_Var2" * (pointer_declarator "*pp_Var2" * identifier)) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "PixelChannelMap *pPVar4;" type_identifier (pointer_declarator "*pPVar4" * identifier) ;) (declaration "MagickSizeType MVar5;" type_identifier identifier ;) (declaration "byte bVar6;" type_identifier identifier ;) (declaration "size_t count;" primitive_type identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "MagickBooleanType MVar8;" type_identifier identifier ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "Quantum *pQVar9;" type_identifier (pointer_declarator "*pQVar9" * identifier) ;) (declaration "NodeInfo *pNVar10;" type_identifier (pointer_declarator "*pNVar10" * identifier) ;) (declaration "PixelTrait *pPVar11;" type_identifier (pointer_declarator "*pPVar11" * identifier) ;) (declaration "PixelInfo *pPVar12;" type_identifier (pointer_declarator "*pPVar12" * identifier) ;) (declaration "byte bVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "MagickSizeType MVar16;" type_identifier identifier ;) (declaration "long lVar17;" (sized_type_specifier "long" long) identifier ;) (declaration "MagickSizeType MVar18;" type_identifier identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "float fVar19;" primitive_type identifier ;) (declaration "Quantum QVar20;" type_identifier identifier ;) (declaration "double dVar21;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "MagickRealType MVar23;" type_identifier identifier ;) (declaration "double dVar24;" primitive_type identifier ;) (declaration "CubeInfo *local_c0;" type_identifier (pointer_declarator "*local_c0" * identifier) ;) (declaration "long local_b8;" (sized_type_specifier "long" long) identifier ;) (declaration "MagickOffsetType local_a8;" type_identifier identifier ;) (declaration "PixelInfo pixel;" type_identifier identifier ;) (expression_statement "lVar3 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "lVar3 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }" { comment (expression_statement "__assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");" (call_expression "__assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors")" identifier (argument_list "("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors")" ( (string_literal ""image != (const Image *) NULL"" " string_content ") , (string_literal ""MagickCore/histogram.c"" " string_content ") , number_literal , (string_literal ""ClassifyImageColors"" " string_content ") ))) ;) })) (if_statement "if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }" if (parenthesized_expression "(image->signature != 0xabacadab)" ( (binary_expression "image->signature != 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/histogram.c"" " string_content ") , number_literal , (string_literal ""ClassifyImageColors"" " string_content ") ))) ;) })) (if_statement "if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",\n                   image->filename);\n  }" if (parenthesized_expression "(image->debug != MagickFalse)" ( (binary_expression "image->debug != MagickFalse" (field_expression "image->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    LogMagickEvent(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",\n                   image->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",\n                   image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",\n                   image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",\n                   image->filename)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "local_c0 = GetCubeInfo();" (assignment_expression "local_c0 = GetCubeInfo()" identifier = (call_expression "GetCubeInfo()" identifier (argument_list "()" ( )))) ;) (if_statement "if (local_c0 == (CubeInfo *)0x0) {\n    ThrowMagickException\n              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n  }\n  else {\n    GetPixelInfo(image,&pixel);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    if (0 < (long)image->rows) {\n      local_a8 = 0;\n      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }\n    }\n    DestroyCacheView(cache_view);\n  }" if (parenthesized_expression "(local_c0 == (CubeInfo *)0x0)" ( (binary_expression "local_c0 == (CubeInfo *)0x0" identifier == (cast_expression "(CubeInfo *)0x0" ( (type_descriptor "CubeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ThrowMagickException\n              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);\n  }" { (expression_statement "ThrowMagickException\n              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename);" (call_expression "ThrowMagickException\n              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename)" identifier (argument_list "(exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,\n               "MemoryAllocationFailed","`%s\'",image->filename)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , identifier , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) }) (else_clause "else {\n    GetPixelInfo(image,&pixel);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    if (0 < (long)image->rows) {\n      local_a8 = 0;\n      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }\n    }\n    DestroyCacheView(cache_view);\n  }" else (compound_statement "{\n    GetPixelInfo(image,&pixel);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    if (0 < (long)image->rows) {\n      local_a8 = 0;\n      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }\n    }\n    DestroyCacheView(cache_view);\n  }" { (expression_statement "GetPixelInfo(image,&pixel);" (call_expression "GetPixelInfo(image,&pixel)" identifier (argument_list "(image,&pixel)" ( identifier , (pointer_expression "&pixel" & identifier) ))) ;) (expression_statement "cache_view = AcquireVirtualCacheView(image,exception);" (assignment_expression "cache_view = AcquireVirtualCacheView(image,exception)" identifier = (call_expression "AcquireVirtualCacheView(image,exception)" identifier (argument_list "(image,exception)" ( identifier , identifier )))) ;) (if_statement "if (0 < (long)image->rows) {\n      local_a8 = 0;\n      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }\n    }" if (parenthesized_expression "(0 < (long)image->rows)" ( (binary_expression "0 < (long)image->rows" number_literal < (cast_expression "(long)image->rows" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "image->rows" identifier -> field_identifier))) )) (compound_statement "{\n      local_a8 = 0;\n      while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }\n    }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (while_statement "while (pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0) {\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }" while (parenthesized_expression "(pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0)" ( (comma_expression "pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception),\n            pQVar9 != (Quantum *)0x0" (assignment_expression "pQVar9 = GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception)" identifier = (call_expression "GetCacheViewVirtualPixels(cache_view,0,local_a8,image->columns,1,exception)" identifier (argument_list "(cache_view,0,local_a8,image->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image->columns" identifier -> field_identifier) , number_literal , identifier )))) , (binary_expression "pQVar9 != (Quantum *)0x0" identifier != (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )) (compound_statement "{\n        if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }\n        MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);\n        if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;\n      }" { (if_statement "if (0 < (long)image->columns) {\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }" if (parenthesized_expression "(0 < (long)image->columns)" ( (binary_expression "0 < (long)image->columns" number_literal < (cast_expression "(long)image->columns" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "image->columns" identifier -> field_identifier))) )) (compound_statement "{\n          local_b8 = 0;\n          do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);\n        }" { (expression_statement "local_b8 = 0;" (assignment_expression "local_b8 = 0" identifier = number_literal) ;) (do_statement "do {\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < (long)image->columns);" do (compound_statement "{\n            dVar24 = DAT_003f95f8;\n            pNVar10 = local_c0->root;\n            lVar17 = 7;\n            do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);\n            MVar5 = pNVar10->number_unique;\n            if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }\n            if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }\n            pPVar12 = pNVar10->list;\n            if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }\n            pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);\n            pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);\n            *(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);\n            pPVar12[MVar18].fuzz = pixel.fuzz;\n            pPVar12[MVar18].depth = pixel.depth;\n            pPVar12[MVar18].count = pixel.count;\n            pPVar12[MVar18].red = pixel.red;\n            pPVar12[MVar18].green = pixel.green;\n            pPVar12[MVar18].blue = pixel.blue;\n            pPVar12[MVar18].black = pixel.black;\n            pPVar12[MVar18].alpha = pixel.alpha;\n            pPVar12[MVar18].index = pixel.index;\n            pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];\n            pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];\n            pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];\n            if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }\n            fVar19 = _DAT_003fa400;\n            if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }\n            pNVar10->list[MVar18].alpha = (double)fVar19;\n            pNVar10->list[MVar18].count = 1;\n            pNVar10->number_unique = pNVar10->number_unique + 1;\n            local_c0->colors = local_c0->colors + 1;\nLAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;\n            local_b8 = local_b8 + 1;\n          }" { (expression_statement "dVar24 = DAT_003f95f8;" (assignment_expression "dVar24 = DAT_003f95f8" identifier = identifier) ;) (expression_statement "pNVar10 = local_c0->root;" (assignment_expression "pNVar10 = local_c0->root" identifier = (field_expression "local_c0->root" identifier -> field_identifier)) ;) (expression_statement "lVar17 = 7;" (assignment_expression "lVar17 = 7" identifier = number_literal) ;) (do_statement "do {\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            } while (lVar17 != 0);" do (compound_statement "{\n              ResetMagickMemory(&pixel,0,0x58);\n              pixel.alpha = dVar24;\n              pixel.storage_class = image->storage_class;\n              pixel.colorspace = image->colorspace;\n              pixel.fuzz = image->fuzz;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }\n              fVar19 = (float)pixel.red;\n              if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar6 = (byte)lVar17;\n              fVar19 = (float)pixel.green;\n              if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar19 = (float)pixel.blue;\n              if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;\n              if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }\n              pp_Var2 = pNVar10->child + (int)uVar14;\n              if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              pNVar10 = *pp_Var2;\n              lVar17 = lVar17 + -1;\n            }" { (expression_statement "ResetMagickMemory(&pixel,0,0x58);" (call_expression "ResetMagickMemory(&pixel,0,0x58)" identifier (argument_list "(&pixel,0,0x58)" ( (pointer_expression "&pixel" & identifier) , number_literal , number_literal ))) ;) (expression_statement "pixel.alpha = dVar24;" (assignment_expression "pixel.alpha = dVar24" (field_expression "pixel.alpha" identifier . field_identifier) = identifier) ;) (expression_statement "pixel.storage_class = image->storage_class;" (assignment_expression "pixel.storage_class = image->storage_class" (field_expression "pixel.storage_class" identifier . field_identifier) = (field_expression "image->storage_class" identifier -> field_identifier)) ;) (expression_statement "pixel.colorspace = image->colorspace;" (assignment_expression "pixel.colorspace = image->colorspace" (field_expression "pixel.colorspace" identifier . field_identifier) = (field_expression "image->colorspace" identifier -> field_identifier)) ;) (expression_statement "pixel.fuzz = image->fuzz;" (assignment_expression "pixel.fuzz = image->fuzz" (field_expression "pixel.fuzz" identifier . field_identifier) = (field_expression "image->fuzz" identifier -> field_identifier)) ;) (expression_statement "pixel.depth = image->depth;" (assignment_expression "pixel.depth = image->depth" (field_expression "pixel.depth" identifier . field_identifier) = (field_expression "image->depth" identifier -> field_identifier)) ;) (expression_statement "pixel.alpha_trait = image->alpha_trait;" (assignment_expression "pixel.alpha_trait = image->alpha_trait" (field_expression "pixel.alpha_trait" identifier . field_identifier) = (field_expression "image->alpha_trait" identifier -> field_identifier)) ;) (if_statement "if (pQVar9 != (Quantum *)0x0) {\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }" if (parenthesized_expression "(pQVar9 != (Quantum *)0x0)" ( (binary_expression "pQVar9 != (Quantum *)0x0" identifier != (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pPVar4 = image->channel_map;\n                pixel.red = (MagickRealType)pQVar9[pPVar4->offset];\n                pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];\n                pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];\n                if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }\n                if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }\n              }" { (expression_statement "pPVar4 = image->channel_map;" (assignment_expression "pPVar4 = image->channel_map" identifier = (field_expression "image->channel_map" identifier -> field_identifier)) ;) (expression_statement "pixel.red = (MagickRealType)pQVar9[pPVar4->offset];" (assignment_expression "pixel.red = (MagickRealType)pQVar9[pPVar4->offset]" (field_expression "pixel.red" identifier . field_identifier) = (cast_expression "(MagickRealType)pQVar9[pPVar4->offset]" ( (type_descriptor "MagickRealType" type_identifier) ) (subscript_expression "pQVar9[pPVar4->offset]" identifier [ (field_expression "pPVar4->offset" identifier -> field_identifier) ]))) ;) (expression_statement "pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset];" (assignment_expression "pixel.green = (MagickRealType)pQVar9[pPVar4[1].offset]" (field_expression "pixel.green" identifier . field_identifier) = (cast_expression "(MagickRealType)pQVar9[pPVar4[1].offset]" ( (type_descriptor "MagickRealType" type_identifier) ) (subscript_expression "pQVar9[pPVar4[1].offset]" identifier [ (field_expression "pPVar4[1].offset" (subscript_expression "pPVar4[1]" identifier [ number_literal ]) . field_identifier) ]))) ;) (expression_statement "pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset];" (assignment_expression "pixel.blue = (MagickRealType)pQVar9[pPVar4[2].offset]" (field_expression "pixel.blue" identifier . field_identifier) = (cast_expression "(MagickRealType)pQVar9[pPVar4[2].offset]" ( (type_descriptor "MagickRealType" type_identifier) ) (subscript_expression "pQVar9[pPVar4[2].offset]" identifier [ (field_expression "pPVar4[2].offset" (subscript_expression "pPVar4[2]" identifier [ number_literal ]) . field_identifier) ]))) ;) (if_statement "if (pPVar4[3].traits != UndefinedPixelTrait) {\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }" if (parenthesized_expression "(pPVar4[3].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar4[3].traits != UndefinedPixelTrait" (field_expression "pPVar4[3].traits" (subscript_expression "pPVar4[3]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                  pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];\n                }" { (expression_statement "pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset];" (assignment_expression "pixel.black = (MagickRealType)pQVar9[pPVar4[3].offset]" (field_expression "pixel.black" identifier . field_identifier) = (cast_expression "(MagickRealType)pQVar9[pPVar4[3].offset]" ( (type_descriptor "MagickRealType" type_identifier) ) (subscript_expression "pQVar9[pPVar4[3].offset]" identifier [ (field_expression "pPVar4[3].offset" (subscript_expression "pPVar4[3]" identifier [ number_literal ]) . field_identifier) ]))) ;) })) (if_statement "if (pPVar4[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }" if (parenthesized_expression "(pPVar4[4].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar4[4].traits != UndefinedPixelTrait" (field_expression "pPVar4[4].traits" (subscript_expression "pPVar4[4]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                  pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }" { (expression_statement "pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset];" (assignment_expression "pixel.alpha = (MagickRealType)pQVar9[pPVar4[4].offset]" (field_expression "pixel.alpha" identifier . field_identifier) = (cast_expression "(MagickRealType)pQVar9[pPVar4[4].offset]" ( (type_descriptor "MagickRealType" type_identifier) ) (subscript_expression "pQVar9[pPVar4[4].offset]" identifier [ (field_expression "pPVar4[4].offset" (subscript_expression "pPVar4[4]" identifier [ number_literal ]) . field_identifier) ]))) ;) (expression_statement "pixel.alpha_trait = BlendPixelTrait;" (assignment_expression "pixel.alpha_trait = BlendPixelTrait" (field_expression "pixel.alpha_trait" identifier . field_identifier) = identifier) ;) })) (if_statement "if (pPVar4[5].traits != UndefinedPixelTrait) {\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }" if (parenthesized_expression "(pPVar4[5].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar4[5].traits != UndefinedPixelTrait" (field_expression "pPVar4[5].traits" (subscript_expression "pPVar4[5]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                  pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];\n                }" { (expression_statement "pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset];" (assignment_expression "pixel.index = (MagickRealType)pQVar9[pPVar4[5].offset]" (field_expression "pixel.index" identifier . field_identifier) = (cast_expression "(MagickRealType)pQVar9[pPVar4[5].offset]" ( (type_descriptor "MagickRealType" type_identifier) ) (subscript_expression "pQVar9[pPVar4[5].offset]" identifier [ (field_expression "pPVar4[5].offset" (subscript_expression "pPVar4[5]" identifier [ number_literal ]) . field_identifier) ]))) ;) })) })) (expression_statement "fVar19 = (float)pixel.red;" (assignment_expression "fVar19 = (float)pixel.red" identifier = (cast_expression "(float)pixel.red" ( (type_descriptor "float" primitive_type) ) (field_expression "pixel.red" identifier . field_identifier))) ;) (if_statement "if (NAN(fVar19)) {\n                uVar14 = 0;\n              }\n              else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar19))" ( (call_expression "NAN(fVar19)" identifier (argument_list "(fVar19)" ( identifier ))) )) (compound_statement "{\n                uVar14 = 0;\n              }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar14 = 0;\n                if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar14 = 0;" (assignment_expression "uVar14 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar19) {\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar19)" ( (binary_expression "0.0 < fVar19" number_literal < identifier) )) (compound_statement "{\n                  uVar14 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar14 = 0xffffffff;" (assignment_expression "uVar14 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar19 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar19 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar19 / DAT_00404930" (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar14 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar19 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar19 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar19 / DAT_00404930" (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "bVar6 = (byte)lVar17;" (assignment_expression "bVar6 = (byte)lVar17" identifier = (cast_expression "(byte)lVar17" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "fVar19 = (float)pixel.green;" (assignment_expression "fVar19 = (float)pixel.green" identifier = (cast_expression "(float)pixel.green" ( (type_descriptor "float" primitive_type) ) (field_expression "pixel.green" identifier . field_identifier))) ;) (if_statement "if (NAN(fVar19)) {\n                uVar15 = 0;\n              }\n              else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar19))" ( (call_expression "NAN(fVar19)" identifier (argument_list "(fVar19)" ( identifier ))) )) (compound_statement "{\n                uVar15 = 0;\n              }" { (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar15 = 0;\n                if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar19) {\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar19)" ( (binary_expression "0.0 < fVar19" number_literal < identifier) )) (compound_statement "{\n                  uVar15 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar15 = 0xffffffff;" (assignment_expression "uVar15 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar19 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar19 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar19 / DAT_00404930" (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar15 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar19 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar19 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar19 / DAT_00404930" (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "fVar19 = (float)pixel.blue;" (assignment_expression "fVar19 = (float)pixel.blue" identifier = (cast_expression "(float)pixel.blue" ( (type_descriptor "float" primitive_type) ) (field_expression "pixel.blue" identifier . field_identifier))) ;) (if_statement "if (NAN(fVar19)) {\n                uVar7 = 0;\n              }\n              else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar19))" ( (call_expression "NAN(fVar19)" identifier (argument_list "(fVar19)" ( identifier ))) )) (compound_statement "{\n                uVar7 = 0;\n              }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar7 = 0;\n                if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar19) {\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar19)" ( (binary_expression "0.0 < fVar19" number_literal < identifier) )) (compound_statement "{\n                  uVar7 = 0xffffffff;\n                  if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar7 = 0xffffffff;" (assignment_expression "uVar7 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar19 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar19 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar19 / DAT_00404930" (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar7 = (uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar19 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar19 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar19 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar19 / DAT_00404930" (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U;" (assignment_expression "uVar14 = ((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U" identifier = (binary_expression "((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U |\n                       (int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U" (binary_expression "((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U" (binary_expression "((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U) << 2" (parenthesized_expression "((int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U)" ( (binary_expression "(int)(uVar7 & 0xff) >> (bVar6 & 0x1f) & 1U" (binary_expression "(int)(uVar7 & 0xff) >> (bVar6 & 0x1f)" (cast_expression "(int)(uVar7 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar6 & 0x1f)" ( (binary_expression "bVar6 & 0x1f" identifier & number_literal) ))) & number_literal) )) << number_literal) | (binary_expression "((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2 & 2U" (binary_expression "((int)(uVar15 & 0xff) >> (bVar6 & 0x1f)) * 2" (parenthesized_expression "((int)(uVar15 & 0xff) >> (bVar6 & 0x1f))" ( (binary_expression "(int)(uVar15 & 0xff) >> (bVar6 & 0x1f)" (cast_expression "(int)(uVar15 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar15 & 0xff)" ( (binary_expression "uVar15 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar6 & 0x1f)" ( (binary_expression "bVar6 & 0x1f" identifier & number_literal) ))) )) * number_literal) & number_literal)) | (binary_expression "(int)(uVar14 & 0xff) >> (bVar6 & 0x1f) & 1U" (binary_expression "(int)(uVar14 & 0xff) >> (bVar6 & 0x1f)" (cast_expression "(int)(uVar14 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar14 & 0xff)" ( (binary_expression "uVar14 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar6 & 0x1f)" ( (binary_expression "bVar6 & 0x1f" identifier & number_literal) ))) & number_literal))) ;) (if_statement "if (image->alpha_trait != UndefinedPixelTrait) {\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }" if (parenthesized_expression "(image->alpha_trait != UndefinedPixelTrait)" ( (binary_expression "image->alpha_trait != UndefinedPixelTrait" (field_expression "image->alpha_trait" identifier -> field_identifier) != identifier) )) (compound_statement "{\n                fVar19 = (float)pixel.alpha;\n                if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;\n              }" { (expression_statement "fVar19 = (float)pixel.alpha;" (assignment_expression "fVar19 = (float)pixel.alpha" identifier = (cast_expression "(float)pixel.alpha" ( (type_descriptor "float" primitive_type) ) (field_expression "pixel.alpha" identifier . field_identifier))) ;) (if_statement "if (NAN(fVar19)) {\n                  bVar13 = 0;\n                }\n                else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" if (parenthesized_expression "(NAN(fVar19))" ( (call_expression "NAN(fVar19)" identifier (argument_list "(fVar19)" ( identifier ))) )) (compound_statement "{\n                  bVar13 = 0;\n                }" { (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" else (compound_statement "{\n                  bVar13 = 0;\n                  if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" { (expression_statement "bVar13 = 0;" (assignment_expression "bVar13 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar19) {\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }" if (parenthesized_expression "(0.0 < fVar19)" ( (binary_expression "0.0 < fVar19" number_literal < identifier) )) (compound_statement "{\n                    bVar13 = 0xff;\n                    if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }" { (expression_statement "bVar13 = 0xff;" (assignment_expression "bVar13 = 0xff" identifier = number_literal) ;) (if_statement "if ((double)fVar19 / DAT_00404930 < DAT_00404938) {\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }" if (parenthesized_expression "((double)fVar19 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar19 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar19 / DAT_00404930" (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                      bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);\n                    }" { (expression_statement "bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "bVar13 = (byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(byte)(int)((double)fVar19 / DAT_00404930 + DAT_003f9c28)" (call_expression "(byte)(int)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "((double)fVar19 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar19 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar19 / DAT_00404930" (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3;" (assignment_expression "uVar14 = uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3" identifier = (binary_expression "uVar14 | ((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3" identifier | (binary_expression "((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U) << 3" (parenthesized_expression "((int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U)" ( (binary_expression "(int)(uint)bVar13 >> (bVar6 & 0x1f) & 1U" (binary_expression "(int)(uint)bVar13 >> (bVar6 & 0x1f)" (cast_expression "(int)(uint)bVar13" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)bVar13" ( (type_descriptor "uint" type_identifier) ) identifier)) >> (parenthesized_expression "(bVar6 & 0x1f)" ( (binary_expression "bVar6 & 0x1f" identifier & number_literal) ))) & number_literal) )) << number_literal))) ;) })) (expression_statement "pp_Var2 = pNVar10->child + (int)uVar14;" (assignment_expression "pp_Var2 = pNVar10->child + (int)uVar14" identifier = (binary_expression "pNVar10->child + (int)uVar14" (field_expression "pNVar10->child" identifier -> field_identifier) + (cast_expression "(int)uVar14" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (*pp_Var2 == (_NodeInfo *)0x0) {\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }" if (parenthesized_expression "(*pp_Var2 == (_NodeInfo *)0x0)" ( (binary_expression "*pp_Var2 == (_NodeInfo *)0x0" (pointer_expression "*pp_Var2" * identifier) == (cast_expression "(_NodeInfo *)0x0" ( (type_descriptor "_NodeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pNVar10 = GetNodeInfo(local_c0,8 - lVar17);\n                *pp_Var2 = pNVar10;\n                if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }\n              }" { (expression_statement "pNVar10 = GetNodeInfo(local_c0,8 - lVar17);" (assignment_expression "pNVar10 = GetNodeInfo(local_c0,8 - lVar17)" identifier = (call_expression "GetNodeInfo(local_c0,8 - lVar17)" identifier (argument_list "(local_c0,8 - lVar17)" ( identifier , (binary_expression "8 - lVar17" number_literal - identifier) )))) ;) (expression_statement "*pp_Var2 = pNVar10;" (assignment_expression "*pp_Var2 = pNVar10" (pointer_expression "*pp_Var2" * identifier) = identifier) ;) (if_statement "if (pNVar10 == (NodeInfo *)0x0) {\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }" if (parenthesized_expression "(pNVar10 == (NodeInfo *)0x0)" ( (binary_expression "pNVar10 == (NodeInfo *)0x0" identifier == (cast_expression "(NodeInfo *)0x0" ( (type_descriptor "NodeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n                  local_c0 = (CubeInfo *)0x0;\n                  goto LAB_00213193;\n                }" { (expression_statement "ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);" (call_expression "ThrowMagickException\n                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename)" identifier (argument_list "(exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,\n                             ErrorException,"MemoryAllocationFailed","`%s\'",image->filename)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , identifier , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) (expression_statement "local_c0 = (CubeInfo *)0x0;" (assignment_expression "local_c0 = (CubeInfo *)0x0" identifier = (cast_expression "(CubeInfo *)0x0" ( (type_descriptor "CubeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00213193;" goto statement_identifier ;) })) })) (expression_statement "pNVar10 = *pp_Var2;" (assignment_expression "pNVar10 = *pp_Var2" identifier = (pointer_expression "*pp_Var2" * identifier)) ;) (expression_statement "lVar17 = lVar17 + -1;" (assignment_expression "lVar17 = lVar17 + -1" identifier = (binary_expression "lVar17 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar17 != 0)" ( (binary_expression "lVar17 != 0" identifier != number_literal) )) ;) (expression_statement "MVar5 = pNVar10->number_unique;" (assignment_expression "MVar5 = pNVar10->number_unique" identifier = (field_expression "pNVar10->number_unique" identifier -> field_identifier)) ;) (if_statement "if ((long)MVar5 < 1) {\n              MVar18 = 0;\n            }\n            else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }" if (parenthesized_expression "((long)MVar5 < 1)" ( (binary_expression "(long)MVar5 < 1" (cast_expression "(long)MVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < number_literal) )) (compound_statement "{\n              MVar18 = 0;\n            }" { (expression_statement "MVar18 = 0;" (assignment_expression "MVar18 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }" else (compound_statement "{\n              MVar23 = DAT_003f95f8;\n              if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }\n              dVar24 = MVar23;\n              if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }\n              pPVar11 = &pNVar10->list->alpha_trait;\n              MVar16 = 0;\n              do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);\n            }" { (expression_statement "MVar23 = DAT_003f95f8;" (assignment_expression "MVar23 = DAT_003f95f8" identifier = identifier) ;) (if_statement "if (pixel.alpha_trait != UndefinedPixelTrait) {\n                MVar23 = pixel.alpha;\n              }" if (parenthesized_expression "(pixel.alpha_trait != UndefinedPixelTrait)" ( (binary_expression "pixel.alpha_trait != UndefinedPixelTrait" (field_expression "pixel.alpha_trait" identifier . field_identifier) != identifier) )) (compound_statement "{\n                MVar23 = pixel.alpha;\n              }" { (expression_statement "MVar23 = pixel.alpha;" (assignment_expression "MVar23 = pixel.alpha" identifier = (field_expression "pixel.alpha" identifier . field_identifier)) ;) })) (expression_statement "dVar24 = MVar23;" (assignment_expression "dVar24 = MVar23" identifier = identifier) ;) (if_statement "if (MVar23 < 0.0) {\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }" if (parenthesized_expression "(MVar23 < 0.0)" ( (binary_expression "MVar23 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);\n              }" { (expression_statement "dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610);" (assignment_expression "dVar24 = (double)((ulong)MVar23 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)MVar23 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)MVar23 ^ DAT_003f9610)" ( (binary_expression "(ulong)MVar23 ^ DAT_003f9610" (cast_expression "(ulong)MVar23" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (expression_statement "pPVar11 = &pNVar10->list->alpha_trait;" (assignment_expression "pPVar11 = &pNVar10->list->alpha_trait" identifier = (pointer_expression "&pNVar10->list->alpha_trait" & (field_expression "pNVar10->list->alpha_trait" (field_expression "pNVar10->list" identifier -> field_identifier) -> field_identifier))) ;) (expression_statement "MVar16 = 0;" (assignment_expression "MVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              } while (MVar16 != MVar5);" do (compound_statement "{\n                dVar22 = DAT_003f95f8;\n                if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }\n                dVar21 = MVar23 - dVar22;\n                if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar21) goto LAB_002132b1;\n                if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) goto LAB_0021338d;\n                dVar22 = pixel.red - *(double *)(pPVar11 + 8);\n                if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }\n                if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                MVar16 = MVar16 + 1;\n                pPVar11 = pPVar11 + 0x16;\n                MVar18 = MVar5;\n              }" { (expression_statement "dVar22 = DAT_003f95f8;" (assignment_expression "dVar22 = DAT_003f95f8" identifier = identifier) ;) (if_statement "if (*pPVar11 != UndefinedPixelTrait) {\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }" if (parenthesized_expression "(*pPVar11 != UndefinedPixelTrait)" ( (binary_expression "*pPVar11 != UndefinedPixelTrait" (pointer_expression "*pPVar11" * identifier) != identifier) )) (compound_statement "{\n                  dVar22 = *(double *)(pPVar11 + 0x10);\n                }" { (expression_statement "dVar22 = *(double *)(pPVar11 + 0x10);" (assignment_expression "dVar22 = *(double *)(pPVar11 + 0x10)" identifier = (pointer_expression "*(double *)(pPVar11 + 0x10)" * (cast_expression "(double *)(pPVar11 + 0x10)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pPVar11 + 0x10)" ( (binary_expression "pPVar11 + 0x10" identifier + number_literal) ))))) ;) })) (expression_statement "dVar21 = MVar23 - dVar22;" (assignment_expression "dVar21 = MVar23 - dVar22" identifier = (binary_expression "MVar23 - dVar22" identifier - identifier)) ;) (if_statement "if (dVar21 < 0.0) {\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar21 < 0.0)" ( (binary_expression "dVar21 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);\n                }" { (expression_statement "dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610);" (assignment_expression "dVar21 = (double)((ulong)dVar21 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar21 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar21 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar21 ^ DAT_003f9610" (cast_expression "(ulong)dVar21" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (DAT_003f9600 <= dVar21) goto LAB_002132b1;" if (parenthesized_expression "(DAT_003f9600 <= dVar21)" ( (binary_expression "DAT_003f9600 <= dVar21" identifier <= identifier) )) (goto_statement "goto LAB_002132b1;" goto statement_identifier ;)) (if_statement "if (dVar24 < DAT_003f9600) {\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }" if (parenthesized_expression "(dVar24 < DAT_003f9600)" ( (binary_expression "dVar24 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\nLAB_0021338d:\n                  MVar18 = MVar16;\n                  if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }" { (labeled_statement "LAB_0021338d:\n                  MVar18 = MVar16;" statement_identifier : (expression_statement "MVar18 = MVar16;" (assignment_expression "MVar18 = MVar16" identifier = identifier) ;)) (if_statement "if ((long)MVar16 < (long)MVar5) {\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }" if (parenthesized_expression "((long)MVar16 < (long)MVar5)" ( (binary_expression "(long)MVar16 < (long)MVar5" (cast_expression "(long)MVar16" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) < (cast_expression "(long)MVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                    pMVar1 = &pNVar10->list[MVar16].count;\n                    *pMVar1 = *pMVar1 + 1;\n                    goto LAB_002133a0;\n                  }" { (expression_statement "pMVar1 = &pNVar10->list[MVar16].count;" (assignment_expression "pMVar1 = &pNVar10->list[MVar16].count" identifier = (pointer_expression "&pNVar10->list[MVar16].count" & (field_expression "pNVar10->list[MVar16].count" (subscript_expression "pNVar10->list[MVar16]" (field_expression "pNVar10->list" identifier -> field_identifier) [ identifier ]) . field_identifier))) ;) (expression_statement "*pMVar1 = *pMVar1 + 1;" (assignment_expression "*pMVar1 = *pMVar1 + 1" (pointer_expression "*pMVar1" * identifier) = (binary_expression "*pMVar1 + 1" (pointer_expression "*pMVar1" * identifier) + number_literal)) ;) (goto_statement "goto LAB_002133a0;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (if_statement "if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar22 < 0.0)" ( (binary_expression "dVar22 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }" { (expression_statement "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);" (assignment_expression "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar22 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar22 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar22 ^ DAT_003f9610" (cast_expression "(ulong)dVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar22 < DAT_003f9600) goto LAB_0021338d;" if (parenthesized_expression "(dVar22 < DAT_003f9600)" ( (binary_expression "dVar22 < DAT_003f9600" identifier < identifier) )) (goto_statement "goto LAB_0021338d;" goto statement_identifier ;)) (expression_statement "dVar22 = pixel.red - *(double *)(pPVar11 + 8);" (assignment_expression "dVar22 = pixel.red - *(double *)(pPVar11 + 8)" identifier = (binary_expression "pixel.red - *(double *)(pPVar11 + 8)" (field_expression "pixel.red" identifier . field_identifier) - (pointer_expression "*(double *)(pPVar11 + 8)" * (cast_expression "(double *)(pPVar11 + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pPVar11 + 8)" ( (binary_expression "pPVar11 + 8" identifier + number_literal) )))))) ;) (if_statement "if (dVar22 < 0.0) {\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar22 < 0.0)" ( (binary_expression "dVar22 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                }" { (expression_statement "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);" (assignment_expression "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar22 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar22 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar22 ^ DAT_003f9610" (cast_expression "(ulong)dVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar22 < DAT_003f9600) {\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }" if (parenthesized_expression "(dVar22 < DAT_003f9600)" ( (binary_expression "dVar22 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                  dVar22 = pixel.green - *(double *)(pPVar11 + 10);\n                  if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }\n                  if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }" { (expression_statement "dVar22 = pixel.green - *(double *)(pPVar11 + 10);" (assignment_expression "dVar22 = pixel.green - *(double *)(pPVar11 + 10)" identifier = (binary_expression "pixel.green - *(double *)(pPVar11 + 10)" (field_expression "pixel.green" identifier . field_identifier) - (pointer_expression "*(double *)(pPVar11 + 10)" * (cast_expression "(double *)(pPVar11 + 10)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pPVar11 + 10)" ( (binary_expression "pPVar11 + 10" identifier + number_literal) )))))) ;) (if_statement "if (dVar22 < 0.0) {\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }" if (parenthesized_expression "(dVar22 < 0.0)" ( (binary_expression "dVar22 < 0.0" identifier < number_literal) )) (compound_statement "{\n                    dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                  }" { (expression_statement "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);" (assignment_expression "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar22 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar22 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar22 ^ DAT_003f9610" (cast_expression "(ulong)dVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar22 < DAT_003f9600) {\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }" if (parenthesized_expression "(dVar22 < DAT_003f9600)" ( (binary_expression "dVar22 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                    dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);\n                    if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }\n                    if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }" { (expression_statement "dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc);" (assignment_expression "dVar22 = pixel.blue - *(double *)(pPVar11 + 0xc)" identifier = (binary_expression "pixel.blue - *(double *)(pPVar11 + 0xc)" (field_expression "pixel.blue" identifier . field_identifier) - (pointer_expression "*(double *)(pPVar11 + 0xc)" * (cast_expression "(double *)(pPVar11 + 0xc)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pPVar11 + 0xc)" ( (binary_expression "pPVar11 + 0xc" identifier + number_literal) )))))) ;) (if_statement "if (dVar22 < 0.0) {\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }" if (parenthesized_expression "(dVar22 < 0.0)" ( (binary_expression "dVar22 < 0.0" identifier < number_literal) )) (compound_statement "{\n                      dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                    }" { (expression_statement "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);" (assignment_expression "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar22 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar22 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar22 ^ DAT_003f9610" (cast_expression "(ulong)dVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar22 < DAT_003f9600) {\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }" if (parenthesized_expression "(dVar22 < DAT_003f9600)" ( (binary_expression "dVar22 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                      if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }" { (if_statement "if (pixel.colorspace == CMYKColorspace) {\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }" if (parenthesized_expression "(pixel.colorspace == CMYKColorspace)" ( (binary_expression "pixel.colorspace == CMYKColorspace" (field_expression "pixel.colorspace" identifier . field_identifier) == identifier) )) (compound_statement "{\n                        dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);\n                        if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar22) goto LAB_002132b1;\n                      }" { (expression_statement "dVar22 = pixel.black - *(double *)(pPVar11 + 0xe);" (assignment_expression "dVar22 = pixel.black - *(double *)(pPVar11 + 0xe)" identifier = (binary_expression "pixel.black - *(double *)(pPVar11 + 0xe)" (field_expression "pixel.black" identifier . field_identifier) - (pointer_expression "*(double *)(pPVar11 + 0xe)" * (cast_expression "(double *)(pPVar11 + 0xe)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pPVar11 + 0xe)" ( (binary_expression "pPVar11 + 0xe" identifier + number_literal) )))))) ;) (if_statement "if (dVar22 < 0.0) {\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }" if (parenthesized_expression "(dVar22 < 0.0)" ( (binary_expression "dVar22 < 0.0" identifier < number_literal) )) (compound_statement "{\n                          dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);\n                        }" { (expression_statement "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610);" (assignment_expression "dVar22 = (double)((ulong)dVar22 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar22 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar22 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar22 ^ DAT_003f9610" (cast_expression "(ulong)dVar22" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (DAT_003f9600 <= dVar22) goto LAB_002132b1;" if (parenthesized_expression "(DAT_003f9600 <= dVar22)" ( (binary_expression "DAT_003f9600 <= dVar22" identifier <= identifier) )) (goto_statement "goto LAB_002132b1;" goto statement_identifier ;)) })) (goto_statement "goto LAB_0021338d;" goto statement_identifier ;) })) })) })) (labeled_statement "LAB_002132b1:\n                MVar16 = MVar16 + 1;" statement_identifier : (expression_statement "MVar16 = MVar16 + 1;" (assignment_expression "MVar16 = MVar16 + 1" identifier = (binary_expression "MVar16 + 1" identifier + number_literal)) ;)) (expression_statement "pPVar11 = pPVar11 + 0x16;" (assignment_expression "pPVar11 = pPVar11 + 0x16" identifier = (binary_expression "pPVar11 + 0x16" identifier + number_literal)) ;) (expression_statement "MVar18 = MVar5;" (assignment_expression "MVar18 = MVar5" identifier = identifier) ;) }) while (parenthesized_expression "(MVar16 != MVar5)" ( (binary_expression "MVar16 != MVar5" identifier != identifier) )) ;) }))) (if_statement "if (MVar5 == 0) {\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }\n            else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }" if (parenthesized_expression "(MVar5 == 0)" ( (binary_expression "MVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              pNVar10->extent = 1;\n              pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);\n              pNVar10->list = pPVar12;\n            }" { (expression_statement "pNVar10->extent = 1;" (assignment_expression "pNVar10->extent = 1" (field_expression "pNVar10->extent" identifier -> field_identifier) = number_literal) ;) (expression_statement "pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58);" (assignment_expression "pPVar12 = (PixelInfo *)AcquireQuantumMemory(1,0x58)" identifier = (cast_expression "(PixelInfo *)AcquireQuantumMemory(1,0x58)" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(1,0x58)" identifier (argument_list "(1,0x58)" ( number_literal , number_literal ))))) ;) (expression_statement "pNVar10->list = pPVar12;" (assignment_expression "pNVar10->list = pPVar12" (field_expression "pNVar10->list" identifier -> field_identifier) = identifier) ;) }) (else_clause "else if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }" else (if_statement "if ((long)pNVar10->extent <= (long)MVar18) {\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }" if (parenthesized_expression "((long)pNVar10->extent <= (long)MVar18)" ( (binary_expression "(long)pNVar10->extent <= (long)MVar18" (cast_expression "(long)pNVar10->extent" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "pNVar10->extent" identifier -> field_identifier)) <= (cast_expression "(long)MVar18" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n              count = pNVar10->extent * 2;\n              pNVar10->extent = count;\n              pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);\n              pNVar10->list = pPVar12;\n            }" { (expression_statement "count = pNVar10->extent * 2;" (assignment_expression "count = pNVar10->extent * 2" identifier = (binary_expression "pNVar10->extent * 2" (field_expression "pNVar10->extent" identifier -> field_identifier) * number_literal)) ;) (expression_statement "pNVar10->extent = count;" (assignment_expression "pNVar10->extent = count" (field_expression "pNVar10->extent" identifier -> field_identifier) = identifier) ;) (expression_statement "pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58);" (assignment_expression "pPVar12 = (PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58)" identifier = (cast_expression "(PixelInfo *)ResizeQuantumMemory(pNVar10->list,count,0x58)" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "ResizeQuantumMemory(pNVar10->list,count,0x58)" identifier (argument_list "(pNVar10->list,count,0x58)" ( (field_expression "pNVar10->list" identifier -> field_identifier) , identifier , number_literal ))))) ;) (expression_statement "pNVar10->list = pPVar12;" (assignment_expression "pNVar10->list = pPVar12" (field_expression "pNVar10->list" identifier -> field_identifier) = identifier) ;) })))) (expression_statement "pPVar12 = pNVar10->list;" (assignment_expression "pPVar12 = pNVar10->list" identifier = (field_expression "pNVar10->list" identifier -> field_identifier)) ;) (if_statement "if (pPVar12 == (PixelInfo *)0x0) {\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }" if (parenthesized_expression "(pPVar12 == (PixelInfo *)0x0)" ( (binary_expression "pPVar12 == (PixelInfo *)0x0" identifier == (cast_expression "(PixelInfo *)0x0" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);\n              local_c0 = (CubeInfo *)0x0;\n              goto LAB_00213193;\n            }" { (expression_statement "ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename);" (call_expression "ThrowMagickException\n                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename)" identifier (argument_list "(exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,\n                         ErrorException,"MemoryAllocationFailed","`%s\'",image->filename)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , identifier , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) (expression_statement "local_c0 = (CubeInfo *)0x0;" (assignment_expression "local_c0 = (CubeInfo *)0x0" identifier = (cast_expression "(CubeInfo *)0x0" ( (type_descriptor "CubeInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00213193;" goto statement_identifier ;) })) (expression_statement "pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class);" (assignment_expression "pPVar12[MVar18].storage_class = (int)CONCAT44(pixel.colorspace,pixel.storage_class)" (field_expression "pPVar12[MVar18].storage_class" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (cast_expression "(int)CONCAT44(pixel.colorspace,pixel.storage_class)" ( (type_descriptor "int" primitive_type) ) (call_expression "CONCAT44(pixel.colorspace,pixel.storage_class)" identifier (argument_list "(pixel.colorspace,pixel.storage_class)" ( (field_expression "pixel.colorspace" identifier . field_identifier) , (field_expression "pixel.storage_class" identifier . field_identifier) ))))) ;) (expression_statement "pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20);" (assignment_expression "pPVar12[MVar18].colorspace =\n                 (int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20)" (field_expression "pPVar12[MVar18].colorspace" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (cast_expression "(int)(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20)" ( (binary_expression "CONCAT44(pixel.colorspace,pixel.storage_class) >> 0x20" (call_expression "CONCAT44(pixel.colorspace,pixel.storage_class)" identifier (argument_list "(pixel.colorspace,pixel.storage_class)" ( (field_expression "pixel.colorspace" identifier . field_identifier) , (field_expression "pixel.storage_class" identifier . field_identifier) ))) >> number_literal) )))) ;) (expression_statement "*(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait);" (assignment_expression "*(ulong *)&pPVar12[MVar18].alpha_trait = CONCAT44(pixel._12_4_,pixel.alpha_trait)" (pointer_expression "*(ulong *)&pPVar12[MVar18].alpha_trait" * (cast_expression "(ulong *)&pPVar12[MVar18].alpha_trait" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar12[MVar18].alpha_trait" & (field_expression "pPVar12[MVar18].alpha_trait" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier)))) = (call_expression "CONCAT44(pixel._12_4_,pixel.alpha_trait)" identifier (argument_list "(pixel._12_4_,pixel.alpha_trait)" ( (field_expression "pixel._12_4_" identifier . field_identifier) , (field_expression "pixel.alpha_trait" identifier . field_identifier) )))) ;) (expression_statement "pPVar12[MVar18].fuzz = pixel.fuzz;" (assignment_expression "pPVar12[MVar18].fuzz = pixel.fuzz" (field_expression "pPVar12[MVar18].fuzz" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.fuzz" identifier . field_identifier)) ;) (expression_statement "pPVar12[MVar18].depth = pixel.depth;" (assignment_expression "pPVar12[MVar18].depth = pixel.depth" (field_expression "pPVar12[MVar18].depth" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.depth" identifier . field_identifier)) ;) (expression_statement "pPVar12[MVar18].count = pixel.count;" (assignment_expression "pPVar12[MVar18].count = pixel.count" (field_expression "pPVar12[MVar18].count" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.count" identifier . field_identifier)) ;) (expression_statement "pPVar12[MVar18].red = pixel.red;" (assignment_expression "pPVar12[MVar18].red = pixel.red" (field_expression "pPVar12[MVar18].red" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.red" identifier . field_identifier)) ;) (expression_statement "pPVar12[MVar18].green = pixel.green;" (assignment_expression "pPVar12[MVar18].green = pixel.green" (field_expression "pPVar12[MVar18].green" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.green" identifier . field_identifier)) ;) (expression_statement "pPVar12[MVar18].blue = pixel.blue;" (assignment_expression "pPVar12[MVar18].blue = pixel.blue" (field_expression "pPVar12[MVar18].blue" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.blue" identifier . field_identifier)) ;) (expression_statement "pPVar12[MVar18].black = pixel.black;" (assignment_expression "pPVar12[MVar18].black = pixel.black" (field_expression "pPVar12[MVar18].black" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.black" identifier . field_identifier)) ;) (expression_statement "pPVar12[MVar18].alpha = pixel.alpha;" (assignment_expression "pPVar12[MVar18].alpha = pixel.alpha" (field_expression "pPVar12[MVar18].alpha" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.alpha" identifier . field_identifier)) ;) (expression_statement "pPVar12[MVar18].index = pixel.index;" (assignment_expression "pPVar12[MVar18].index = pixel.index" (field_expression "pPVar12[MVar18].index" (subscript_expression "pPVar12[MVar18]" identifier [ identifier ]) . field_identifier) = (field_expression "pixel.index" identifier . field_identifier)) ;) (expression_statement "pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset];" (assignment_expression "pNVar10->list[MVar18].red = (double)pQVar9[image->channel_map->offset]" (field_expression "pNVar10->list[MVar18].red" (subscript_expression "pNVar10->list[MVar18]" (field_expression "pNVar10->list" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(double)pQVar9[image->channel_map->offset]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pQVar9[image->channel_map->offset]" identifier [ (field_expression "image->channel_map->offset" (field_expression "image->channel_map" identifier -> field_identifier) -> field_identifier) ]))) ;) (expression_statement "pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset];" (assignment_expression "pNVar10->list[MVar18].green = (double)pQVar9[image->channel_map[1].offset]" (field_expression "pNVar10->list[MVar18].green" (subscript_expression "pNVar10->list[MVar18]" (field_expression "pNVar10->list" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(double)pQVar9[image->channel_map[1].offset]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pQVar9[image->channel_map[1].offset]" identifier [ (field_expression "image->channel_map[1].offset" (subscript_expression "image->channel_map[1]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ]))) ;) (expression_statement "pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset];" (assignment_expression "pNVar10->list[MVar18].blue = (double)pQVar9[image->channel_map[2].offset]" (field_expression "pNVar10->list[MVar18].blue" (subscript_expression "pNVar10->list[MVar18]" (field_expression "pNVar10->list" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(double)pQVar9[image->channel_map[2].offset]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pQVar9[image->channel_map[2].offset]" identifier [ (field_expression "image->channel_map[2].offset" (subscript_expression "image->channel_map[2]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ]))) ;) (if_statement "if (image->colorspace == CMYKColorspace) {\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }" if (parenthesized_expression "(image->colorspace == CMYKColorspace)" ( (binary_expression "image->colorspace == CMYKColorspace" (field_expression "image->colorspace" identifier -> field_identifier) == identifier) )) (compound_statement "{\n              QVar20 = 0.0;\n              if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }\n              pNVar10->list[MVar18].black = (double)QVar20;\n            }" { (expression_statement "QVar20 = 0.0;" (assignment_expression "QVar20 = 0.0" identifier = number_literal) ;) (if_statement "if (image->channel_map[3].traits != UndefinedPixelTrait) {\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }" if (parenthesized_expression "(image->channel_map[3].traits != UndefinedPixelTrait)" ( (binary_expression "image->channel_map[3].traits != UndefinedPixelTrait" (field_expression "image->channel_map[3].traits" (subscript_expression "image->channel_map[3]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                QVar20 = pQVar9[image->channel_map[3].offset];\n              }" { (expression_statement "QVar20 = pQVar9[image->channel_map[3].offset];" (assignment_expression "QVar20 = pQVar9[image->channel_map[3].offset]" identifier = (subscript_expression "pQVar9[image->channel_map[3].offset]" identifier [ (field_expression "image->channel_map[3].offset" (subscript_expression "image->channel_map[3]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ])) ;) })) (expression_statement "pNVar10->list[MVar18].black = (double)QVar20;" (assignment_expression "pNVar10->list[MVar18].black = (double)QVar20" (field_expression "pNVar10->list[MVar18].black" (subscript_expression "pNVar10->list[MVar18]" (field_expression "pNVar10->list" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(double)QVar20" ( (type_descriptor "double" primitive_type) ) identifier)) ;) })) (expression_statement "fVar19 = _DAT_003fa400;" (assignment_expression "fVar19 = _DAT_003fa400" identifier = identifier) ;) (if_statement "if (image->channel_map[4].traits != UndefinedPixelTrait) {\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }" if (parenthesized_expression "(image->channel_map[4].traits != UndefinedPixelTrait)" ( (binary_expression "image->channel_map[4].traits != UndefinedPixelTrait" (field_expression "image->channel_map[4].traits" (subscript_expression "image->channel_map[4]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n              fVar19 = pQVar9[image->channel_map[4].offset];\n            }" { (expression_statement "fVar19 = pQVar9[image->channel_map[4].offset];" (assignment_expression "fVar19 = pQVar9[image->channel_map[4].offset]" identifier = (subscript_expression "pQVar9[image->channel_map[4].offset]" identifier [ (field_expression "image->channel_map[4].offset" (subscript_expression "image->channel_map[4]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ])) ;) })) (expression_statement "pNVar10->list[MVar18].alpha = (double)fVar19;" (assignment_expression "pNVar10->list[MVar18].alpha = (double)fVar19" (field_expression "pNVar10->list[MVar18].alpha" (subscript_expression "pNVar10->list[MVar18]" (field_expression "pNVar10->list" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(double)fVar19" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "pNVar10->list[MVar18].count = 1;" (assignment_expression "pNVar10->list[MVar18].count = 1" (field_expression "pNVar10->list[MVar18].count" (subscript_expression "pNVar10->list[MVar18]" (field_expression "pNVar10->list" identifier -> field_identifier) [ identifier ]) . field_identifier) = number_literal) ;) (expression_statement "pNVar10->number_unique = pNVar10->number_unique + 1;" (assignment_expression "pNVar10->number_unique = pNVar10->number_unique + 1" (field_expression "pNVar10->number_unique" identifier -> field_identifier) = (binary_expression "pNVar10->number_unique + 1" (field_expression "pNVar10->number_unique" identifier -> field_identifier) + number_literal)) ;) (expression_statement "local_c0->colors = local_c0->colors + 1;" (assignment_expression "local_c0->colors = local_c0->colors + 1" (field_expression "local_c0->colors" identifier -> field_identifier) = (binary_expression "local_c0->colors + 1" (field_expression "local_c0->colors" identifier -> field_identifier) + number_literal)) ;) (labeled_statement "LAB_002133a0:\n            pQVar9 = pQVar9 + image->number_channels;" statement_identifier : (expression_statement "pQVar9 = pQVar9 + image->number_channels;" (assignment_expression "pQVar9 = pQVar9 + image->number_channels" identifier = (binary_expression "pQVar9 + image->number_channels" identifier + (field_expression "image->number_channels" identifier -> field_identifier))) ;)) (expression_statement "local_b8 = local_b8 + 1;" (assignment_expression "local_b8 = local_b8 + 1" identifier = (binary_expression "local_b8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_b8 < (long)image->columns)" ( (binary_expression "local_b8 < (long)image->columns" identifier < (cast_expression "(long)image->columns" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "image->columns" identifier -> field_identifier))) )) ;) })) (expression_statement "MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows);" (assignment_expression "MVar8 = SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows)" identifier = (call_expression "SetImageProgress(image,"  Compute image colors...  ",local_a8,image->rows)" identifier (argument_list "(image,"  Compute image colors...  ",local_a8,image->rows)" ( identifier , (string_literal ""  Compute image colors...  "" " string_content ") , identifier , (field_expression "image->rows" identifier -> field_identifier) )))) ;) (if_statement "if ((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))\n        break;" if (parenthesized_expression "((MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8))" ( (binary_expression "(MVar8 == MagickFalse) || (local_a8 = local_a8 + 1, (long)image->rows <= local_a8)" (parenthesized_expression "(MVar8 == MagickFalse)" ( (binary_expression "MVar8 == MagickFalse" identifier == identifier) )) || (parenthesized_expression "(local_a8 = local_a8 + 1, (long)image->rows <= local_a8)" ( (comma_expression "local_a8 = local_a8 + 1, (long)image->rows <= local_a8" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) , (binary_expression "(long)image->rows <= local_a8" (cast_expression "(long)image->rows" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "image->rows" identifier -> field_identifier)) <= identifier)) ))) )) (break_statement "break;" break ;)) })) })) (expression_statement "DestroyCacheView(cache_view);" (call_expression "DestroyCacheView(cache_view)" identifier (argument_list "(cache_view)" ( identifier ))) ;) }))) (labeled_statement "LAB_00213193:\n  if (lVar3 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" statement_identifier : (if_statement "if (lVar3 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" if (parenthesized_expression "(lVar3 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "lVar3 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail();\n  }" { comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_c0;" return identifier ;) })))
(translation_unit "long * FUN_00212cd3(undefined4 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  int *piVar8;\n  undefined8 uVar9;\n  byte bVar10;\n  uint uVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long *local_c0;\n  long local_b8;\n  long local_a8;\n  undefined4 local_98;\n  int iStack_94;\n  int local_90;\n  undefined4 uStack_8c;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  double local_70;\n  double local_68;\n  double local_60;\n  double local_58;\n  double local_50;\n  double local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }\n  local_c0 = (long *)FUN_00212c8f();\n  if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }\nLAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return local_c0;\n}\n\n" (function_definition "long * FUN_00212cd3(undefined4 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  int *piVar8;\n  undefined8 uVar9;\n  byte bVar10;\n  uint uVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long *local_c0;\n  long local_b8;\n  long local_a8;\n  undefined4 local_98;\n  int iStack_94;\n  int local_90;\n  undefined4 uStack_8c;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  double local_70;\n  double local_68;\n  double local_60;\n  double local_58;\n  double local_50;\n  double local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }\n  local_c0 = (long *)FUN_00212c8f();\n  if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }\nLAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return local_c0;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_00212cd3(undefined4 *param_1,undefined8 param_2)" * (function_declarator "FUN_00212cd3(undefined4 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) )))) (compound_statement "{\n  long *plVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  int *piVar8;\n  undefined8 uVar9;\n  byte bVar10;\n  uint uVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long *local_c0;\n  long local_b8;\n  long local_a8;\n  undefined4 local_98;\n  int iStack_94;\n  int local_90;\n  undefined4 uStack_8c;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  double local_70;\n  double local_68;\n  double local_60;\n  double local_58;\n  double local_50;\n  double local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }\n  local_c0 = (long *)FUN_00212c8f();\n  if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }\nLAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return local_c0;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "int *piVar8;" primitive_type (pointer_declarator "*piVar8" * identifier) ;) (declaration "undefined8 uVar9;" type_identifier identifier ;) (declaration "byte bVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "float fVar16;" primitive_type identifier ;) (declaration "double dVar17;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "long *local_c0;" (sized_type_specifier "long" long) (pointer_declarator "*local_c0" * identifier) ;) (declaration "long local_b8;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_a8;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 local_98;" type_identifier identifier ;) (declaration "int iStack_94;" primitive_type identifier ;) (declaration "int local_90;" primitive_type identifier ;) (declaration "undefined4 uStack_8c;" type_identifier identifier ;) (declaration "undefined8 local_88;" type_identifier identifier ;) (declaration "undefined8 local_80;" type_identifier identifier ;) (declaration "undefined8 local_78;" type_identifier identifier ;) (declaration "double local_70;" primitive_type identifier ;) (declaration "double local_68;" primitive_type identifier ;) (declaration "double local_60;" primitive_type identifier ;) (declaration "double local_58;" primitive_type identifier ;) (declaration "double local_50;" primitive_type identifier ;) (declaration "double local_48;" primitive_type identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }" if (parenthesized_expression "(param_1 == (undefined4 *)0x0)" ( (binary_expression "param_1 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }" { (expression_statement "__assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");" (call_expression "__assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors")" identifier (argument_list "("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors")" ( (string_literal ""image != (const Image *) NULL"" " string_content ") , (string_literal ""MagickCore/histogram.c"" " string_content ") , number_literal , (string_literal ""ClassifyImageColors"" " string_content ") ))) ;) })) (if_statement "if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0xd14) != 0xabacadab)" ( (binary_expression "*(long *)(param_1 + 0xd14) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0xd14)" * (cast_expression "(long *)(param_1 + 0xd14)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd14)" ( (binary_expression "param_1 + 0xd14" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }" { (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/histogram.c"" " string_content ") , number_literal , (string_literal ""ClassifyImageColors"" " string_content ") ))) ;) })) (if_statement "if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }" if (parenthesized_expression "(param_1[0xd06] != 0)" ( (binary_expression "param_1[0xd06] != 0" (subscript_expression "param_1[0xd06]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);" (call_expression "LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe)" identifier (argument_list "(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe)" ( number_literal , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , (pointer_expression "&DAT_0041fe36" & identifier) , (binary_expression "param_1 + 0xfe" identifier + number_literal) ))) ;) })) (expression_statement "local_c0 = (long *)FUN_00212c8f();" (assignment_expression "local_c0 = (long *)FUN_00212c8f()" identifier = (cast_expression "(long *)FUN_00212c8f()" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00212c8f()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" if (parenthesized_expression "(local_c0 == (long *)0x0)" ( (binary_expression "local_c0 == (long *)0x0" identifier == (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }" { (expression_statement "ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" identifier (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "param_1 + 0xfe" identifier + number_literal) ))) ;) }) (else_clause "else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" else (compound_statement "{\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" { (expression_statement "GetPixelInfo(param_1,&local_98);" (call_expression "GetPixelInfo(param_1,&local_98)" identifier (argument_list "(param_1,&local_98)" ( identifier , (pointer_expression "&local_98" & identifier) ))) ;) (expression_statement "uVar5 = AcquireVirtualCacheView(param_1,param_2);" (assignment_expression "uVar5 = AcquireVirtualCacheView(param_1,param_2)" identifier = (call_expression "AcquireVirtualCacheView(param_1,param_2)" identifier (argument_list "(param_1,param_2)" ( identifier , identifier )))) ;) (if_statement "if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }" if (parenthesized_expression "(0 < *(long *)(param_1 + 10))" ( (binary_expression "0 < *(long *)(param_1 + 10)" number_literal < (pointer_expression "*(long *)(param_1 + 10)" * (cast_expression "(long *)(param_1 + 10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))))) )) (compound_statement "{\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }" { (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (while_statement "while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }" while (parenthesized_expression "(lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            )" ( (comma_expression "lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0" (assignment_expression "lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" identifier = (call_expression "GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" identifier (argument_list "(uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) , number_literal , identifier )))) , (binary_expression "lVar6 != 0" identifier != number_literal)) )) (compound_statement "{\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }" { (if_statement "if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }" if (parenthesized_expression "(0 < *(long *)(param_1 + 8))" ( (binary_expression "0 < *(long *)(param_1 + 8)" number_literal < (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) (compound_statement "{\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }" { (expression_statement "local_b8 = 0;" (assignment_expression "local_b8 = 0" identifier = number_literal) ;) (do_statement "do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));" do (compound_statement "{\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          }" { (expression_statement "dVar19 = DAT_003f95f8;" (assignment_expression "dVar19 = DAT_003f95f8" identifier = identifier) ;) (expression_statement "lVar7 = *local_c0;" (assignment_expression "lVar7 = *local_c0" identifier = (pointer_expression "*local_c0" * identifier)) ;) (expression_statement "lVar14 = 7;" (assignment_expression "lVar14 = 7" identifier = number_literal) ;) (do_statement "do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);" do (compound_statement "{\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            }" { (expression_statement "ResetMagickMemory(&local_98,0,0x58);" (call_expression "ResetMagickMemory(&local_98,0,0x58)" identifier (argument_list "(&local_98,0,0x58)" ( (pointer_expression "&local_98" & identifier) , number_literal , number_literal ))) ;) (expression_statement "local_50 = dVar19;" (assignment_expression "local_50 = dVar19" identifier = identifier) ;) (expression_statement "local_98 = *param_1;" (assignment_expression "local_98 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iStack_94 = param_1[1];" (assignment_expression "iStack_94 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_88 = *(undefined8 *)(param_1 + 0xa6);" (assignment_expression "local_88 = *(undefined8 *)(param_1 + 0xa6)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0xa6)" * (cast_expression "(undefined8 *)(param_1 + 0xa6)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xa6)" ( (binary_expression "param_1 + 0xa6" identifier + number_literal) ))))) ;) (expression_statement "local_80 = *(undefined8 *)(param_1 + 0xc);" (assignment_expression "local_80 = *(undefined8 *)(param_1 + 0xc)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0xc)" * (cast_expression "(undefined8 *)(param_1 + 0xc)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "local_90 = param_1[0xcf];" (assignment_expression "local_90 = param_1[0xcf]" identifier = (subscript_expression "param_1[0xcf]" identifier [ number_literal ])) ;) (if_statement "if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }" if (parenthesized_expression "(lVar6 != 0)" ( (binary_expression "lVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }" { (expression_statement "lVar15 = *(long *)(param_1 + 0xd8);" (assignment_expression "lVar15 = *(long *)(param_1 + 0xd8)" identifier = (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);" (assignment_expression "local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 8) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 8) * 4" identifier + (binary_expression "*(long *)(lVar15 + 8) * 4" (pointer_expression "*(long *)(lVar15 + 8)" * (cast_expression "(long *)(lVar15 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 8)" ( (binary_expression "lVar15 + 8" identifier + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);" (assignment_expression "local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x18) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x18) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x18) * 4" (pointer_expression "*(long *)(lVar15 + 0x18)" * (cast_expression "(long *)(lVar15 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x18)" ( (binary_expression "lVar15 + 0x18" identifier + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);" (assignment_expression "local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x28) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x28) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x28) * 4" (pointer_expression "*(long *)(lVar15 + 0x28)" * (cast_expression "(long *)(lVar15 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x28)" ( (binary_expression "lVar15 + 0x28" identifier + number_literal) )))) * number_literal)) )))))) ;) (if_statement "if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }" if (parenthesized_expression "(*(int *)(lVar15 + 0x34) != 0)" ( (binary_expression "*(int *)(lVar15 + 0x34) != 0" (pointer_expression "*(int *)(lVar15 + 0x34)" * (cast_expression "(int *)(lVar15 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x34)" ( (binary_expression "lVar15 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }" { (expression_statement "local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);" (assignment_expression "local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x38) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x38) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x38) * 4" (pointer_expression "*(long *)(lVar15 + 0x38)" * (cast_expression "(long *)(lVar15 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x38)" ( (binary_expression "lVar15 + 0x38" identifier + number_literal) )))) * number_literal)) )))))) ;) })) (if_statement "if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }" if (parenthesized_expression "(*(int *)(lVar15 + 0x44) != 0)" ( (binary_expression "*(int *)(lVar15 + 0x44) != 0" (pointer_expression "*(int *)(lVar15 + 0x44)" * (cast_expression "(int *)(lVar15 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x44)" ( (binary_expression "lVar15 + 0x44" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }" { (expression_statement "local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);" (assignment_expression "local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x48) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x48) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x48) * 4" (pointer_expression "*(long *)(lVar15 + 0x48)" * (cast_expression "(long *)(lVar15 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x48)" ( (binary_expression "lVar15 + 0x48" identifier + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "local_90 = 4;" (assignment_expression "local_90 = 4" identifier = number_literal) ;) })) (if_statement "if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }" if (parenthesized_expression "(*(int *)(lVar15 + 0x54) != 0)" ( (binary_expression "*(int *)(lVar15 + 0x54) != 0" (pointer_expression "*(int *)(lVar15 + 0x54)" * (cast_expression "(int *)(lVar15 + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x54)" ( (binary_expression "lVar15 + 0x54" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }" { (expression_statement "local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);" (assignment_expression "local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" identifier = (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x58) * 4)" ( (binary_expression "lVar6 + *(long *)(lVar15 + 0x58) * 4" identifier + (binary_expression "*(long *)(lVar15 + 0x58) * 4" (pointer_expression "*(long *)(lVar15 + 0x58)" * (cast_expression "(long *)(lVar15 + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar15 + 0x58)" ( (binary_expression "lVar15 + 0x58" identifier + number_literal) )))) * number_literal)) )))))) ;) })) })) (expression_statement "fVar16 = (float)local_70;" (assignment_expression "fVar16 = (float)local_70" identifier = (cast_expression "(float)local_70" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (if_statement "if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar16))" ( (call_expression "NAN(fVar16)" identifier (argument_list "(fVar16)" ( identifier ))) )) (compound_statement "{\n                uVar11 = 0;\n              }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar16)" ( (binary_expression "0.0 < fVar16" number_literal < identifier) )) (compound_statement "{\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "bVar2 = (byte)lVar14;" (assignment_expression "bVar2 = (byte)lVar14" identifier = (cast_expression "(byte)lVar14" ( (type_descriptor "byte" type_identifier) ) identifier)) ;) (expression_statement "fVar16 = (float)local_68;" (assignment_expression "fVar16 = (float)local_68" identifier = (cast_expression "(float)local_68" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (if_statement "if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar16))" ( (call_expression "NAN(fVar16)" identifier (argument_list "(fVar16)" ( identifier ))) )) (compound_statement "{\n                uVar12 = 0;\n              }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar16)" ( (binary_expression "0.0 < fVar16" number_literal < identifier) )) (compound_statement "{\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar12 = 0xffffffff;" (assignment_expression "uVar12 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "fVar16 = (float)local_60;" (assignment_expression "fVar16 = (float)local_60" identifier = (cast_expression "(float)local_60" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (if_statement "if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" if (parenthesized_expression "(NAN(fVar16))" ( (call_expression "NAN(fVar16)" identifier (argument_list "(fVar16)" ( identifier ))) )) (compound_statement "{\n                uVar3 = 0;\n              }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" else (compound_statement "{\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" { (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" if (parenthesized_expression "(0.0 < fVar16)" ( (binary_expression "0.0 < fVar16" number_literal < identifier) )) (compound_statement "{\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" { (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" identifier = number_literal) ;) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" if (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" { (expression_statement "uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;" (assignment_expression "uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" identifier = (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U" (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2" (parenthesized_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U)" ( (binary_expression "(int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uVar3 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar3 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar3 & 0xff)" ( (binary_expression "uVar3 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) ))) & number_literal) )) << number_literal) | (binary_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U" (binary_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2" (parenthesized_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f))" ( (binary_expression "(int)(uVar12 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar12 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar12 & 0xff)" ( (binary_expression "uVar12 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) ))) )) * number_literal) & number_literal)) | (binary_expression "(int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uVar11 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar11 & 0xff)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar11 & 0xff)" ( (binary_expression "uVar11 & 0xff" identifier & number_literal) ))) >> (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) ))) & number_literal))) ;) (if_statement "if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }" if (parenthesized_expression "(param_1[0xcf] != 0)" ( (binary_expression "param_1[0xcf] != 0" (subscript_expression "param_1[0xcf]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }" { (expression_statement "fVar16 = (float)local_50;" (assignment_expression "fVar16 = (float)local_50" identifier = (cast_expression "(float)local_50" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (if_statement "if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" if (parenthesized_expression "(NAN(fVar16))" ( (call_expression "NAN(fVar16)" identifier (argument_list "(fVar16)" ( identifier ))) )) (compound_statement "{\n                  bVar10 = 0;\n                }" { (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" else (compound_statement "{\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" { (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }" if (parenthesized_expression "(0.0 < fVar16)" ( (binary_expression "0.0 < fVar16" number_literal < identifier) )) (compound_statement "{\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }" { (expression_statement "bVar10 = 0xff;" (assignment_expression "bVar10 = 0xff" identifier = number_literal) ;) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }" if (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" ( (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }" { (expression_statement "bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" identifier = (call_expression "(byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (call_expression "(byte)(int)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" ( (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier) )))) ;) })) })) }))) (expression_statement "uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;" (assignment_expression "uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" identifier = (binary_expression "uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" identifier | (binary_expression "((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" (parenthesized_expression "((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U)" ( (binary_expression "(int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uint)bVar10 >> (bVar2 & 0x1f)" (cast_expression "(int)(uint)bVar10" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)bVar10" ( (type_descriptor "uint" type_identifier) ) identifier)) >> (parenthesized_expression "(bVar2 & 0x1f)" ( (binary_expression "bVar2 & 0x1f" identifier & number_literal) ))) & number_literal) )) << number_literal))) ;) })) (expression_statement "plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);" (assignment_expression "plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8)" identifier = (cast_expression "(long *)(lVar7 + (long)(int)uVar11 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + (long)(int)uVar11 * 8)" ( (binary_expression "lVar7 + (long)(int)uVar11 * 8" identifier + (binary_expression "(long)(int)uVar11 * 8" (cast_expression "(long)(int)uVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier)) * number_literal)) )))) ;) (if_statement "if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }" if (parenthesized_expression "(*plVar1 == 0)" ( (binary_expression "*plVar1 == 0" (pointer_expression "*plVar1" * identifier) == number_literal) )) (compound_statement "{\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }" { (expression_statement "lVar7 = FUN_00212c16(local_c0,8 - lVar14);" (assignment_expression "lVar7 = FUN_00212c16(local_c0,8 - lVar14)" identifier = (call_expression "FUN_00212c16(local_c0,8 - lVar14)" identifier (argument_list "(local_c0,8 - lVar14)" ( identifier , (binary_expression "8 - lVar14" number_literal - identifier) )))) ;) (expression_statement "*plVar1 = lVar7;" (assignment_expression "*plVar1 = lVar7" (pointer_expression "*plVar1" * identifier) = identifier) ;) (if_statement "if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (compound_statement "{\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }" { (expression_statement "ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" identifier (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "param_1 + 0xfe" identifier + number_literal) ))) ;) (expression_statement "local_c0 = (long *)0x0;" (assignment_expression "local_c0 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00213193;" goto statement_identifier ;) })) })) (expression_statement "lVar7 = *plVar1;" (assignment_expression "lVar7 = *plVar1" identifier = (pointer_expression "*plVar1" * identifier)) ;) (expression_statement "lVar14 = lVar14 + -1;" (assignment_expression "lVar14 = lVar14 + -1" identifier = (binary_expression "lVar14 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 != 0)" ( (binary_expression "lVar14 != 0" identifier != number_literal) )) ;) (expression_statement "lVar14 = *(long *)(lVar7 + 0x90);" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x90)" identifier = (pointer_expression "*(long *)(lVar7 + 0x90)" * (cast_expression "(long *)(lVar7 + 0x90)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x90)" ( (binary_expression "lVar7 + 0x90" identifier + number_literal) ))))) ;) (if_statement "if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" if (parenthesized_expression "(lVar14 < 1)" ( (binary_expression "lVar14 < 1" identifier < number_literal) )) (compound_statement "{\n              lVar15 = 0;\n            }" { (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" else (compound_statement "{\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" { (expression_statement "dVar19 = DAT_003f95f8;" (assignment_expression "dVar19 = DAT_003f95f8" identifier = identifier) ;) (if_statement "if (local_90 != 0) {\n                dVar19 = local_50;\n              }" if (parenthesized_expression "(local_90 != 0)" ( (binary_expression "local_90 != 0" identifier != number_literal) )) (compound_statement "{\n                dVar19 = local_50;\n              }" { (expression_statement "dVar19 = local_50;" (assignment_expression "dVar19 = local_50" identifier = identifier) ;) })) (expression_statement "dVar20 = dVar19;" (assignment_expression "dVar20 = dVar19" identifier = identifier) ;) (if_statement "if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }" { (expression_statement "dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);" (assignment_expression "dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar19 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar19 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar19 ^ DAT_003f9610" (cast_expression "(ulong)dVar19" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (expression_statement "piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);" (assignment_expression "piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8)" identifier = (cast_expression "(int *)(*(long *)(lVar7 + 0x80) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 8)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 8" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) )))) ;) (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);" do (compound_statement "{\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              }" { (expression_statement "dVar18 = DAT_003f95f8;" (assignment_expression "dVar18 = DAT_003f95f8" identifier = identifier) ;) (if_statement "if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }" if (parenthesized_expression "(*piVar8 != 0)" ( (binary_expression "*piVar8 != 0" (pointer_expression "*piVar8" * identifier) != number_literal) )) (compound_statement "{\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }" { (expression_statement "dVar18 = *(double *)(piVar8 + 0x10);" (assignment_expression "dVar18 = *(double *)(piVar8 + 0x10)" identifier = (pointer_expression "*(double *)(piVar8 + 0x10)" * (cast_expression "(double *)(piVar8 + 0x10)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 0x10)" ( (binary_expression "piVar8 + 0x10" identifier + number_literal) ))))) ;) })) (expression_statement "dVar17 = dVar19 - dVar18;" (assignment_expression "dVar17 = dVar19 - dVar18" identifier = (binary_expression "dVar19 - dVar18" identifier - identifier)) ;) (if_statement "if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar17 < 0.0)" ( (binary_expression "dVar17 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }" { (expression_statement "dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);" (assignment_expression "dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar17 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar17 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar17 ^ DAT_003f9610" (cast_expression "(ulong)dVar17" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (DAT_003f9600 <= dVar17) goto LAB_002132b1;" if (parenthesized_expression "(DAT_003f9600 <= dVar17)" ( (binary_expression "DAT_003f9600 <= dVar17" identifier <= identifier) )) (goto_statement "goto LAB_002132b1;" goto statement_identifier ;)) (if_statement "if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }" if (parenthesized_expression "(dVar20 < DAT_003f9600)" ( (binary_expression "dVar20 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }" { (labeled_statement "LAB_0021338d:\n                  lVar15 = lVar13;" statement_identifier : (expression_statement "lVar15 = lVar13;" (assignment_expression "lVar15 = lVar13" identifier = identifier) ;)) (if_statement "if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }" if (parenthesized_expression "(lVar13 < lVar14)" ( (binary_expression "lVar13 < lVar14" identifier < identifier) )) (compound_statement "{\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }" { (expression_statement "plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);" (assignment_expression "plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" identifier = (cast_expression "(long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58" (binary_expression "*(long *)(lVar7 + 0x80) + 0x20" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + (binary_expression "lVar13 * 0x58" identifier * number_literal)) )))) ;) (expression_statement "*plVar1 = *plVar1 + 1;" (assignment_expression "*plVar1 = *plVar1 + 1" (pointer_expression "*plVar1" * identifier) = (binary_expression "*plVar1 + 1" (pointer_expression "*plVar1" * identifier) + number_literal)) ;) (goto_statement "goto LAB_002133a0;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (if_statement "if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar18 < DAT_003f9600) goto LAB_0021338d;" if (parenthesized_expression "(dVar18 < DAT_003f9600)" ( (binary_expression "dVar18 < DAT_003f9600" identifier < identifier) )) (goto_statement "goto LAB_0021338d;" goto statement_identifier ;)) (expression_statement "dVar18 = local_70 - *(double *)(piVar8 + 8);" (assignment_expression "dVar18 = local_70 - *(double *)(piVar8 + 8)" identifier = (binary_expression "local_70 - *(double *)(piVar8 + 8)" identifier - (pointer_expression "*(double *)(piVar8 + 8)" * (cast_expression "(double *)(piVar8 + 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 8)" ( (binary_expression "piVar8 + 8" identifier + number_literal) )))))) ;) (if_statement "if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }" if (parenthesized_expression "(dVar18 < DAT_003f9600)" ( (binary_expression "dVar18 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }" { (expression_statement "dVar18 = local_68 - *(double *)(piVar8 + 10);" (assignment_expression "dVar18 = local_68 - *(double *)(piVar8 + 10)" identifier = (binary_expression "local_68 - *(double *)(piVar8 + 10)" identifier - (pointer_expression "*(double *)(piVar8 + 10)" * (cast_expression "(double *)(piVar8 + 10)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 10)" ( (binary_expression "piVar8 + 10" identifier + number_literal) )))))) ;) (if_statement "if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }" if (parenthesized_expression "(dVar18 < DAT_003f9600)" ( (binary_expression "dVar18 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }" { (expression_statement "dVar18 = local_60 - *(double *)(piVar8 + 0xc);" (assignment_expression "dVar18 = local_60 - *(double *)(piVar8 + 0xc)" identifier = (binary_expression "local_60 - *(double *)(piVar8 + 0xc)" identifier - (pointer_expression "*(double *)(piVar8 + 0xc)" * (cast_expression "(double *)(piVar8 + 0xc)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 0xc)" ( (binary_expression "piVar8 + 0xc" identifier + number_literal) )))))) ;) (if_statement "if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }" if (parenthesized_expression "(dVar18 < DAT_003f9600)" ( (binary_expression "dVar18 < DAT_003f9600" identifier < identifier) )) (compound_statement "{\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }" { (if_statement "if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }" if (parenthesized_expression "(iStack_94 == 2)" ( (binary_expression "iStack_94 == 2" identifier == number_literal) )) (compound_statement "{\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }" { (expression_statement "dVar18 = local_58 - *(double *)(piVar8 + 0xe);" (assignment_expression "dVar18 = local_58 - *(double *)(piVar8 + 0xe)" identifier = (binary_expression "local_58 - *(double *)(piVar8 + 0xe)" identifier - (pointer_expression "*(double *)(piVar8 + 0xe)" * (cast_expression "(double *)(piVar8 + 0xe)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar8 + 0xe)" ( (binary_expression "piVar8 + 0xe" identifier + number_literal) )))))) ;) (if_statement "if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }" if (parenthesized_expression "(dVar18 < 0.0)" ( (binary_expression "dVar18 < 0.0" identifier < number_literal) )) (compound_statement "{\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }" { (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" identifier = (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" ( (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" ( (type_descriptor "ulong" type_identifier) ) identifier) ^ identifier) )))) ;) })) (if_statement "if (DAT_003f9600 <= dVar18) goto LAB_002132b1;" if (parenthesized_expression "(DAT_003f9600 <= dVar18)" ( (binary_expression "DAT_003f9600 <= dVar18" identifier <= identifier) )) (goto_statement "goto LAB_002132b1;" goto statement_identifier ;)) })) (goto_statement "goto LAB_0021338d;" goto statement_identifier ;) })) })) })) (labeled_statement "LAB_002132b1:\n                lVar13 = lVar13 + 1;" statement_identifier : (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;)) (expression_statement "piVar8 = piVar8 + 0x16;" (assignment_expression "piVar8 = piVar8 + 0x16" identifier = (binary_expression "piVar8 + 0x16" identifier + number_literal)) ;) (expression_statement "lVar15 = lVar14;" (assignment_expression "lVar15 = lVar14" identifier = identifier) ;) }) while (parenthesized_expression "(lVar13 != lVar14)" ( (binary_expression "lVar13 != lVar14" identifier != identifier) )) ;) }))) (if_statement "if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" if (parenthesized_expression "(lVar14 == 0)" ( (binary_expression "lVar14 == 0" identifier == number_literal) )) (compound_statement "{\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" { (expression_statement "*(undefined8 *)(lVar7 + 0x88) = 1;" (assignment_expression "*(undefined8 *)(lVar7 + 0x88) = 1" (pointer_expression "*(undefined8 *)(lVar7 + 0x88)" * (cast_expression "(undefined8 *)(lVar7 + 0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x88)" ( (binary_expression "lVar7 + 0x88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar9 = AcquireQuantumMemory(1,0x58);" (assignment_expression "uVar9 = AcquireQuantumMemory(1,0x58)" identifier = (call_expression "AcquireQuantumMemory(1,0x58)" identifier (argument_list "(1,0x58)" ( number_literal , number_literal )))) ;) (expression_statement "*(undefined8 *)(lVar7 + 0x80) = uVar9;" (assignment_expression "*(undefined8 *)(lVar7 + 0x80) = uVar9" (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" * (cast_expression "(undefined8 *)(lVar7 + 0x80)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" else (if_statement "if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" if (parenthesized_expression "(*(long *)(lVar7 + 0x88) <= lVar15)" ( (binary_expression "*(long *)(lVar7 + 0x88) <= lVar15" (pointer_expression "*(long *)(lVar7 + 0x88)" * (cast_expression "(long *)(lVar7 + 0x88)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x88)" ( (binary_expression "lVar7 + 0x88" identifier + number_literal) )))) <= identifier) )) (compound_statement "{\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" { (expression_statement "lVar14 = *(long *)(lVar7 + 0x88) * 2;" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x88) * 2" identifier = (binary_expression "*(long *)(lVar7 + 0x88) * 2" (pointer_expression "*(long *)(lVar7 + 0x88)" * (cast_expression "(long *)(lVar7 + 0x88)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x88)" ( (binary_expression "lVar7 + 0x88" identifier + number_literal) )))) * number_literal)) ;) (expression_statement "*(long *)(lVar7 + 0x88) = lVar14;" (assignment_expression "*(long *)(lVar7 + 0x88) = lVar14" (pointer_expression "*(long *)(lVar7 + 0x88)" * (cast_expression "(long *)(lVar7 + 0x88)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x88)" ( (binary_expression "lVar7 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);" (assignment_expression "uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" identifier = (call_expression "ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" identifier (argument_list "(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" ( (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" * (cast_expression "(undefined8 *)(lVar7 + 0x80)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) , identifier , number_literal )))) ;) (expression_statement "*(undefined8 *)(lVar7 + 0x80) = uVar9;" (assignment_expression "*(undefined8 *)(lVar7 + 0x80) = uVar9" (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" * (cast_expression "(undefined8 *)(lVar7 + 0x80)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) = identifier) ;) })))) (expression_statement "lVar14 = *(long *)(lVar7 + 0x80);" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x80)" identifier = (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) ))))) ;) (if_statement "if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }" if (parenthesized_expression "(lVar14 == 0)" ( (binary_expression "lVar14 == 0" identifier == number_literal) )) (compound_statement "{\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }" { (expression_statement "ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" identifier (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" ( identifier , (string_literal ""MagickCore/histogram.c"" " string_content ") , (string_literal ""ClassifyImageColors"" " string_content ") , number_literal , number_literal , (string_literal ""MemoryAllocationFailed"" " string_content ") , (string_literal ""`%s\'"" " string_content escape_sequence ") , (binary_expression "param_1 + 0xfe" identifier + number_literal) ))) ;) (expression_statement "local_c0 = (long *)0x0;" (assignment_expression "local_c0 = (long *)0x0" identifier = (cast_expression "(long *)0x0" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00213193;" goto statement_identifier ;) })) (expression_statement "lVar13 = lVar15 * 0x58;" (assignment_expression "lVar13 = lVar15 * 0x58" identifier = (binary_expression "lVar15 * 0x58" identifier * number_literal)) ;) (expression_statement "*(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);" (assignment_expression "*(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98)" (pointer_expression "*(ulong *)(lVar14 + lVar15 * 0x58)" * (cast_expression "(ulong *)(lVar14 + lVar15 * 0x58)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + lVar15 * 0x58)" ( (binary_expression "lVar14 + lVar15 * 0x58" identifier + (binary_expression "lVar15 * 0x58" identifier * number_literal)) )))) = (call_expression "CONCAT44(iStack_94,local_98)" identifier (argument_list "(iStack_94,local_98)" ( identifier , identifier )))) ;) (expression_statement "*(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);" (assignment_expression "*(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90)" (pointer_expression "*(ulong *)(lVar14 + 8 + lVar13)" * (cast_expression "(ulong *)(lVar14 + 8 + lVar13)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 8 + lVar13)" ( (binary_expression "lVar14 + 8 + lVar13" (binary_expression "lVar14 + 8" identifier + number_literal) + identifier) )))) = (call_expression "CONCAT44(uStack_8c,local_90)" identifier (argument_list "(uStack_8c,local_90)" ( identifier , identifier )))) ;) (expression_statement "*(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;" (assignment_expression "*(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88" (pointer_expression "*(undefined8 *)(lVar14 + 0x10 + lVar13)" * (cast_expression "(undefined8 *)(lVar14 + 0x10 + lVar13)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x10 + lVar13)" ( (binary_expression "lVar14 + 0x10 + lVar13" (binary_expression "lVar14 + 0x10" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;" (assignment_expression "*(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80" (pointer_expression "*(undefined8 *)(lVar14 + 0x18 + lVar13)" * (cast_expression "(undefined8 *)(lVar14 + 0x18 + lVar13)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x18 + lVar13)" ( (binary_expression "lVar14 + 0x18 + lVar13" (binary_expression "lVar14 + 0x18" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;" (assignment_expression "*(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78" (pointer_expression "*(undefined8 *)(lVar14 + 0x20 + lVar13)" * (cast_expression "(undefined8 *)(lVar14 + 0x20 + lVar13)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x20 + lVar13)" ( (binary_expression "lVar14 + 0x20 + lVar13" (binary_expression "lVar14 + 0x20" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x28 + lVar13) = local_70;" (assignment_expression "*(double *)(lVar14 + 0x28 + lVar13) = local_70" (pointer_expression "*(double *)(lVar14 + 0x28 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x28 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x28 + lVar13)" ( (binary_expression "lVar14 + 0x28 + lVar13" (binary_expression "lVar14 + 0x28" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x30 + lVar13) = local_68;" (assignment_expression "*(double *)(lVar14 + 0x30 + lVar13) = local_68" (pointer_expression "*(double *)(lVar14 + 0x30 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x30 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x30 + lVar13)" ( (binary_expression "lVar14 + 0x30 + lVar13" (binary_expression "lVar14 + 0x30" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x38 + lVar13) = local_60;" (assignment_expression "*(double *)(lVar14 + 0x38 + lVar13) = local_60" (pointer_expression "*(double *)(lVar14 + 0x38 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x38 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x38 + lVar13)" ( (binary_expression "lVar14 + 0x38 + lVar13" (binary_expression "lVar14 + 0x38" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x40 + lVar13) = local_58;" (assignment_expression "*(double *)(lVar14 + 0x40 + lVar13) = local_58" (pointer_expression "*(double *)(lVar14 + 0x40 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x40 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x40 + lVar13)" ( (binary_expression "lVar14 + 0x40 + lVar13" (binary_expression "lVar14 + 0x40" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x48 + lVar13) = local_50;" (assignment_expression "*(double *)(lVar14 + 0x48 + lVar13) = local_50" (pointer_expression "*(double *)(lVar14 + 0x48 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x48 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x48 + lVar13)" ( (binary_expression "lVar14 + 0x48 + lVar13" (binary_expression "lVar14 + 0x48" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(lVar14 + 0x50 + lVar13) = local_48;" (assignment_expression "*(double *)(lVar14 + 0x50 + lVar13) = local_48" (pointer_expression "*(double *)(lVar14 + 0x50 + lVar13)" * (cast_expression "(double *)(lVar14 + 0x50 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar14 + 0x50 + lVar13)" ( (binary_expression "lVar14 + 0x50 + lVar13" (binary_expression "lVar14 + 0x50" identifier + number_literal) + identifier) )))) = identifier) ;) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x28 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x28" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 8) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 8)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 8" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x30 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x30" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x18)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x18)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x18" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))))) ;) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x38 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x38" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x28)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x28)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x28" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))))) ;) (if_statement "if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }" if (parenthesized_expression "(param_1[1] == 2)" ( (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }" { (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" identifier = number_literal) ;) (if_statement "if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }" if (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0)" ( (binary_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0" (pointer_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x34)" * (cast_expression "(int *)(*(long *)(param_1 + 0xd8) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x34)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x34" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }" { (expression_statement "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);" (assignment_expression "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" identifier = (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x38)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x38)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x38" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) })) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x40 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x40" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier)) ;) })) (expression_statement "fVar16 = _DAT_003fa400;" (assignment_expression "fVar16 = _DAT_003fa400" identifier = identifier) ;) (if_statement "if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }" if (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0)" ( (binary_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0" (pointer_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x44)" * (cast_expression "(int *)(*(long *)(param_1 + 0xd8) + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x44)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x44" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }" { (expression_statement "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);" (assignment_expression "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" identifier = (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" * (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" ( (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4" identifier + (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x48)" * (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x48)" ( (binary_expression "*(long *)(param_1 + 0xd8) + 0x48" (pointer_expression "*(long *)(param_1 + 0xd8)" * (cast_expression "(long *)(param_1 + 0xd8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd8)" ( (binary_expression "param_1 + 0xd8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) })) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" * (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x48 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x48" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = (cast_expression "(double)fVar16" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;" (assignment_expression "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1" (pointer_expression "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" * (cast_expression "(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" ( (binary_expression "*(long *)(lVar7 + 0x80) + 0x20 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x20" (pointer_expression "*(long *)(lVar7 + 0x80)" * (cast_expression "(long *)(lVar7 + 0x80)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x80)" ( (binary_expression "lVar7 + 0x80" identifier + number_literal) )))) + number_literal) + identifier) )))) = number_literal) ;) (expression_statement "*(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;" (assignment_expression "*(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1" (pointer_expression "*(long *)(lVar7 + 0x90)" * (cast_expression "(long *)(lVar7 + 0x90)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x90)" ( (binary_expression "lVar7 + 0x90" identifier + number_literal) )))) = (binary_expression "*(long *)(lVar7 + 0x90) + 1" (pointer_expression "*(long *)(lVar7 + 0x90)" * (cast_expression "(long *)(lVar7 + 0x90)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar7 + 0x90)" ( (binary_expression "lVar7 + 0x90" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "local_c0[3] = local_c0[3] + 1;" (assignment_expression "local_c0[3] = local_c0[3] + 1" (subscript_expression "local_c0[3]" identifier [ number_literal ]) = (binary_expression "local_c0[3] + 1" (subscript_expression "local_c0[3]" identifier [ number_literal ]) + number_literal)) ;) (labeled_statement "LAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;" statement_identifier : (expression_statement "lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;" (assignment_expression "lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4" identifier = (binary_expression "lVar6 + *(long *)(param_1 + 0xd0) * 4" identifier + (binary_expression "*(long *)(param_1 + 0xd0) * 4" (pointer_expression "*(long *)(param_1 + 0xd0)" * (cast_expression "(long *)(param_1 + 0xd0)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xd0)" ( (binary_expression "param_1 + 0xd0" identifier + number_literal) )))) * number_literal))) ;)) (expression_statement "local_b8 = local_b8 + 1;" (assignment_expression "local_b8 = local_b8 + 1" identifier = (binary_expression "local_b8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_b8 < *(long *)(param_1 + 8))" ( (binary_expression "local_b8 < *(long *)(param_1 + 8)" identifier < (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));" (assignment_expression "iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" identifier = (call_expression "SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" identifier (argument_list "(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" ( identifier , (string_literal ""  Compute image colors...  "" " string_content ") , identifier , (pointer_expression "*(undefined8 *)(param_1 + 10)" * (cast_expression "(undefined8 *)(param_1 + 10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) )))) ;) (if_statement "if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;" if (parenthesized_expression "((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8))" ( (binary_expression "(iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)" (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)" ( (comma_expression "local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8" (assignment_expression "local_a8 = local_a8 + 1" identifier = (binary_expression "local_a8 + 1" identifier + number_literal)) , (binary_expression "*(long *)(param_1 + 10) <= local_a8" (pointer_expression "*(long *)(param_1 + 10)" * (cast_expression "(long *)(param_1 + 10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) )))) <= identifier)) ))) )) (break_statement "break;" break ;)) })) })) (expression_statement "DestroyCacheView(uVar5);" (call_expression "DestroyCacheView(uVar5)" identifier (argument_list "(uVar5)" ( identifier ))) ;) }))) (labeled_statement "LAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" statement_identifier : (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" if (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" identifier != (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" { (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return local_c0;" return identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (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) ))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) , (binary_expression IDENT != LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))))) ;) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) + IDENT) )))) ;) })) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) + IDENT) )))) ;) })) })) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) + IDENT) )))) ;) })) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT & LIT) ))) >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) & LIT) )) << LIT) | (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT & LIT) ))) >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) * LIT) & LIT)) | (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT & LIT) ))) >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) & LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) + IDENT) )))) ;) })) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT | (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> (parenthesized_expression ( (binary_expression IDENT & LIT) ))) & LIT) )) << LIT))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression LIT - IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) ^ IDENT) )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) ^ IDENT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) ^ IDENT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) ^ IDENT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) ^ IDENT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) ^ IDENT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) ^ IDENT) )))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (goto_statement goto statement_identifier ;)) })) (goto_statement goto statement_identifier ;) })) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , LIT , (string_literal " string_content ") , (string_literal " string_content escape_sequence ") , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) ))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + IDENT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT)) ))) )) (break_statement break ;)) })) })) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "long * FUN_00212cd3(undefined4 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  int *piVar8;\n  undefined8 uVar9;\n  byte bVar10;\n  uint uVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long *local_c0;\n  long local_b8;\n  long local_a8;\n  undefined4 local_98;\n  int iStack_94;\n  int local_90;\n  undefined4 uStack_8c;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  double local_70;\n  double local_68;\n  double local_60;\n  double local_58;\n  double local_50;\n  double local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }\n  local_c0 = (long *)FUN_00212c8f();\n  if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }\nLAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return local_c0;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_00212cd3(undefined4 *param_1,undefined8 param_2)" (* "*") (function_declarator "FUN_00212cd3(undefined4 *param_1,undefined8 param_2)" (identifier "FUN_00212cd3") (parameter_list "(undefined4 *param_1,undefined8 param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")")))) (compound_statement "{\n  long *plVar1;\n  byte bVar2;\n  uint uVar3;\n  int iVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  int *piVar8;\n  undefined8 uVar9;\n  byte bVar10;\n  uint uVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  long *local_c0;\n  long local_b8;\n  long local_a8;\n  undefined4 local_98;\n  int iStack_94;\n  int local_90;\n  undefined4 uStack_8c;\n  undefined8 local_88;\n  undefined8 local_80;\n  undefined8 local_78;\n  double local_70;\n  double local_68;\n  double local_60;\n  double local_58;\n  double local_50;\n  double local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }\n  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }\n  if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }\n  local_c0 = (long *)FUN_00212c8f();\n  if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }\nLAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }\n  return local_c0;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "int *piVar8;" (primitive_type "int") (pointer_declarator "*piVar8" (* "*") (identifier "piVar8")) (; ";")) (declaration "undefined8 uVar9;" (type_identifier "undefined8") (identifier "uVar9") (; ";")) (declaration "byte bVar10;" (type_identifier "byte") (identifier "bVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "long lVar13;" (sized_type_specifier "long" (long "long")) (identifier "lVar13") (; ";")) (declaration "long lVar14;" (sized_type_specifier "long" (long "long")) (identifier "lVar14") (; ";")) (declaration "long lVar15;" (sized_type_specifier "long" (long "long")) (identifier "lVar15") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "float fVar16;" (primitive_type "float") (identifier "fVar16") (; ";")) (declaration "double dVar17;" (primitive_type "double") (identifier "dVar17") (; ";")) (declaration "double dVar18;" (primitive_type "double") (identifier "dVar18") (; ";")) (declaration "double dVar19;" (primitive_type "double") (identifier "dVar19") (; ";")) (declaration "double dVar20;" (primitive_type "double") (identifier "dVar20") (; ";")) (declaration "long *local_c0;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*local_c0" (* "*") (identifier "local_c0")) (; ";")) (declaration "long local_b8;" (sized_type_specifier "long" (long "long")) (identifier "local_b8") (; ";")) (declaration "long local_a8;" (sized_type_specifier "long" (long "long")) (identifier "local_a8") (; ";")) (declaration "undefined4 local_98;" (type_identifier "undefined4") (identifier "local_98") (; ";")) (declaration "int iStack_94;" (primitive_type "int") (identifier "iStack_94") (; ";")) (declaration "int local_90;" (primitive_type "int") (identifier "local_90") (; ";")) (declaration "undefined4 uStack_8c;" (type_identifier "undefined4") (identifier "uStack_8c") (; ";")) (declaration "undefined8 local_88;" (type_identifier "undefined8") (identifier "local_88") (; ";")) (declaration "undefined8 local_80;" (type_identifier "undefined8") (identifier "local_80") (; ";")) (declaration "undefined8 local_78;" (type_identifier "undefined8") (identifier "local_78") (; ";")) (declaration "double local_70;" (primitive_type "double") (identifier "local_70") (; ";")) (declaration "double local_68;" (primitive_type "double") (identifier "local_68") (; ";")) (declaration "double local_60;" (primitive_type "double") (identifier "local_60") (; ";")) (declaration "double local_58;" (primitive_type "double") (identifier "local_58") (; ";")) (declaration "double local_50;" (primitive_type "double") (identifier "local_50") (; ";")) (declaration "double local_48;" (primitive_type "double") (identifier "local_48") (; ";")) (declaration "long local_40;" (sized_type_specifier "long" (long "long")) (identifier "local_40") (; ";")) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }" (if "if") (parenthesized_expression "(param_1 == (undefined4 *)0x0)" (( "(") (binary_expression "param_1 == (undefined4 *)0x0" (identifier "param_1") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");\n  }" ({ "{") (expression_statement "__assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors");" (call_expression "__assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors")" (identifier "__assert_fail") (argument_list "("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,\n                  "ClassifyImageColors")" (( "(") (string_literal ""image != (const Image *) NULL"" (" """) (string_content "image != (const Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/histogram.c"" (" """) (string_content "MagickCore/histogram.c") (" """)) (, ",") (number_literal "0xd8") (, ",") (string_literal ""ClassifyImageColors"" (" """) (string_content "ClassifyImageColors") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (*(long *)(param_1 + 0xd14) != 0xabacadab) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0xd14) != 0xabacadab)" (( "(") (binary_expression "*(long *)(param_1 + 0xd14) != 0xabacadab" (pointer_expression "*(long *)(param_1 + 0xd14)" (* "*") (cast_expression "(long *)(param_1 + 0xd14)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd14)" (( "(") (binary_expression "param_1 + 0xd14" (identifier "param_1") (+ "+") (number_literal "0xd14")) () ")")))) (!= "!=") (number_literal "0xabacadab")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");\n  }" ({ "{") (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,\n                  "ClassifyImageColors")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/histogram.c"" (" """) (string_content "MagickCore/histogram.c") (" """)) (, ",") (number_literal "0xd9") (, ",") (string_literal ""ClassifyImageColors"" (" """) (string_content "ClassifyImageColors") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[0xd06] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }" (if "if") (parenthesized_expression "(param_1[0xd06] != 0)" (( "(") (binary_expression "param_1[0xd06] != 0" (subscript_expression "param_1[0xd06]" (identifier "param_1") ([ "[") (number_literal "0xd06") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe);" (call_expression "LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,\n                   param_1 + 0xfe)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/histogram.c"" (" """) (string_content "MagickCore/histogram.c") (" """)) (, ",") (string_literal ""ClassifyImageColors"" (" """) (string_content "ClassifyImageColors") (" """)) (, ",") (number_literal "0xdb") (, ",") (pointer_expression "&DAT_0041fe36" (& "&") (identifier "DAT_0041fe36")) (, ",") (binary_expression "param_1 + 0xfe" (identifier "param_1") (+ "+") (number_literal "0xfe")) () ")"))) (; ";")) (} "}"))) (expression_statement "local_c0 = (long *)FUN_00212c8f();" (assignment_expression "local_c0 = (long *)FUN_00212c8f()" (identifier "local_c0") (= "=") (cast_expression "(long *)FUN_00212c8f()" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00212c8f()" (identifier "FUN_00212c8f") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (local_c0 == (long *)0x0) {\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }\n  else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" (if "if") (parenthesized_expression "(local_c0 == (long *)0x0)" (( "(") (binary_expression "local_c0 == (long *)0x0" (identifier "local_c0") (== "==") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n  }" ({ "{") (expression_statement "ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" (identifier "ThrowMagickException") (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,\n               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" (( "(") (identifier "param_2") (, ",") (string_literal ""MagickCore/histogram.c"" (" """) (string_content "MagickCore/histogram.c") (" """)) (, ",") (string_literal ""ClassifyImageColors"" (" """) (string_content "ClassifyImageColors") (" """)) (, ",") (number_literal "0xdf") (, ",") (number_literal "400") (, ",") (string_literal ""MemoryAllocationFailed"" (" """) (string_content "MemoryAllocationFailed") (" """)) (, ",") (string_literal ""`%s\'"" (" """) (string_content "`%s") (escape_sequence "\'") (" """)) (, ",") (binary_expression "param_1 + 0xfe" (identifier "param_1") (+ "+") (number_literal "0xfe")) () ")"))) (; ";")) (} "}")) (else_clause "else {\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" (else "else") (compound_statement "{\n    GetPixelInfo(param_1,&local_98);\n    uVar5 = AcquireVirtualCacheView(param_1,param_2);\n    if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }\n    DestroyCacheView(uVar5);\n  }" ({ "{") (expression_statement "GetPixelInfo(param_1,&local_98);" (call_expression "GetPixelInfo(param_1,&local_98)" (identifier "GetPixelInfo") (argument_list "(param_1,&local_98)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_98" (& "&") (identifier "local_98")) () ")"))) (; ";")) (expression_statement "uVar5 = AcquireVirtualCacheView(param_1,param_2);" (assignment_expression "uVar5 = AcquireVirtualCacheView(param_1,param_2)" (identifier "uVar5") (= "=") (call_expression "AcquireVirtualCacheView(param_1,param_2)" (identifier "AcquireVirtualCacheView") (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (0 < *(long *)(param_1 + 10)) {\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }" (if "if") (parenthesized_expression "(0 < *(long *)(param_1 + 10))" (( "(") (binary_expression "0 < *(long *)(param_1 + 10)" (number_literal "0") (< "<") (pointer_expression "*(long *)(param_1 + 10)" (* "*") (cast_expression "(long *)(param_1 + 10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")"))))) () ")")) (compound_statement "{\n      local_a8 = 0;\n      while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }\n    }" ({ "{") (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" (identifier "local_a8") (= "=") (number_literal "0")) (; ";")) (while_statement "while (lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            ) {\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }" (while "while") (parenthesized_expression "(lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0\n            )" (( "(") (comma_expression "lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0" (assignment_expression "lVar6 = GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" (identifier "lVar6") (= "=") (call_expression "GetCacheViewVirtualPixels\n                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" (identifier "GetCacheViewVirtualPixels") (argument_list "(uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2)" (( "(") (identifier "uVar5") (, ",") (number_literal "0") (, ",") (identifier "local_a8") (, ",") (pointer_expression "*(undefined8 *)(param_1 + 8)" (* "*") (cast_expression "(undefined8 *)(param_1 + 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "lVar6 != 0" (identifier "lVar6") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n        if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }\n        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));\n        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;\n      }" ({ "{") (if_statement "if (0 < *(long *)(param_1 + 8)) {\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }" (if "if") (parenthesized_expression "(0 < *(long *)(param_1 + 8))" (( "(") (binary_expression "0 < *(long *)(param_1 + 8)" (number_literal "0") (< "<") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (compound_statement "{\n          local_b8 = 0;\n          do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));\n        }" ({ "{") (expression_statement "local_b8 = 0;" (assignment_expression "local_b8 = 0" (identifier "local_b8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          } while (local_b8 < *(long *)(param_1 + 8));" (do "do") (compound_statement "{\n            dVar19 = DAT_003f95f8;\n            lVar7 = *local_c0;\n            lVar14 = 7;\n            do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);\n            lVar14 = *(long *)(lVar7 + 0x90);\n            if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }\n            if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            lVar14 = *(long *)(lVar7 + 0x80);\n            if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }\n            lVar13 = lVar15 * 0x58;\n            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);\n            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);\n            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;\n            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;\n            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;\n            *(double *)(lVar14 + 0x28 + lVar13) = local_70;\n            *(double *)(lVar14 + 0x30 + lVar13) = local_68;\n            *(double *)(lVar14 + 0x38 + lVar13) = local_60;\n            *(double *)(lVar14 + 0x40 + lVar13) = local_58;\n            *(double *)(lVar14 + 0x48 + lVar13) = local_50;\n            *(double *)(lVar14 + 0x50 + lVar13) = local_48;\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);\n            if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }\n            fVar16 = _DAT_003fa400;\n            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }\n            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;\n            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;\n            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;\n            local_c0[3] = local_c0[3] + 1;\nLAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;\n            local_b8 = local_b8 + 1;\n          }" ({ "{") (expression_statement "dVar19 = DAT_003f95f8;" (assignment_expression "dVar19 = DAT_003f95f8" (identifier "dVar19") (= "=") (identifier "DAT_003f95f8")) (; ";")) (expression_statement "lVar7 = *local_c0;" (assignment_expression "lVar7 = *local_c0" (identifier "lVar7") (= "=") (pointer_expression "*local_c0" (* "*") (identifier "local_c0"))) (; ";")) (expression_statement "lVar14 = 7;" (assignment_expression "lVar14 = 7" (identifier "lVar14") (= "=") (number_literal "7")) (; ";")) (do_statement "do {\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            } while (lVar14 != 0);" (do "do") (compound_statement "{\n              ResetMagickMemory(&local_98,0,0x58);\n              local_50 = dVar19;\n              local_98 = *param_1;\n              iStack_94 = param_1[1];\n              local_88 = *(undefined8 *)(param_1 + 0xa6);\n              local_80 = *(undefined8 *)(param_1 + 0xc);\n              local_90 = param_1[0xcf];\n              if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }\n              fVar16 = (float)local_70;\n              if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              bVar2 = (byte)lVar14;\n              fVar16 = (float)local_68;\n              if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              fVar16 = (float)local_60;\n              if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }\n              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;\n              if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }\n              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);\n              if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }\n              lVar7 = *plVar1;\n              lVar14 = lVar14 + -1;\n            }" ({ "{") (expression_statement "ResetMagickMemory(&local_98,0,0x58);" (call_expression "ResetMagickMemory(&local_98,0,0x58)" (identifier "ResetMagickMemory") (argument_list "(&local_98,0,0x58)" (( "(") (pointer_expression "&local_98" (& "&") (identifier "local_98")) (, ",") (number_literal "0") (, ",") (number_literal "0x58") () ")"))) (; ";")) (expression_statement "local_50 = dVar19;" (assignment_expression "local_50 = dVar19" (identifier "local_50") (= "=") (identifier "dVar19")) (; ";")) (expression_statement "local_98 = *param_1;" (assignment_expression "local_98 = *param_1" (identifier "local_98") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iStack_94 = param_1[1];" (assignment_expression "iStack_94 = param_1[1]" (identifier "iStack_94") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_88 = *(undefined8 *)(param_1 + 0xa6);" (assignment_expression "local_88 = *(undefined8 *)(param_1 + 0xa6)" (identifier "local_88") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0xa6)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0xa6)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xa6)" (( "(") (binary_expression "param_1 + 0xa6" (identifier "param_1") (+ "+") (number_literal "0xa6")) () ")"))))) (; ";")) (expression_statement "local_80 = *(undefined8 *)(param_1 + 0xc);" (assignment_expression "local_80 = *(undefined8 *)(param_1 + 0xc)" (identifier "local_80") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "local_90 = param_1[0xcf];" (assignment_expression "local_90 = param_1[0xcf]" (identifier "local_90") (= "=") (subscript_expression "param_1[0xcf]" (identifier "param_1") ([ "[") (number_literal "0xcf") (] "]"))) (; ";")) (if_statement "if (lVar6 != 0) {\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }" (if "if") (parenthesized_expression "(lVar6 != 0)" (( "(") (binary_expression "lVar6 != 0" (identifier "lVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                lVar15 = *(long *)(param_1 + 0xd8);\n                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);\n                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);\n                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);\n                if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }\n                if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }\n                if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }\n              }" ({ "{") (expression_statement "lVar15 = *(long *)(param_1 + 0xd8);" (assignment_expression "lVar15 = *(long *)(param_1 + 0xd8)" (identifier "lVar15") (= "=") (pointer_expression "*(long *)(param_1 + 0xd8)" (* "*") (cast_expression "(long *)(param_1 + 0xd8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")"))))) (; ";")) (expression_statement "local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);" (assignment_expression "local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" (identifier "local_70") (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 8) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(lVar15 + 8) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(lVar15 + 8) * 4" (pointer_expression "*(long *)(lVar15 + 8)" (* "*") (cast_expression "(long *)(lVar15 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 8)" (( "(") (binary_expression "lVar15 + 8" (identifier "lVar15") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (expression_statement "local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);" (assignment_expression "local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" (identifier "local_68") (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x18) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(lVar15 + 0x18) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(lVar15 + 0x18) * 4" (pointer_expression "*(long *)(lVar15 + 0x18)" (* "*") (cast_expression "(long *)(lVar15 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 0x18)" (( "(") (binary_expression "lVar15 + 0x18" (identifier "lVar15") (+ "+") (number_literal "0x18")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (expression_statement "local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);" (assignment_expression "local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" (identifier "local_60") (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x28) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(lVar15 + 0x28) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(lVar15 + 0x28) * 4" (pointer_expression "*(long *)(lVar15 + 0x28)" (* "*") (cast_expression "(long *)(lVar15 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 0x28)" (( "(") (binary_expression "lVar15 + 0x28" (identifier "lVar15") (+ "+") (number_literal "0x28")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (if_statement "if (*(int *)(lVar15 + 0x34) != 0) {\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }" (if "if") (parenthesized_expression "(*(int *)(lVar15 + 0x34) != 0)" (( "(") (binary_expression "*(int *)(lVar15 + 0x34) != 0" (pointer_expression "*(int *)(lVar15 + 0x34)" (* "*") (cast_expression "(int *)(lVar15 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 0x34)" (( "(") (binary_expression "lVar15 + 0x34" (identifier "lVar15") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);\n                }" ({ "{") (expression_statement "local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);" (assignment_expression "local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" (identifier "local_58") (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x38) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(lVar15 + 0x38) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(lVar15 + 0x38) * 4" (pointer_expression "*(long *)(lVar15 + 0x38)" (* "*") (cast_expression "(long *)(lVar15 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 0x38)" (( "(") (binary_expression "lVar15 + 0x38" (identifier "lVar15") (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(lVar15 + 0x44) != 0) {\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }" (if "if") (parenthesized_expression "(*(int *)(lVar15 + 0x44) != 0)" (( "(") (binary_expression "*(int *)(lVar15 + 0x44) != 0" (pointer_expression "*(int *)(lVar15 + 0x44)" (* "*") (cast_expression "(int *)(lVar15 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 0x44)" (( "(") (binary_expression "lVar15 + 0x44" (identifier "lVar15") (+ "+") (number_literal "0x44")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);\n                  local_90 = 4;\n                }" ({ "{") (expression_statement "local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);" (assignment_expression "local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" (identifier "local_50") (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x48) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(lVar15 + 0x48) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(lVar15 + 0x48) * 4" (pointer_expression "*(long *)(lVar15 + 0x48)" (* "*") (cast_expression "(long *)(lVar15 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 0x48)" (( "(") (binary_expression "lVar15 + 0x48" (identifier "lVar15") (+ "+") (number_literal "0x48")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (expression_statement "local_90 = 4;" (assignment_expression "local_90 = 4" (identifier "local_90") (= "=") (number_literal "4")) (; ";")) (} "}"))) (if_statement "if (*(int *)(lVar15 + 0x54) != 0) {\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }" (if "if") (parenthesized_expression "(*(int *)(lVar15 + 0x54) != 0)" (( "(") (binary_expression "*(int *)(lVar15 + 0x54) != 0" (pointer_expression "*(int *)(lVar15 + 0x54)" (* "*") (cast_expression "(int *)(lVar15 + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 0x54)" (( "(") (binary_expression "lVar15 + 0x54" (identifier "lVar15") (+ "+") (number_literal "0x54")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);\n                }" ({ "{") (expression_statement "local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);" (assignment_expression "local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" (identifier "local_48") (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(lVar15 + 0x58) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(lVar15 + 0x58) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(lVar15 + 0x58) * 4" (pointer_expression "*(long *)(lVar15 + 0x58)" (* "*") (cast_expression "(long *)(lVar15 + 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar15 + 0x58)" (( "(") (binary_expression "lVar15 + 0x58" (identifier "lVar15") (+ "+") (number_literal "0x58")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "fVar16 = (float)local_70;" (assignment_expression "fVar16 = (float)local_70" (identifier "fVar16") (= "=") (cast_expression "(float)local_70" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "local_70"))) (; ";")) (if_statement "if (NAN(fVar16)) {\n                uVar11 = 0;\n              }\n              else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(NAN(fVar16))" (( "(") (call_expression "NAN(fVar16)" (identifier "NAN") (argument_list "(fVar16)" (( "(") (identifier "fVar16") () ")"))) () ")")) (compound_statement "{\n                uVar11 = 0;\n              }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" (else "else") (compound_statement "{\n                uVar11 = 0;\n                if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" ({ "{") (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0.0 < fVar16) {\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" (if "if") (parenthesized_expression "(0.0 < fVar16)" (( "(") (binary_expression "0.0 < fVar16" (number_literal "0.0") (< "<") (identifier "fVar16")) () ")")) (compound_statement "{\n                  uVar11 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" ({ "{") (expression_statement "uVar11 = 0xffffffff;" (assignment_expression "uVar11 = 0xffffffff" (identifier "uVar11") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" (if "if") (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" (( "(") (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16")) (/ "/") (identifier "DAT_00404930")) (< "<") (identifier "DAT_00404938")) () ")")) (compound_statement "{\n                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" ({ "{") (expression_statement "uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (identifier "uVar11") (= "=") (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (( "(") (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16")) (/ "/") (identifier "DAT_00404930")) (+ "+") (identifier "DAT_003f9c28")) () ")")))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (expression_statement "bVar2 = (byte)lVar14;" (assignment_expression "bVar2 = (byte)lVar14" (identifier "bVar2") (= "=") (cast_expression "(byte)lVar14" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (identifier "lVar14"))) (; ";")) (expression_statement "fVar16 = (float)local_68;" (assignment_expression "fVar16 = (float)local_68" (identifier "fVar16") (= "=") (cast_expression "(float)local_68" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "local_68"))) (; ";")) (if_statement "if (NAN(fVar16)) {\n                uVar12 = 0;\n              }\n              else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(NAN(fVar16))" (( "(") (call_expression "NAN(fVar16)" (identifier "NAN") (argument_list "(fVar16)" (( "(") (identifier "fVar16") () ")"))) () ")")) (compound_statement "{\n                uVar12 = 0;\n              }" ({ "{") (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" (else "else") (compound_statement "{\n                uVar12 = 0;\n                if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" ({ "{") (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0.0 < fVar16) {\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" (if "if") (parenthesized_expression "(0.0 < fVar16)" (( "(") (binary_expression "0.0 < fVar16" (number_literal "0.0") (< "<") (identifier "fVar16")) () ")")) (compound_statement "{\n                  uVar12 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" ({ "{") (expression_statement "uVar12 = 0xffffffff;" (assignment_expression "uVar12 = 0xffffffff" (identifier "uVar12") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" (if "if") (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" (( "(") (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16")) (/ "/") (identifier "DAT_00404930")) (< "<") (identifier "DAT_00404938")) () ")")) (compound_statement "{\n                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" ({ "{") (expression_statement "uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (identifier "uVar12") (= "=") (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (( "(") (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16")) (/ "/") (identifier "DAT_00404930")) (+ "+") (identifier "DAT_003f9c28")) () ")")))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (expression_statement "fVar16 = (float)local_60;" (assignment_expression "fVar16 = (float)local_60" (identifier "fVar16") (= "=") (cast_expression "(float)local_60" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "local_60"))) (; ";")) (if_statement "if (NAN(fVar16)) {\n                uVar3 = 0;\n              }\n              else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" (if "if") (parenthesized_expression "(NAN(fVar16))" (( "(") (call_expression "NAN(fVar16)" (identifier "NAN") (argument_list "(fVar16)" (( "(") (identifier "fVar16") () ")"))) () ")")) (compound_statement "{\n                uVar3 = 0;\n              }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" (else "else") (compound_statement "{\n                uVar3 = 0;\n                if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }\n              }" ({ "{") (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0.0 < fVar16) {\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" (if "if") (parenthesized_expression "(0.0 < fVar16)" (( "(") (binary_expression "0.0 < fVar16" (number_literal "0.0") (< "<") (identifier "fVar16")) () ")")) (compound_statement "{\n                  uVar3 = 0xffffffff;\n                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }\n                }" ({ "{") (expression_statement "uVar3 = 0xffffffff;" (assignment_expression "uVar3 = 0xffffffff" (identifier "uVar3") (= "=") (number_literal "0xffffffff")) (; ";")) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" (if "if") (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" (( "(") (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16")) (/ "/") (identifier "DAT_00404930")) (< "<") (identifier "DAT_00404938")) () ")")) (compound_statement "{\n                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                  }" ({ "{") (expression_statement "uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (identifier "uVar3") (= "=") (call_expression "(uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (( "(") (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16")) (/ "/") (identifier "DAT_00404930")) (+ "+") (identifier "DAT_003f9c28")) () ")")))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (expression_statement "uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;" (assignment_expression "uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" (identifier "uVar11") (= "=") (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |\n                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |\n                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U" (binary_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2" (parenthesized_expression "((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U)" (( "(") (binary_expression "(int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uVar3 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar3 & 0xff)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar3 & 0xff)" (( "(") (binary_expression "uVar3 & 0xff" (identifier "uVar3") (& "&") (number_literal "0xff")) () ")"))) (>> ">>") (parenthesized_expression "(bVar2 & 0x1f)" (( "(") (binary_expression "bVar2 & 0x1f" (identifier "bVar2") (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1U")) () ")")) (<< "<<") (number_literal "2")) (| "|") (binary_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U" (binary_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2" (parenthesized_expression "((int)(uVar12 & 0xff) >> (bVar2 & 0x1f))" (( "(") (binary_expression "(int)(uVar12 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar12 & 0xff)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar12 & 0xff)" (( "(") (binary_expression "uVar12 & 0xff" (identifier "uVar12") (& "&") (number_literal "0xff")) () ")"))) (>> ">>") (parenthesized_expression "(bVar2 & 0x1f)" (( "(") (binary_expression "bVar2 & 0x1f" (identifier "bVar2") (& "&") (number_literal "0x1f")) () ")"))) () ")")) (* "*") (number_literal "2")) (& "&") (number_literal "2U"))) (| "|") (binary_expression "(int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uVar11 & 0xff) >> (bVar2 & 0x1f)" (cast_expression "(int)(uVar11 & 0xff)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar11 & 0xff)" (( "(") (binary_expression "uVar11 & 0xff" (identifier "uVar11") (& "&") (number_literal "0xff")) () ")"))) (>> ">>") (parenthesized_expression "(bVar2 & 0x1f)" (( "(") (binary_expression "bVar2 & 0x1f" (identifier "bVar2") (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1U")))) (; ";")) (if_statement "if (param_1[0xcf] != 0) {\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }" (if "if") (parenthesized_expression "(param_1[0xcf] != 0)" (( "(") (binary_expression "param_1[0xcf] != 0" (subscript_expression "param_1[0xcf]" (identifier "param_1") ([ "[") (number_literal "0xcf") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                fVar16 = (float)local_50;\n                if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }\n                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;\n              }" ({ "{") (expression_statement "fVar16 = (float)local_50;" (assignment_expression "fVar16 = (float)local_50" (identifier "fVar16") (= "=") (cast_expression "(float)local_50" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "local_50"))) (; ";")) (if_statement "if (NAN(fVar16)) {\n                  bVar10 = 0;\n                }\n                else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" (if "if") (parenthesized_expression "(NAN(fVar16))" (( "(") (call_expression "NAN(fVar16)" (identifier "NAN") (argument_list "(fVar16)" (( "(") (identifier "fVar16") () ")"))) () ")")) (compound_statement "{\n                  bVar10 = 0;\n                }" ({ "{") (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" (identifier "bVar10") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" (else "else") (compound_statement "{\n                  bVar10 = 0;\n                  if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }\n                }" ({ "{") (expression_statement "bVar10 = 0;" (assignment_expression "bVar10 = 0" (identifier "bVar10") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0.0 < fVar16) {\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }" (if "if") (parenthesized_expression "(0.0 < fVar16)" (( "(") (binary_expression "0.0 < fVar16" (number_literal "0.0") (< "<") (identifier "fVar16")) () ")")) (compound_statement "{\n                    bVar10 = 0xff;\n                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }\n                  }" ({ "{") (expression_statement "bVar10 = 0xff;" (assignment_expression "bVar10 = 0xff" (identifier "bVar10") (= "=") (number_literal "0xff")) (; ";")) (if_statement "if ((double)fVar16 / DAT_00404930 < DAT_00404938) {\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }" (if "if") (parenthesized_expression "((double)fVar16 / DAT_00404930 < DAT_00404938)" (( "(") (binary_expression "(double)fVar16 / DAT_00404930 < DAT_00404938" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16")) (/ "/") (identifier "DAT_00404930")) (< "<") (identifier "DAT_00404938")) () ")")) (compound_statement "{\n                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);\n                    }" ({ "{") (expression_statement "bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);" (assignment_expression "bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (identifier "bVar10") (= "=") (call_expression "(byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (call_expression "(byte)(int)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(int)" (( "(") (identifier "int") () ")"))) (argument_list "((double)fVar16 / DAT_00404930 + DAT_003f9c28)" (( "(") (binary_expression "(double)fVar16 / DAT_00404930 + DAT_003f9c28" (binary_expression "(double)fVar16 / DAT_00404930" (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16")) (/ "/") (identifier "DAT_00404930")) (+ "+") (identifier "DAT_003f9c28")) () ")")))) (; ";")) (} "}"))) (} "}"))) (} "}")))) (expression_statement "uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;" (assignment_expression "uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" (identifier "uVar11") (= "=") (binary_expression "uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" (identifier "uVar11") (| "|") (binary_expression "((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3" (parenthesized_expression "((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U)" (( "(") (binary_expression "(int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U" (binary_expression "(int)(uint)bVar10 >> (bVar2 & 0x1f)" (cast_expression "(int)(uint)bVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(uint)bVar10" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar10"))) (>> ">>") (parenthesized_expression "(bVar2 & 0x1f)" (( "(") (binary_expression "bVar2 & 0x1f" (identifier "bVar2") (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1U")) () ")")) (<< "<<") (number_literal "3")))) (; ";")) (} "}"))) (expression_statement "plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);" (assignment_expression "plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8)" (identifier "plVar1") (= "=") (cast_expression "(long *)(lVar7 + (long)(int)uVar11 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + (long)(int)uVar11 * 8)" (( "(") (binary_expression "lVar7 + (long)(int)uVar11 * 8" (identifier "lVar7") (+ "+") (binary_expression "(long)(int)uVar11 * 8" (cast_expression "(long)(int)uVar11" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (cast_expression "(int)uVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar11"))) (* "*") (number_literal "8"))) () ")")))) (; ";")) (if_statement "if (*plVar1 == 0) {\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }" (if "if") (parenthesized_expression "(*plVar1 == 0)" (( "(") (binary_expression "*plVar1 == 0" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                lVar7 = FUN_00212c16(local_c0,8 - lVar14);\n                *plVar1 = lVar7;\n                if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }\n              }" ({ "{") (expression_statement "lVar7 = FUN_00212c16(local_c0,8 - lVar14);" (assignment_expression "lVar7 = FUN_00212c16(local_c0,8 - lVar14)" (identifier "lVar7") (= "=") (call_expression "FUN_00212c16(local_c0,8 - lVar14)" (identifier "FUN_00212c16") (argument_list "(local_c0,8 - lVar14)" (( "(") (identifier "local_c0") (, ",") (binary_expression "8 - lVar14" (number_literal "8") (- "-") (identifier "lVar14")) () ")")))) (; ";")) (expression_statement "*plVar1 = lVar7;" (assignment_expression "*plVar1 = lVar7" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (identifier "lVar7")) (; ";")) (if_statement "if (lVar7 == 0) {\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }" (if "if") (parenthesized_expression "(lVar7 == 0)" (( "(") (binary_expression "lVar7 == 0" (identifier "lVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n                  local_c0 = (long *)0x0;\n                  goto LAB_00213193;\n                }" ({ "{") (expression_statement "ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" (identifier "ThrowMagickException") (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,\n                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" (( "(") (identifier "param_2") (, ",") (string_literal ""MagickCore/histogram.c"" (" """) (string_content "MagickCore/histogram.c") (" """)) (, ",") (string_literal ""ClassifyImageColors"" (" """) (string_content "ClassifyImageColors") (" """)) (, ",") (number_literal "0xfa") (, ",") (number_literal "400") (, ",") (string_literal ""MemoryAllocationFailed"" (" """) (string_content "MemoryAllocationFailed") (" """)) (, ",") (string_literal ""`%s\'"" (" """) (string_content "`%s") (escape_sequence "\'") (" """)) (, ",") (binary_expression "param_1 + 0xfe" (identifier "param_1") (+ "+") (number_literal "0xfe")) () ")"))) (; ";")) (expression_statement "local_c0 = (long *)0x0;" (assignment_expression "local_c0 = (long *)0x0" (identifier "local_c0") (= "=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_00213193;" (goto "goto") (statement_identifier "LAB_00213193") (; ";")) (} "}"))) (} "}"))) (expression_statement "lVar7 = *plVar1;" (assignment_expression "lVar7 = *plVar1" (identifier "lVar7") (= "=") (pointer_expression "*plVar1" (* "*") (identifier "plVar1"))) (; ";")) (expression_statement "lVar14 = lVar14 + -1;" (assignment_expression "lVar14 = lVar14 + -1" (identifier "lVar14") (= "=") (binary_expression "lVar14 + -1" (identifier "lVar14") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar14 != 0)" (( "(") (binary_expression "lVar14 != 0" (identifier "lVar14") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "lVar14 = *(long *)(lVar7 + 0x90);" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x90)" (identifier "lVar14") (= "=") (pointer_expression "*(long *)(lVar7 + 0x90)" (* "*") (cast_expression "(long *)(lVar7 + 0x90)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x90)" (( "(") (binary_expression "lVar7 + 0x90" (identifier "lVar7") (+ "+") (number_literal "0x90")) () ")"))))) (; ";")) (if_statement "if (lVar14 < 1) {\n              lVar15 = 0;\n            }\n            else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" (if "if") (parenthesized_expression "(lVar14 < 1)" (( "(") (binary_expression "lVar14 < 1" (identifier "lVar14") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n              lVar15 = 0;\n            }" ({ "{") (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" (identifier "lVar15") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" (else "else") (compound_statement "{\n              dVar19 = DAT_003f95f8;\n              if (local_90 != 0) {\n                dVar19 = local_50;\n              }\n              dVar20 = dVar19;\n              if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }\n              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);\n              lVar13 = 0;\n              do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);\n            }" ({ "{") (expression_statement "dVar19 = DAT_003f95f8;" (assignment_expression "dVar19 = DAT_003f95f8" (identifier "dVar19") (= "=") (identifier "DAT_003f95f8")) (; ";")) (if_statement "if (local_90 != 0) {\n                dVar19 = local_50;\n              }" (if "if") (parenthesized_expression "(local_90 != 0)" (( "(") (binary_expression "local_90 != 0" (identifier "local_90") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                dVar19 = local_50;\n              }" ({ "{") (expression_statement "dVar19 = local_50;" (assignment_expression "dVar19 = local_50" (identifier "dVar19") (= "=") (identifier "local_50")) (; ";")) (} "}"))) (expression_statement "dVar20 = dVar19;" (assignment_expression "dVar20 = dVar19" (identifier "dVar20") (= "=") (identifier "dVar19")) (; ";")) (if_statement "if (dVar19 < 0.0) {\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }" (if "if") (parenthesized_expression "(dVar19 < 0.0)" (( "(") (binary_expression "dVar19 < 0.0" (identifier "dVar19") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);\n              }" ({ "{") (expression_statement "dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);" (assignment_expression "dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610)" (identifier "dVar20") (= "=") (cast_expression "(double)((ulong)dVar19 ^ DAT_003f9610)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((ulong)dVar19 ^ DAT_003f9610)" (( "(") (binary_expression "(ulong)dVar19 ^ DAT_003f9610" (cast_expression "(ulong)dVar19" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "dVar19")) (^ "^") (identifier "DAT_003f9610")) () ")")))) (; ";")) (} "}"))) (expression_statement "piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);" (assignment_expression "piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8)" (identifier "piVar8") (= "=") (cast_expression "(int *)(*(long *)(lVar7 + 0x80) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 8)" (( "(") (binary_expression "*(long *)(lVar7 + 0x80) + 8" (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" (identifier "lVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              } while (lVar13 != lVar14);" (do "do") (compound_statement "{\n                dVar18 = DAT_003f95f8;\n                if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }\n                dVar17 = dVar19 - dVar18;\n                if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }\n                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;\n                if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) goto LAB_0021338d;\n                dVar18 = local_70 - *(double *)(piVar8 + 8);\n                if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }\n                if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }\nLAB_002132b1:\n                lVar13 = lVar13 + 1;\n                piVar8 = piVar8 + 0x16;\n                lVar15 = lVar14;\n              }" ({ "{") (expression_statement "dVar18 = DAT_003f95f8;" (assignment_expression "dVar18 = DAT_003f95f8" (identifier "dVar18") (= "=") (identifier "DAT_003f95f8")) (; ";")) (if_statement "if (*piVar8 != 0) {\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }" (if "if") (parenthesized_expression "(*piVar8 != 0)" (( "(") (binary_expression "*piVar8 != 0" (pointer_expression "*piVar8" (* "*") (identifier "piVar8")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  dVar18 = *(double *)(piVar8 + 0x10);\n                }" ({ "{") (expression_statement "dVar18 = *(double *)(piVar8 + 0x10);" (assignment_expression "dVar18 = *(double *)(piVar8 + 0x10)" (identifier "dVar18") (= "=") (pointer_expression "*(double *)(piVar8 + 0x10)" (* "*") (cast_expression "(double *)(piVar8 + 0x10)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8 + 0x10)" (( "(") (binary_expression "piVar8 + 0x10" (identifier "piVar8") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (} "}"))) (expression_statement "dVar17 = dVar19 - dVar18;" (assignment_expression "dVar17 = dVar19 - dVar18" (identifier "dVar17") (= "=") (binary_expression "dVar19 - dVar18" (identifier "dVar19") (- "-") (identifier "dVar18"))) (; ";")) (if_statement "if (dVar17 < 0.0) {\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }" (if "if") (parenthesized_expression "(dVar17 < 0.0)" (( "(") (binary_expression "dVar17 < 0.0" (identifier "dVar17") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);\n                }" ({ "{") (expression_statement "dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);" (assignment_expression "dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610)" (identifier "dVar17") (= "=") (cast_expression "(double)((ulong)dVar17 ^ DAT_003f9610)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((ulong)dVar17 ^ DAT_003f9610)" (( "(") (binary_expression "(ulong)dVar17 ^ DAT_003f9610" (cast_expression "(ulong)dVar17" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "dVar17")) (^ "^") (identifier "DAT_003f9610")) () ")")))) (; ";")) (} "}"))) (if_statement "if (DAT_003f9600 <= dVar17) goto LAB_002132b1;" (if "if") (parenthesized_expression "(DAT_003f9600 <= dVar17)" (( "(") (binary_expression "DAT_003f9600 <= dVar17" (identifier "DAT_003f9600") (<= "<=") (identifier "dVar17")) () ")")) (goto_statement "goto LAB_002132b1;" (goto "goto") (statement_identifier "LAB_002132b1") (; ";"))) (if_statement "if (dVar20 < DAT_003f9600) {\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }" (if "if") (parenthesized_expression "(dVar20 < DAT_003f9600)" (( "(") (binary_expression "dVar20 < DAT_003f9600" (identifier "dVar20") (< "<") (identifier "DAT_003f9600")) () ")")) (compound_statement "{\nLAB_0021338d:\n                  lVar15 = lVar13;\n                  if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }\n                  break;\n                }" ({ "{") (labeled_statement "LAB_0021338d:\n                  lVar15 = lVar13;" (statement_identifier "LAB_0021338d") (: ":") (expression_statement "lVar15 = lVar13;" (assignment_expression "lVar15 = lVar13" (identifier "lVar15") (= "=") (identifier "lVar13")) (; ";"))) (if_statement "if (lVar13 < lVar14) {\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }" (if "if") (parenthesized_expression "(lVar13 < lVar14)" (( "(") (binary_expression "lVar13 < lVar14" (identifier "lVar13") (< "<") (identifier "lVar14")) () ")")) (compound_statement "{\n                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);\n                    *plVar1 = *plVar1 + 1;\n                    goto LAB_002133a0;\n                  }" ({ "{") (expression_statement "plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);" (assignment_expression "plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" (identifier "plVar1") (= "=") (cast_expression "(long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58)" (( "(") (binary_expression "*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58" (binary_expression "*(long *)(lVar7 + 0x80) + 0x20" (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (+ "+") (number_literal "0x20")) (+ "+") (binary_expression "lVar13 * 0x58" (identifier "lVar13") (* "*") (number_literal "0x58"))) () ")")))) (; ";")) (expression_statement "*plVar1 = *plVar1 + 1;" (assignment_expression "*plVar1 = *plVar1 + 1" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (binary_expression "*plVar1 + 1" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_002133a0;" (goto "goto") (statement_identifier "LAB_002133a0") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" (if "if") (parenthesized_expression "(dVar18 < 0.0)" (( "(") (binary_expression "dVar18 < 0.0" (identifier "dVar18") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" ({ "{") (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" (identifier "dVar18") (= "=") (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" (( "(") (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "dVar18")) (^ "^") (identifier "DAT_003f9610")) () ")")))) (; ";")) (} "}"))) (if_statement "if (dVar18 < DAT_003f9600) goto LAB_0021338d;" (if "if") (parenthesized_expression "(dVar18 < DAT_003f9600)" (( "(") (binary_expression "dVar18 < DAT_003f9600" (identifier "dVar18") (< "<") (identifier "DAT_003f9600")) () ")")) (goto_statement "goto LAB_0021338d;" (goto "goto") (statement_identifier "LAB_0021338d") (; ";"))) (expression_statement "dVar18 = local_70 - *(double *)(piVar8 + 8);" (assignment_expression "dVar18 = local_70 - *(double *)(piVar8 + 8)" (identifier "dVar18") (= "=") (binary_expression "local_70 - *(double *)(piVar8 + 8)" (identifier "local_70") (- "-") (pointer_expression "*(double *)(piVar8 + 8)" (* "*") (cast_expression "(double *)(piVar8 + 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8 + 8)" (( "(") (binary_expression "piVar8 + 8" (identifier "piVar8") (+ "+") (number_literal "8")) () ")")))))) (; ";")) (if_statement "if (dVar18 < 0.0) {\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" (if "if") (parenthesized_expression "(dVar18 < 0.0)" (( "(") (binary_expression "dVar18 < 0.0" (identifier "dVar18") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                }" ({ "{") (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" (identifier "dVar18") (= "=") (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" (( "(") (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "dVar18")) (^ "^") (identifier "DAT_003f9610")) () ")")))) (; ";")) (} "}"))) (if_statement "if (dVar18 < DAT_003f9600) {\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }" (if "if") (parenthesized_expression "(dVar18 < DAT_003f9600)" (( "(") (binary_expression "dVar18 < DAT_003f9600" (identifier "dVar18") (< "<") (identifier "DAT_003f9600")) () ")")) (compound_statement "{\n                  dVar18 = local_68 - *(double *)(piVar8 + 10);\n                  if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }\n                  if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }\n                }" ({ "{") (expression_statement "dVar18 = local_68 - *(double *)(piVar8 + 10);" (assignment_expression "dVar18 = local_68 - *(double *)(piVar8 + 10)" (identifier "dVar18") (= "=") (binary_expression "local_68 - *(double *)(piVar8 + 10)" (identifier "local_68") (- "-") (pointer_expression "*(double *)(piVar8 + 10)" (* "*") (cast_expression "(double *)(piVar8 + 10)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8 + 10)" (( "(") (binary_expression "piVar8 + 10" (identifier "piVar8") (+ "+") (number_literal "10")) () ")")))))) (; ";")) (if_statement "if (dVar18 < 0.0) {\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }" (if "if") (parenthesized_expression "(dVar18 < 0.0)" (( "(") (binary_expression "dVar18 < 0.0" (identifier "dVar18") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                  }" ({ "{") (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" (identifier "dVar18") (= "=") (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" (( "(") (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "dVar18")) (^ "^") (identifier "DAT_003f9610")) () ")")))) (; ";")) (} "}"))) (if_statement "if (dVar18 < DAT_003f9600) {\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }" (if "if") (parenthesized_expression "(dVar18 < DAT_003f9600)" (( "(") (binary_expression "dVar18 < DAT_003f9600" (identifier "dVar18") (< "<") (identifier "DAT_003f9600")) () ")")) (compound_statement "{\n                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);\n                    if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }\n                    if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }\n                  }" ({ "{") (expression_statement "dVar18 = local_60 - *(double *)(piVar8 + 0xc);" (assignment_expression "dVar18 = local_60 - *(double *)(piVar8 + 0xc)" (identifier "dVar18") (= "=") (binary_expression "local_60 - *(double *)(piVar8 + 0xc)" (identifier "local_60") (- "-") (pointer_expression "*(double *)(piVar8 + 0xc)" (* "*") (cast_expression "(double *)(piVar8 + 0xc)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8 + 0xc)" (( "(") (binary_expression "piVar8 + 0xc" (identifier "piVar8") (+ "+") (number_literal "0xc")) () ")")))))) (; ";")) (if_statement "if (dVar18 < 0.0) {\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }" (if "if") (parenthesized_expression "(dVar18 < 0.0)" (( "(") (binary_expression "dVar18 < 0.0" (identifier "dVar18") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                    }" ({ "{") (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" (identifier "dVar18") (= "=") (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" (( "(") (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "dVar18")) (^ "^") (identifier "DAT_003f9610")) () ")")))) (; ";")) (} "}"))) (if_statement "if (dVar18 < DAT_003f9600) {\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }" (if "if") (parenthesized_expression "(dVar18 < DAT_003f9600)" (( "(") (binary_expression "dVar18 < DAT_003f9600" (identifier "dVar18") (< "<") (identifier "DAT_003f9600")) () ")")) (compound_statement "{\n                      if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }\n                      goto LAB_0021338d;\n                    }" ({ "{") (if_statement "if (iStack_94 == 2) {\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }" (if "if") (parenthesized_expression "(iStack_94 == 2)" (( "(") (binary_expression "iStack_94 == 2" (identifier "iStack_94") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);\n                        if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }\n                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;\n                      }" ({ "{") (expression_statement "dVar18 = local_58 - *(double *)(piVar8 + 0xe);" (assignment_expression "dVar18 = local_58 - *(double *)(piVar8 + 0xe)" (identifier "dVar18") (= "=") (binary_expression "local_58 - *(double *)(piVar8 + 0xe)" (identifier "local_58") (- "-") (pointer_expression "*(double *)(piVar8 + 0xe)" (* "*") (cast_expression "(double *)(piVar8 + 0xe)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar8 + 0xe)" (( "(") (binary_expression "piVar8 + 0xe" (identifier "piVar8") (+ "+") (number_literal "0xe")) () ")")))))) (; ";")) (if_statement "if (dVar18 < 0.0) {\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }" (if "if") (parenthesized_expression "(dVar18 < 0.0)" (( "(") (binary_expression "dVar18 < 0.0" (identifier "dVar18") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);\n                        }" ({ "{") (expression_statement "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);" (assignment_expression "dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610)" (identifier "dVar18") (= "=") (cast_expression "(double)((ulong)dVar18 ^ DAT_003f9610)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((ulong)dVar18 ^ DAT_003f9610)" (( "(") (binary_expression "(ulong)dVar18 ^ DAT_003f9610" (cast_expression "(ulong)dVar18" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "dVar18")) (^ "^") (identifier "DAT_003f9610")) () ")")))) (; ";")) (} "}"))) (if_statement "if (DAT_003f9600 <= dVar18) goto LAB_002132b1;" (if "if") (parenthesized_expression "(DAT_003f9600 <= dVar18)" (( "(") (binary_expression "DAT_003f9600 <= dVar18" (identifier "DAT_003f9600") (<= "<=") (identifier "dVar18")) () ")")) (goto_statement "goto LAB_002132b1;" (goto "goto") (statement_identifier "LAB_002132b1") (; ";"))) (} "}"))) (goto_statement "goto LAB_0021338d;" (goto "goto") (statement_identifier "LAB_0021338d") (; ";")) (} "}"))) (} "}"))) (} "}"))) (labeled_statement "LAB_002132b1:\n                lVar13 = lVar13 + 1;" (statement_identifier "LAB_002132b1") (: ":") (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" (identifier "lVar13") (= "=") (binary_expression "lVar13 + 1" (identifier "lVar13") (+ "+") (number_literal "1"))) (; ";"))) (expression_statement "piVar8 = piVar8 + 0x16;" (assignment_expression "piVar8 = piVar8 + 0x16" (identifier "piVar8") (= "=") (binary_expression "piVar8 + 0x16" (identifier "piVar8") (+ "+") (number_literal "0x16"))) (; ";")) (expression_statement "lVar15 = lVar14;" (assignment_expression "lVar15 = lVar14" (identifier "lVar15") (= "=") (identifier "lVar14")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar13 != lVar14)" (( "(") (binary_expression "lVar13 != lVar14" (identifier "lVar13") (!= "!=") (identifier "lVar14")) () ")")) (; ";")) (} "}")))) (if_statement "if (lVar14 == 0) {\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }\n            else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" (if "if") (parenthesized_expression "(lVar14 == 0)" (( "(") (binary_expression "lVar14 == 0" (identifier "lVar14") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              *(undefined8 *)(lVar7 + 0x88) = 1;\n              uVar9 = AcquireQuantumMemory(1,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" ({ "{") (expression_statement "*(undefined8 *)(lVar7 + 0x88) = 1;" (assignment_expression "*(undefined8 *)(lVar7 + 0x88) = 1" (pointer_expression "*(undefined8 *)(lVar7 + 0x88)" (* "*") (cast_expression "(undefined8 *)(lVar7 + 0x88)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x88)" (( "(") (binary_expression "lVar7 + 0x88" (identifier "lVar7") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "uVar9 = AcquireQuantumMemory(1,0x58);" (assignment_expression "uVar9 = AcquireQuantumMemory(1,0x58)" (identifier "uVar9") (= "=") (call_expression "AcquireQuantumMemory(1,0x58)" (identifier "AcquireQuantumMemory") (argument_list "(1,0x58)" (( "(") (number_literal "1") (, ",") (number_literal "0x58") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar7 + 0x80) = uVar9;" (assignment_expression "*(undefined8 *)(lVar7 + 0x80) = uVar9" (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" (* "*") (cast_expression "(undefined8 *)(lVar7 + 0x80)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (} "}")) (else_clause "else if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" (else "else") (if_statement "if (*(long *)(lVar7 + 0x88) <= lVar15) {\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" (if "if") (parenthesized_expression "(*(long *)(lVar7 + 0x88) <= lVar15)" (( "(") (binary_expression "*(long *)(lVar7 + 0x88) <= lVar15" (pointer_expression "*(long *)(lVar7 + 0x88)" (* "*") (cast_expression "(long *)(lVar7 + 0x88)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x88)" (( "(") (binary_expression "lVar7 + 0x88" (identifier "lVar7") (+ "+") (number_literal "0x88")) () ")")))) (<= "<=") (identifier "lVar15")) () ")")) (compound_statement "{\n              lVar14 = *(long *)(lVar7 + 0x88) * 2;\n              *(long *)(lVar7 + 0x88) = lVar14;\n              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);\n              *(undefined8 *)(lVar7 + 0x80) = uVar9;\n            }" ({ "{") (expression_statement "lVar14 = *(long *)(lVar7 + 0x88) * 2;" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x88) * 2" (identifier "lVar14") (= "=") (binary_expression "*(long *)(lVar7 + 0x88) * 2" (pointer_expression "*(long *)(lVar7 + 0x88)" (* "*") (cast_expression "(long *)(lVar7 + 0x88)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x88)" (( "(") (binary_expression "lVar7 + 0x88" (identifier "lVar7") (+ "+") (number_literal "0x88")) () ")")))) (* "*") (number_literal "2"))) (; ";")) (expression_statement "*(long *)(lVar7 + 0x88) = lVar14;" (assignment_expression "*(long *)(lVar7 + 0x88) = lVar14" (pointer_expression "*(long *)(lVar7 + 0x88)" (* "*") (cast_expression "(long *)(lVar7 + 0x88)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x88)" (( "(") (binary_expression "lVar7 + 0x88" (identifier "lVar7") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (identifier "lVar14")) (; ";")) (expression_statement "uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);" (assignment_expression "uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" (identifier "uVar9") (= "=") (call_expression "ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" (identifier "ResizeQuantumMemory") (argument_list "(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58)" (( "(") (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" (* "*") (cast_expression "(undefined8 *)(lVar7 + 0x80)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (, ",") (identifier "lVar14") (, ",") (number_literal "0x58") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar7 + 0x80) = uVar9;" (assignment_expression "*(undefined8 *)(lVar7 + 0x80) = uVar9" (pointer_expression "*(undefined8 *)(lVar7 + 0x80)" (* "*") (cast_expression "(undefined8 *)(lVar7 + 0x80)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (= "=") (identifier "uVar9")) (; ";")) (} "}"))))) (expression_statement "lVar14 = *(long *)(lVar7 + 0x80);" (assignment_expression "lVar14 = *(long *)(lVar7 + 0x80)" (identifier "lVar14") (= "=") (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")"))))) (; ";")) (if_statement "if (lVar14 == 0) {\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }" (if "if") (parenthesized_expression "(lVar14 == 0)" (( "(") (binary_expression "lVar14 == 0" (identifier "lVar14") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);\n              local_c0 = (long *)0x0;\n              goto LAB_00213193;\n            }" ({ "{") (expression_statement "ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);" (call_expression "ThrowMagickException\n                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" (identifier "ThrowMagickException") (argument_list "(param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,\n                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe)" (( "(") (identifier "param_2") (, ",") (string_literal ""MagickCore/histogram.c"" (" """) (string_content "MagickCore/histogram.c") (" """)) (, ",") (string_literal ""ClassifyImageColors"" (" """) (string_content "ClassifyImageColors") (" """)) (, ",") (number_literal "0x119") (, ",") (number_literal "400") (, ",") (string_literal ""MemoryAllocationFailed"" (" """) (string_content "MemoryAllocationFailed") (" """)) (, ",") (string_literal ""`%s\'"" (" """) (string_content "`%s") (escape_sequence "\'") (" """)) (, ",") (binary_expression "param_1 + 0xfe" (identifier "param_1") (+ "+") (number_literal "0xfe")) () ")"))) (; ";")) (expression_statement "local_c0 = (long *)0x0;" (assignment_expression "local_c0 = (long *)0x0" (identifier "local_c0") (= "=") (cast_expression "(long *)0x0" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_00213193;" (goto "goto") (statement_identifier "LAB_00213193") (; ";")) (} "}"))) (expression_statement "lVar13 = lVar15 * 0x58;" (assignment_expression "lVar13 = lVar15 * 0x58" (identifier "lVar13") (= "=") (binary_expression "lVar15 * 0x58" (identifier "lVar15") (* "*") (number_literal "0x58"))) (; ";")) (expression_statement "*(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);" (assignment_expression "*(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98)" (pointer_expression "*(ulong *)(lVar14 + lVar15 * 0x58)" (* "*") (cast_expression "(ulong *)(lVar14 + lVar15 * 0x58)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + lVar15 * 0x58)" (( "(") (binary_expression "lVar14 + lVar15 * 0x58" (identifier "lVar14") (+ "+") (binary_expression "lVar15 * 0x58" (identifier "lVar15") (* "*") (number_literal "0x58"))) () ")")))) (= "=") (call_expression "CONCAT44(iStack_94,local_98)" (identifier "CONCAT44") (argument_list "(iStack_94,local_98)" (( "(") (identifier "iStack_94") (, ",") (identifier "local_98") () ")")))) (; ";")) (expression_statement "*(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);" (assignment_expression "*(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90)" (pointer_expression "*(ulong *)(lVar14 + 8 + lVar13)" (* "*") (cast_expression "(ulong *)(lVar14 + 8 + lVar13)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 8 + lVar13)" (( "(") (binary_expression "lVar14 + 8 + lVar13" (binary_expression "lVar14 + 8" (identifier "lVar14") (+ "+") (number_literal "8")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (call_expression "CONCAT44(uStack_8c,local_90)" (identifier "CONCAT44") (argument_list "(uStack_8c,local_90)" (( "(") (identifier "uStack_8c") (, ",") (identifier "local_90") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;" (assignment_expression "*(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88" (pointer_expression "*(undefined8 *)(lVar14 + 0x10 + lVar13)" (* "*") (cast_expression "(undefined8 *)(lVar14 + 0x10 + lVar13)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x10 + lVar13)" (( "(") (binary_expression "lVar14 + 0x10 + lVar13" (binary_expression "lVar14 + 0x10" (identifier "lVar14") (+ "+") (number_literal "0x10")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_88")) (; ";")) (expression_statement "*(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;" (assignment_expression "*(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80" (pointer_expression "*(undefined8 *)(lVar14 + 0x18 + lVar13)" (* "*") (cast_expression "(undefined8 *)(lVar14 + 0x18 + lVar13)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x18 + lVar13)" (( "(") (binary_expression "lVar14 + 0x18 + lVar13" (binary_expression "lVar14 + 0x18" (identifier "lVar14") (+ "+") (number_literal "0x18")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_80")) (; ";")) (expression_statement "*(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;" (assignment_expression "*(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78" (pointer_expression "*(undefined8 *)(lVar14 + 0x20 + lVar13)" (* "*") (cast_expression "(undefined8 *)(lVar14 + 0x20 + lVar13)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x20 + lVar13)" (( "(") (binary_expression "lVar14 + 0x20 + lVar13" (binary_expression "lVar14 + 0x20" (identifier "lVar14") (+ "+") (number_literal "0x20")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_78")) (; ";")) (expression_statement "*(double *)(lVar14 + 0x28 + lVar13) = local_70;" (assignment_expression "*(double *)(lVar14 + 0x28 + lVar13) = local_70" (pointer_expression "*(double *)(lVar14 + 0x28 + lVar13)" (* "*") (cast_expression "(double *)(lVar14 + 0x28 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x28 + lVar13)" (( "(") (binary_expression "lVar14 + 0x28 + lVar13" (binary_expression "lVar14 + 0x28" (identifier "lVar14") (+ "+") (number_literal "0x28")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_70")) (; ";")) (expression_statement "*(double *)(lVar14 + 0x30 + lVar13) = local_68;" (assignment_expression "*(double *)(lVar14 + 0x30 + lVar13) = local_68" (pointer_expression "*(double *)(lVar14 + 0x30 + lVar13)" (* "*") (cast_expression "(double *)(lVar14 + 0x30 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x30 + lVar13)" (( "(") (binary_expression "lVar14 + 0x30 + lVar13" (binary_expression "lVar14 + 0x30" (identifier "lVar14") (+ "+") (number_literal "0x30")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_68")) (; ";")) (expression_statement "*(double *)(lVar14 + 0x38 + lVar13) = local_60;" (assignment_expression "*(double *)(lVar14 + 0x38 + lVar13) = local_60" (pointer_expression "*(double *)(lVar14 + 0x38 + lVar13)" (* "*") (cast_expression "(double *)(lVar14 + 0x38 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x38 + lVar13)" (( "(") (binary_expression "lVar14 + 0x38 + lVar13" (binary_expression "lVar14 + 0x38" (identifier "lVar14") (+ "+") (number_literal "0x38")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_60")) (; ";")) (expression_statement "*(double *)(lVar14 + 0x40 + lVar13) = local_58;" (assignment_expression "*(double *)(lVar14 + 0x40 + lVar13) = local_58" (pointer_expression "*(double *)(lVar14 + 0x40 + lVar13)" (* "*") (cast_expression "(double *)(lVar14 + 0x40 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x40 + lVar13)" (( "(") (binary_expression "lVar14 + 0x40 + lVar13" (binary_expression "lVar14 + 0x40" (identifier "lVar14") (+ "+") (number_literal "0x40")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_58")) (; ";")) (expression_statement "*(double *)(lVar14 + 0x48 + lVar13) = local_50;" (assignment_expression "*(double *)(lVar14 + 0x48 + lVar13) = local_50" (pointer_expression "*(double *)(lVar14 + 0x48 + lVar13)" (* "*") (cast_expression "(double *)(lVar14 + 0x48 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x48 + lVar13)" (( "(") (binary_expression "lVar14 + 0x48 + lVar13" (binary_expression "lVar14 + 0x48" (identifier "lVar14") (+ "+") (number_literal "0x48")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_50")) (; ";")) (expression_statement "*(double *)(lVar14 + 0x50 + lVar13) = local_48;" (assignment_expression "*(double *)(lVar14 + 0x50 + lVar13) = local_48" (pointer_expression "*(double *)(lVar14 + 0x50 + lVar13)" (* "*") (cast_expression "(double *)(lVar14 + 0x50 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar14 + 0x50 + lVar13)" (( "(") (binary_expression "lVar14 + 0x50 + lVar13" (binary_expression "lVar14 + 0x50" (identifier "lVar14") (+ "+") (number_literal "0x50")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (identifier "local_48")) (; ";")) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" (* "*") (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x28 + lVar13)" (( "(") (binary_expression "*(long *)(lVar7 + 0x80) + 0x28 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x28" (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (+ "+") (number_literal "0x28")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 8) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 8)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 8)" (( "(") (binary_expression "*(long *)(param_1 + 0xd8) + 8" (pointer_expression "*(long *)(param_1 + 0xd8)" (* "*") (cast_expression "(long *)(param_1 + 0xd8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" (* "*") (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x30 + lVar13)" (( "(") (binary_expression "*(long *)(lVar7 + 0x80) + 0x30 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x30" (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (+ "+") (number_literal "0x30")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x18)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x18)" (( "(") (binary_expression "*(long *)(param_1 + 0xd8) + 0x18" (pointer_expression "*(long *)(param_1 + 0xd8)" (* "*") (cast_expression "(long *)(param_1 + 0xd8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) (+ "+") (number_literal "0x18")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =\n                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" (* "*") (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x38 + lVar13)" (( "(") (binary_expression "*(long *)(lVar7 + 0x80) + 0x38 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x38" (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (+ "+") (number_literal "0x38")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (cast_expression "(double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x28)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x28)" (( "(") (binary_expression "*(long *)(param_1 + 0xd8) + 0x28" (pointer_expression "*(long *)(param_1 + 0xd8)" (* "*") (cast_expression "(long *)(param_1 + 0xd8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) (+ "+") (number_literal "0x28")) () ")")))) (* "*") (number_literal "4"))) () ")")))))) (; ";")) (if_statement "if (param_1[1] == 2) {\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }" (if "if") (parenthesized_expression "(param_1[1] == 2)" (( "(") (binary_expression "param_1[1] == 2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n              fVar16 = 0.0;\n              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }\n              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;\n            }" ({ "{") (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" (identifier "fVar16") (= "=") (number_literal "0.0")) (; ";")) (if_statement "if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }" (if "if") (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0)" (( "(") (binary_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0" (pointer_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x34)" (* "*") (cast_expression "(int *)(*(long *)(param_1 + 0xd8) + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x34)" (( "(") (binary_expression "*(long *)(param_1 + 0xd8) + 0x34" (pointer_expression "*(long *)(param_1 + 0xd8)" (* "*") (cast_expression "(long *)(param_1 + 0xd8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);\n              }" ({ "{") (expression_statement "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);" (assignment_expression "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" (identifier "fVar16") (= "=") (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x38)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x38)" (( "(") (binary_expression "*(long *)(param_1 + 0xd8) + 0x38" (pointer_expression "*(long *)(param_1 + 0xd8)" (* "*") (cast_expression "(long *)(param_1 + 0xd8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" (* "*") (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x40 + lVar13)" (( "(") (binary_expression "*(long *)(lVar7 + 0x80) + 0x40 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x40" (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (+ "+") (number_literal "0x40")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16"))) (; ";")) (} "}"))) (expression_statement "fVar16 = _DAT_003fa400;" (assignment_expression "fVar16 = _DAT_003fa400" (identifier "fVar16") (= "=") (identifier "_DAT_003fa400")) (; ";")) (if_statement "if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }" (if "if") (parenthesized_expression "(*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0)" (( "(") (binary_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0" (pointer_expression "*(int *)(*(long *)(param_1 + 0xd8) + 0x44)" (* "*") (cast_expression "(int *)(*(long *)(param_1 + 0xd8) + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x44)" (( "(") (binary_expression "*(long *)(param_1 + 0xd8) + 0x44" (pointer_expression "*(long *)(param_1 + 0xd8)" (* "*") (cast_expression "(long *)(param_1 + 0xd8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) (+ "+") (number_literal "0x44")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);\n            }" ({ "{") (expression_statement "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);" (assignment_expression "fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" (identifier "fVar16") (= "=") (pointer_expression "*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" (* "*") (cast_expression "(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4)" (( "(") (binary_expression "lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4" (pointer_expression "*(long *)(*(long *)(param_1 + 0xd8) + 0x48)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0xd8) + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0xd8) + 0x48)" (( "(") (binary_expression "*(long *)(param_1 + 0xd8) + 0x48" (pointer_expression "*(long *)(param_1 + 0xd8)" (* "*") (cast_expression "(long *)(param_1 + 0xd8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd8)" (( "(") (binary_expression "param_1 + 0xd8" (identifier "param_1") (+ "+") (number_literal "0xd8")) () ")")))) (+ "+") (number_literal "0x48")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (expression_statement "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;" (assignment_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16" (pointer_expression "*(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" (* "*") (cast_expression "(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x48 + lVar13)" (( "(") (binary_expression "*(long *)(lVar7 + 0x80) + 0x48 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x48" (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (+ "+") (number_literal "0x48")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (cast_expression "(double)fVar16" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar16"))) (; ";")) (expression_statement "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;" (assignment_expression "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1" (pointer_expression "*(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" (* "*") (cast_expression "(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar7 + 0x80) + 0x20 + lVar13)" (( "(") (binary_expression "*(long *)(lVar7 + 0x80) + 0x20 + lVar13" (binary_expression "*(long *)(lVar7 + 0x80) + 0x20" (pointer_expression "*(long *)(lVar7 + 0x80)" (* "*") (cast_expression "(long *)(lVar7 + 0x80)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x80)" (( "(") (binary_expression "lVar7 + 0x80" (identifier "lVar7") (+ "+") (number_literal "0x80")) () ")")))) (+ "+") (number_literal "0x20")) (+ "+") (identifier "lVar13")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;" (assignment_expression "*(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1" (pointer_expression "*(long *)(lVar7 + 0x90)" (* "*") (cast_expression "(long *)(lVar7 + 0x90)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x90)" (( "(") (binary_expression "lVar7 + 0x90" (identifier "lVar7") (+ "+") (number_literal "0x90")) () ")")))) (= "=") (binary_expression "*(long *)(lVar7 + 0x90) + 1" (pointer_expression "*(long *)(lVar7 + 0x90)" (* "*") (cast_expression "(long *)(lVar7 + 0x90)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar7 + 0x90)" (( "(") (binary_expression "lVar7 + 0x90" (identifier "lVar7") (+ "+") (number_literal "0x90")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_c0[3] = local_c0[3] + 1;" (assignment_expression "local_c0[3] = local_c0[3] + 1" (subscript_expression "local_c0[3]" (identifier "local_c0") ([ "[") (number_literal "3") (] "]")) (= "=") (binary_expression "local_c0[3] + 1" (subscript_expression "local_c0[3]" (identifier "local_c0") ([ "[") (number_literal "3") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (labeled_statement "LAB_002133a0:\n            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;" (statement_identifier "LAB_002133a0") (: ":") (expression_statement "lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;" (assignment_expression "lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4" (identifier "lVar6") (= "=") (binary_expression "lVar6 + *(long *)(param_1 + 0xd0) * 4" (identifier "lVar6") (+ "+") (binary_expression "*(long *)(param_1 + 0xd0) * 4" (pointer_expression "*(long *)(param_1 + 0xd0)" (* "*") (cast_expression "(long *)(param_1 + 0xd0)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xd0)" (( "(") (binary_expression "param_1 + 0xd0" (identifier "param_1") (+ "+") (number_literal "0xd0")) () ")")))) (* "*") (number_literal "4")))) (; ";"))) (expression_statement "local_b8 = local_b8 + 1;" (assignment_expression "local_b8 = local_b8 + 1" (identifier "local_b8") (= "=") (binary_expression "local_b8 + 1" (identifier "local_b8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_b8 < *(long *)(param_1 + 8))" (( "(") (binary_expression "local_b8 < *(long *)(param_1 + 8)" (identifier "local_b8") (< "<") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10));" (assignment_expression "iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" (identifier "iVar4") (= "=") (call_expression "SetImageProgress(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" (identifier "SetImageProgress") (argument_list "(param_1,"  Compute image colors...  ",local_a8,\n                                 *(undefined8 *)(param_1 + 10))" (( "(") (identifier "param_1") (, ",") (string_literal ""  Compute image colors...  "" (" """) (string_content "  Compute image colors...  ") (" """)) (, ",") (identifier "local_a8") (, ",") (pointer_expression "*(undefined8 *)(param_1 + 10)" (* "*") (cast_expression "(undefined8 *)(param_1 + 10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) () ")")))) (; ";")) (if_statement "if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;" (if "if") (parenthesized_expression "((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8))" (( "(") (binary_expression "(iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)" (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)" (( "(") (comma_expression "local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8" (assignment_expression "local_a8 = local_a8 + 1" (identifier "local_a8") (= "=") (binary_expression "local_a8 + 1" (identifier "local_a8") (+ "+") (number_literal "1"))) (, ",") (binary_expression "*(long *)(param_1 + 10) <= local_a8" (pointer_expression "*(long *)(param_1 + 10)" (* "*") (cast_expression "(long *)(param_1 + 10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")")))) (<= "<=") (identifier "local_a8"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}"))) (} "}"))) (expression_statement "DestroyCacheView(uVar5);" (call_expression "DestroyCacheView(uVar5)" (identifier "DestroyCacheView") (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (} "}")))) (labeled_statement "LAB_00213193:\n  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (statement_identifier "LAB_00213193") (: ":") (if_statement "if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {\n                    \n    __stack_chk_fail();\n  }" (if "if") (parenthesized_expression "(local_40 != *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_40 != *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (!= "!=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n                    \n    __stack_chk_fail();\n  }" ({ "{") (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return local_c0;" (return "return") (identifier "local_c0") (; ";")) (} "}")))

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "LogEventType": Some values do not have unique names */

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

{
  type_4 *pMVar1;
  type_5 **pp_Var2;
  long var_46;
  type_6 *pPVar4;
  type_4 var_36;
  type_7 var_21;
  size_t count;
  type_8 var_20;
  type_9 var_43;
  type_10 *cache_view;
  type_11 *var_12;
  type_12 *var_26;
  type_13 *var_29;
  type_14 *var_39;
  type_7 bVar13;
  type_8 var_23;
  type_8 var_22;
  type_4 var_35;
  long var_25;
  type_4 MVar18;
  long var_1;
  float var_16;
  type_11 QVar20;
  double var_31;
  double var_30;
  type_15 var_27;
  double var_33;
  type_1 *var_7;
  long var_41;
  type_16 var_44;
  type_14 pixel;
  
  var_46 = *(long *)(var_1 + 0x28);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,
                  "ClassifyImageColors");
  }
  if (var_2->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,
                  "ClassifyImageColors");
  }
  if (var_2->debug != var_4) {
    var_5(TraceEvent,"MagickCore/histogram.c","ClassifyImageColors",0xdb,"%s",
                   var_2->filename);
  }
  var_7 = var_6();
  if (var_7 == (type_1 *)0x0) {
    var_8
              (exception,"MagickCore/histogram.c","ClassifyImageColors",0xdf,ErrorException,
               "MemoryAllocationFailed","`%s\'",var_2->filename);
  }
  else {
    var_9(var_2,&pixel);
    cache_view = var_10(var_2,exception);
    if (0 < (long)var_2->rows) {
      var_44 = 0;
      while (var_12 = var_11(cache_view,0,var_44,var_2->columns,1,exception),
            var_12 != (type_11 *)0x0) {
        if (0 < (long)var_2->columns) {
          var_41 = 0;
          do {
            var_33 = DAT_003f95f8;
            var_26 = var_7->root;
            var_25 = 7;
            do {
              var_13(&pixel,0,0x58);
              pixel.alpha = var_33;
              pixel.storage_class = var_2->storage_class;
              pixel.colorspace = var_2->colorspace;
              pixel.fuzz = var_2->fuzz;
              pixel.depth = var_2->depth;
              pixel.alpha_trait = var_2->alpha_trait;
              if (var_12 != (type_11 *)0x0) {
                pPVar4 = var_2->channel_map;
                pixel.red = (type_15)var_12[pPVar4->offset];
                pixel.green = (type_15)var_12[pPVar4[1].offset];
                pixel.blue = (type_15)var_12[pPVar4[2].offset];
                if (pPVar4[3].traits != var_14) {
                  pixel.black = (type_15)var_12[pPVar4[3].offset];
                }
                if (pPVar4[4].traits != var_14) {
                  pixel.alpha = (type_15)var_12[pPVar4[4].offset];
                  pixel.alpha_trait = BlendPixelTrait;
                }
                if (pPVar4[5].traits != var_14) {
                  pixel.index = (type_15)var_12[pPVar4[5].offset];
                }
              }
              var_16 = (float)pixel.red;
              if (var_15(var_16)) {
                var_23 = 0;
              }
              else {
                var_23 = 0;
                if (0.0 < var_16) {
                  var_23 = 0xffffffff;
                  if ((double)var_16 / var_17 < var_18) {
                    var_23 = (type_8)((double)var_16 / var_17 + var_19);
                  }
                }
              }
              var_21 = (type_7)var_25;
              var_16 = (float)pixel.green;
              if (var_15(var_16)) {
                var_22 = 0;
              }
              else {
                var_22 = 0;
                if (0.0 < var_16) {
                  var_22 = 0xffffffff;
                  if ((double)var_16 / var_17 < var_18) {
                    var_22 = (type_8)((double)var_16 / var_17 + var_19);
                  }
                }
              }
              var_16 = (float)pixel.blue;
              if (var_15(var_16)) {
                var_20 = 0;
              }
              else {
                var_20 = 0;
                if (0.0 < var_16) {
                  var_20 = 0xffffffff;
                  if ((double)var_16 / var_17 < var_18) {
                    var_20 = (type_8)((double)var_16 / var_17 + var_19);
                  }
                }
              }
              var_23 = ((int)(var_20 & 0xff) >> (var_21 & 0x1f) & 1U) << 2 |
                       ((int)(var_22 & 0xff) >> (var_21 & 0x1f)) * 2 & 2U |
                       (int)(var_23 & 0xff) >> (var_21 & 0x1f) & 1U;
              if (var_2->alpha_trait != var_14) {
                var_16 = (float)pixel.alpha;
                if (var_15(var_16)) {
                  bVar13 = 0;
                }
                else {
                  bVar13 = 0;
                  if (0.0 < var_16) {
                    bVar13 = 0xff;
                    if ((double)var_16 / var_17 < var_18) {
                      bVar13 = (type_7)(int)((double)var_16 / var_17 + var_19);
                    }
                  }
                }
                var_23 = var_23 | ((int)(type_8)bVar13 >> (var_21 & 0x1f) & 1U) << 3;
              }
              pp_Var2 = var_26->child + (int)var_23;
              if (*pp_Var2 == (type_5 *)0x0) {
                var_26 = var_24(var_7,8 - var_25);
                *pp_Var2 = var_26;
                if (var_26 == (type_12 *)0x0) {
                  var_8
                            (exception,"MagickCore/histogram.c","ClassifyImageColors",0xfa,
                             ErrorException,"MemoryAllocationFailed","`%s\'",var_2->filename);
                  var_7 = (type_1 *)0x0;
                  goto LAB_00213193;
                }
              }
              var_26 = *pp_Var2;
              var_25 = var_25 + -1;
            } while (var_25 != 0);
            var_36 = var_26->number_unique;
            if ((long)var_36 < 1) {
              MVar18 = 0;
            }
            else {
              var_27 = DAT_003f95f8;
              if (pixel.alpha_trait != var_14) {
                var_27 = pixel.alpha;
              }
              var_33 = var_27;
              if (var_27 < 0.0) {
                var_33 = (double)((type_17)var_27 ^ var_28);
              }
              var_29 = &var_26->list->alpha_trait;
              var_35 = 0;
              do {
                var_30 = DAT_003f95f8;
                if (*var_29 != var_14) {
                  var_30 = *(double *)(var_29 + 0x10);
                }
                var_31 = var_27 - var_30;
                if (var_31 < 0.0) {
                  var_31 = (double)((type_17)var_31 ^ var_28);
                }
                if (var_32 <= var_31) goto LAB_002132b1;
                if (var_33 < var_32) {
LAB_0021338d:
                  MVar18 = var_35;
                  if ((long)var_35 < (long)var_36) {
                    pMVar1 = &var_26->list[var_35].count;
                    *pMVar1 = *pMVar1 + 1;
                    goto LAB_002133a0;
                  }
                  break;
                }
                if (var_30 < 0.0) {
                  var_30 = (double)((type_17)var_30 ^ var_28);
                }
                if (var_30 < var_32) goto LAB_0021338d;
                var_30 = pixel.red - *(double *)(var_29 + 8);
                if (var_30 < 0.0) {
                  var_30 = (double)((type_17)var_30 ^ var_28);
                }
                if (var_30 < var_32) {
                  var_30 = pixel.green - *(double *)(var_29 + 10);
                  if (var_30 < 0.0) {
                    var_30 = (double)((type_17)var_30 ^ var_28);
                  }
                  if (var_30 < var_32) {
                    var_30 = pixel.blue - *(double *)(var_29 + 0xc);
                    if (var_30 < 0.0) {
                      var_30 = (double)((type_17)var_30 ^ var_28);
                    }
                    if (var_30 < var_32) {
                      if (pixel.colorspace == var_34) {
                        var_30 = pixel.black - *(double *)(var_29 + 0xe);
                        if (var_30 < 0.0) {
                          var_30 = (double)((type_17)var_30 ^ var_28);
                        }
                        if (var_32 <= var_30) goto LAB_002132b1;
                      }
                      goto LAB_0021338d;
                    }
                  }
                }
LAB_002132b1:
                var_35 = var_35 + 1;
                var_29 = var_29 + 0x16;
                MVar18 = var_36;
              } while (var_35 != var_36);
            }
            if (var_36 == 0) {
              var_26->extent = 1;
              var_39 = (type_14 *)var_37(1,0x58);
              var_26->list = var_39;
            }
            else if ((long)var_26->extent <= (long)MVar18) {
              count = var_26->extent * 2;
              var_26->extent = count;
              var_39 = (type_14 *)var_38(var_26->list,count,0x58);
              var_26->list = var_39;
            }
            var_39 = var_26->list;
            if (var_39 == (type_14 *)0x0) {
              var_8
                        (exception,"MagickCore/histogram.c","ClassifyImageColors",0x119,
                         ErrorException,"MemoryAllocationFailed","`%s\'",var_2->filename);
              var_7 = (type_1 *)0x0;
              goto LAB_00213193;
            }
            var_39[MVar18].storage_class = (int)var_40(pixel.colorspace,pixel.storage_class);
            var_39[MVar18].colorspace =
                 (int)(var_40(pixel.colorspace,pixel.storage_class) >> 0x20);
            *(type_17 *)&var_39[MVar18].alpha_trait = var_40(pixel._12_4_,pixel.alpha_trait);
            var_39[MVar18].fuzz = pixel.fuzz;
            var_39[MVar18].depth = pixel.depth;
            var_39[MVar18].count = pixel.count;
            var_39[MVar18].red = pixel.red;
            var_39[MVar18].green = pixel.green;
            var_39[MVar18].blue = pixel.blue;
            var_39[MVar18].black = pixel.black;
            var_39[MVar18].alpha = pixel.alpha;
            var_39[MVar18].index = pixel.index;
            var_26->list[MVar18].red = (double)var_12[var_2->channel_map->offset];
            var_26->list[MVar18].green = (double)var_12[var_2->channel_map[1].offset];
            var_26->list[MVar18].blue = (double)var_12[var_2->channel_map[2].offset];
            if (var_2->colorspace == var_34) {
              QVar20 = 0.0;
              if (var_2->channel_map[3].traits != var_14) {
                QVar20 = var_12[var_2->channel_map[3].offset];
              }
              var_26->list[MVar18].black = (double)QVar20;
            }
            var_16 = _DAT_003fa400;
            if (var_2->channel_map[4].traits != var_14) {
              var_16 = var_12[var_2->channel_map[4].offset];
            }
            var_26->list[MVar18].alpha = (double)var_16;
            var_26->list[MVar18].count = 1;
            var_26->number_unique = var_26->number_unique + 1;
            var_7->colors = var_7->colors + 1;
LAB_002133a0:
            var_12 = var_12 + var_2->number_channels;
            var_41 = var_41 + 1;
          } while (var_41 < (long)var_2->columns);
        }
        var_43 = var_42(var_2,"  Compute image colors...  ",var_44,var_2->rows);
        if ((var_43 == var_4) || (var_44 = var_44 + 1, (long)var_2->rows <= var_44))
        break;
      }
    }
    var_45(cache_view);
  }
LAB_00213193:
  if (var_46 != *(long *)(var_1 + 0x28)) {
                    /* WARNING: Subroutine does not return */
    var_47();
  }
  return var_7;
}


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

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

long * MASKED(undefined4 *param_1,undefined8 param_2)

{
  long *plVar1;
  byte bVar2;
  uint uVar3;
  int iVar4;
  undefined8 uVar5;
  long lVar6;
  long lVar7;
  int *piVar8;
  undefined8 uVar9;
  byte bVar10;
  uint uVar11;
  uint uVar12;
  long lVar13;
  long lVar14;
  long lVar15;
  long in_FS_OFFSET;
  float fVar16;
  double dVar17;
  double dVar18;
  double dVar19;
  double dVar20;
  long *local_c0;
  long local_b8;
  long local_a8;
  undefined4 local_98;
  int iStack_94;
  int local_90;
  undefined4 uStack_8c;
  undefined8 local_88;
  undefined8 local_80;
  undefined8 local_78;
  double local_70;
  double local_68;
  double local_60;
  double local_58;
  double local_50;
  double local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  if (param_1 == (undefined4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (const Image *) NULL","MagickCore/histogram.c",0xd8,
                  "ClassifyImageColors");
  }
  if (*(long *)(param_1 + 0xd14) != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/histogram.c",0xd9,
                  "ClassifyImageColors");
  }
  if (param_1[0xd06] != 0) {
    LogMagickEvent(0x8000,"MagickCore/histogram.c","ClassifyImageColors",0xdb,&DAT_0041fe36,
                   param_1 + 0xfe);
  }
  local_c0 = (long *)FUN_00212c8f();
  if (local_c0 == (long *)0x0) {
    ThrowMagickException
              (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xdf,400,
               "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);
  }
  else {
    GetPixelInfo(param_1,&local_98);
    uVar5 = AcquireVirtualCacheView(param_1,param_2);
    if (0 < *(long *)(param_1 + 10)) {
      local_a8 = 0;
      while (lVar6 = GetCacheViewVirtualPixels
                               (uVar5,0,local_a8,*(undefined8 *)(param_1 + 8),1,param_2), lVar6 != 0
            ) {
        if (0 < *(long *)(param_1 + 8)) {
          local_b8 = 0;
          do {
            dVar19 = DAT_003f95f8;
            lVar7 = *local_c0;
            lVar14 = 7;
            do {
              ResetMagickMemory(&local_98,0,0x58);
              local_50 = dVar19;
              local_98 = *param_1;
              iStack_94 = param_1[1];
              local_88 = *(undefined8 *)(param_1 + 0xa6);
              local_80 = *(undefined8 *)(param_1 + 0xc);
              local_90 = param_1[0xcf];
              if (lVar6 != 0) {
                lVar15 = *(long *)(param_1 + 0xd8);
                local_70 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 8) * 4);
                local_68 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x18) * 4);
                local_60 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x28) * 4);
                if (*(int *)(lVar15 + 0x34) != 0) {
                  local_58 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x38) * 4);
                }
                if (*(int *)(lVar15 + 0x44) != 0) {
                  local_50 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x48) * 4);
                  local_90 = 4;
                }
                if (*(int *)(lVar15 + 0x54) != 0) {
                  local_48 = (double)*(float *)(lVar6 + *(long *)(lVar15 + 0x58) * 4);
                }
              }
              fVar16 = (float)local_70;
              if (NAN(fVar16)) {
                uVar11 = 0;
              }
              else {
                uVar11 = 0;
                if (0.0 < fVar16) {
                  uVar11 = 0xffffffff;
                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {
                    uVar11 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              bVar2 = (byte)lVar14;
              fVar16 = (float)local_68;
              if (NAN(fVar16)) {
                uVar12 = 0;
              }
              else {
                uVar12 = 0;
                if (0.0 < fVar16) {
                  uVar12 = 0xffffffff;
                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {
                    uVar12 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              fVar16 = (float)local_60;
              if (NAN(fVar16)) {
                uVar3 = 0;
              }
              else {
                uVar3 = 0;
                if (0.0 < fVar16) {
                  uVar3 = 0xffffffff;
                  if ((double)fVar16 / DAT_00404930 < DAT_00404938) {
                    uVar3 = (uint)((double)fVar16 / DAT_00404930 + DAT_003f9c28);
                  }
                }
              }
              uVar11 = ((int)(uVar3 & 0xff) >> (bVar2 & 0x1f) & 1U) << 2 |
                       ((int)(uVar12 & 0xff) >> (bVar2 & 0x1f)) * 2 & 2U |
                       (int)(uVar11 & 0xff) >> (bVar2 & 0x1f) & 1U;
              if (param_1[0xcf] != 0) {
                fVar16 = (float)local_50;
                if (NAN(fVar16)) {
                  bVar10 = 0;
                }
                else {
                  bVar10 = 0;
                  if (0.0 < fVar16) {
                    bVar10 = 0xff;
                    if ((double)fVar16 / DAT_00404930 < DAT_00404938) {
                      bVar10 = (byte)(int)((double)fVar16 / DAT_00404930 + DAT_003f9c28);
                    }
                  }
                }
                uVar11 = uVar11 | ((int)(uint)bVar10 >> (bVar2 & 0x1f) & 1U) << 3;
              }
              plVar1 = (long *)(lVar7 + (long)(int)uVar11 * 8);
              if (*plVar1 == 0) {
                lVar7 = FUN_00212c16(local_c0,8 - lVar14);
                *plVar1 = lVar7;
                if (lVar7 == 0) {
                  ThrowMagickException
                            (param_2,"MagickCore/histogram.c","ClassifyImageColors",0xfa,400,
                             "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);
                  local_c0 = (long *)0x0;
                  goto LAB_00213193;
                }
              }
              lVar7 = *plVar1;
              lVar14 = lVar14 + -1;
            } while (lVar14 != 0);
            lVar14 = *(long *)(lVar7 + 0x90);
            if (lVar14 < 1) {
              lVar15 = 0;
            }
            else {
              dVar19 = DAT_003f95f8;
              if (local_90 != 0) {
                dVar19 = local_50;
              }
              dVar20 = dVar19;
              if (dVar19 < 0.0) {
                dVar20 = (double)((ulong)dVar19 ^ DAT_003f9610);
              }
              piVar8 = (int *)(*(long *)(lVar7 + 0x80) + 8);
              lVar13 = 0;
              do {
                dVar18 = DAT_003f95f8;
                if (*piVar8 != 0) {
                  dVar18 = *(double *)(piVar8 + 0x10);
                }
                dVar17 = dVar19 - dVar18;
                if (dVar17 < 0.0) {
                  dVar17 = (double)((ulong)dVar17 ^ DAT_003f9610);
                }
                if (DAT_003f9600 <= dVar17) goto LAB_002132b1;
                if (dVar20 < DAT_003f9600) {
LAB_0021338d:
                  lVar15 = lVar13;
                  if (lVar13 < lVar14) {
                    plVar1 = (long *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13 * 0x58);
                    *plVar1 = *plVar1 + 1;
                    goto LAB_002133a0;
                  }
                  break;
                }
                if (dVar18 < 0.0) {
                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                }
                if (dVar18 < DAT_003f9600) goto LAB_0021338d;
                dVar18 = local_70 - *(double *)(piVar8 + 8);
                if (dVar18 < 0.0) {
                  dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                }
                if (dVar18 < DAT_003f9600) {
                  dVar18 = local_68 - *(double *)(piVar8 + 10);
                  if (dVar18 < 0.0) {
                    dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                  }
                  if (dVar18 < DAT_003f9600) {
                    dVar18 = local_60 - *(double *)(piVar8 + 0xc);
                    if (dVar18 < 0.0) {
                      dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                    }
                    if (dVar18 < DAT_003f9600) {
                      if (iStack_94 == 2) {
                        dVar18 = local_58 - *(double *)(piVar8 + 0xe);
                        if (dVar18 < 0.0) {
                          dVar18 = (double)((ulong)dVar18 ^ DAT_003f9610);
                        }
                        if (DAT_003f9600 <= dVar18) goto LAB_002132b1;
                      }
                      goto LAB_0021338d;
                    }
                  }
                }
LAB_002132b1:
                lVar13 = lVar13 + 1;
                piVar8 = piVar8 + 0x16;
                lVar15 = lVar14;
              } while (lVar13 != lVar14);
            }
            if (lVar14 == 0) {
              *(undefined8 *)(lVar7 + 0x88) = 1;
              uVar9 = AcquireQuantumMemory(1,0x58);
              *(undefined8 *)(lVar7 + 0x80) = uVar9;
            }
            else if (*(long *)(lVar7 + 0x88) <= lVar15) {
              lVar14 = *(long *)(lVar7 + 0x88) * 2;
              *(long *)(lVar7 + 0x88) = lVar14;
              uVar9 = ResizeQuantumMemory(*(undefined8 *)(lVar7 + 0x80),lVar14,0x58);
              *(undefined8 *)(lVar7 + 0x80) = uVar9;
            }
            lVar14 = *(long *)(lVar7 + 0x80);
            if (lVar14 == 0) {
              ThrowMagickException
                        (param_2,"MagickCore/histogram.c","ClassifyImageColors",0x119,400,
                         "MemoryAllocationFailed","`%s\'",param_1 + 0xfe);
              local_c0 = (long *)0x0;
              goto LAB_00213193;
            }
            lVar13 = lVar15 * 0x58;
            *(ulong *)(lVar14 + lVar15 * 0x58) = CONCAT44(iStack_94,local_98);
            *(ulong *)(lVar14 + 8 + lVar13) = CONCAT44(uStack_8c,local_90);
            *(undefined8 *)(lVar14 + 0x10 + lVar13) = local_88;
            *(undefined8 *)(lVar14 + 0x18 + lVar13) = local_80;
            *(undefined8 *)(lVar14 + 0x20 + lVar13) = local_78;
            *(double *)(lVar14 + 0x28 + lVar13) = local_70;
            *(double *)(lVar14 + 0x30 + lVar13) = local_68;
            *(double *)(lVar14 + 0x38 + lVar13) = local_60;
            *(double *)(lVar14 + 0x40 + lVar13) = local_58;
            *(double *)(lVar14 + 0x48 + lVar13) = local_50;
            *(double *)(lVar14 + 0x50 + lVar13) = local_48;
            *(double *)(*(long *)(lVar7 + 0x80) + 0x28 + lVar13) =
                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 8) * 4);
            *(double *)(*(long *)(lVar7 + 0x80) + 0x30 + lVar13) =
                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x18) * 4);
            *(double *)(*(long *)(lVar7 + 0x80) + 0x38 + lVar13) =
                 (double)*(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x28) * 4);
            if (param_1[1] == 2) {
              fVar16 = 0.0;
              if (*(int *)(*(long *)(param_1 + 0xd8) + 0x34) != 0) {
                fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x38) * 4);
              }
              *(double *)(*(long *)(lVar7 + 0x80) + 0x40 + lVar13) = (double)fVar16;
            }
            fVar16 = _DAT_003fa400;
            if (*(int *)(*(long *)(param_1 + 0xd8) + 0x44) != 0) {
              fVar16 = *(float *)(lVar6 + *(long *)(*(long *)(param_1 + 0xd8) + 0x48) * 4);
            }
            *(double *)(*(long *)(lVar7 + 0x80) + 0x48 + lVar13) = (double)fVar16;
            *(undefined8 *)(*(long *)(lVar7 + 0x80) + 0x20 + lVar13) = 1;
            *(long *)(lVar7 + 0x90) = *(long *)(lVar7 + 0x90) + 1;
            local_c0[3] = local_c0[3] + 1;
LAB_002133a0:
            lVar6 = lVar6 + *(long *)(param_1 + 0xd0) * 4;
            local_b8 = local_b8 + 1;
          } while (local_b8 < *(long *)(param_1 + 8));
        }
        iVar4 = SetImageProgress(param_1,"  Compute image colors...  ",local_a8,
                                 *(undefined8 *)(param_1 + 10));
        if ((iVar4 == 0) || (local_a8 = local_a8 + 1, *(long *)(param_1 + 10) <= local_a8)) break;
      }
    }
    DestroyCacheView(uVar5);
  }
LAB_00213193:
  if (local_40 != *(long *)(in_FS_OFFSET + 0x28)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail();
  }
  return local_c0;
}

