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

PointInfo * GetImageConvexHull(Image *image,size_t *number_vertices,ExceptionInfo *exception)

{
  double dVar1;
  int iVar2;
  PixelChannelMap *pPVar3;
  PointInfo *pPVar4;
  double dVar5;
  bool bVar6;
  MemoryInfo *memory_info;
  CacheView *cache_view;
  int iVar7;
  Quantum *pQVar8;
  MagickBooleanType MVar9;
  size_t sVar10;
  PointInfo *pPVar11;
  PointInfo *pPVar12;
  int iVar13;
  PointInfo **ppPVar14;
  PointInfo *pPVar15;
  PixelInfo *pPVar16;
  Image **ppIVar17;
  PixelInfo *pPVar18;
  int in_GS_OFFSET;
  byte bVar19;
  int local_2a4;
  size_t local_2a0;
  int local_298;
  PointInfo **monotone_chain;
  PixelInfo background;
  PixelInfo pixel;
  Image *local_1d4;
  CacheView *local_1d0;
  ExceptionInfo *local_1cc;
  char *local_1c8;
  double *local_1c4;
  PixelInfo *local_1c0;
  double census [4];
  PixelInfo background_1 [4];
  
  bVar19 = 0;
  iVar2 = *(int *)(in_GS_OFFSET + 0x14);
  if (image == (Image *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");
  }
  if (image->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,
                  "GetImageConvexHull");
  }
  if (image->debug != MagickFalse) {
    LogMagickEvent(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%s",
                   image->filename);
  }
  *number_vertices = 0;
  memory_info = AcquireVirtualMemory(image->columns,image->rows << 4);
  monotone_chain = (PointInfo **)AcquireQuantumMemory(image->columns * 2,image->rows << 3);
  if ((memory_info == (MemoryInfo *)0x0) || (monotone_chain == (PointInfo **)0x0)) {
    if (monotone_chain != (PointInfo **)0x0) {
      monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);
    }
    pPVar15 = (PointInfo *)0x0;
    if (memory_info != (MemoryInfo *)0x0) {
      RelinquishVirtualMemory(memory_info);
    }
  }
  else {
    pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info);
    cache_view = AcquireVirtualCacheView(image,exception);
    local_1c8 = GetImageArtifact(image,"convex-hull:background-color");
    if (local_1c8 == (char *)0x0) {
      local_1c8 = GetImageArtifact(image,"background");
    }
    local_1d4 = image;
    local_1cc = exception;
    local_1d0 = cache_view;
    local_1c4 = census;
    local_1c0 = background_1;
    GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);
    iVar7 = 0;
    dVar5 = -1.0;
    do {
      dVar1 = census[iVar7];
      if (dVar5 < dVar1) {
        pPVar16 = background_1 + iVar7;
        pPVar18 = &pixel;
        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {
          pPVar18->storage_class = pPVar16->storage_class;
          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);
          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);
        }
      }
      iVar7 = iVar7 + 1;
    } while (iVar7 != 4);
    pPVar16 = &pixel;
    ppIVar17 = &local_1d4;
    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {
      *ppIVar17 = (Image *)pPVar16->storage_class;
      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);
      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;
    }
    ppIVar17 = &local_1d4;
    pPVar16 = &background;
    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {
      pPVar16->storage_class = (ClassType)*ppIVar17;
      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;
      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);
    }
    if ((int)image->rows < 1) {
      local_2a0 = 0;
    }
    else {
      local_2a4 = 0;
      local_2a0 = 0;
      bVar6 = true;
      do {
        local_298 = local_2a4 + 1;
        if (bVar6) {
          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);
          if (pQVar8 == (Quantum *)0x0) {
            sVar10 = image->rows;
            if (local_298 < (int)sVar10) {
              local_298 = local_2a4 + 2;
              goto LAB_0003fc18;
            }
            break;
          }
          iVar7 = 0;
          if ((int)image->columns < 1) {
            sVar10 = image->rows;
            local_2a4 = local_298;
          }
          else {
            do {
              ResetMagickMemory(&pixel,0,0x50);
              pixel.storage_class = image->storage_class;
              pixel.alpha = (MagickRealType)DAT_0029f710;
              pixel.fuzz = image->fuzz;
              pixel.colorspace = image->colorspace;
              pixel.depth = image->depth;
              pixel.alpha_trait = image->alpha_trait;
              if (pQVar8 != (Quantum *)0x0) {
                pPVar3 = image->channel_map;
                pixel.red = pQVar8[pPVar3->offset];
                pixel.green = pQVar8[pPVar3[1].offset];
                pixel.blue = pQVar8[pPVar3[2].offset];
                if (pPVar3[3].traits != UndefinedPixelTrait) {
                  pixel.black = pQVar8[pPVar3[3].offset];
                }
                if (pPVar3[4].traits != UndefinedPixelTrait) {
                  pixel.alpha = pQVar8[pPVar3[4].offset];
                  pixel.alpha_trait = BlendPixelTrait;
                }
                if (pPVar3[5].traits != UndefinedPixelTrait) {
                  pixel.index = pQVar8[pPVar3[5].offset];
                }
              }
              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);
              if (MVar9 == MagickFalse) {
                pPVar15[local_2a0].x = (double)iVar7;
                pPVar15[local_2a0].y = (double)local_2a4;
                local_2a0 = local_2a0 + 1;
              }
              iVar7 = iVar7 + 1;
              pQVar8 = pQVar8 + image->number_channels;
            } while (iVar7 < (int)image->columns);
            sVar10 = image->rows;
            local_2a4 = local_298;
          }
        }
        else {
          sVar10 = image->rows;
LAB_0003fc18:
          if ((int)sVar10 <= local_298) break;
          bVar6 = false;
          local_2a4 = local_298 + 1;
        }
      } while (local_2a4 < (int)sVar10);
    }
    DestroyCacheView(cache_view);
    TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices);
    pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10);
    if ((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)) {
      pPVar11 = pPVar15;
      ppPVar14 = monotone_chain;
      do {
        pPVar4 = *ppPVar14;
        pPVar12 = pPVar11 + 1;
        ppPVar14 = ppPVar14 + 1;
        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;
        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);
        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;
        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);
        pPVar11 = pPVar12;
      } while (pPVar12 != pPVar15 + sVar10);
    }
    monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);
    RelinquishVirtualMemory(memory_info);
  }
  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return pPVar15;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 * GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)

{
  double dVar1;
  undefined4 *puVar2;
  double dVar3;
  bool bVar4;
  int iVar5;
  int iVar6;
  undefined4 uVar7;
  int iVar8;
  int iVar9;
  double *pdVar10;
  undefined4 *puVar11;
  undefined4 *puVar12;
  int iVar13;
  int *piVar14;
  undefined4 *puVar15;
  undefined4 **ppuVar16;
  int in_GS_OFFSET;
  byte bVar17;
  int local_2a4;
  int local_2a0;
  int local_298;
  int *local_278;
  undefined4 local_274 [20];
  undefined4 local_224;
  undefined4 local_220;
  undefined4 local_21c;
  undefined8 local_218;
  undefined4 local_210;
  undefined8 local_204;
  undefined8 local_1fc;
  undefined8 local_1f4;
  undefined8 local_1ec;
  double local_1e4;
  undefined8 local_1dc;
  undefined4 *local_1d4;
  undefined4 local_1d0;
  undefined4 local_1cc;
  int local_1c8;
  double *local_1c4;
  undefined4 *local_1c0;
  double local_184 [4];
  undefined4 local_160 [80];
  int local_20;
  undefined4 uStack_14;
  
  bVar17 = 0;
  uStack_14 = 0x3f769;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == (undefined4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");
  }
  if (param_1[0xcd1] != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,
                  "GetImageConvexHull");
  }
  if (param_1[0xcca] != 0) {
    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,
                   param_1 + 0xc6);
  }
  *param_2 = 0;
  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);
  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);
  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {
    if (local_278 != (int *)0x0) {
      local_278 = (int *)RelinquishMagickMemory(local_278);
    }
    puVar15 = (undefined4 *)0x0;
    if (iVar5 != 0) {
      RelinquishVirtualMemory(iVar5);
    }
  }
  else {
    iVar6 = GetVirtualMemoryBlob(iVar5);
    uVar7 = AcquireVirtualCacheView(param_1,param_3);
    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");
    if (local_1c8 == 0) {
      local_1c8 = GetImageArtifact(param_1,"background");
    }
    local_1d4 = param_1;
    local_1cc = param_3;
    local_1d0 = uVar7;
    local_1c4 = local_184;
    local_1c0 = local_160;
    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);
    iVar8 = 0;
    dVar3 = -1.0;
    do {
      dVar1 = local_184[iVar8];
      if (dVar3 < dVar1) {
        puVar15 = local_160 + iVar8 * 0x14;
        puVar11 = &local_224;
        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {
          *puVar11 = *puVar15;
          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;
          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;
        }
      }
      iVar8 = iVar8 + 1;
    } while (iVar8 != 4);
    puVar15 = &local_224;
    ppuVar16 = &local_1d4;
    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {
      *ppuVar16 = (undefined4 *)*puVar15;
      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;
      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;
    }
    ppuVar16 = &local_1d4;
    puVar15 = local_274;
    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {
      *puVar15 = *ppuVar16;
      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;
      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;
    }
    if ((int)param_1[7] < 1) {
      local_2a0 = 0;
    }
    else {
      local_2a4 = 0;
      local_2a0 = 0;
      bVar4 = true;
      do {
        local_298 = local_2a4 + 1;
        if (bVar4) {
          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);
          if (iVar8 == 0) {
            iVar8 = param_1[7];
            if (local_298 < iVar8) {
              local_298 = local_2a4 + 2;
              goto LAB_0003fc18;
            }
            break;
          }
          iVar13 = 0;
          if ((int)param_1[6] < 1) {
            iVar8 = param_1[7];
            local_2a4 = local_298;
          }
          else {
            do {
              ResetMagickMemory(&local_224,0,0x50);
              local_224 = *param_1;
              local_1e4 = (double)DAT_0029f710;
              local_218 = *(undefined8 *)(param_1 + 0x88);
              local_220 = param_1[1];
              local_210 = param_1[8];
              local_21c = param_1[0xa5];
              if (iVar8 != 0) {
                iVar9 = param_1[0xaa];
                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);
                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);
                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);
                if (*(int *)(iVar9 + 0x28) != 0) {
                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);
                }
                if (*(int *)(iVar9 + 0x34) != 0) {
                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);
                  local_21c = 4;
                }
                if (*(int *)(iVar9 + 0x40) != 0) {
                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);
                }
              }
              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);
              if (iVar9 == 0) {
                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);
                *pdVar10 = (double)iVar13;
                pdVar10[1] = (double)local_2a4;
                local_2a0 = local_2a0 + 1;
              }
              iVar13 = iVar13 + 1;
              iVar8 = iVar8 + param_1[0xa6] * 8;
            } while (iVar13 < (int)param_1[6]);
            iVar8 = param_1[7];
            local_2a4 = local_298;
          }
        }
        else {
          iVar8 = param_1[7];
LAB_0003fc18:
          if (iVar8 <= local_298) break;
          bVar4 = false;
          local_2a4 = local_298 + 1;
        }
      } while (local_2a4 < iVar8);
    }
    DestroyCacheView(uVar7);
    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);
    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);
    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {
      puVar11 = puVar15;
      piVar14 = local_278;
      do {
        puVar2 = (undefined4 *)*piVar14;
        puVar12 = puVar11 + 4;
        piVar14 = piVar14 + 1;
        *puVar11 = *puVar2;
        puVar11[1] = puVar2[1];
        puVar11[2] = puVar2[2];
        puVar11[3] = puVar2[3];
        puVar11 = puVar12;
      } while (puVar12 != puVar15 + iVar6 * 4);
    }
    local_278 = (int *)RelinquishMagickMemory(local_278);
    RelinquishVirtualMemory(iVar5);
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return puVar15;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x399897
SUB ESP,0x29c
MOV EAX,dword ptr [ESP + 0x2b4]
MOV EBP,dword ptr [ESP + 0x2b0]
MOV dword ptr [ESP + 0x20],EAX
MOV EAX,dword ptr [ESP + 0x2b8]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x28c],EAX
XOR EAX,EAX
TEST EBP,EBP
JZ 0x0003fcb9
CMP dword ptr [EBP + 0x3344],0xabacadab
JNZ 0x0003fc9a
MOV EAX,dword ptr [EBP + 0x3328]
TEST EAX,EAX
JNZ 0x0003fbc0
MOV EAX,dword ptr [ESP + 0x20]
SUB ESP,0x8
MOV dword ptr [EAX],0x0
MOV EAX,dword ptr [EBP + 0x1c]
SHL EAX,0x4
PUSH EAX
PUSH dword ptr [EBP + 0x18]
CALL 0x00032050
MOV dword ptr [ESP + 0x34],EAX
MOV ESI,EAX
POP EDI
POP EAX
MOV EAX,dword ptr [EBP + 0x1c]
SHL EAX,0x3
PUSH EAX
MOV EAX,dword ptr [EBP + 0x18]
ADD EAX,EAX
PUSH EAX
CALL 0x000317b0
MOV dword ptr [ESP + 0x44],EAX
ADD ESP,0x10
TEST ESI,ESI
JZ 0x0003f80c
TEST EAX,EAX
JNZ 0x0003f860
TEST EAX,EAX
JZ 0x0003f820
SUB ESP,0xc
PUSH EAX
CALL 0x00033ac8
MOV dword ptr [ESP + 0x44],EAX
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x24]
XOR ESI,ESI
TEST EAX,EAX
JZ 0x0003f836
SUB ESP,0xc
PUSH EAX
CALL 0x00031d50
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x28c]
XOR EDX,dword ptr GS:[0x14]
MOV EAX,ESI
JNZ 0x0003fc95
ADD ESP,0x29c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [ESP + 0x30]
CALL 0x00032e60
MOV dword ptr [ESP + 0x2c],EAX
POP EAX
POP EDX
PUSH dword ptr [ESP + 0x20]
PUSH EBP
CALL 0x00030eb0
MOV dword ptr [ESP + 0x3c],EAX
POP ECX
LEA EAX,[EBX + 0xffec63b9]
POP ESI
PUSH EAX
PUSH EBP
CALL 0x000318c0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0003fc60
MOV dword ptr [ESP + 0xe4],EAX
MOV EAX,dword ptr [ESP + 0x18]
LEA EDX,[ESP + 0x128]
MOV dword ptr [ESP + 0xd8],EBP
MOV dword ptr [ESP + 0xe8],EDX
MOV dword ptr [ESP + 0x10],EDX
MOV dword ptr [ESP + 0xe0],EAX
MOV EAX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESP + 0xdc],EAX
LEA EAX,[ESP + 0x14c]
MOV dword ptr [ESP + 0x8],EAX
MOV dword ptr [ESP + 0xec],EAX
PUSH 0x0
PUSH 0x0
LEA EAX,[ESP + 0xe0]
MOV dword ptr [ESP + 0x14],EAX
PUSH EAX
LEA EAX,[EBX + 0xffc64c30]
PUSH EAX
CALL 0x000324d0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
XOR EAX,EAX
FLD1
LEA ECX,[ESP + 0x88]
FCHS
MOV dword ptr [ESP + 0x4],ECX
FLD qword ptr [EDX + EAX*0x8]
FUCOMI ST0,ST1
JBE 0x0003f940
FSTP ST1
LEA ESI,[EAX + EAX*0x4]
MOV ECX,0x14
MOV EDI,dword ptr [ESP + 0x4]
SHL ESI,0x4
ADD ESI,dword ptr [ESP + 0x8]
MOVSD.REP ES:EDI,ESI
JMP 0x0003f942
FSTP ST0
ADD EAX,0x1
CMP EAX,0x4
JNZ 0x0003f916
FSTP ST0
MOV ECX,0x14
MOV EDI,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ESP + 0x4]
MOVSD.REP ES:EDI,ESI
LEA EDI,[ESP + 0x38]
MOV ECX,0x14
MOV dword ptr [ESP + 0x10],EDI
LEA ESI,[ESP + 0xd8]
MOVSD.REP ES:EDI,ESI
MOV EDI,dword ptr [EBP + 0x1c]
TEST EDI,EDI
JLE 0x0003fc88
MOV dword ptr [ESP + 0x8],0x0
MOV dword ptr [ESP + 0xc],0x0
MOV dword ptr [ESP + 0x28],0x1
MOV EAX,dword ptr [ESP + 0x8]
MOV ESI,dword ptr [ESP + 0x28]
ADD EAX,0x1
MOV dword ptr [ESP + 0x14],EAX
TEST ESI,ESI
JZ 0x0003fc80
SUB ESP,0x8
PUSH dword ptr [ESP + 0x20]
PUSH 0x1
PUSH dword ptr [EBP + 0x18]
PUSH dword ptr [ESP + 0x1c]
PUSH 0x0
PUSH dword ptr [ESP + 0x48]
CALL 0x00031280
ADD ESP,0x20
MOV EDI,EAX
TEST EAX,EAX
JZ 0x0003fc00
MOV ECX,dword ptr [EBP + 0x18]
XOR ESI,ESI
TEST ECX,ECX
JLE 0x0003fc40
SUB ESP,0x4
PUSH 0x50
PUSH 0x0
PUSH dword ptr [ESP + 0x10]
CALL 0x00032b20
MOV EAX,dword ptr [EBP]
FLD dword ptr [EBX + 0xffec6710]
FSTP qword ptr [ESP + 0xd8]
FLD qword ptr [EBP + 0x220]
FSTP qword ptr [ESP + 0xa4]
MOV dword ptr [ESP + 0x98],EAX
MOV EAX,dword ptr [EBP + 0x4]
MOV dword ptr [ESP + 0x9c],EAX
MOV EAX,dword ptr [EBP + 0x20]
MOV dword ptr [ESP + 0xac],EAX
MOV EAX,dword ptr [EBP + 0x294]
MOV dword ptr [ESP + 0xa0],EAX
ADD ESP,0x10
TEST EDI,EDI
JZ 0x0003fab0
MOV EAX,dword ptr [EBP + 0x2a8]
MOV ECX,dword ptr [EAX + 0x8]
MOV EDX,dword ptr [EAX + 0x28]
FLD qword ptr [EDI + ECX*0x8]
MOV ECX,dword ptr [EAX + 0x14]
FSTP qword ptr [ESP + 0xa8]
FLD qword ptr [EDI + ECX*0x8]
MOV ECX,dword ptr [EAX + 0x20]
FSTP qword ptr [ESP + 0xb0]
FLD qword ptr [EDI + ECX*0x8]
FSTP qword ptr [ESP + 0xb8]
TEST EDX,EDX
JZ 0x0003fa7d
MOV ECX,dword ptr [EAX + 0x2c]
FLD qword ptr [EDI + ECX*0x8]
FSTP qword ptr [ESP + 0xc0]
MOV ECX,dword ptr [EAX + 0x34]
TEST ECX,ECX
JZ 0x0003fa9c
MOV ECX,dword ptr [EAX + 0x38]
FLD qword ptr [EDI + ECX*0x8]
MOV dword ptr [ESP + 0x90],0x4
FSTP qword ptr [ESP + 0xc8]
MOV EDX,dword ptr [EAX + 0x40]
TEST EDX,EDX
JZ 0x0003fab0
MOV EAX,dword ptr [EAX + 0x44]
FLD qword ptr [EDI + EAX*0x8]
FSTP qword ptr [ESP + 0xd0]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [ESP + 0x10]
CALL 0x00032cf0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0003faec
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0xc],ESI
FILD dword ptr [ESP + 0xc]
MOV EAX,EDX
ADD EDX,0x1
SHL EAX,0x4
ADD EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0xc],EDX
FSTP qword ptr [EAX]
FILD dword ptr [ESP + 0x8]
FSTP qword ptr [EAX + 0x8]
MOV EAX,dword ptr [EBP + 0x298]
ADD ESI,0x1
CMP dword ptr [EBP + 0x18],ESI
LEA EDI,[EDI + EAX*0x8]
JG 0x0003f9e0
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [ESP + 0x8],EDX
CMP EAX,dword ptr [ESP + 0x8]
JG 0x0003f994
SUB ESP,0xc
PUSH dword ptr [ESP + 0x38]
CALL 0x00032f30
ADD ESP,0x10
MOV EDI,dword ptr [ESP + 0x20]
PUSH EDI
LEA EAX,[ESP + 0x38]
PUSH EAX
PUSH dword ptr [ESP + 0x14]
PUSH dword ptr [ESP + 0x28]
CALL 0x000318a0
POP EDX
POP ECX
PUSH 0x10
PUSH dword ptr [EDI]
CALL 0x000317b0
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JZ 0x0003fc50
MOV EDI,dword ptr [EDI]
MOV EBP,dword ptr [ESP + 0x34]
TEST EDI,EDI
JZ 0x0003fb97
SHL EDI,0x4
MOV ECX,EBP
MOV dword ptr [ESP + 0x4],EAX
ADD EDI,EAX
LEA ESI,[ESI]
MOV EDX,dword ptr [ECX]
ADD EAX,0x10
ADD ECX,0x4
MOV ESI,dword ptr [EDX]
MOV dword ptr [EAX + -0x10],ESI
MOV ESI,dword ptr [EDX + 0x4]
MOV dword ptr [EAX + -0xc],ESI
MOV ESI,dword ptr [EDX + 0x8]
MOV dword ptr [EAX + -0x8],ESI
MOV EDX,dword ptr [EDX + 0xc]
MOV dword ptr [EAX + -0x4],EDX
CMP EAX,EDI
JNZ 0x0003fb70
MOV ESI,dword ptr [ESP + 0x4]
SUB ESP,0xc
PUSH EBP
CALL 0x00033ac8
MOV dword ptr [ESP + 0x44],EAX
POP EAX
PUSH dword ptr [ESP + 0x30]
CALL 0x00031d50
ADD ESP,0x10
JMP 0x0003f836
LEA EAX,[EBP + 0x318]
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xffedde4e]
PUSH EAX
LEA EAX,[EBX + 0xffec6698]
PUSH 0x2ed
PUSH EAX
LEA EAX,[EBX + 0xffec6366]
PUSH EAX
PUSH 0x8000
CALL 0x000323b0
ADD ESP,0x20
JMP 0x0003f7c7
MOV EAX,dword ptr [EBP + 0x1c]
CMP EAX,dword ptr [ESP + 0x14]
JLE 0x0003fb16
MOV EDX,dword ptr [ESP + 0x8]
ADD EDX,0x2
MOV dword ptr [ESP + 0x14],EDX
CMP EAX,dword ptr [ESP + 0x14]
JLE 0x0003fb16
MOV EDX,dword ptr [ESP + 0x14]
MOV dword ptr [ESP + 0x28],0x0
ADD EDX,0x1
MOV dword ptr [ESP + 0x8],EDX
JMP 0x0003fb0c
MOV ECX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [ESP + 0x8],ECX
JMP 0x0003fb0c
MOV EBP,dword ptr [ESP + 0x34]
JMP 0x0003fb97
LEA EAX,[EBX + 0xffee5302]
SUB ESP,0x8
PUSH EAX
PUSH EBP
CALL 0x000318c0
ADD ESP,0x10
JMP 0x0003f89a
MOV EAX,dword ptr [EBP + 0x1c]
JMP 0x0003fc18
MOV dword ptr [ESP + 0xc],0x0
JMP 0x0003fb16
CALL 0x0029eab0
LEA EAX,[EBX + 0xffec66ac]
PUSH EAX
LEA EAX,[EBX + 0xffec6366]
PUSH 0x2eb
PUSH EAX
LEA EAX,[EBX + 0xffed1338]
PUSH EAX
CALL 0x000313d0
LEA EAX,[EBX + 0xffec66ac]
PUSH EAX
LEA EAX,[EBX + 0xffec6366]
PUSH 0x2ea
PUSH EAX
LEA EAX,[EBX + 0xffede594]
PUSH EAX
CALL 0x000313d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  double dVar1;\n  undefined4 *puVar2;\n  double dVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  double *pdVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  int *piVar14;\n  undefined4 *puVar15;\n  undefined4 **ppuVar16;\n  int in_GS_OFFSET;\n  byte bVar17;\n  int local_2a4;\n  int local_2a0;\n  int local_298;\n  int *local_278;\n  undefined4 local_274 [20];\n  undefined4 local_224;\n  undefined4 local_220;\n  undefined4 local_21c;\n  undefined8 local_218;\n  undefined4 local_210;\n  undefined8 local_204;\n  undefined8 local_1fc;\n  undefined8 local_1f4;\n  undefined8 local_1ec;\n  double local_1e4;\n  undefined8 local_1dc;\n  undefined4 *local_1d4;\n  undefined4 local_1d0;\n  undefined4 local_1cc;\n  int local_1c8;\n  double *local_1c4;\n  undefined4 *local_1c0;\n  double local_184 [4];\n  undefined4 local_160 [80];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar17 = 0;\n  uStack_14 = 0x3f769;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (param_1[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }\n  *param_2 = 0;\n  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);\n  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);\n  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return puVar15;\n}\n\n" comment (function_definition "undefined4 * GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  double dVar1;\n  undefined4 *puVar2;\n  double dVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  double *pdVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  int *piVar14;\n  undefined4 *puVar15;\n  undefined4 **ppuVar16;\n  int in_GS_OFFSET;\n  byte bVar17;\n  int local_2a4;\n  int local_2a0;\n  int local_298;\n  int *local_278;\n  undefined4 local_274 [20];\n  undefined4 local_224;\n  undefined4 local_220;\n  undefined4 local_21c;\n  undefined8 local_218;\n  undefined4 local_210;\n  undefined8 local_204;\n  undefined8 local_1fc;\n  undefined8 local_1f4;\n  undefined8 local_1ec;\n  double local_1e4;\n  undefined8 local_1dc;\n  undefined4 *local_1d4;\n  undefined4 local_1d0;\n  undefined4 local_1cc;\n  int local_1c8;\n  double *local_1c4;\n  undefined4 *local_1c0;\n  double local_184 [4];\n  undefined4 local_160 [80];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar17 = 0;\n  uStack_14 = 0x3f769;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (param_1[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }\n  *param_2 = 0;\n  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);\n  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);\n  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return puVar15;\n}" type_identifier (pointer_declarator "* GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)" * (function_declarator "GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  double dVar1;\n  undefined4 *puVar2;\n  double dVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  double *pdVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  int *piVar14;\n  undefined4 *puVar15;\n  undefined4 **ppuVar16;\n  int in_GS_OFFSET;\n  byte bVar17;\n  int local_2a4;\n  int local_2a0;\n  int local_298;\n  int *local_278;\n  undefined4 local_274 [20];\n  undefined4 local_224;\n  undefined4 local_220;\n  undefined4 local_21c;\n  undefined8 local_218;\n  undefined4 local_210;\n  undefined8 local_204;\n  undefined8 local_1fc;\n  undefined8 local_1f4;\n  undefined8 local_1ec;\n  double local_1e4;\n  undefined8 local_1dc;\n  undefined4 *local_1d4;\n  undefined4 local_1d0;\n  undefined4 local_1cc;\n  int local_1c8;\n  double *local_1c4;\n  undefined4 *local_1c0;\n  double local_184 [4];\n  undefined4 local_160 [80];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar17 = 0;\n  uStack_14 = 0x3f769;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (param_1[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }\n  *param_2 = 0;\n  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);\n  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);\n  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return puVar15;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "double *pdVar10;" primitive_type (pointer_declarator "*pdVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 **ppuVar16;" type_identifier (pointer_declarator "**ppuVar16" * (pointer_declarator "*ppuVar16" * identifier)) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar17;" type_identifier identifier ;) (declaration "int local_2a4;" primitive_type identifier ;) (declaration "int local_2a0;" primitive_type identifier ;) (declaration "int local_298;" primitive_type identifier ;) (declaration "int *local_278;" primitive_type (pointer_declarator "*local_278" * identifier) ;) (declaration "undefined4 local_274 [20];" type_identifier (array_declarator "local_274 [20]" identifier [ number_literal ]) ;) (declaration "undefined4 local_224;" type_identifier identifier ;) (declaration "undefined4 local_220;" type_identifier identifier ;) (declaration "undefined4 local_21c;" type_identifier identifier ;) (declaration "undefined8 local_218;" type_identifier identifier ;) (declaration "undefined4 local_210;" type_identifier identifier ;) (declaration "undefined8 local_204;" type_identifier identifier ;) (declaration "undefined8 local_1fc;" type_identifier identifier ;) (declaration "undefined8 local_1f4;" type_identifier identifier ;) (declaration "undefined8 local_1ec;" type_identifier identifier ;) (declaration "double local_1e4;" primitive_type identifier ;) (declaration "undefined8 local_1dc;" type_identifier identifier ;) (declaration "undefined4 *local_1d4;" type_identifier (pointer_declarator "*local_1d4" * identifier) ;) (declaration "undefined4 local_1d0;" type_identifier identifier ;) (declaration "undefined4 local_1cc;" type_identifier identifier ;) (declaration "int local_1c8;" primitive_type identifier ;) (declaration "double *local_1c4;" primitive_type (pointer_declarator "*local_1c4" * identifier) ;) (declaration "undefined4 *local_1c0;" type_identifier (pointer_declarator "*local_1c0" * identifier) ;) (declaration "double local_184 [4];" primitive_type (array_declarator "local_184 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_160 [80];" type_identifier (array_declarator "local_160 [80]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x3f769;" (assignment_expression "uStack_14 = 0x3f769" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\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 != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull")" identifier (argument_list "("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/attribute.c"" " string_content ") , number_literal , (string_literal ""GetImageConvexHull"" " string_content ") ))) ;) })) (if_statement "if (param_1[0xcd1] != -0x54535255) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }" if (parenthesized_expression "(param_1[0xcd1] != -0x54535255)" ( (binary_expression "param_1[0xcd1] != -0x54535255" (subscript_expression "param_1[0xcd1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/attribute.c"" " string_content ") , number_literal , (string_literal ""GetImageConvexHull"" " string_content ") ))) ;) })) (if_statement "if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }" if (parenthesized_expression "(param_1[0xcca] != 0)" ( (binary_expression "param_1[0xcca] != 0" (subscript_expression "param_1[0xcca]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);" (call_expression "LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6)" identifier (argument_list "(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6)" ( number_literal , (string_literal ""MagickCore/attribute.c"" " string_content ") , (string_literal ""GetImageConvexHull"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "param_1 + 0xc6" identifier + number_literal) ))) ;) })) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);" (assignment_expression "iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4)" identifier = (call_expression "AcquireVirtualMemory(param_1[6],param_1[7] << 4)" identifier (argument_list "(param_1[6],param_1[7] << 4)" ( (subscript_expression "param_1[6]" identifier [ number_literal ]) , (binary_expression "param_1[7] << 4" (subscript_expression "param_1[7]" identifier [ number_literal ]) << number_literal) )))) ;) (expression_statement "local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);" (assignment_expression "local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" identifier = (cast_expression "(int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" identifier (argument_list "(param_1[6] * 2,param_1[7] << 3)" ( (binary_expression "param_1[6] * 2" (subscript_expression "param_1[6]" identifier [ number_literal ]) * number_literal) , (binary_expression "param_1[7] << 3" (subscript_expression "param_1[7]" identifier [ number_literal ]) << number_literal) ))))) ;) (if_statement "if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" if (parenthesized_expression "((iVar5 == 0) || (local_278 == (int *)0x0))" ( (binary_expression "(iVar5 == 0) || (local_278 == (int *)0x0)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_278 == (int *)0x0)" ( (binary_expression "local_278 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }" { (if_statement "if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }" if (parenthesized_expression "(local_278 != (int *)0x0)" ( (binary_expression "local_278 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }" { (expression_statement "local_278 = (int *)RelinquishMagickMemory(local_278);" (assignment_expression "local_278 = (int *)RelinquishMagickMemory(local_278)" identifier = (cast_expression "(int *)RelinquishMagickMemory(local_278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "RelinquishMagickMemory(local_278)" identifier (argument_list "(local_278)" ( identifier ))))) ;) })) (expression_statement "puVar15 = (undefined4 *)0x0;" (assignment_expression "puVar15 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      RelinquishVirtualMemory(iVar5);\n    }" { (expression_statement "RelinquishVirtualMemory(iVar5);" (call_expression "RelinquishVirtualMemory(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) })) }) (else_clause "else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" else (compound_statement "{\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" { (expression_statement "iVar6 = GetVirtualMemoryBlob(iVar5);" (assignment_expression "iVar6 = GetVirtualMemoryBlob(iVar5)" identifier = (call_expression "GetVirtualMemoryBlob(iVar5)" identifier (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "uVar7 = AcquireVirtualCacheView(param_1,param_3);" (assignment_expression "uVar7 = AcquireVirtualCacheView(param_1,param_3)" identifier = (call_expression "AcquireVirtualCacheView(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier )))) ;) (expression_statement "local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");" (assignment_expression "local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color")" identifier = (call_expression "GetImageArtifact(param_1,"convex-hull:background-color")" identifier (argument_list "(param_1,"convex-hull:background-color")" ( identifier , (string_literal ""convex-hull:background-color"" " string_content ") )))) ;) (if_statement "if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }" if (parenthesized_expression "(local_1c8 == 0)" ( (binary_expression "local_1c8 == 0" identifier == number_literal) )) (compound_statement "{\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }" { (expression_statement "local_1c8 = GetImageArtifact(param_1,"background");" (assignment_expression "local_1c8 = GetImageArtifact(param_1,"background")" identifier = (call_expression "GetImageArtifact(param_1,"background")" identifier (argument_list "(param_1,"background")" ( identifier , (string_literal ""background"" " string_content ") )))) ;) })) (expression_statement "local_1d4 = param_1;" (assignment_expression "local_1d4 = param_1" identifier = identifier) ;) (expression_statement "local_1cc = param_3;" (assignment_expression "local_1cc = param_3" identifier = identifier) ;) (expression_statement "local_1d0 = uVar7;" (assignment_expression "local_1d0 = uVar7" identifier = identifier) ;) (expression_statement "local_1c4 = local_184;" (assignment_expression "local_1c4 = local_184" identifier = identifier) ;) (expression_statement "local_1c0 = local_160;" (assignment_expression "local_1c0 = local_160" identifier = identifier) ;) (expression_statement "GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);" (call_expression "GOMP_parallel(FUN_0003dc30,&local_1d4,0,0)" identifier (argument_list "(FUN_0003dc30,&local_1d4,0,0)" ( identifier , (pointer_expression "&local_1d4" & identifier) , number_literal , number_literal ))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "dVar3 = -1.0;" (assignment_expression "dVar3 = -1.0" identifier = number_literal) ;) (do_statement "do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);" do (compound_statement "{\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    }" { (expression_statement "dVar1 = local_184[iVar8];" (assignment_expression "dVar1 = local_184[iVar8]" identifier = (subscript_expression "local_184[iVar8]" identifier [ identifier ])) ;) (if_statement "if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }" if (parenthesized_expression "(dVar3 < dVar1)" ( (binary_expression "dVar3 < dVar1" identifier < identifier) )) (compound_statement "{\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }" { (expression_statement "puVar15 = local_160 + iVar8 * 0x14;" (assignment_expression "puVar15 = local_160 + iVar8 * 0x14" identifier = (binary_expression "local_160 + iVar8 * 0x14" identifier + (binary_expression "iVar8 * 0x14" identifier * number_literal))) ;) (expression_statement "puVar11 = &local_224;" (assignment_expression "puVar11 = &local_224" identifier = (pointer_expression "&local_224" & identifier)) ;) (for_statement "for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }" for ( (assignment_expression "iVar13 = 0x14" identifier = number_literal) ; (comma_expression "dVar3 = dVar1, iVar13 != 0" (assignment_expression "dVar3 = dVar1" identifier = identifier) , (binary_expression "iVar13 != 0" identifier != number_literal)) ; (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ) (compound_statement "{\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }" { (expression_statement "*puVar11 = *puVar15;" (assignment_expression "*puVar11 = *puVar15" (pointer_expression "*puVar11" * identifier) = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar11 = puVar11 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar11 = puVar11 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "puVar11 + (uint)bVar17 * -2 + 1" (binary_expression "puVar11 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 4)" ( (binary_expression "iVar8 != 4" identifier != number_literal) )) ;) (expression_statement "puVar15 = &local_224;" (assignment_expression "puVar15 = &local_224" identifier = (pointer_expression "&local_224" & identifier)) ;) (expression_statement "ppuVar16 = &local_1d4;" (assignment_expression "ppuVar16 = &local_1d4" identifier = (pointer_expression "&local_1d4" & identifier)) ;) (for_statement "for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }" for ( (assignment_expression "iVar8 = 0x14" identifier = number_literal) ; (binary_expression "iVar8 != 0" identifier != number_literal) ; (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ) (compound_statement "{\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }" { (expression_statement "*ppuVar16 = (undefined4 *)*puVar15;" (assignment_expression "*ppuVar16 = (undefined4 *)*puVar15" (pointer_expression "*ppuVar16" * identifier) = (cast_expression "(undefined4 *)*puVar15" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar15" * identifier))) ;) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;" (assignment_expression "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "ppuVar16 + (uint)bVar17 * -2 + 1" (binary_expression "ppuVar16 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "ppuVar16 = &local_1d4;" (assignment_expression "ppuVar16 = &local_1d4" identifier = (pointer_expression "&local_1d4" & identifier)) ;) (expression_statement "puVar15 = local_274;" (assignment_expression "puVar15 = local_274" identifier = identifier) ;) (for_statement "for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }" for ( (assignment_expression "iVar8 = 0x14" identifier = number_literal) ; (binary_expression "iVar8 != 0" identifier != number_literal) ; (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }" { (expression_statement "*puVar15 = *ppuVar16;" (assignment_expression "*puVar15 = *ppuVar16" (pointer_expression "*puVar15" * identifier) = (pointer_expression "*ppuVar16" * identifier)) ;) (expression_statement "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;" (assignment_expression "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "ppuVar16 + (uint)bVar17 * -2 + 1" (binary_expression "ppuVar16 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (if_statement "if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" if (parenthesized_expression "((int)param_1[7] < 1)" ( (binary_expression "(int)param_1[7] < 1" (cast_expression "(int)param_1[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n      local_2a0 = 0;\n    }" { (expression_statement "local_2a0 = 0;" (assignment_expression "local_2a0 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" else (compound_statement "{\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" { (expression_statement "local_2a4 = 0;" (assignment_expression "local_2a4 = 0" identifier = number_literal) ;) (expression_statement "local_2a0 = 0;" (assignment_expression "local_2a0 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" identifier = true) ;) (do_statement "do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);" do (compound_statement "{\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      }" { (expression_statement "local_298 = local_2a4 + 1;" (assignment_expression "local_298 = local_2a4 + 1" identifier = (binary_expression "local_2a4 + 1" identifier + number_literal)) ;) (if_statement "if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }" { (expression_statement "iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);" (assignment_expression "iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3)" identifier (argument_list "(uVar7,0,local_2a4,param_1[6],1,param_3)" ( identifier , number_literal , identifier , (subscript_expression "param_1[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (if_statement "if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }" { (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (if_statement "if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }" if (parenthesized_expression "(local_298 < iVar8)" ( (binary_expression "local_298 < iVar8" identifier < identifier) )) (compound_statement "{\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }" { (expression_statement "local_298 = local_2a4 + 2;" (assignment_expression "local_298 = local_2a4 + 2" identifier = (binary_expression "local_2a4 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_0003fc18;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" if (parenthesized_expression "((int)param_1[6] < 1)" ( (binary_expression "(int)param_1[6] < 1" (cast_expression "(int)param_1[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" { (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "local_2a4 = local_298;" (assignment_expression "local_2a4 = local_298" identifier = identifier) ;) }) (else_clause "else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" else (compound_statement "{\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" { (do_statement "do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);" do (compound_statement "{\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            }" { (expression_statement "ResetMagickMemory(&local_224,0,0x50);" (call_expression "ResetMagickMemory(&local_224,0,0x50)" identifier (argument_list "(&local_224,0,0x50)" ( (pointer_expression "&local_224" & identifier) , number_literal , number_literal ))) ;) (expression_statement "local_224 = *param_1;" (assignment_expression "local_224 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_1e4 = (double)DAT_0029f710;" (assignment_expression "local_1e4 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "local_218 = *(undefined8 *)(param_1 + 0x88);" (assignment_expression "local_218 = *(undefined8 *)(param_1 + 0x88)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x88)" * (cast_expression "(undefined8 *)(param_1 + 0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) (expression_statement "local_220 = param_1[1];" (assignment_expression "local_220 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_210 = param_1[8];" (assignment_expression "local_210 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (expression_statement "local_21c = param_1[0xa5];" (assignment_expression "local_21c = param_1[0xa5]" identifier = (subscript_expression "param_1[0xa5]" identifier [ number_literal ])) ;) (if_statement "if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }" { (expression_statement "iVar9 = param_1[0xaa];" (assignment_expression "iVar9 = param_1[0xaa]" identifier = (subscript_expression "param_1[0xaa]" identifier [ number_literal ])) ;) (expression_statement "local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);" (assignment_expression "local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 8) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 8) * 8" identifier + (binary_expression "*(int *)(iVar9 + 8) * 8" (pointer_expression "*(int *)(iVar9 + 8)" * (cast_expression "(int *)(iVar9 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 8)" ( (binary_expression "iVar9 + 8" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);" (assignment_expression "local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x14) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x14) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x14) * 8" (pointer_expression "*(int *)(iVar9 + 0x14)" * (cast_expression "(int *)(iVar9 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);" (assignment_expression "local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x20) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x20) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x20) * 8" (pointer_expression "*(int *)(iVar9 + 0x20)" * (cast_expression "(int *)(iVar9 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x20)" ( (binary_expression "iVar9 + 0x20" identifier + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }" if (parenthesized_expression "(*(int *)(iVar9 + 0x28) != 0)" ( (binary_expression "*(int *)(iVar9 + 0x28) != 0" (pointer_expression "*(int *)(iVar9 + 0x28)" * (cast_expression "(int *)(iVar9 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x28)" ( (binary_expression "iVar9 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }" { (expression_statement "local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);" (assignment_expression "local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x2c) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x2c) * 8" (pointer_expression "*(int *)(iVar9 + 0x2c)" * (cast_expression "(int *)(iVar9 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x2c)" ( (binary_expression "iVar9 + 0x2c" identifier + number_literal) )))) * number_literal)) ))))) ;) })) (if_statement "if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }" if (parenthesized_expression "(*(int *)(iVar9 + 0x34) != 0)" ( (binary_expression "*(int *)(iVar9 + 0x34) != 0" (pointer_expression "*(int *)(iVar9 + 0x34)" * (cast_expression "(int *)(iVar9 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x34)" ( (binary_expression "iVar9 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }" { (expression_statement "local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);" (assignment_expression "local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" identifier = (pointer_expression "*(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" * (cast_expression "(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x38) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x38) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x38) * 8" (pointer_expression "*(int *)(iVar9 + 0x38)" * (cast_expression "(int *)(iVar9 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x38)" ( (binary_expression "iVar9 + 0x38" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "local_21c = 4;" (assignment_expression "local_21c = 4" identifier = number_literal) ;) })) (if_statement "if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }" if (parenthesized_expression "(*(int *)(iVar9 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar9 + 0x40) != 0" (pointer_expression "*(int *)(iVar9 + 0x40)" * (cast_expression "(int *)(iVar9 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x40)" ( (binary_expression "iVar9 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }" { (expression_statement "local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);" (assignment_expression "local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x44) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x44) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x44) * 8" (pointer_expression "*(int *)(iVar9 + 0x44)" * (cast_expression "(int *)(iVar9 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) )))) * number_literal)) ))))) ;) })) })) (expression_statement "iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);" (assignment_expression "iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274)" identifier = (call_expression "IsFuzzyEquivalencePixelInfo(&local_224,local_274)" identifier (argument_list "(&local_224,local_274)" ( (pointer_expression "&local_224" & identifier) , identifier )))) ;) (if_statement "if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }" { (expression_statement "pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);" (assignment_expression "pdVar10 = (double *)(local_2a0 * 0x10 + iVar6)" identifier = (cast_expression "(double *)(local_2a0 * 0x10 + iVar6)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2a0 * 0x10 + iVar6)" ( (binary_expression "local_2a0 * 0x10 + iVar6" (binary_expression "local_2a0 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*pdVar10 = (double)iVar13;" (assignment_expression "*pdVar10 = (double)iVar13" (pointer_expression "*pdVar10" * identifier) = (cast_expression "(double)iVar13" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "pdVar10[1] = (double)local_2a4;" (assignment_expression "pdVar10[1] = (double)local_2a4" (subscript_expression "pdVar10[1]" identifier [ number_literal ]) = (cast_expression "(double)local_2a4" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "local_2a0 = local_2a0 + 1;" (assignment_expression "local_2a0 = local_2a0 + 1" identifier = (binary_expression "local_2a0 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar8 + param_1[0xa6] * 8;" (assignment_expression "iVar8 = iVar8 + param_1[0xa6] * 8" identifier = (binary_expression "iVar8 + param_1[0xa6] * 8" identifier + (binary_expression "param_1[0xa6] * 8" (subscript_expression "param_1[0xa6]" identifier [ number_literal ]) * number_literal))) ;) }) while (parenthesized_expression "(iVar13 < (int)param_1[6])" ( (binary_expression "iVar13 < (int)param_1[6]" identifier < (cast_expression "(int)param_1[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) )) ;) (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "local_2a4 = local_298;" (assignment_expression "local_2a4 = local_298" identifier = identifier) ;) }))) }) (else_clause "else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" else (compound_statement "{\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" { (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0003fc18:\n          if (iVar8 <= local_298) break;" statement_identifier : (if_statement "if (iVar8 <= local_298) break;" if (parenthesized_expression "(iVar8 <= local_298)" ( (binary_expression "iVar8 <= local_298" identifier <= identifier) )) (break_statement "break;" break ;))) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (expression_statement "local_2a4 = local_298 + 1;" (assignment_expression "local_2a4 = local_298 + 1" identifier = (binary_expression "local_298 + 1" identifier + number_literal)) ;) }))) }) while (parenthesized_expression "(local_2a4 < iVar8)" ( (binary_expression "local_2a4 < iVar8" identifier < identifier) )) ;) }))) (expression_statement "DestroyCacheView(uVar7);" (call_expression "DestroyCacheView(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "TraceConvexHull(iVar6,local_2a0,&local_278,param_2);" (call_expression "TraceConvexHull(iVar6,local_2a0,&local_278,param_2)" identifier (argument_list "(iVar6,local_2a0,&local_278,param_2)" ( identifier , identifier , (pointer_expression "&local_278" & identifier) , identifier ))) ;) (expression_statement "puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);" (assignment_expression "puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10)" identifier = (cast_expression "(undefined4 *)AcquireQuantumMemory(*param_2,0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(*param_2,0x10)" identifier (argument_list "(*param_2,0x10)" ( (pointer_expression "*param_2" * identifier) , number_literal ))))) ;) (if_statement "if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }" if (parenthesized_expression "((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0))" ( (binary_expression "(puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)" (parenthesized_expression "(puVar15 != (undefined4 *)0x0)" ( (binary_expression "puVar15 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 = *param_2, iVar6 != 0)" ( (comma_expression "iVar6 = *param_2, iVar6 != 0" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }" { (expression_statement "puVar11 = puVar15;" (assignment_expression "puVar11 = puVar15" identifier = identifier) ;) (expression_statement "piVar14 = local_278;" (assignment_expression "piVar14 = local_278" identifier = identifier) ;) (do_statement "do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);" do (compound_statement "{\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      }" { (expression_statement "puVar2 = (undefined4 *)*piVar14;" (assignment_expression "puVar2 = (undefined4 *)*piVar14" identifier = (cast_expression "(undefined4 *)*piVar14" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar14" * identifier))) ;) (expression_statement "puVar12 = puVar11 + 4;" (assignment_expression "puVar12 = puVar11 + 4" identifier = (binary_expression "puVar11 + 4" identifier + number_literal)) ;) (expression_statement "piVar14 = piVar14 + 1;" (assignment_expression "piVar14 = piVar14 + 1" identifier = (binary_expression "piVar14 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = *puVar2;" (assignment_expression "*puVar11 = *puVar2" (pointer_expression "*puVar11" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar11[1] = puVar2[1];" (assignment_expression "puVar11[1] = puVar2[1]" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar11[2] = puVar2[2];" (assignment_expression "puVar11[2] = puVar2[2]" (subscript_expression "puVar11[2]" identifier [ number_literal ]) = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "puVar11[3] = puVar2[3];" (assignment_expression "puVar11[3] = puVar2[3]" (subscript_expression "puVar11[3]" identifier [ number_literal ]) = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" identifier = identifier) ;) }) while (parenthesized_expression "(puVar12 != puVar15 + iVar6 * 4)" ( (binary_expression "puVar12 != puVar15 + iVar6 * 4" identifier != (binary_expression "puVar15 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal))) )) ;) })) (expression_statement "local_278 = (int *)RelinquishMagickMemory(local_278);" (assignment_expression "local_278 = (int *)RelinquishMagickMemory(local_278)" identifier = (cast_expression "(int *)RelinquishMagickMemory(local_278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "RelinquishMagickMemory(local_278)" identifier (argument_list "(local_278)" ( identifier ))))) ;) (expression_statement "RelinquishVirtualMemory(iVar5);" (call_expression "RelinquishVirtualMemory(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" { comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return puVar15;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "LogEventType": Some values do not have unique names */\n\nPointInfo * GetImageConvexHull(Image *image,size_t *number_vertices,ExceptionInfo *exception)\n\n{\n  double dVar1;\n  int iVar2;\n  PixelChannelMap *pPVar3;\n  PointInfo *pPVar4;\n  double dVar5;\n  bool bVar6;\n  MemoryInfo *memory_info;\n  CacheView *cache_view;\n  int iVar7;\n  Quantum *pQVar8;\n  MagickBooleanType MVar9;\n  size_t sVar10;\n  PointInfo *pPVar11;\n  PointInfo *pPVar12;\n  int iVar13;\n  PointInfo **ppPVar14;\n  PointInfo *pPVar15;\n  PixelInfo *pPVar16;\n  Image **ppIVar17;\n  PixelInfo *pPVar18;\n  int in_GS_OFFSET;\n  byte bVar19;\n  int local_2a4;\n  size_t local_2a0;\n  int local_298;\n  PointInfo **monotone_chain;\n  PixelInfo background;\n  PixelInfo pixel;\n  Image *local_1d4;\n  CacheView *local_1d0;\n  ExceptionInfo *local_1cc;\n  char *local_1c8;\n  double *local_1c4;\n  PixelInfo *local_1c0;\n  double census [4];\n  PixelInfo background_1 [4];\n  \n  bVar19 = 0;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%s",\n                   image->filename);\n  }\n  *number_vertices = 0;\n  memory_info = AcquireVirtualMemory(image->columns,image->rows << 4);\n  monotone_chain = (PointInfo **)AcquireQuantumMemory(image->columns * 2,image->rows << 3);\n  if ((memory_info == (MemoryInfo *)0x0) || (monotone_chain == (PointInfo **)0x0)) {\n    if (monotone_chain != (PointInfo **)0x0) {\n      monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    }\n    pPVar15 = (PointInfo *)0x0;\n    if (memory_info != (MemoryInfo *)0x0) {\n      RelinquishVirtualMemory(memory_info);\n    }\n  }\n  else {\n    pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    local_1c8 = GetImageArtifact(image,"convex-hull:background-color");\n    if (local_1c8 == (char *)0x0) {\n      local_1c8 = GetImageArtifact(image,"background");\n    }\n    local_1d4 = image;\n    local_1cc = exception;\n    local_1d0 = cache_view;\n    local_1c4 = census;\n    local_1c0 = background_1;\n    GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);\n    iVar7 = 0;\n    dVar5 = -1.0;\n    do {\n      dVar1 = census[iVar7];\n      if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != 4);\n    pPVar16 = &pixel;\n    ppIVar17 = &local_1d4;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      *ppIVar17 = (Image *)pPVar16->storage_class;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n    }\n    ppIVar17 = &local_1d4;\n    pPVar16 = &background;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      pPVar16->storage_class = (ClassType)*ppIVar17;\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n    }\n    if ((int)image->rows < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }\n    DestroyCacheView(cache_view);\n    TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices);\n    pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10);\n    if ((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)) {\n      pPVar11 = pPVar15;\n      ppPVar14 = monotone_chain;\n      do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);\n    }\n    monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    RelinquishVirtualMemory(memory_info);\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return pPVar15;\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "PointInfo * GetImageConvexHull(Image *image,size_t *number_vertices,ExceptionInfo *exception)\n\n{\n  double dVar1;\n  int iVar2;\n  PixelChannelMap *pPVar3;\n  PointInfo *pPVar4;\n  double dVar5;\n  bool bVar6;\n  MemoryInfo *memory_info;\n  CacheView *cache_view;\n  int iVar7;\n  Quantum *pQVar8;\n  MagickBooleanType MVar9;\n  size_t sVar10;\n  PointInfo *pPVar11;\n  PointInfo *pPVar12;\n  int iVar13;\n  PointInfo **ppPVar14;\n  PointInfo *pPVar15;\n  PixelInfo *pPVar16;\n  Image **ppIVar17;\n  PixelInfo *pPVar18;\n  int in_GS_OFFSET;\n  byte bVar19;\n  int local_2a4;\n  size_t local_2a0;\n  int local_298;\n  PointInfo **monotone_chain;\n  PixelInfo background;\n  PixelInfo pixel;\n  Image *local_1d4;\n  CacheView *local_1d0;\n  ExceptionInfo *local_1cc;\n  char *local_1c8;\n  double *local_1c4;\n  PixelInfo *local_1c0;\n  double census [4];\n  PixelInfo background_1 [4];\n  \n  bVar19 = 0;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%s",\n                   image->filename);\n  }\n  *number_vertices = 0;\n  memory_info = AcquireVirtualMemory(image->columns,image->rows << 4);\n  monotone_chain = (PointInfo **)AcquireQuantumMemory(image->columns * 2,image->rows << 3);\n  if ((memory_info == (MemoryInfo *)0x0) || (monotone_chain == (PointInfo **)0x0)) {\n    if (monotone_chain != (PointInfo **)0x0) {\n      monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    }\n    pPVar15 = (PointInfo *)0x0;\n    if (memory_info != (MemoryInfo *)0x0) {\n      RelinquishVirtualMemory(memory_info);\n    }\n  }\n  else {\n    pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    local_1c8 = GetImageArtifact(image,"convex-hull:background-color");\n    if (local_1c8 == (char *)0x0) {\n      local_1c8 = GetImageArtifact(image,"background");\n    }\n    local_1d4 = image;\n    local_1cc = exception;\n    local_1d0 = cache_view;\n    local_1c4 = census;\n    local_1c0 = background_1;\n    GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);\n    iVar7 = 0;\n    dVar5 = -1.0;\n    do {\n      dVar1 = census[iVar7];\n      if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != 4);\n    pPVar16 = &pixel;\n    ppIVar17 = &local_1d4;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      *ppIVar17 = (Image *)pPVar16->storage_class;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n    }\n    ppIVar17 = &local_1d4;\n    pPVar16 = &background;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      pPVar16->storage_class = (ClassType)*ppIVar17;\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n    }\n    if ((int)image->rows < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }\n    DestroyCacheView(cache_view);\n    TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices);\n    pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10);\n    if ((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)) {\n      pPVar11 = pPVar15;\n      ppPVar14 = monotone_chain;\n      do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);\n    }\n    monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    RelinquishVirtualMemory(memory_info);\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return pPVar15;\n}" type_identifier (pointer_declarator "* GetImageConvexHull(Image *image,size_t *number_vertices,ExceptionInfo *exception)" * (function_declarator "GetImageConvexHull(Image *image,size_t *number_vertices,ExceptionInfo *exception)" identifier (parameter_list "(Image *image,size_t *number_vertices,ExceptionInfo *exception)" ( (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "size_t *number_vertices" primitive_type (pointer_declarator "*number_vertices" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) )))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  PixelChannelMap *pPVar3;\n  PointInfo *pPVar4;\n  double dVar5;\n  bool bVar6;\n  MemoryInfo *memory_info;\n  CacheView *cache_view;\n  int iVar7;\n  Quantum *pQVar8;\n  MagickBooleanType MVar9;\n  size_t sVar10;\n  PointInfo *pPVar11;\n  PointInfo *pPVar12;\n  int iVar13;\n  PointInfo **ppPVar14;\n  PointInfo *pPVar15;\n  PixelInfo *pPVar16;\n  Image **ppIVar17;\n  PixelInfo *pPVar18;\n  int in_GS_OFFSET;\n  byte bVar19;\n  int local_2a4;\n  size_t local_2a0;\n  int local_298;\n  PointInfo **monotone_chain;\n  PixelInfo background;\n  PixelInfo pixel;\n  Image *local_1d4;\n  CacheView *local_1d0;\n  ExceptionInfo *local_1cc;\n  char *local_1c8;\n  double *local_1c4;\n  PixelInfo *local_1c0;\n  double census [4];\n  PixelInfo background_1 [4];\n  \n  bVar19 = 0;\n  iVar2 = *(int *)(in_GS_OFFSET + 0x14);\n  if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%s",\n                   image->filename);\n  }\n  *number_vertices = 0;\n  memory_info = AcquireVirtualMemory(image->columns,image->rows << 4);\n  monotone_chain = (PointInfo **)AcquireQuantumMemory(image->columns * 2,image->rows << 3);\n  if ((memory_info == (MemoryInfo *)0x0) || (monotone_chain == (PointInfo **)0x0)) {\n    if (monotone_chain != (PointInfo **)0x0) {\n      monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    }\n    pPVar15 = (PointInfo *)0x0;\n    if (memory_info != (MemoryInfo *)0x0) {\n      RelinquishVirtualMemory(memory_info);\n    }\n  }\n  else {\n    pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    local_1c8 = GetImageArtifact(image,"convex-hull:background-color");\n    if (local_1c8 == (char *)0x0) {\n      local_1c8 = GetImageArtifact(image,"background");\n    }\n    local_1d4 = image;\n    local_1cc = exception;\n    local_1d0 = cache_view;\n    local_1c4 = census;\n    local_1c0 = background_1;\n    GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);\n    iVar7 = 0;\n    dVar5 = -1.0;\n    do {\n      dVar1 = census[iVar7];\n      if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != 4);\n    pPVar16 = &pixel;\n    ppIVar17 = &local_1d4;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      *ppIVar17 = (Image *)pPVar16->storage_class;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n    }\n    ppIVar17 = &local_1d4;\n    pPVar16 = &background;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      pPVar16->storage_class = (ClassType)*ppIVar17;\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n    }\n    if ((int)image->rows < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }\n    DestroyCacheView(cache_view);\n    TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices);\n    pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10);\n    if ((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)) {\n      pPVar11 = pPVar15;\n      ppPVar14 = monotone_chain;\n      do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);\n    }\n    monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    RelinquishVirtualMemory(memory_info);\n  }\n  if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return pPVar15;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar3;" type_identifier (pointer_declarator "*pPVar3" * identifier) ;) (declaration "PointInfo *pPVar4;" type_identifier (pointer_declarator "*pPVar4" * identifier) ;) (declaration "double dVar5;" primitive_type identifier ;) (declaration "bool bVar6;" primitive_type identifier ;) (declaration "MemoryInfo *memory_info;" type_identifier (pointer_declarator "*memory_info" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "Quantum *pQVar8;" type_identifier (pointer_declarator "*pQVar8" * identifier) ;) (declaration "MagickBooleanType MVar9;" type_identifier identifier ;) (declaration "size_t sVar10;" primitive_type identifier ;) (declaration "PointInfo *pPVar11;" type_identifier (pointer_declarator "*pPVar11" * identifier) ;) (declaration "PointInfo *pPVar12;" type_identifier (pointer_declarator "*pPVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "PointInfo **ppPVar14;" type_identifier (pointer_declarator "**ppPVar14" * (pointer_declarator "*ppPVar14" * identifier)) ;) (declaration "PointInfo *pPVar15;" type_identifier (pointer_declarator "*pPVar15" * identifier) ;) (declaration "PixelInfo *pPVar16;" type_identifier (pointer_declarator "*pPVar16" * identifier) ;) (declaration "Image **ppIVar17;" type_identifier (pointer_declarator "**ppIVar17" * (pointer_declarator "*ppIVar17" * identifier)) ;) (declaration "PixelInfo *pPVar18;" type_identifier (pointer_declarator "*pPVar18" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar19;" type_identifier identifier ;) (declaration "int local_2a4;" primitive_type identifier ;) (declaration "size_t local_2a0;" primitive_type identifier ;) (declaration "int local_298;" primitive_type identifier ;) (declaration "PointInfo **monotone_chain;" type_identifier (pointer_declarator "**monotone_chain" * (pointer_declarator "*monotone_chain" * identifier)) ;) (declaration "PixelInfo background;" type_identifier identifier ;) (declaration "PixelInfo pixel;" type_identifier identifier ;) (declaration "Image *local_1d4;" type_identifier (pointer_declarator "*local_1d4" * identifier) ;) (declaration "CacheView *local_1d0;" type_identifier (pointer_declarator "*local_1d0" * identifier) ;) (declaration "ExceptionInfo *local_1cc;" type_identifier (pointer_declarator "*local_1cc" * identifier) ;) (declaration "char *local_1c8;" primitive_type (pointer_declarator "*local_1c8" * identifier) ;) (declaration "double *local_1c4;" primitive_type (pointer_declarator "*local_1c4" * identifier) ;) (declaration "PixelInfo *local_1c0;" type_identifier (pointer_declarator "*local_1c0" * identifier) ;) (declaration "double census [4];" primitive_type (array_declarator "census [4]" identifier [ number_literal ]) ;) (declaration "PixelInfo background_1 [4];" type_identifier (array_declarator "background_1 [4]" identifier [ number_literal ]) ;) (expression_statement "bVar19 = 0;" (assignment_expression "bVar19 = 0" identifier = number_literal) ;) (expression_statement "iVar2 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar2 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (image == (Image *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }" { comment (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull")" identifier (argument_list "("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/attribute.c"" " string_content ") , number_literal , (string_literal ""GetImageConvexHull"" " string_content ") ))) ;) })) (if_statement "if (image->signature != 0xabacadab) {\n                    /* WARNING: Subroutine does not return */\n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\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/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }" { comment (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/attribute.c"" " string_content ") , number_literal , (string_literal ""GetImageConvexHull"" " string_content ") ))) ;) })) (if_statement "if (image->debug != MagickFalse) {\n    LogMagickEvent(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%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/attribute.c","GetImageConvexHull",0x2ed,"%s",\n                   image->filename);\n  }" { (expression_statement "LogMagickEvent(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%s",\n                   image->filename);" (call_expression "LogMagickEvent(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%s",\n                   image->filename)" identifier (argument_list "(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%s",\n                   image->filename)" ( identifier , (string_literal ""MagickCore/attribute.c"" " string_content ") , (string_literal ""GetImageConvexHull"" " string_content ") , number_literal , (string_literal ""%s"" " string_content ") , (field_expression "image->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "*number_vertices = 0;" (assignment_expression "*number_vertices = 0" (pointer_expression "*number_vertices" * identifier) = number_literal) ;) (expression_statement "memory_info = AcquireVirtualMemory(image->columns,image->rows << 4);" (assignment_expression "memory_info = AcquireVirtualMemory(image->columns,image->rows << 4)" identifier = (call_expression "AcquireVirtualMemory(image->columns,image->rows << 4)" identifier (argument_list "(image->columns,image->rows << 4)" ( (field_expression "image->columns" identifier -> field_identifier) , (binary_expression "image->rows << 4" (field_expression "image->rows" identifier -> field_identifier) << number_literal) )))) ;) (expression_statement "monotone_chain = (PointInfo **)AcquireQuantumMemory(image->columns * 2,image->rows << 3);" (assignment_expression "monotone_chain = (PointInfo **)AcquireQuantumMemory(image->columns * 2,image->rows << 3)" identifier = (cast_expression "(PointInfo **)AcquireQuantumMemory(image->columns * 2,image->rows << 3)" ( (type_descriptor "PointInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "AcquireQuantumMemory(image->columns * 2,image->rows << 3)" identifier (argument_list "(image->columns * 2,image->rows << 3)" ( (binary_expression "image->columns * 2" (field_expression "image->columns" identifier -> field_identifier) * number_literal) , (binary_expression "image->rows << 3" (field_expression "image->rows" identifier -> field_identifier) << number_literal) ))))) ;) (if_statement "if ((memory_info == (MemoryInfo *)0x0) || (monotone_chain == (PointInfo **)0x0)) {\n    if (monotone_chain != (PointInfo **)0x0) {\n      monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    }\n    pPVar15 = (PointInfo *)0x0;\n    if (memory_info != (MemoryInfo *)0x0) {\n      RelinquishVirtualMemory(memory_info);\n    }\n  }\n  else {\n    pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    local_1c8 = GetImageArtifact(image,"convex-hull:background-color");\n    if (local_1c8 == (char *)0x0) {\n      local_1c8 = GetImageArtifact(image,"background");\n    }\n    local_1d4 = image;\n    local_1cc = exception;\n    local_1d0 = cache_view;\n    local_1c4 = census;\n    local_1c0 = background_1;\n    GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);\n    iVar7 = 0;\n    dVar5 = -1.0;\n    do {\n      dVar1 = census[iVar7];\n      if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != 4);\n    pPVar16 = &pixel;\n    ppIVar17 = &local_1d4;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      *ppIVar17 = (Image *)pPVar16->storage_class;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n    }\n    ppIVar17 = &local_1d4;\n    pPVar16 = &background;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      pPVar16->storage_class = (ClassType)*ppIVar17;\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n    }\n    if ((int)image->rows < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }\n    DestroyCacheView(cache_view);\n    TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices);\n    pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10);\n    if ((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)) {\n      pPVar11 = pPVar15;\n      ppPVar14 = monotone_chain;\n      do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);\n    }\n    monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    RelinquishVirtualMemory(memory_info);\n  }" if (parenthesized_expression "((memory_info == (MemoryInfo *)0x0) || (monotone_chain == (PointInfo **)0x0))" ( (binary_expression "(memory_info == (MemoryInfo *)0x0) || (monotone_chain == (PointInfo **)0x0)" (parenthesized_expression "(memory_info == (MemoryInfo *)0x0)" ( (binary_expression "memory_info == (MemoryInfo *)0x0" identifier == (cast_expression "(MemoryInfo *)0x0" ( (type_descriptor "MemoryInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(monotone_chain == (PointInfo **)0x0)" ( (binary_expression "monotone_chain == (PointInfo **)0x0" identifier == (cast_expression "(PointInfo **)0x0" ( (type_descriptor "PointInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ))) )) (compound_statement "{\n    if (monotone_chain != (PointInfo **)0x0) {\n      monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    }\n    pPVar15 = (PointInfo *)0x0;\n    if (memory_info != (MemoryInfo *)0x0) {\n      RelinquishVirtualMemory(memory_info);\n    }\n  }" { (if_statement "if (monotone_chain != (PointInfo **)0x0) {\n      monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    }" if (parenthesized_expression "(monotone_chain != (PointInfo **)0x0)" ( (binary_expression "monotone_chain != (PointInfo **)0x0" identifier != (cast_expression "(PointInfo **)0x0" ( (type_descriptor "PointInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    }" { (expression_statement "monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);" (assignment_expression "monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain)" identifier = (cast_expression "(PointInfo **)RelinquishMagickMemory(monotone_chain)" ( (type_descriptor "PointInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "RelinquishMagickMemory(monotone_chain)" identifier (argument_list "(monotone_chain)" ( identifier ))))) ;) })) (expression_statement "pPVar15 = (PointInfo *)0x0;" (assignment_expression "pPVar15 = (PointInfo *)0x0" identifier = (cast_expression "(PointInfo *)0x0" ( (type_descriptor "PointInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (memory_info != (MemoryInfo *)0x0) {\n      RelinquishVirtualMemory(memory_info);\n    }" if (parenthesized_expression "(memory_info != (MemoryInfo *)0x0)" ( (binary_expression "memory_info != (MemoryInfo *)0x0" identifier != (cast_expression "(MemoryInfo *)0x0" ( (type_descriptor "MemoryInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      RelinquishVirtualMemory(memory_info);\n    }" { (expression_statement "RelinquishVirtualMemory(memory_info);" (call_expression "RelinquishVirtualMemory(memory_info)" identifier (argument_list "(memory_info)" ( identifier ))) ;) })) }) (else_clause "else {\n    pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    local_1c8 = GetImageArtifact(image,"convex-hull:background-color");\n    if (local_1c8 == (char *)0x0) {\n      local_1c8 = GetImageArtifact(image,"background");\n    }\n    local_1d4 = image;\n    local_1cc = exception;\n    local_1d0 = cache_view;\n    local_1c4 = census;\n    local_1c0 = background_1;\n    GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);\n    iVar7 = 0;\n    dVar5 = -1.0;\n    do {\n      dVar1 = census[iVar7];\n      if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != 4);\n    pPVar16 = &pixel;\n    ppIVar17 = &local_1d4;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      *ppIVar17 = (Image *)pPVar16->storage_class;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n    }\n    ppIVar17 = &local_1d4;\n    pPVar16 = &background;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      pPVar16->storage_class = (ClassType)*ppIVar17;\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n    }\n    if ((int)image->rows < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }\n    DestroyCacheView(cache_view);\n    TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices);\n    pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10);\n    if ((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)) {\n      pPVar11 = pPVar15;\n      ppPVar14 = monotone_chain;\n      do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);\n    }\n    monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    RelinquishVirtualMemory(memory_info);\n  }" else (compound_statement "{\n    pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info);\n    cache_view = AcquireVirtualCacheView(image,exception);\n    local_1c8 = GetImageArtifact(image,"convex-hull:background-color");\n    if (local_1c8 == (char *)0x0) {\n      local_1c8 = GetImageArtifact(image,"background");\n    }\n    local_1d4 = image;\n    local_1cc = exception;\n    local_1d0 = cache_view;\n    local_1c4 = census;\n    local_1c0 = background_1;\n    GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);\n    iVar7 = 0;\n    dVar5 = -1.0;\n    do {\n      dVar1 = census[iVar7];\n      if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != 4);\n    pPVar16 = &pixel;\n    ppIVar17 = &local_1d4;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      *ppIVar17 = (Image *)pPVar16->storage_class;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n    }\n    ppIVar17 = &local_1d4;\n    pPVar16 = &background;\n    for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      pPVar16->storage_class = (ClassType)*ppIVar17;\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n    }\n    if ((int)image->rows < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }\n    DestroyCacheView(cache_view);\n    TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices);\n    pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10);\n    if ((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)) {\n      pPVar11 = pPVar15;\n      ppPVar14 = monotone_chain;\n      do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);\n    }\n    monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);\n    RelinquishVirtualMemory(memory_info);\n  }" { (expression_statement "pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info);" (assignment_expression "pPVar15 = (PointInfo *)GetVirtualMemoryBlob(memory_info)" identifier = (cast_expression "(PointInfo *)GetVirtualMemoryBlob(memory_info)" ( (type_descriptor "PointInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "GetVirtualMemoryBlob(memory_info)" identifier (argument_list "(memory_info)" ( 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 )))) ;) (expression_statement "local_1c8 = GetImageArtifact(image,"convex-hull:background-color");" (assignment_expression "local_1c8 = GetImageArtifact(image,"convex-hull:background-color")" identifier = (call_expression "GetImageArtifact(image,"convex-hull:background-color")" identifier (argument_list "(image,"convex-hull:background-color")" ( identifier , (string_literal ""convex-hull:background-color"" " string_content ") )))) ;) (if_statement "if (local_1c8 == (char *)0x0) {\n      local_1c8 = GetImageArtifact(image,"background");\n    }" if (parenthesized_expression "(local_1c8 == (char *)0x0)" ( (binary_expression "local_1c8 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_1c8 = GetImageArtifact(image,"background");\n    }" { (expression_statement "local_1c8 = GetImageArtifact(image,"background");" (assignment_expression "local_1c8 = GetImageArtifact(image,"background")" identifier = (call_expression "GetImageArtifact(image,"background")" identifier (argument_list "(image,"background")" ( identifier , (string_literal ""background"" " string_content ") )))) ;) })) (expression_statement "local_1d4 = image;" (assignment_expression "local_1d4 = image" identifier = identifier) ;) (expression_statement "local_1cc = exception;" (assignment_expression "local_1cc = exception" identifier = identifier) ;) (expression_statement "local_1d0 = cache_view;" (assignment_expression "local_1d0 = cache_view" identifier = identifier) ;) (expression_statement "local_1c4 = census;" (assignment_expression "local_1c4 = census" identifier = identifier) ;) (expression_statement "local_1c0 = background_1;" (assignment_expression "local_1c0 = background_1" identifier = identifier) ;) (expression_statement "GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);" (call_expression "GOMP_parallel(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0)" identifier (argument_list "(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0)" ( identifier , (pointer_expression "&local_1d4" & identifier) , number_literal , number_literal ))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "dVar5 = -1.0;" (assignment_expression "dVar5 = -1.0" identifier = number_literal) ;) (do_statement "do {\n      dVar1 = census[iVar7];\n      if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }\n      iVar7 = iVar7 + 1;\n    } while (iVar7 != 4);" do (compound_statement "{\n      dVar1 = census[iVar7];\n      if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }\n      iVar7 = iVar7 + 1;\n    }" { (expression_statement "dVar1 = census[iVar7];" (assignment_expression "dVar1 = census[iVar7]" identifier = (subscript_expression "census[iVar7]" identifier [ identifier ])) ;) (if_statement "if (dVar5 < dVar1) {\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }" if (parenthesized_expression "(dVar5 < dVar1)" ( (binary_expression "dVar5 < dVar1" identifier < identifier) )) (compound_statement "{\n        pPVar16 = background_1 + iVar7;\n        pPVar18 = &pixel;\n        for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }\n      }" { (expression_statement "pPVar16 = background_1 + iVar7;" (assignment_expression "pPVar16 = background_1 + iVar7" identifier = (binary_expression "background_1 + iVar7" identifier + identifier)) ;) (expression_statement "pPVar18 = &pixel;" (assignment_expression "pPVar18 = &pixel" identifier = (pointer_expression "&pixel" & identifier)) ;) (for_statement "for (iVar13 = 0x14; dVar5 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }" for ( (assignment_expression "iVar13 = 0x14" identifier = number_literal) ; (comma_expression "dVar5 = dVar1, iVar13 != 0" (assignment_expression "dVar5 = dVar1" identifier = identifier) , (binary_expression "iVar13 != 0" identifier != number_literal)) ; (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ) (compound_statement "{\n          pPVar18->storage_class = pPVar16->storage_class;\n          pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n          pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);\n        }" { (expression_statement "pPVar18->storage_class = pPVar16->storage_class;" (assignment_expression "pPVar18->storage_class = pPVar16->storage_class" (field_expression "pPVar18->storage_class" identifier -> field_identifier) = (field_expression "pPVar16->storage_class" identifier -> field_identifier)) ;) (expression_statement "pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);" (assignment_expression "pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4)" identifier = (cast_expression "(PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4)" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pPVar16 + (uint)bVar19 * -8 + 4)" ( (binary_expression "(int)pPVar16 + (uint)bVar19 * -8 + 4" (binary_expression "(int)pPVar16 + (uint)bVar19 * -8" (cast_expression "(int)pPVar16" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar19 * -8" (cast_expression "(uint)bVar19" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4);" (assignment_expression "pPVar18 = (PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4)" identifier = (cast_expression "(PixelInfo *)((int)pPVar18 + (uint)bVar19 * -8 + 4)" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pPVar18 + (uint)bVar19 * -8 + 4)" ( (binary_expression "(int)pPVar18 + (uint)bVar19 * -8 + 4" (binary_expression "(int)pPVar18 + (uint)bVar19 * -8" (cast_expression "(int)pPVar18" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar19 * -8" (cast_expression "(uint)bVar19" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) })) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 != 4)" ( (binary_expression "iVar7 != 4" identifier != number_literal) )) ;) (expression_statement "pPVar16 = &pixel;" (assignment_expression "pPVar16 = &pixel" identifier = (pointer_expression "&pixel" & identifier)) ;) (expression_statement "ppIVar17 = &local_1d4;" (assignment_expression "ppIVar17 = &local_1d4" identifier = (pointer_expression "&local_1d4" & identifier)) ;) (for_statement "for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      *ppIVar17 = (Image *)pPVar16->storage_class;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n    }" for ( (assignment_expression "iVar7 = 0x14" identifier = number_literal) ; (binary_expression "iVar7 != 0" identifier != number_literal) ; (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ) (compound_statement "{\n      *ppIVar17 = (Image *)pPVar16->storage_class;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n    }" { (expression_statement "*ppIVar17 = (Image *)pPVar16->storage_class;" (assignment_expression "*ppIVar17 = (Image *)pPVar16->storage_class" (pointer_expression "*ppIVar17" * identifier) = (cast_expression "(Image *)pPVar16->storage_class" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pPVar16->storage_class" identifier -> field_identifier))) ;) (expression_statement "pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);" (assignment_expression "pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4)" identifier = (cast_expression "(PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4)" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pPVar16 + (uint)bVar19 * -8 + 4)" ( (binary_expression "(int)pPVar16 + (uint)bVar19 * -8 + 4" (binary_expression "(int)pPVar16 + (uint)bVar19 * -8" (cast_expression "(int)pPVar16" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar19 * -8" (cast_expression "(uint)bVar19" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) (expression_statement "ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;" (assignment_expression "ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1" identifier = (binary_expression "ppIVar17 + (uint)bVar19 * -2 + 1" (binary_expression "ppIVar17 + (uint)bVar19 * -2" identifier + (binary_expression "(uint)bVar19 * -2" (cast_expression "(uint)bVar19" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "ppIVar17 = &local_1d4;" (assignment_expression "ppIVar17 = &local_1d4" identifier = (pointer_expression "&local_1d4" & identifier)) ;) (expression_statement "pPVar16 = &background;" (assignment_expression "pPVar16 = &background" identifier = (pointer_expression "&background" & identifier)) ;) (for_statement "for (iVar7 = 0x14; iVar7 != 0; iVar7 = iVar7 + -1) {\n      pPVar16->storage_class = (ClassType)*ppIVar17;\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n    }" for ( (assignment_expression "iVar7 = 0x14" identifier = number_literal) ; (binary_expression "iVar7 != 0" identifier != number_literal) ; (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ) (compound_statement "{\n      pPVar16->storage_class = (ClassType)*ppIVar17;\n      ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;\n      pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);\n    }" { (expression_statement "pPVar16->storage_class = (ClassType)*ppIVar17;" (assignment_expression "pPVar16->storage_class = (ClassType)*ppIVar17" (field_expression "pPVar16->storage_class" identifier -> field_identifier) = (binary_expression "(ClassType)*ppIVar17" (parenthesized_expression "(ClassType)" ( identifier )) * identifier)) ;) (expression_statement "ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1;" (assignment_expression "ppIVar17 = ppIVar17 + (uint)bVar19 * -2 + 1" identifier = (binary_expression "ppIVar17 + (uint)bVar19 * -2 + 1" (binary_expression "ppIVar17 + (uint)bVar19 * -2" identifier + (binary_expression "(uint)bVar19 * -2" (cast_expression "(uint)bVar19" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4);" (assignment_expression "pPVar16 = (PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4)" identifier = (cast_expression "(PixelInfo *)((int)pPVar16 + (uint)bVar19 * -8 + 4)" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pPVar16 + (uint)bVar19 * -8 + 4)" ( (binary_expression "(int)pPVar16 + (uint)bVar19 * -8 + 4" (binary_expression "(int)pPVar16 + (uint)bVar19 * -8" (cast_expression "(int)pPVar16" ( (type_descriptor "int" primitive_type) ) identifier) + (binary_expression "(uint)bVar19 * -8" (cast_expression "(uint)bVar19" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal) )))) ;) })) (if_statement "if ((int)image->rows < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }" if (parenthesized_expression "((int)image->rows < 1)" ( (binary_expression "(int)image->rows < 1" (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier)) < number_literal) )) (compound_statement "{\n      local_2a0 = 0;\n    }" { (expression_statement "local_2a0 = 0;" (assignment_expression "local_2a0 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }" else (compound_statement "{\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar6 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);\n    }" { (expression_statement "local_2a4 = 0;" (assignment_expression "local_2a4 = 0" identifier = number_literal) ;) (expression_statement "local_2a0 = 0;" (assignment_expression "local_2a0 = 0" identifier = number_literal) ;) (expression_statement "bVar6 = true;" (assignment_expression "bVar6 = true" identifier = true) ;) (do_statement "do {\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < (int)sVar10);" do (compound_statement "{\n        local_298 = local_2a4 + 1;\n        if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }\n      }" { (expression_statement "local_298 = local_2a4 + 1;" (assignment_expression "local_298 = local_2a4 + 1" identifier = (binary_expression "local_2a4 + 1" identifier + number_literal)) ;) (if_statement "if (bVar6) {\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }" if (parenthesized_expression "(bVar6)" ( identifier )) (compound_statement "{\n          pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);\n          if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar7 = 0;\n          if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n        }" { (expression_statement "pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception);" (assignment_expression "pQVar8 = GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception)" identifier = (call_expression "GetCacheViewVirtualPixels(cache_view,0,local_2a4,image->columns,1,exception)" identifier (argument_list "(cache_view,0,local_2a4,image->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (pQVar8 == (Quantum *)0x0) {\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }" if (parenthesized_expression "(pQVar8 == (Quantum *)0x0)" ( (binary_expression "pQVar8 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            sVar10 = image->rows;\n            if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }" { (expression_statement "sVar10 = image->rows;" (assignment_expression "sVar10 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (if_statement "if (local_298 < (int)sVar10) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }" if (parenthesized_expression "(local_298 < (int)sVar10)" ( (binary_expression "local_298 < (int)sVar10" identifier < (cast_expression "(int)sVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }" { (expression_statement "local_298 = local_2a4 + 2;" (assignment_expression "local_298 = local_2a4 + 2" identifier = (binary_expression "local_2a4 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_0003fc18;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if ((int)image->columns < 1) {\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }" if (parenthesized_expression "((int)image->columns < 1)" ( (binary_expression "(int)image->columns < 1" (cast_expression "(int)image->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "image->columns" identifier -> field_identifier)) < number_literal) )) (compound_statement "{\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }" { (expression_statement "sVar10 = image->rows;" (assignment_expression "sVar10 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (expression_statement "local_2a4 = local_298;" (assignment_expression "local_2a4 = local_298" identifier = identifier) ;) }) (else_clause "else {\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }" else (compound_statement "{\n            do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);\n            sVar10 = image->rows;\n            local_2a4 = local_298;\n          }" { (do_statement "do {\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            } while (iVar7 < (int)image->columns);" do (compound_statement "{\n              ResetMagickMemory(&pixel,0,0x50);\n              pixel.storage_class = image->storage_class;\n              pixel.alpha = (MagickRealType)DAT_0029f710;\n              pixel.fuzz = image->fuzz;\n              pixel.colorspace = image->colorspace;\n              pixel.depth = image->depth;\n              pixel.alpha_trait = image->alpha_trait;\n              if (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }\n              MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);\n              if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar7 = iVar7 + 1;\n              pQVar8 = pQVar8 + image->number_channels;\n            }" { (expression_statement "ResetMagickMemory(&pixel,0,0x50);" (call_expression "ResetMagickMemory(&pixel,0,0x50)" identifier (argument_list "(&pixel,0,0x50)" ( (pointer_expression "&pixel" & identifier) , number_literal , number_literal ))) ;) (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.alpha = (MagickRealType)DAT_0029f710;" (assignment_expression "pixel.alpha = (MagickRealType)DAT_0029f710" (field_expression "pixel.alpha" identifier . field_identifier) = (cast_expression "(MagickRealType)DAT_0029f710" ( (type_descriptor "MagickRealType" type_identifier) ) 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.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.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 (pQVar8 != (Quantum *)0x0) {\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }" if (parenthesized_expression "(pQVar8 != (Quantum *)0x0)" ( (binary_expression "pQVar8 != (Quantum *)0x0" identifier != (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                pPVar3 = image->channel_map;\n                pixel.red = pQVar8[pPVar3->offset];\n                pixel.green = pQVar8[pPVar3[1].offset];\n                pixel.blue = pQVar8[pPVar3[2].offset];\n                if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }\n                if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }\n                if (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }\n              }" { (expression_statement "pPVar3 = image->channel_map;" (assignment_expression "pPVar3 = image->channel_map" identifier = (field_expression "image->channel_map" identifier -> field_identifier)) ;) (expression_statement "pixel.red = pQVar8[pPVar3->offset];" (assignment_expression "pixel.red = pQVar8[pPVar3->offset]" (field_expression "pixel.red" identifier . field_identifier) = (subscript_expression "pQVar8[pPVar3->offset]" identifier [ (field_expression "pPVar3->offset" identifier -> field_identifier) ])) ;) (expression_statement "pixel.green = pQVar8[pPVar3[1].offset];" (assignment_expression "pixel.green = pQVar8[pPVar3[1].offset]" (field_expression "pixel.green" identifier . field_identifier) = (subscript_expression "pQVar8[pPVar3[1].offset]" identifier [ (field_expression "pPVar3[1].offset" (subscript_expression "pPVar3[1]" identifier [ number_literal ]) . field_identifier) ])) ;) (expression_statement "pixel.blue = pQVar8[pPVar3[2].offset];" (assignment_expression "pixel.blue = pQVar8[pPVar3[2].offset]" (field_expression "pixel.blue" identifier . field_identifier) = (subscript_expression "pQVar8[pPVar3[2].offset]" identifier [ (field_expression "pPVar3[2].offset" (subscript_expression "pPVar3[2]" identifier [ number_literal ]) . field_identifier) ])) ;) (if_statement "if (pPVar3[3].traits != UndefinedPixelTrait) {\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }" if (parenthesized_expression "(pPVar3[3].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar3[3].traits != UndefinedPixelTrait" (field_expression "pPVar3[3].traits" (subscript_expression "pPVar3[3]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                  pixel.black = pQVar8[pPVar3[3].offset];\n                }" { (expression_statement "pixel.black = pQVar8[pPVar3[3].offset];" (assignment_expression "pixel.black = pQVar8[pPVar3[3].offset]" (field_expression "pixel.black" identifier . field_identifier) = (subscript_expression "pQVar8[pPVar3[3].offset]" identifier [ (field_expression "pPVar3[3].offset" (subscript_expression "pPVar3[3]" identifier [ number_literal ]) . field_identifier) ])) ;) })) (if_statement "if (pPVar3[4].traits != UndefinedPixelTrait) {\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }" if (parenthesized_expression "(pPVar3[4].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar3[4].traits != UndefinedPixelTrait" (field_expression "pPVar3[4].traits" (subscript_expression "pPVar3[4]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                  pixel.alpha = pQVar8[pPVar3[4].offset];\n                  pixel.alpha_trait = BlendPixelTrait;\n                }" { (expression_statement "pixel.alpha = pQVar8[pPVar3[4].offset];" (assignment_expression "pixel.alpha = pQVar8[pPVar3[4].offset]" (field_expression "pixel.alpha" identifier . field_identifier) = (subscript_expression "pQVar8[pPVar3[4].offset]" identifier [ (field_expression "pPVar3[4].offset" (subscript_expression "pPVar3[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 (pPVar3[5].traits != UndefinedPixelTrait) {\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }" if (parenthesized_expression "(pPVar3[5].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar3[5].traits != UndefinedPixelTrait" (field_expression "pPVar3[5].traits" (subscript_expression "pPVar3[5]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                  pixel.index = pQVar8[pPVar3[5].offset];\n                }" { (expression_statement "pixel.index = pQVar8[pPVar3[5].offset];" (assignment_expression "pixel.index = pQVar8[pPVar3[5].offset]" (field_expression "pixel.index" identifier . field_identifier) = (subscript_expression "pQVar8[pPVar3[5].offset]" identifier [ (field_expression "pPVar3[5].offset" (subscript_expression "pPVar3[5]" identifier [ number_literal ]) . field_identifier) ])) ;) })) })) (expression_statement "MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background);" (assignment_expression "MVar9 = IsFuzzyEquivalencePixelInfo(&pixel,&background)" identifier = (call_expression "IsFuzzyEquivalencePixelInfo(&pixel,&background)" identifier (argument_list "(&pixel,&background)" ( (pointer_expression "&pixel" & identifier) , (pointer_expression "&background" & identifier) )))) ;) (if_statement "if (MVar9 == MagickFalse) {\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }" if (parenthesized_expression "(MVar9 == MagickFalse)" ( (binary_expression "MVar9 == MagickFalse" identifier == identifier) )) (compound_statement "{\n                pPVar15[local_2a0].x = (double)iVar7;\n                pPVar15[local_2a0].y = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }" { (expression_statement "pPVar15[local_2a0].x = (double)iVar7;" (assignment_expression "pPVar15[local_2a0].x = (double)iVar7" (field_expression "pPVar15[local_2a0].x" (subscript_expression "pPVar15[local_2a0]" identifier [ identifier ]) . field_identifier) = (cast_expression "(double)iVar7" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "pPVar15[local_2a0].y = (double)local_2a4;" (assignment_expression "pPVar15[local_2a0].y = (double)local_2a4" (field_expression "pPVar15[local_2a0].y" (subscript_expression "pPVar15[local_2a0]" identifier [ identifier ]) . field_identifier) = (cast_expression "(double)local_2a4" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "local_2a0 = local_2a0 + 1;" (assignment_expression "local_2a0 = local_2a0 + 1" identifier = (binary_expression "local_2a0 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "pQVar8 = pQVar8 + image->number_channels;" (assignment_expression "pQVar8 = pQVar8 + image->number_channels" identifier = (binary_expression "pQVar8 + image->number_channels" identifier + (field_expression "image->number_channels" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(iVar7 < (int)image->columns)" ( (binary_expression "iVar7 < (int)image->columns" identifier < (cast_expression "(int)image->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "image->columns" identifier -> field_identifier))) )) ;) (expression_statement "sVar10 = image->rows;" (assignment_expression "sVar10 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (expression_statement "local_2a4 = local_298;" (assignment_expression "local_2a4 = local_298" identifier = identifier) ;) }))) }) (else_clause "else {\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }" else (compound_statement "{\n          sVar10 = image->rows;\nLAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;\n          bVar6 = false;\n          local_2a4 = local_298 + 1;\n        }" { (expression_statement "sVar10 = image->rows;" (assignment_expression "sVar10 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (labeled_statement "LAB_0003fc18:\n          if ((int)sVar10 <= local_298) break;" statement_identifier : (if_statement "if ((int)sVar10 <= local_298) break;" if (parenthesized_expression "((int)sVar10 <= local_298)" ( (binary_expression "(int)sVar10 <= local_298" (cast_expression "(int)sVar10" ( (type_descriptor "int" primitive_type) ) identifier) <= identifier) )) (break_statement "break;" break ;))) (expression_statement "bVar6 = false;" (assignment_expression "bVar6 = false" identifier = false) ;) (expression_statement "local_2a4 = local_298 + 1;" (assignment_expression "local_2a4 = local_298 + 1" identifier = (binary_expression "local_298 + 1" identifier + number_literal)) ;) }))) }) while (parenthesized_expression "(local_2a4 < (int)sVar10)" ( (binary_expression "local_2a4 < (int)sVar10" identifier < (cast_expression "(int)sVar10" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) }))) (expression_statement "DestroyCacheView(cache_view);" (call_expression "DestroyCacheView(cache_view)" identifier (argument_list "(cache_view)" ( identifier ))) ;) (expression_statement "TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices);" (call_expression "TraceConvexHull(pPVar15,local_2a0,&monotone_chain,number_vertices)" identifier (argument_list "(pPVar15,local_2a0,&monotone_chain,number_vertices)" ( identifier , identifier , (pointer_expression "&monotone_chain" & identifier) , identifier ))) ;) (expression_statement "pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10);" (assignment_expression "pPVar15 = (PointInfo *)AcquireQuantumMemory(*number_vertices,0x10)" identifier = (cast_expression "(PointInfo *)AcquireQuantumMemory(*number_vertices,0x10)" ( (type_descriptor "PointInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(*number_vertices,0x10)" identifier (argument_list "(*number_vertices,0x10)" ( (pointer_expression "*number_vertices" * identifier) , number_literal ))))) ;) (if_statement "if ((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)) {\n      pPVar11 = pPVar15;\n      ppPVar14 = monotone_chain;\n      do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);\n    }" if (parenthesized_expression "((pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0))" ( (binary_expression "(pPVar15 != (PointInfo *)0x0) && (sVar10 = *number_vertices, sVar10 != 0)" (parenthesized_expression "(pPVar15 != (PointInfo *)0x0)" ( (binary_expression "pPVar15 != (PointInfo *)0x0" identifier != (cast_expression "(PointInfo *)0x0" ( (type_descriptor "PointInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(sVar10 = *number_vertices, sVar10 != 0)" ( (comma_expression "sVar10 = *number_vertices, sVar10 != 0" (assignment_expression "sVar10 = *number_vertices" identifier = (pointer_expression "*number_vertices" * identifier)) , (binary_expression "sVar10 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      pPVar11 = pPVar15;\n      ppPVar14 = monotone_chain;\n      do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);\n    }" { (expression_statement "pPVar11 = pPVar15;" (assignment_expression "pPVar11 = pPVar15" identifier = identifier) ;) (expression_statement "ppPVar14 = monotone_chain;" (assignment_expression "ppPVar14 = monotone_chain" identifier = identifier) ;) (do_statement "do {\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      } while (pPVar12 != pPVar15 + sVar10);" do (compound_statement "{\n        pPVar4 = *ppPVar14;\n        pPVar12 = pPVar11 + 1;\n        ppPVar14 = ppPVar14 + 1;\n        *(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;\n        *(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);\n        *(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;\n        *(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);\n        pPVar11 = pPVar12;\n      }" { (expression_statement "pPVar4 = *ppPVar14;" (assignment_expression "pPVar4 = *ppPVar14" identifier = (pointer_expression "*ppPVar14" * identifier)) ;) (expression_statement "pPVar12 = pPVar11 + 1;" (assignment_expression "pPVar12 = pPVar11 + 1" identifier = (binary_expression "pPVar11 + 1" identifier + number_literal)) ;) (expression_statement "ppPVar14 = ppPVar14 + 1;" (assignment_expression "ppPVar14 = ppPVar14 + 1" identifier = (binary_expression "ppPVar14 + 1" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x;" (assignment_expression "*(undefined4 *)&pPVar11->x = *(undefined4 *)&pPVar4->x" (pointer_expression "*(undefined4 *)&pPVar11->x" * (cast_expression "(undefined4 *)&pPVar11->x" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar11->x" & (field_expression "pPVar11->x" identifier -> field_identifier)))) = (pointer_expression "*(undefined4 *)&pPVar4->x" * (cast_expression "(undefined4 *)&pPVar4->x" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar4->x" & (field_expression "pPVar4->x" identifier -> field_identifier))))) ;) (expression_statement "*(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4);" (assignment_expression "*(undefined4 *)((int)&pPVar11->x + 4) = *(undefined4 *)((int)&pPVar4->x + 4)" (pointer_expression "*(undefined4 *)((int)&pPVar11->x + 4)" * (cast_expression "(undefined4 *)((int)&pPVar11->x + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar11->x + 4)" ( (binary_expression "(int)&pPVar11->x + 4" (cast_expression "(int)&pPVar11->x" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar11->x" & (field_expression "pPVar11->x" identifier -> field_identifier))) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)&pPVar4->x + 4)" * (cast_expression "(undefined4 *)((int)&pPVar4->x + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar4->x + 4)" ( (binary_expression "(int)&pPVar4->x + 4" (cast_expression "(int)&pPVar4->x" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar4->x" & (field_expression "pPVar4->x" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "*(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y;" (assignment_expression "*(undefined4 *)&pPVar11->y = *(undefined4 *)&pPVar4->y" (pointer_expression "*(undefined4 *)&pPVar11->y" * (cast_expression "(undefined4 *)&pPVar11->y" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar11->y" & (field_expression "pPVar11->y" identifier -> field_identifier)))) = (pointer_expression "*(undefined4 *)&pPVar4->y" * (cast_expression "(undefined4 *)&pPVar4->y" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pPVar4->y" & (field_expression "pPVar4->y" identifier -> field_identifier))))) ;) (expression_statement "*(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4);" (assignment_expression "*(undefined4 *)((int)&pPVar11->y + 4) = *(undefined4 *)((int)&pPVar4->y + 4)" (pointer_expression "*(undefined4 *)((int)&pPVar11->y + 4)" * (cast_expression "(undefined4 *)((int)&pPVar11->y + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar11->y + 4)" ( (binary_expression "(int)&pPVar11->y + 4" (cast_expression "(int)&pPVar11->y" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar11->y" & (field_expression "pPVar11->y" identifier -> field_identifier))) + number_literal) )))) = (pointer_expression "*(undefined4 *)((int)&pPVar4->y + 4)" * (cast_expression "(undefined4 *)((int)&pPVar4->y + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar4->y + 4)" ( (binary_expression "(int)&pPVar4->y + 4" (cast_expression "(int)&pPVar4->y" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar4->y" & (field_expression "pPVar4->y" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "pPVar11 = pPVar12;" (assignment_expression "pPVar11 = pPVar12" identifier = identifier) ;) }) while (parenthesized_expression "(pPVar12 != pPVar15 + sVar10)" ( (binary_expression "pPVar12 != pPVar15 + sVar10" identifier != (binary_expression "pPVar15 + sVar10" identifier + identifier)) )) ;) })) (expression_statement "monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain);" (assignment_expression "monotone_chain = (PointInfo **)RelinquishMagickMemory(monotone_chain)" identifier = (cast_expression "(PointInfo **)RelinquishMagickMemory(monotone_chain)" ( (type_descriptor "PointInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "RelinquishMagickMemory(monotone_chain)" identifier (argument_list "(monotone_chain)" ( identifier ))))) ;) (expression_statement "RelinquishVirtualMemory(memory_info);" (call_expression "RelinquishVirtualMemory(memory_info)" identifier (argument_list "(memory_info)" ( identifier ))) ;) }))) (if_statement "if (iVar2 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar2 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar2 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return pPVar15;" return identifier ;) })))
(translation_unit "undefined4 * GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  double dVar1;\n  undefined4 *puVar2;\n  double dVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  double *pdVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  int *piVar14;\n  undefined4 *puVar15;\n  undefined4 **ppuVar16;\n  int in_GS_OFFSET;\n  byte bVar17;\n  int local_2a4;\n  int local_2a0;\n  int local_298;\n  int *local_278;\n  undefined4 local_274 [20];\n  undefined4 local_224;\n  undefined4 local_220;\n  undefined4 local_21c;\n  undefined8 local_218;\n  undefined4 local_210;\n  undefined8 local_204;\n  undefined8 local_1fc;\n  undefined8 local_1f4;\n  undefined8 local_1ec;\n  double local_1e4;\n  undefined8 local_1dc;\n  undefined4 *local_1d4;\n  undefined4 local_1d0;\n  undefined4 local_1cc;\n  int local_1c8;\n  double *local_1c4;\n  undefined4 *local_1c0;\n  double local_184 [4];\n  undefined4 local_160 [80];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar17 = 0;\n  uStack_14 = 0x3f769;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (param_1[0xcd1] != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }\n  *param_2 = 0;\n  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);\n  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);\n  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return puVar15;\n}\n\n" (function_definition "undefined4 * GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  double dVar1;\n  undefined4 *puVar2;\n  double dVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  double *pdVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  int *piVar14;\n  undefined4 *puVar15;\n  undefined4 **ppuVar16;\n  int in_GS_OFFSET;\n  byte bVar17;\n  int local_2a4;\n  int local_2a0;\n  int local_298;\n  int *local_278;\n  undefined4 local_274 [20];\n  undefined4 local_224;\n  undefined4 local_220;\n  undefined4 local_21c;\n  undefined8 local_218;\n  undefined4 local_210;\n  undefined8 local_204;\n  undefined8 local_1fc;\n  undefined8 local_1f4;\n  undefined8 local_1ec;\n  double local_1e4;\n  undefined8 local_1dc;\n  undefined4 *local_1d4;\n  undefined4 local_1d0;\n  undefined4 local_1cc;\n  int local_1c8;\n  double *local_1c4;\n  undefined4 *local_1c0;\n  double local_184 [4];\n  undefined4 local_160 [80];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar17 = 0;\n  uStack_14 = 0x3f769;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (param_1[0xcd1] != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }\n  *param_2 = 0;\n  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);\n  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);\n  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return puVar15;\n}" type_identifier (pointer_declarator "* GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)" * (function_declarator "GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 *param_1,int *param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) )))) (compound_statement "{\n  double dVar1;\n  undefined4 *puVar2;\n  double dVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  double *pdVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  int *piVar14;\n  undefined4 *puVar15;\n  undefined4 **ppuVar16;\n  int in_GS_OFFSET;\n  byte bVar17;\n  int local_2a4;\n  int local_2a0;\n  int local_298;\n  int *local_278;\n  undefined4 local_274 [20];\n  undefined4 local_224;\n  undefined4 local_220;\n  undefined4 local_21c;\n  undefined8 local_218;\n  undefined4 local_210;\n  undefined8 local_204;\n  undefined8 local_1fc;\n  undefined8 local_1f4;\n  undefined8 local_1ec;\n  double local_1e4;\n  undefined8 local_1dc;\n  undefined4 *local_1d4;\n  undefined4 local_1d0;\n  undefined4 local_1cc;\n  int local_1c8;\n  double *local_1c4;\n  undefined4 *local_1c0;\n  double local_184 [4];\n  undefined4 local_160 [80];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar17 = 0;\n  uStack_14 = 0x3f769;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (param_1[0xcd1] != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }\n  *param_2 = 0;\n  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);\n  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);\n  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return puVar15;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "bool bVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "double *pdVar10;" primitive_type (pointer_declarator "*pdVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int *piVar14;" primitive_type (pointer_declarator "*piVar14" * identifier) ;) (declaration "undefined4 *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "undefined4 **ppuVar16;" type_identifier (pointer_declarator "**ppuVar16" * (pointer_declarator "*ppuVar16" * identifier)) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "byte bVar17;" type_identifier identifier ;) (declaration "int local_2a4;" primitive_type identifier ;) (declaration "int local_2a0;" primitive_type identifier ;) (declaration "int local_298;" primitive_type identifier ;) (declaration "int *local_278;" primitive_type (pointer_declarator "*local_278" * identifier) ;) (declaration "undefined4 local_274 [20];" type_identifier (array_declarator "local_274 [20]" identifier [ number_literal ]) ;) (declaration "undefined4 local_224;" type_identifier identifier ;) (declaration "undefined4 local_220;" type_identifier identifier ;) (declaration "undefined4 local_21c;" type_identifier identifier ;) (declaration "undefined8 local_218;" type_identifier identifier ;) (declaration "undefined4 local_210;" type_identifier identifier ;) (declaration "undefined8 local_204;" type_identifier identifier ;) (declaration "undefined8 local_1fc;" type_identifier identifier ;) (declaration "undefined8 local_1f4;" type_identifier identifier ;) (declaration "undefined8 local_1ec;" type_identifier identifier ;) (declaration "double local_1e4;" primitive_type identifier ;) (declaration "undefined8 local_1dc;" type_identifier identifier ;) (declaration "undefined4 *local_1d4;" type_identifier (pointer_declarator "*local_1d4" * identifier) ;) (declaration "undefined4 local_1d0;" type_identifier identifier ;) (declaration "undefined4 local_1cc;" type_identifier identifier ;) (declaration "int local_1c8;" primitive_type identifier ;) (declaration "double *local_1c4;" primitive_type (pointer_declarator "*local_1c4" * identifier) ;) (declaration "undefined4 *local_1c0;" type_identifier (pointer_declarator "*local_1c0" * identifier) ;) (declaration "double local_184 [4];" primitive_type (array_declarator "local_184 [4]" identifier [ number_literal ]) ;) (declaration "undefined4 local_160 [80];" type_identifier (array_declarator "local_160 [80]" identifier [ number_literal ]) ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x3f769;" (assignment_expression "uStack_14 = 0x3f769" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\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 != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }" { (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull")" identifier (argument_list "("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull")" ( (string_literal ""image != (Image *) NULL"" " string_content ") , (string_literal ""MagickCore/attribute.c"" " string_content ") , number_literal , (string_literal ""GetImageConvexHull"" " string_content ") ))) ;) })) (if_statement "if (param_1[0xcd1] != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }" if (parenthesized_expression "(param_1[0xcd1] != -0x54535255)" ( (binary_expression "param_1[0xcd1] != -0x54535255" (subscript_expression "param_1[0xcd1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }" { (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull")" identifier (argument_list "("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull")" ( (string_literal ""image->signature == MagickCoreSignature"" " string_content ") , (string_literal ""MagickCore/attribute.c"" " string_content ") , number_literal , (string_literal ""GetImageConvexHull"" " string_content ") ))) ;) })) (if_statement "if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }" if (parenthesized_expression "(param_1[0xcca] != 0)" ( (binary_expression "param_1[0xcca] != 0" (subscript_expression "param_1[0xcca]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }" { (expression_statement "LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);" (call_expression "LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6)" identifier (argument_list "(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6)" ( number_literal , (string_literal ""MagickCore/attribute.c"" " string_content ") , (string_literal ""GetImageConvexHull"" " string_content ") , number_literal , (pointer_expression "&DAT_002b6e4e" & identifier) , (binary_expression "param_1 + 0xc6" identifier + number_literal) ))) ;) })) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);" (assignment_expression "iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4)" identifier = (call_expression "AcquireVirtualMemory(param_1[6],param_1[7] << 4)" identifier (argument_list "(param_1[6],param_1[7] << 4)" ( (subscript_expression "param_1[6]" identifier [ number_literal ]) , (binary_expression "param_1[7] << 4" (subscript_expression "param_1[7]" identifier [ number_literal ]) << number_literal) )))) ;) (expression_statement "local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);" (assignment_expression "local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" identifier = (cast_expression "(int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" identifier (argument_list "(param_1[6] * 2,param_1[7] << 3)" ( (binary_expression "param_1[6] * 2" (subscript_expression "param_1[6]" identifier [ number_literal ]) * number_literal) , (binary_expression "param_1[7] << 3" (subscript_expression "param_1[7]" identifier [ number_literal ]) << number_literal) ))))) ;) (if_statement "if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" if (parenthesized_expression "((iVar5 == 0) || (local_278 == (int *)0x0))" ( (binary_expression "(iVar5 == 0) || (local_278 == (int *)0x0)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_278 == (int *)0x0)" ( (binary_expression "local_278 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }" { (if_statement "if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }" if (parenthesized_expression "(local_278 != (int *)0x0)" ( (binary_expression "local_278 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }" { (expression_statement "local_278 = (int *)RelinquishMagickMemory(local_278);" (assignment_expression "local_278 = (int *)RelinquishMagickMemory(local_278)" identifier = (cast_expression "(int *)RelinquishMagickMemory(local_278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "RelinquishMagickMemory(local_278)" identifier (argument_list "(local_278)" ( identifier ))))) ;) })) (expression_statement "puVar15 = (undefined4 *)0x0;" (assignment_expression "puVar15 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n      RelinquishVirtualMemory(iVar5);\n    }" { (expression_statement "RelinquishVirtualMemory(iVar5);" (call_expression "RelinquishVirtualMemory(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) })) }) (else_clause "else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" else (compound_statement "{\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" { (expression_statement "iVar6 = GetVirtualMemoryBlob(iVar5);" (assignment_expression "iVar6 = GetVirtualMemoryBlob(iVar5)" identifier = (call_expression "GetVirtualMemoryBlob(iVar5)" identifier (argument_list "(iVar5)" ( identifier )))) ;) (expression_statement "uVar7 = AcquireVirtualCacheView(param_1,param_3);" (assignment_expression "uVar7 = AcquireVirtualCacheView(param_1,param_3)" identifier = (call_expression "AcquireVirtualCacheView(param_1,param_3)" identifier (argument_list "(param_1,param_3)" ( identifier , identifier )))) ;) (expression_statement "local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");" (assignment_expression "local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color")" identifier = (call_expression "GetImageArtifact(param_1,"convex-hull:background-color")" identifier (argument_list "(param_1,"convex-hull:background-color")" ( identifier , (string_literal ""convex-hull:background-color"" " string_content ") )))) ;) (if_statement "if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }" if (parenthesized_expression "(local_1c8 == 0)" ( (binary_expression "local_1c8 == 0" identifier == number_literal) )) (compound_statement "{\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }" { (expression_statement "local_1c8 = GetImageArtifact(param_1,"background");" (assignment_expression "local_1c8 = GetImageArtifact(param_1,"background")" identifier = (call_expression "GetImageArtifact(param_1,"background")" identifier (argument_list "(param_1,"background")" ( identifier , (string_literal ""background"" " string_content ") )))) ;) })) (expression_statement "local_1d4 = param_1;" (assignment_expression "local_1d4 = param_1" identifier = identifier) ;) (expression_statement "local_1cc = param_3;" (assignment_expression "local_1cc = param_3" identifier = identifier) ;) (expression_statement "local_1d0 = uVar7;" (assignment_expression "local_1d0 = uVar7" identifier = identifier) ;) (expression_statement "local_1c4 = local_184;" (assignment_expression "local_1c4 = local_184" identifier = identifier) ;) (expression_statement "local_1c0 = local_160;" (assignment_expression "local_1c0 = local_160" identifier = identifier) ;) (expression_statement "GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);" (call_expression "GOMP_parallel(FUN_0003dc30,&local_1d4,0,0)" identifier (argument_list "(FUN_0003dc30,&local_1d4,0,0)" ( identifier , (pointer_expression "&local_1d4" & identifier) , number_literal , number_literal ))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "dVar3 = -1.0;" (assignment_expression "dVar3 = -1.0" identifier = number_literal) ;) (do_statement "do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);" do (compound_statement "{\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    }" { (expression_statement "dVar1 = local_184[iVar8];" (assignment_expression "dVar1 = local_184[iVar8]" identifier = (subscript_expression "local_184[iVar8]" identifier [ identifier ])) ;) (if_statement "if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }" if (parenthesized_expression "(dVar3 < dVar1)" ( (binary_expression "dVar3 < dVar1" identifier < identifier) )) (compound_statement "{\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }" { (expression_statement "puVar15 = local_160 + iVar8 * 0x14;" (assignment_expression "puVar15 = local_160 + iVar8 * 0x14" identifier = (binary_expression "local_160 + iVar8 * 0x14" identifier + (binary_expression "iVar8 * 0x14" identifier * number_literal))) ;) (expression_statement "puVar11 = &local_224;" (assignment_expression "puVar11 = &local_224" identifier = (pointer_expression "&local_224" & identifier)) ;) (for_statement "for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }" for ( (assignment_expression "iVar13 = 0x14" identifier = number_literal) ; (comma_expression "dVar3 = dVar1, iVar13 != 0" (assignment_expression "dVar3 = dVar1" identifier = identifier) , (binary_expression "iVar13 != 0" identifier != number_literal)) ; (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ) (compound_statement "{\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }" { (expression_statement "*puVar11 = *puVar15;" (assignment_expression "*puVar11 = *puVar15" (pointer_expression "*puVar11" * identifier) = (pointer_expression "*puVar15" * identifier)) ;) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar11 = puVar11 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar11 = puVar11 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "puVar11 + (uint)bVar17 * -2 + 1" (binary_expression "puVar11 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) })) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar8 != 4)" ( (binary_expression "iVar8 != 4" identifier != number_literal) )) ;) (expression_statement "puVar15 = &local_224;" (assignment_expression "puVar15 = &local_224" identifier = (pointer_expression "&local_224" & identifier)) ;) (expression_statement "ppuVar16 = &local_1d4;" (assignment_expression "ppuVar16 = &local_1d4" identifier = (pointer_expression "&local_1d4" & identifier)) ;) (for_statement "for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }" for ( (assignment_expression "iVar8 = 0x14" identifier = number_literal) ; (binary_expression "iVar8 != 0" identifier != number_literal) ; (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ) (compound_statement "{\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }" { (expression_statement "*ppuVar16 = (undefined4 *)*puVar15;" (assignment_expression "*ppuVar16 = (undefined4 *)*puVar15" (pointer_expression "*ppuVar16" * identifier) = (cast_expression "(undefined4 *)*puVar15" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar15" * identifier))) ;) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;" (assignment_expression "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "ppuVar16 + (uint)bVar17 * -2 + 1" (binary_expression "ppuVar16 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "ppuVar16 = &local_1d4;" (assignment_expression "ppuVar16 = &local_1d4" identifier = (pointer_expression "&local_1d4" & identifier)) ;) (expression_statement "puVar15 = local_274;" (assignment_expression "puVar15 = local_274" identifier = identifier) ;) (for_statement "for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }" for ( (assignment_expression "iVar8 = 0x14" identifier = number_literal) ; (binary_expression "iVar8 != 0" identifier != number_literal) ; (assignment_expression "iVar8 = iVar8 + -1" identifier = (binary_expression "iVar8 + -1" identifier + number_literal)) ) (compound_statement "{\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }" { (expression_statement "*puVar15 = *ppuVar16;" (assignment_expression "*puVar15 = *ppuVar16" (pointer_expression "*puVar15" * identifier) = (pointer_expression "*ppuVar16" * identifier)) ;) (expression_statement "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;" (assignment_expression "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "ppuVar16 + (uint)bVar17 * -2 + 1" (binary_expression "ppuVar16 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" identifier = (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" identifier + (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (if_statement "if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" if (parenthesized_expression "((int)param_1[7] < 1)" ( (binary_expression "(int)param_1[7] < 1" (cast_expression "(int)param_1[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n      local_2a0 = 0;\n    }" { (expression_statement "local_2a0 = 0;" (assignment_expression "local_2a0 = 0" identifier = number_literal) ;) }) (else_clause "else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" else (compound_statement "{\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" { (expression_statement "local_2a4 = 0;" (assignment_expression "local_2a4 = 0" identifier = number_literal) ;) (expression_statement "local_2a0 = 0;" (assignment_expression "local_2a0 = 0" identifier = number_literal) ;) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" identifier = true) ;) (do_statement "do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);" do (compound_statement "{\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      }" { (expression_statement "local_298 = local_2a4 + 1;" (assignment_expression "local_298 = local_2a4 + 1" identifier = (binary_expression "local_2a4 + 1" identifier + number_literal)) ;) (if_statement "if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" if (parenthesized_expression "(bVar4)" ( identifier )) (compound_statement "{\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }" { (expression_statement "iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);" (assignment_expression "iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3)" identifier (argument_list "(uVar7,0,local_2a4,param_1[6],1,param_3)" ( identifier , number_literal , identifier , (subscript_expression "param_1[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (if_statement "if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }" { (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (if_statement "if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }" if (parenthesized_expression "(local_298 < iVar8)" ( (binary_expression "local_298 < iVar8" identifier < identifier) )) (compound_statement "{\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }" { (expression_statement "local_298 = local_2a4 + 2;" (assignment_expression "local_298 = local_2a4 + 2" identifier = (binary_expression "local_2a4 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_0003fc18;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" if (parenthesized_expression "((int)param_1[6] < 1)" ( (binary_expression "(int)param_1[6] < 1" (cast_expression "(int)param_1[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[6]" identifier [ number_literal ])) < number_literal) )) (compound_statement "{\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" { (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "local_2a4 = local_298;" (assignment_expression "local_2a4 = local_298" identifier = identifier) ;) }) (else_clause "else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" else (compound_statement "{\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" { (do_statement "do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);" do (compound_statement "{\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            }" { (expression_statement "ResetMagickMemory(&local_224,0,0x50);" (call_expression "ResetMagickMemory(&local_224,0,0x50)" identifier (argument_list "(&local_224,0,0x50)" ( (pointer_expression "&local_224" & identifier) , number_literal , number_literal ))) ;) (expression_statement "local_224 = *param_1;" (assignment_expression "local_224 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_1e4 = (double)DAT_0029f710;" (assignment_expression "local_1e4 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "local_218 = *(undefined8 *)(param_1 + 0x88);" (assignment_expression "local_218 = *(undefined8 *)(param_1 + 0x88)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 0x88)" * (cast_expression "(undefined8 *)(param_1 + 0x88)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x88)" ( (binary_expression "param_1 + 0x88" identifier + number_literal) ))))) ;) (expression_statement "local_220 = param_1[1];" (assignment_expression "local_220 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "local_210 = param_1[8];" (assignment_expression "local_210 = param_1[8]" identifier = (subscript_expression "param_1[8]" identifier [ number_literal ])) ;) (expression_statement "local_21c = param_1[0xa5];" (assignment_expression "local_21c = param_1[0xa5]" identifier = (subscript_expression "param_1[0xa5]" identifier [ number_literal ])) ;) (if_statement "if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }" if (parenthesized_expression "(iVar8 != 0)" ( (binary_expression "iVar8 != 0" identifier != number_literal) )) (compound_statement "{\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }" { (expression_statement "iVar9 = param_1[0xaa];" (assignment_expression "iVar9 = param_1[0xaa]" identifier = (subscript_expression "param_1[0xaa]" identifier [ number_literal ])) ;) (expression_statement "local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);" (assignment_expression "local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 8) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 8) * 8" identifier + (binary_expression "*(int *)(iVar9 + 8) * 8" (pointer_expression "*(int *)(iVar9 + 8)" * (cast_expression "(int *)(iVar9 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 8)" ( (binary_expression "iVar9 + 8" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);" (assignment_expression "local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x14) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x14) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x14) * 8" (pointer_expression "*(int *)(iVar9 + 0x14)" * (cast_expression "(int *)(iVar9 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x14)" ( (binary_expression "iVar9 + 0x14" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);" (assignment_expression "local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x20) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x20) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x20) * 8" (pointer_expression "*(int *)(iVar9 + 0x20)" * (cast_expression "(int *)(iVar9 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x20)" ( (binary_expression "iVar9 + 0x20" identifier + number_literal) )))) * number_literal)) ))))) ;) (if_statement "if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }" if (parenthesized_expression "(*(int *)(iVar9 + 0x28) != 0)" ( (binary_expression "*(int *)(iVar9 + 0x28) != 0" (pointer_expression "*(int *)(iVar9 + 0x28)" * (cast_expression "(int *)(iVar9 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x28)" ( (binary_expression "iVar9 + 0x28" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }" { (expression_statement "local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);" (assignment_expression "local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x2c) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x2c) * 8" (pointer_expression "*(int *)(iVar9 + 0x2c)" * (cast_expression "(int *)(iVar9 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x2c)" ( (binary_expression "iVar9 + 0x2c" identifier + number_literal) )))) * number_literal)) ))))) ;) })) (if_statement "if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }" if (parenthesized_expression "(*(int *)(iVar9 + 0x34) != 0)" ( (binary_expression "*(int *)(iVar9 + 0x34) != 0" (pointer_expression "*(int *)(iVar9 + 0x34)" * (cast_expression "(int *)(iVar9 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x34)" ( (binary_expression "iVar9 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }" { (expression_statement "local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);" (assignment_expression "local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" identifier = (pointer_expression "*(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" * (cast_expression "(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x38) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x38) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x38) * 8" (pointer_expression "*(int *)(iVar9 + 0x38)" * (cast_expression "(int *)(iVar9 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x38)" ( (binary_expression "iVar9 + 0x38" identifier + number_literal) )))) * number_literal)) ))))) ;) (expression_statement "local_21c = 4;" (assignment_expression "local_21c = 4" identifier = number_literal) ;) })) (if_statement "if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }" if (parenthesized_expression "(*(int *)(iVar9 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar9 + 0x40) != 0" (pointer_expression "*(int *)(iVar9 + 0x40)" * (cast_expression "(int *)(iVar9 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x40)" ( (binary_expression "iVar9 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }" { (expression_statement "local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);" (assignment_expression "local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" identifier = (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" * (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x44) * 8)" ( (binary_expression "iVar8 + *(int *)(iVar9 + 0x44) * 8" identifier + (binary_expression "*(int *)(iVar9 + 0x44) * 8" (pointer_expression "*(int *)(iVar9 + 0x44)" * (cast_expression "(int *)(iVar9 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) )))) * number_literal)) ))))) ;) })) })) (expression_statement "iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);" (assignment_expression "iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274)" identifier = (call_expression "IsFuzzyEquivalencePixelInfo(&local_224,local_274)" identifier (argument_list "(&local_224,local_274)" ( (pointer_expression "&local_224" & identifier) , identifier )))) ;) (if_statement "if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }" { (expression_statement "pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);" (assignment_expression "pdVar10 = (double *)(local_2a0 * 0x10 + iVar6)" identifier = (cast_expression "(double *)(local_2a0 * 0x10 + iVar6)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_2a0 * 0x10 + iVar6)" ( (binary_expression "local_2a0 * 0x10 + iVar6" (binary_expression "local_2a0 * 0x10" identifier * number_literal) + identifier) )))) ;) (expression_statement "*pdVar10 = (double)iVar13;" (assignment_expression "*pdVar10 = (double)iVar13" (pointer_expression "*pdVar10" * identifier) = (cast_expression "(double)iVar13" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "pdVar10[1] = (double)local_2a4;" (assignment_expression "pdVar10[1] = (double)local_2a4" (subscript_expression "pdVar10[1]" identifier [ number_literal ]) = (cast_expression "(double)local_2a4" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "local_2a0 = local_2a0 + 1;" (assignment_expression "local_2a0 = local_2a0 + 1" identifier = (binary_expression "local_2a0 + 1" identifier + number_literal)) ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) (expression_statement "iVar8 = iVar8 + param_1[0xa6] * 8;" (assignment_expression "iVar8 = iVar8 + param_1[0xa6] * 8" identifier = (binary_expression "iVar8 + param_1[0xa6] * 8" identifier + (binary_expression "param_1[0xa6] * 8" (subscript_expression "param_1[0xa6]" identifier [ number_literal ]) * number_literal))) ;) }) while (parenthesized_expression "(iVar13 < (int)param_1[6])" ( (binary_expression "iVar13 < (int)param_1[6]" identifier < (cast_expression "(int)param_1[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) )) ;) (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (expression_statement "local_2a4 = local_298;" (assignment_expression "local_2a4 = local_298" identifier = identifier) ;) }))) }) (else_clause "else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" else (compound_statement "{\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" { (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" identifier = (subscript_expression "param_1[7]" identifier [ number_literal ])) ;) (labeled_statement "LAB_0003fc18:\n          if (iVar8 <= local_298) break;" statement_identifier : (if_statement "if (iVar8 <= local_298) break;" if (parenthesized_expression "(iVar8 <= local_298)" ( (binary_expression "iVar8 <= local_298" identifier <= identifier) )) (break_statement "break;" break ;))) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" identifier = false) ;) (expression_statement "local_2a4 = local_298 + 1;" (assignment_expression "local_2a4 = local_298 + 1" identifier = (binary_expression "local_298 + 1" identifier + number_literal)) ;) }))) }) while (parenthesized_expression "(local_2a4 < iVar8)" ( (binary_expression "local_2a4 < iVar8" identifier < identifier) )) ;) }))) (expression_statement "DestroyCacheView(uVar7);" (call_expression "DestroyCacheView(uVar7)" identifier (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "TraceConvexHull(iVar6,local_2a0,&local_278,param_2);" (call_expression "TraceConvexHull(iVar6,local_2a0,&local_278,param_2)" identifier (argument_list "(iVar6,local_2a0,&local_278,param_2)" ( identifier , identifier , (pointer_expression "&local_278" & identifier) , identifier ))) ;) (expression_statement "puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);" (assignment_expression "puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10)" identifier = (cast_expression "(undefined4 *)AcquireQuantumMemory(*param_2,0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireQuantumMemory(*param_2,0x10)" identifier (argument_list "(*param_2,0x10)" ( (pointer_expression "*param_2" * identifier) , number_literal ))))) ;) (if_statement "if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }" if (parenthesized_expression "((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0))" ( (binary_expression "(puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)" (parenthesized_expression "(puVar15 != (undefined4 *)0x0)" ( (binary_expression "puVar15 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 = *param_2, iVar6 != 0)" ( (comma_expression "iVar6 = *param_2, iVar6 != 0" (assignment_expression "iVar6 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }" { (expression_statement "puVar11 = puVar15;" (assignment_expression "puVar11 = puVar15" identifier = identifier) ;) (expression_statement "piVar14 = local_278;" (assignment_expression "piVar14 = local_278" identifier = identifier) ;) (do_statement "do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);" do (compound_statement "{\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      }" { (expression_statement "puVar2 = (undefined4 *)*piVar14;" (assignment_expression "puVar2 = (undefined4 *)*piVar14" identifier = (cast_expression "(undefined4 *)*piVar14" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar14" * identifier))) ;) (expression_statement "puVar12 = puVar11 + 4;" (assignment_expression "puVar12 = puVar11 + 4" identifier = (binary_expression "puVar11 + 4" identifier + number_literal)) ;) (expression_statement "piVar14 = piVar14 + 1;" (assignment_expression "piVar14 = piVar14 + 1" identifier = (binary_expression "piVar14 + 1" identifier + number_literal)) ;) (expression_statement "*puVar11 = *puVar2;" (assignment_expression "*puVar11 = *puVar2" (pointer_expression "*puVar11" * identifier) = (pointer_expression "*puVar2" * identifier)) ;) (expression_statement "puVar11[1] = puVar2[1];" (assignment_expression "puVar11[1] = puVar2[1]" (subscript_expression "puVar11[1]" identifier [ number_literal ]) = (subscript_expression "puVar2[1]" identifier [ number_literal ])) ;) (expression_statement "puVar11[2] = puVar2[2];" (assignment_expression "puVar11[2] = puVar2[2]" (subscript_expression "puVar11[2]" identifier [ number_literal ]) = (subscript_expression "puVar2[2]" identifier [ number_literal ])) ;) (expression_statement "puVar11[3] = puVar2[3];" (assignment_expression "puVar11[3] = puVar2[3]" (subscript_expression "puVar11[3]" identifier [ number_literal ]) = (subscript_expression "puVar2[3]" identifier [ number_literal ])) ;) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" identifier = identifier) ;) }) while (parenthesized_expression "(puVar12 != puVar15 + iVar6 * 4)" ( (binary_expression "puVar12 != puVar15 + iVar6 * 4" identifier != (binary_expression "puVar15 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal))) )) ;) })) (expression_statement "local_278 = (int *)RelinquishMagickMemory(local_278);" (assignment_expression "local_278 = (int *)RelinquishMagickMemory(local_278)" identifier = (cast_expression "(int *)RelinquishMagickMemory(local_278)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "RelinquishMagickMemory(local_278)" identifier (argument_list "(local_278)" ( identifier ))))) ;) (expression_statement "RelinquishVirtualMemory(iVar5);" (call_expression "RelinquishVirtualMemory(iVar5)" identifier (argument_list "(iVar5)" ( identifier ))) ;) }))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_0029eab0();\n  }" { (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return puVar15;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression 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 (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , LIT , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) * LIT) , (binary_expression (subscript_expression IDENT [ LIT ]) << LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") )))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ IDENT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (subscript_expression IDENT [ LIT ]) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ))))) ;) (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ))))) ;) (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 TYPE (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) ))))) ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * LIT) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (break_statement break ;))) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * IDENT)) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + (binary_expression IDENT * LIT))) )) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 * GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)\n\n{\n  double dVar1;\n  undefined4 *puVar2;\n  double dVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  double *pdVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  int *piVar14;\n  undefined4 *puVar15;\n  undefined4 **ppuVar16;\n  int in_GS_OFFSET;\n  byte bVar17;\n  int local_2a4;\n  int local_2a0;\n  int local_298;\n  int *local_278;\n  undefined4 local_274 [20];\n  undefined4 local_224;\n  undefined4 local_220;\n  undefined4 local_21c;\n  undefined8 local_218;\n  undefined4 local_210;\n  undefined8 local_204;\n  undefined8 local_1fc;\n  undefined8 local_1f4;\n  undefined8 local_1ec;\n  double local_1e4;\n  undefined8 local_1dc;\n  undefined4 *local_1d4;\n  undefined4 local_1d0;\n  undefined4 local_1cc;\n  int local_1c8;\n  double *local_1c4;\n  undefined4 *local_1c0;\n  double local_184 [4];\n  undefined4 local_160 [80];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar17 = 0;\n  uStack_14 = 0x3f769;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (param_1[0xcd1] != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }\n  *param_2 = 0;\n  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);\n  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);\n  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return puVar15;\n}" (type_identifier "undefined4") (pointer_declarator "* GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)" (* "*") (function_declarator "GetImageConvexHull(undefined4 *param_1,int *param_2,undefined4 param_3)" (identifier "GetImageConvexHull") (parameter_list "(undefined4 *param_1,int *param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")")))) (compound_statement "{\n  double dVar1;\n  undefined4 *puVar2;\n  double dVar3;\n  bool bVar4;\n  int iVar5;\n  int iVar6;\n  undefined4 uVar7;\n  int iVar8;\n  int iVar9;\n  double *pdVar10;\n  undefined4 *puVar11;\n  undefined4 *puVar12;\n  int iVar13;\n  int *piVar14;\n  undefined4 *puVar15;\n  undefined4 **ppuVar16;\n  int in_GS_OFFSET;\n  byte bVar17;\n  int local_2a4;\n  int local_2a0;\n  int local_298;\n  int *local_278;\n  undefined4 local_274 [20];\n  undefined4 local_224;\n  undefined4 local_220;\n  undefined4 local_21c;\n  undefined8 local_218;\n  undefined4 local_210;\n  undefined8 local_204;\n  undefined8 local_1fc;\n  undefined8 local_1f4;\n  undefined8 local_1ec;\n  double local_1e4;\n  undefined8 local_1dc;\n  undefined4 *local_1d4;\n  undefined4 local_1d0;\n  undefined4 local_1cc;\n  int local_1c8;\n  double *local_1c4;\n  undefined4 *local_1c0;\n  double local_184 [4];\n  undefined4 local_160 [80];\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar17 = 0;\n  uStack_14 = 0x3f769;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }\n  if (param_1[0xcd1] != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }\n  if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }\n  *param_2 = 0;\n  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);\n  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);\n  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return puVar15;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "double dVar3;" (primitive_type "double") (identifier "dVar3") (; ";")) (declaration "bool bVar4;" (primitive_type "bool") (identifier "bVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "double *pdVar10;" (primitive_type "double") (pointer_declarator "*pdVar10" (* "*") (identifier "pdVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "undefined4 *puVar12;" (type_identifier "undefined4") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int *piVar14;" (primitive_type "int") (pointer_declarator "*piVar14" (* "*") (identifier "piVar14")) (; ";")) (declaration "undefined4 *puVar15;" (type_identifier "undefined4") (pointer_declarator "*puVar15" (* "*") (identifier "puVar15")) (; ";")) (declaration "undefined4 **ppuVar16;" (type_identifier "undefined4") (pointer_declarator "**ppuVar16" (* "*") (pointer_declarator "*ppuVar16" (* "*") (identifier "ppuVar16"))) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "byte bVar17;" (type_identifier "byte") (identifier "bVar17") (; ";")) (declaration "int local_2a4;" (primitive_type "int") (identifier "local_2a4") (; ";")) (declaration "int local_2a0;" (primitive_type "int") (identifier "local_2a0") (; ";")) (declaration "int local_298;" (primitive_type "int") (identifier "local_298") (; ";")) (declaration "int *local_278;" (primitive_type "int") (pointer_declarator "*local_278" (* "*") (identifier "local_278")) (; ";")) (declaration "undefined4 local_274 [20];" (type_identifier "undefined4") (array_declarator "local_274 [20]" (identifier "local_274") ([ "[") (number_literal "20") (] "]")) (; ";")) (declaration "undefined4 local_224;" (type_identifier "undefined4") (identifier "local_224") (; ";")) (declaration "undefined4 local_220;" (type_identifier "undefined4") (identifier "local_220") (; ";")) (declaration "undefined4 local_21c;" (type_identifier "undefined4") (identifier "local_21c") (; ";")) (declaration "undefined8 local_218;" (type_identifier "undefined8") (identifier "local_218") (; ";")) (declaration "undefined4 local_210;" (type_identifier "undefined4") (identifier "local_210") (; ";")) (declaration "undefined8 local_204;" (type_identifier "undefined8") (identifier "local_204") (; ";")) (declaration "undefined8 local_1fc;" (type_identifier "undefined8") (identifier "local_1fc") (; ";")) (declaration "undefined8 local_1f4;" (type_identifier "undefined8") (identifier "local_1f4") (; ";")) (declaration "undefined8 local_1ec;" (type_identifier "undefined8") (identifier "local_1ec") (; ";")) (declaration "double local_1e4;" (primitive_type "double") (identifier "local_1e4") (; ";")) (declaration "undefined8 local_1dc;" (type_identifier "undefined8") (identifier "local_1dc") (; ";")) (declaration "undefined4 *local_1d4;" (type_identifier "undefined4") (pointer_declarator "*local_1d4" (* "*") (identifier "local_1d4")) (; ";")) (declaration "undefined4 local_1d0;" (type_identifier "undefined4") (identifier "local_1d0") (; ";")) (declaration "undefined4 local_1cc;" (type_identifier "undefined4") (identifier "local_1cc") (; ";")) (declaration "int local_1c8;" (primitive_type "int") (identifier "local_1c8") (; ";")) (declaration "double *local_1c4;" (primitive_type "double") (pointer_declarator "*local_1c4" (* "*") (identifier "local_1c4")) (; ";")) (declaration "undefined4 *local_1c0;" (type_identifier "undefined4") (pointer_declarator "*local_1c0" (* "*") (identifier "local_1c0")) (; ";")) (declaration "double local_184 [4];" (primitive_type "double") (array_declarator "local_184 [4]" (identifier "local_184") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined4 local_160 [80];" (type_identifier "undefined4") (array_declarator "local_160 [80]" (identifier "local_160") ([ "[") (number_literal "80") (] "]")) (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 0" (identifier "bVar17") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0x3f769;" (assignment_expression "uStack_14 = 0x3f769" (identifier "uStack_14") (= "=") (number_literal "0x3f769")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if (param_1 == (undefined4 *)0x0) {\n                    \n    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\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 != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");\n  }" ({ "{") (expression_statement "__assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");" (call_expression "__assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull")" (identifier "__assert_fail") (argument_list "("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull")" (( "(") (string_literal ""image != (Image *) NULL"" (" """) (string_content "image != (Image *) NULL") (" """)) (, ",") (string_literal ""MagickCore/attribute.c"" (" """) (string_content "MagickCore/attribute.c") (" """)) (, ",") (number_literal "0x2ea") (, ",") (string_literal ""GetImageConvexHull"" (" """) (string_content "GetImageConvexHull") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[0xcd1] != -0x54535255) {\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }" (if "if") (parenthesized_expression "(param_1[0xcd1] != -0x54535255)" (( "(") (binary_expression "param_1[0xcd1] != -0x54535255" (subscript_expression "param_1[0xcd1]" (identifier "param_1") ([ "[") (number_literal "0xcd1") (] "]")) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n                    \n    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");\n  }" ({ "{") (expression_statement "__assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull");" (call_expression "__assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull")" (identifier "__assert_fail") (argument_list "("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,\n                  "GetImageConvexHull")" (( "(") (string_literal ""image->signature == MagickCoreSignature"" (" """) (string_content "image->signature == MagickCoreSignature") (" """)) (, ",") (string_literal ""MagickCore/attribute.c"" (" """) (string_content "MagickCore/attribute.c") (" """)) (, ",") (number_literal "0x2eb") (, ",") (string_literal ""GetImageConvexHull"" (" """) (string_content "GetImageConvexHull") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_1[0xcca] != 0) {\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }" (if "if") (parenthesized_expression "(param_1[0xcca] != 0)" (( "(") (binary_expression "param_1[0xcca] != 0" (subscript_expression "param_1[0xcca]" (identifier "param_1") ([ "[") (number_literal "0xcca") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);\n  }" ({ "{") (expression_statement "LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6);" (call_expression "LogMagickEvent(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6)" (identifier "LogMagickEvent") (argument_list "(0x8000,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,&DAT_002b6e4e,\n                   param_1 + 0xc6)" (( "(") (number_literal "0x8000") (, ",") (string_literal ""MagickCore/attribute.c"" (" """) (string_content "MagickCore/attribute.c") (" """)) (, ",") (string_literal ""GetImageConvexHull"" (" """) (string_content "GetImageConvexHull") (" """)) (, ",") (number_literal "0x2ed") (, ",") (pointer_expression "&DAT_002b6e4e" (& "&") (identifier "DAT_002b6e4e")) (, ",") (binary_expression "param_1 + 0xc6" (identifier "param_1") (+ "+") (number_literal "0xc6")) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);" (assignment_expression "iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4)" (identifier "iVar5") (= "=") (call_expression "AcquireVirtualMemory(param_1[6],param_1[7] << 4)" (identifier "AcquireVirtualMemory") (argument_list "(param_1[6],param_1[7] << 4)" (( "(") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (, ",") (binary_expression "param_1[7] << 4" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (<< "<<") (number_literal "4")) () ")")))) (; ";")) (expression_statement "local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);" (assignment_expression "local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" (identifier "local_278") (= "=") (cast_expression "(int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3)" (identifier "AcquireQuantumMemory") (argument_list "(param_1[6] * 2,param_1[7] << 3)" (( "(") (binary_expression "param_1[6] * 2" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (* "*") (number_literal "2")) (, ",") (binary_expression "param_1[7] << 3" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (<< "<<") (number_literal "3")) () ")"))))) (; ";")) (if_statement "if ((iVar5 == 0) || (local_278 == (int *)0x0)) {\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }\n  else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" (if "if") (parenthesized_expression "((iVar5 == 0) || (local_278 == (int *)0x0))" (( "(") (binary_expression "(iVar5 == 0) || (local_278 == (int *)0x0)" (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_278 == (int *)0x0)" (( "(") (binary_expression "local_278 == (int *)0x0" (identifier "local_278") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n    if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }\n    puVar15 = (undefined4 *)0x0;\n    if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }\n  }" ({ "{") (if_statement "if (local_278 != (int *)0x0) {\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }" (if "if") (parenthesized_expression "(local_278 != (int *)0x0)" (( "(") (binary_expression "local_278 != (int *)0x0" (identifier "local_278") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      local_278 = (int *)RelinquishMagickMemory(local_278);\n    }" ({ "{") (expression_statement "local_278 = (int *)RelinquishMagickMemory(local_278);" (assignment_expression "local_278 = (int *)RelinquishMagickMemory(local_278)" (identifier "local_278") (= "=") (cast_expression "(int *)RelinquishMagickMemory(local_278)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "RelinquishMagickMemory(local_278)" (identifier "RelinquishMagickMemory") (argument_list "(local_278)" (( "(") (identifier "local_278") () ")"))))) (; ";")) (} "}"))) (expression_statement "puVar15 = (undefined4 *)0x0;" (assignment_expression "puVar15 = (undefined4 *)0x0" (identifier "puVar15") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (if_statement "if (iVar5 != 0) {\n      RelinquishVirtualMemory(iVar5);\n    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      RelinquishVirtualMemory(iVar5);\n    }" ({ "{") (expression_statement "RelinquishVirtualMemory(iVar5);" (call_expression "RelinquishVirtualMemory(iVar5)" (identifier "RelinquishVirtualMemory") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" (else "else") (compound_statement "{\n    iVar6 = GetVirtualMemoryBlob(iVar5);\n    uVar7 = AcquireVirtualCacheView(param_1,param_3);\n    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");\n    if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }\n    local_1d4 = param_1;\n    local_1cc = param_3;\n    local_1d0 = uVar7;\n    local_1c4 = local_184;\n    local_1c0 = local_160;\n    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);\n    iVar8 = 0;\n    dVar3 = -1.0;\n    do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);\n    puVar15 = &local_224;\n    ppuVar16 = &local_1d4;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }\n    ppuVar16 = &local_1d4;\n    puVar15 = local_274;\n    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }\n    if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }\n    DestroyCacheView(uVar7);\n    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);\n    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);\n    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }\n    local_278 = (int *)RelinquishMagickMemory(local_278);\n    RelinquishVirtualMemory(iVar5);\n  }" ({ "{") (expression_statement "iVar6 = GetVirtualMemoryBlob(iVar5);" (assignment_expression "iVar6 = GetVirtualMemoryBlob(iVar5)" (identifier "iVar6") (= "=") (call_expression "GetVirtualMemoryBlob(iVar5)" (identifier "GetVirtualMemoryBlob") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (expression_statement "uVar7 = AcquireVirtualCacheView(param_1,param_3);" (assignment_expression "uVar7 = AcquireVirtualCacheView(param_1,param_3)" (identifier "uVar7") (= "=") (call_expression "AcquireVirtualCacheView(param_1,param_3)" (identifier "AcquireVirtualCacheView") (argument_list "(param_1,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_3") () ")")))) (; ";")) (expression_statement "local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");" (assignment_expression "local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color")" (identifier "local_1c8") (= "=") (call_expression "GetImageArtifact(param_1,"convex-hull:background-color")" (identifier "GetImageArtifact") (argument_list "(param_1,"convex-hull:background-color")" (( "(") (identifier "param_1") (, ",") (string_literal ""convex-hull:background-color"" (" """) (string_content "convex-hull:background-color") (" """)) () ")")))) (; ";")) (if_statement "if (local_1c8 == 0) {\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }" (if "if") (parenthesized_expression "(local_1c8 == 0)" (( "(") (binary_expression "local_1c8 == 0" (identifier "local_1c8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_1c8 = GetImageArtifact(param_1,"background");\n    }" ({ "{") (expression_statement "local_1c8 = GetImageArtifact(param_1,"background");" (assignment_expression "local_1c8 = GetImageArtifact(param_1,"background")" (identifier "local_1c8") (= "=") (call_expression "GetImageArtifact(param_1,"background")" (identifier "GetImageArtifact") (argument_list "(param_1,"background")" (( "(") (identifier "param_1") (, ",") (string_literal ""background"" (" """) (string_content "background") (" """)) () ")")))) (; ";")) (} "}"))) (expression_statement "local_1d4 = param_1;" (assignment_expression "local_1d4 = param_1" (identifier "local_1d4") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_1cc = param_3;" (assignment_expression "local_1cc = param_3" (identifier "local_1cc") (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_1d0 = uVar7;" (assignment_expression "local_1d0 = uVar7" (identifier "local_1d0") (= "=") (identifier "uVar7")) (; ";")) (expression_statement "local_1c4 = local_184;" (assignment_expression "local_1c4 = local_184" (identifier "local_1c4") (= "=") (identifier "local_184")) (; ";")) (expression_statement "local_1c0 = local_160;" (assignment_expression "local_1c0 = local_160" (identifier "local_1c0") (= "=") (identifier "local_160")) (; ";")) (expression_statement "GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);" (call_expression "GOMP_parallel(FUN_0003dc30,&local_1d4,0,0)" (identifier "GOMP_parallel") (argument_list "(FUN_0003dc30,&local_1d4,0,0)" (( "(") (identifier "FUN_0003dc30") (, ",") (pointer_expression "&local_1d4" (& "&") (identifier "local_1d4")) (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "dVar3 = -1.0;" (assignment_expression "dVar3 = -1.0" (identifier "dVar3") (= "=") (number_literal "-1.0")) (; ";")) (do_statement "do {\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    } while (iVar8 != 4);" (do "do") (compound_statement "{\n      dVar1 = local_184[iVar8];\n      if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }\n      iVar8 = iVar8 + 1;\n    }" ({ "{") (expression_statement "dVar1 = local_184[iVar8];" (assignment_expression "dVar1 = local_184[iVar8]" (identifier "dVar1") (= "=") (subscript_expression "local_184[iVar8]" (identifier "local_184") ([ "[") (identifier "iVar8") (] "]"))) (; ";")) (if_statement "if (dVar3 < dVar1) {\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }" (if "if") (parenthesized_expression "(dVar3 < dVar1)" (( "(") (binary_expression "dVar3 < dVar1" (identifier "dVar3") (< "<") (identifier "dVar1")) () ")")) (compound_statement "{\n        puVar15 = local_160 + iVar8 * 0x14;\n        puVar11 = &local_224;\n        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }\n      }" ({ "{") (expression_statement "puVar15 = local_160 + iVar8 * 0x14;" (assignment_expression "puVar15 = local_160 + iVar8 * 0x14" (identifier "puVar15") (= "=") (binary_expression "local_160 + iVar8 * 0x14" (identifier "local_160") (+ "+") (binary_expression "iVar8 * 0x14" (identifier "iVar8") (* "*") (number_literal "0x14")))) (; ";")) (expression_statement "puVar11 = &local_224;" (assignment_expression "puVar11 = &local_224" (identifier "puVar11") (= "=") (pointer_expression "&local_224" (& "&") (identifier "local_224"))) (; ";")) (for_statement "for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }" (for "for") (( "(") (assignment_expression "iVar13 = 0x14" (identifier "iVar13") (= "=") (number_literal "0x14")) (; ";") (comma_expression "dVar3 = dVar1, iVar13 != 0" (assignment_expression "dVar3 = dVar1" (identifier "dVar3") (= "=") (identifier "dVar1")) (, ",") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0"))) (; ";") (assignment_expression "iVar13 = iVar13 + -1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + -1" (identifier "iVar13") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n          *puVar11 = *puVar15;\n          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;\n        }" ({ "{") (expression_statement "*puVar11 = *puVar15;" (assignment_expression "*puVar11 = *puVar15" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (pointer_expression "*puVar15" (* "*") (identifier "puVar15"))) (; ";")) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" (identifier "puVar15") (= "=") (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" (identifier "puVar15") (+ "+") (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar11 = puVar11 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar11 = puVar11 + (uint)bVar17 * -2 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + (uint)bVar17 * -2 + 1" (binary_expression "puVar11 + (uint)bVar17 * -2" (identifier "puVar11") (+ "+") (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 != 4)" (( "(") (binary_expression "iVar8 != 4" (identifier "iVar8") (!= "!=") (number_literal "4")) () ")")) (; ";")) (expression_statement "puVar15 = &local_224;" (assignment_expression "puVar15 = &local_224" (identifier "puVar15") (= "=") (pointer_expression "&local_224" (& "&") (identifier "local_224"))) (; ";")) (expression_statement "ppuVar16 = &local_1d4;" (assignment_expression "ppuVar16 = &local_1d4" (identifier "ppuVar16") (= "=") (pointer_expression "&local_1d4" (& "&") (identifier "local_1d4"))) (; ";")) (for_statement "for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar8 = 0x14" (identifier "iVar8") (= "=") (number_literal "0x14")) (; ";") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *ppuVar16 = (undefined4 *)*puVar15;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n    }" ({ "{") (expression_statement "*ppuVar16 = (undefined4 *)*puVar15;" (assignment_expression "*ppuVar16 = (undefined4 *)*puVar15" (pointer_expression "*ppuVar16" (* "*") (identifier "ppuVar16")) (= "=") (cast_expression "(undefined4 *)*puVar15" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar15" (* "*") (identifier "puVar15")))) (; ";")) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" (identifier "puVar15") (= "=") (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" (identifier "puVar15") (+ "+") (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;" (assignment_expression "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1" (identifier "ppuVar16") (= "=") (binary_expression "ppuVar16 + (uint)bVar17 * -2 + 1" (binary_expression "ppuVar16 + (uint)bVar17 * -2" (identifier "ppuVar16") (+ "+") (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "ppuVar16 = &local_1d4;" (assignment_expression "ppuVar16 = &local_1d4" (identifier "ppuVar16") (= "=") (pointer_expression "&local_1d4" (& "&") (identifier "local_1d4"))) (; ";")) (expression_statement "puVar15 = local_274;" (assignment_expression "puVar15 = local_274" (identifier "puVar15") (= "=") (identifier "local_274")) (; ";")) (for_statement "for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }" (for "for") (( "(") (assignment_expression "iVar8 = 0x14" (identifier "iVar8") (= "=") (number_literal "0x14")) (; ";") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar8 = iVar8 + -1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + -1" (identifier "iVar8") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n      *puVar15 = *ppuVar16;\n      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;\n      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;\n    }" ({ "{") (expression_statement "*puVar15 = *ppuVar16;" (assignment_expression "*puVar15 = *ppuVar16" (pointer_expression "*puVar15" (* "*") (identifier "puVar15")) (= "=") (pointer_expression "*ppuVar16" (* "*") (identifier "ppuVar16"))) (; ";")) (expression_statement "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;" (assignment_expression "ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1" (identifier "ppuVar16") (= "=") (binary_expression "ppuVar16 + (uint)bVar17 * -2 + 1" (binary_expression "ppuVar16 + (uint)bVar17 * -2" (identifier "ppuVar16") (+ "+") (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar15 = puVar15 + (uint)bVar17 * -2 + 1;" (assignment_expression "puVar15 = puVar15 + (uint)bVar17 * -2 + 1" (identifier "puVar15") (= "=") (binary_expression "puVar15 + (uint)bVar17 * -2 + 1" (binary_expression "puVar15 + (uint)bVar17 * -2" (identifier "puVar15") (+ "+") (binary_expression "(uint)bVar17 * -2" (cast_expression "(uint)bVar17" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if ((int)param_1[7] < 1) {\n      local_2a0 = 0;\n    }\n    else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" (if "if") (parenthesized_expression "((int)param_1[7] < 1)" (( "(") (binary_expression "(int)param_1[7] < 1" (cast_expression "(int)param_1[7]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n      local_2a0 = 0;\n    }" ({ "{") (expression_statement "local_2a0 = 0;" (assignment_expression "local_2a0 = 0" (identifier "local_2a0") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" (else "else") (compound_statement "{\n      local_2a4 = 0;\n      local_2a0 = 0;\n      bVar4 = true;\n      do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);\n    }" ({ "{") (expression_statement "local_2a4 = 0;" (assignment_expression "local_2a4 = 0" (identifier "local_2a4") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2a0 = 0;" (assignment_expression "local_2a0 = 0" (identifier "local_2a0") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar4 = true;" (assignment_expression "bVar4 = true" (identifier "bVar4") (= "=") (true "true")) (; ";")) (do_statement "do {\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      } while (local_2a4 < iVar8);" (do "do") (compound_statement "{\n        local_298 = local_2a4 + 1;\n        if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }\n      }" ({ "{") (expression_statement "local_298 = local_2a4 + 1;" (assignment_expression "local_298 = local_2a4 + 1" (identifier "local_298") (= "=") (binary_expression "local_2a4 + 1" (identifier "local_2a4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (bVar4) {\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }\n        else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" (if "if") (parenthesized_expression "(bVar4)" (( "(") (identifier "bVar4") () ")")) (compound_statement "{\n          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);\n          if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }\n          iVar13 = 0;\n          if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n        }" ({ "{") (expression_statement "iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);" (assignment_expression "iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3)" (identifier "iVar8") (= "=") (call_expression "GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3)" (identifier "GetCacheViewVirtualPixels") (argument_list "(uVar7,0,local_2a4,param_1[6],1,param_3)" (( "(") (identifier "uVar7") (, ",") (number_literal "0") (, ",") (identifier "local_2a4") (, ",") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (, ",") (number_literal "1") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar8 = param_1[7];\n            if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }\n            break;\n          }" ({ "{") (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" (identifier "iVar8") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if (local_298 < iVar8) {\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }" (if "if") (parenthesized_expression "(local_298 < iVar8)" (( "(") (binary_expression "local_298 < iVar8" (identifier "local_298") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n              local_298 = local_2a4 + 2;\n              goto LAB_0003fc18;\n            }" ({ "{") (expression_statement "local_298 = local_2a4 + 2;" (assignment_expression "local_298 = local_2a4 + 2" (identifier "local_298") (= "=") (binary_expression "local_2a4 + 2" (identifier "local_2a4") (+ "+") (number_literal "2"))) (; ";")) (goto_statement "goto LAB_0003fc18;" (goto "goto") (statement_identifier "LAB_0003fc18") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((int)param_1[6] < 1) {\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }\n          else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" (if "if") (parenthesized_expression "((int)param_1[6] < 1)" (( "(") (binary_expression "(int)param_1[6] < 1" (cast_expression "(int)param_1[6]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]"))) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" ({ "{") (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" (identifier "iVar8") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "local_2a4 = local_298;" (assignment_expression "local_2a4 = local_298" (identifier "local_2a4") (= "=") (identifier "local_298")) (; ";")) (} "}")) (else_clause "else {\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" (else "else") (compound_statement "{\n            do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);\n            iVar8 = param_1[7];\n            local_2a4 = local_298;\n          }" ({ "{") (do_statement "do {\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            } while (iVar13 < (int)param_1[6]);" (do "do") (compound_statement "{\n              ResetMagickMemory(&local_224,0,0x50);\n              local_224 = *param_1;\n              local_1e4 = (double)DAT_0029f710;\n              local_218 = *(undefined8 *)(param_1 + 0x88);\n              local_220 = param_1[1];\n              local_210 = param_1[8];\n              local_21c = param_1[0xa5];\n              if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }\n              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);\n              if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }\n              iVar13 = iVar13 + 1;\n              iVar8 = iVar8 + param_1[0xa6] * 8;\n            }" ({ "{") (expression_statement "ResetMagickMemory(&local_224,0,0x50);" (call_expression "ResetMagickMemory(&local_224,0,0x50)" (identifier "ResetMagickMemory") (argument_list "(&local_224,0,0x50)" (( "(") (pointer_expression "&local_224" (& "&") (identifier "local_224")) (, ",") (number_literal "0") (, ",") (number_literal "0x50") () ")"))) (; ";")) (expression_statement "local_224 = *param_1;" (assignment_expression "local_224 = *param_1" (identifier "local_224") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_1e4 = (double)DAT_0029f710;" (assignment_expression "local_1e4 = (double)DAT_0029f710" (identifier "local_1e4") (= "=") (cast_expression "(double)DAT_0029f710" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_0029f710"))) (; ";")) (expression_statement "local_218 = *(undefined8 *)(param_1 + 0x88);" (assignment_expression "local_218 = *(undefined8 *)(param_1 + 0x88)" (identifier "local_218") (= "=") (pointer_expression "*(undefined8 *)(param_1 + 0x88)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x88)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x88)" (( "(") (binary_expression "param_1 + 0x88" (identifier "param_1") (+ "+") (number_literal "0x88")) () ")"))))) (; ";")) (expression_statement "local_220 = param_1[1];" (assignment_expression "local_220 = param_1[1]" (identifier "local_220") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "local_210 = param_1[8];" (assignment_expression "local_210 = param_1[8]" (identifier "local_210") (= "=") (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "local_21c = param_1[0xa5];" (assignment_expression "local_21c = param_1[0xa5]" (identifier "local_21c") (= "=") (subscript_expression "param_1[0xa5]" (identifier "param_1") ([ "[") (number_literal "0xa5") (] "]"))) (; ";")) (if_statement "if (iVar8 != 0) {\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }" (if "if") (parenthesized_expression "(iVar8 != 0)" (( "(") (binary_expression "iVar8 != 0" (identifier "iVar8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                iVar9 = param_1[0xaa];\n                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);\n                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);\n                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);\n                if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }\n                if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }\n                if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }\n              }" ({ "{") (expression_statement "iVar9 = param_1[0xaa];" (assignment_expression "iVar9 = param_1[0xaa]" (identifier "iVar9") (= "=") (subscript_expression "param_1[0xaa]" (identifier "param_1") ([ "[") (number_literal "0xaa") (] "]"))) (; ";")) (expression_statement "local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);" (assignment_expression "local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" (identifier "local_204") (= "=") (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 8) * 8)" (( "(") (binary_expression "iVar8 + *(int *)(iVar9 + 8) * 8" (identifier "iVar8") (+ "+") (binary_expression "*(int *)(iVar9 + 8) * 8" (pointer_expression "*(int *)(iVar9 + 8)" (* "*") (cast_expression "(int *)(iVar9 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 8)" (( "(") (binary_expression "iVar9 + 8" (identifier "iVar9") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);" (assignment_expression "local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" (identifier "local_1fc") (= "=") (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x14) * 8)" (( "(") (binary_expression "iVar8 + *(int *)(iVar9 + 0x14) * 8" (identifier "iVar8") (+ "+") (binary_expression "*(int *)(iVar9 + 0x14) * 8" (pointer_expression "*(int *)(iVar9 + 0x14)" (* "*") (cast_expression "(int *)(iVar9 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x14)" (( "(") (binary_expression "iVar9 + 0x14" (identifier "iVar9") (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);" (assignment_expression "local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" (identifier "local_1f4") (= "=") (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x20) * 8)" (( "(") (binary_expression "iVar8 + *(int *)(iVar9 + 0x20) * 8" (identifier "iVar8") (+ "+") (binary_expression "*(int *)(iVar9 + 0x20) * 8" (pointer_expression "*(int *)(iVar9 + 0x20)" (* "*") (cast_expression "(int *)(iVar9 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x20)" (( "(") (binary_expression "iVar9 + 0x20" (identifier "iVar9") (+ "+") (number_literal "0x20")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if (*(int *)(iVar9 + 0x28) != 0) {\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }" (if "if") (parenthesized_expression "(*(int *)(iVar9 + 0x28) != 0)" (( "(") (binary_expression "*(int *)(iVar9 + 0x28) != 0" (pointer_expression "*(int *)(iVar9 + 0x28)" (* "*") (cast_expression "(int *)(iVar9 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x28)" (( "(") (binary_expression "iVar9 + 0x28" (identifier "iVar9") (+ "+") (number_literal "0x28")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);\n                }" ({ "{") (expression_statement "local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);" (assignment_expression "local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" (identifier "local_1ec") (= "=") (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x2c) * 8)" (( "(") (binary_expression "iVar8 + *(int *)(iVar9 + 0x2c) * 8" (identifier "iVar8") (+ "+") (binary_expression "*(int *)(iVar9 + 0x2c) * 8" (pointer_expression "*(int *)(iVar9 + 0x2c)" (* "*") (cast_expression "(int *)(iVar9 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x2c)" (( "(") (binary_expression "iVar9 + 0x2c" (identifier "iVar9") (+ "+") (number_literal "0x2c")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar9 + 0x34) != 0) {\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }" (if "if") (parenthesized_expression "(*(int *)(iVar9 + 0x34) != 0)" (( "(") (binary_expression "*(int *)(iVar9 + 0x34) != 0" (pointer_expression "*(int *)(iVar9 + 0x34)" (* "*") (cast_expression "(int *)(iVar9 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x34)" (( "(") (binary_expression "iVar9 + 0x34" (identifier "iVar9") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);\n                  local_21c = 4;\n                }" ({ "{") (expression_statement "local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);" (assignment_expression "local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" (identifier "local_1e4") (= "=") (pointer_expression "*(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" (* "*") (cast_expression "(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x38) * 8)" (( "(") (binary_expression "iVar8 + *(int *)(iVar9 + 0x38) * 8" (identifier "iVar8") (+ "+") (binary_expression "*(int *)(iVar9 + 0x38) * 8" (pointer_expression "*(int *)(iVar9 + 0x38)" (* "*") (cast_expression "(int *)(iVar9 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x38)" (( "(") (binary_expression "iVar9 + 0x38" (identifier "iVar9") (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "local_21c = 4;" (assignment_expression "local_21c = 4" (identifier "local_21c") (= "=") (number_literal "4")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar9 + 0x40) != 0) {\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }" (if "if") (parenthesized_expression "(*(int *)(iVar9 + 0x40) != 0)" (( "(") (binary_expression "*(int *)(iVar9 + 0x40) != 0" (pointer_expression "*(int *)(iVar9 + 0x40)" (* "*") (cast_expression "(int *)(iVar9 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x40)" (( "(") (binary_expression "iVar9 + 0x40" (identifier "iVar9") (+ "+") (number_literal "0x40")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);\n                }" ({ "{") (expression_statement "local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);" (assignment_expression "local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" (identifier "local_1dc") (= "=") (pointer_expression "*(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" (* "*") (cast_expression "(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar8 + *(int *)(iVar9 + 0x44) * 8)" (( "(") (binary_expression "iVar8 + *(int *)(iVar9 + 0x44) * 8" (identifier "iVar8") (+ "+") (binary_expression "*(int *)(iVar9 + 0x44) * 8" (pointer_expression "*(int *)(iVar9 + 0x44)" (* "*") (cast_expression "(int *)(iVar9 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x44)" (( "(") (binary_expression "iVar9 + 0x44" (identifier "iVar9") (+ "+") (number_literal "0x44")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);" (assignment_expression "iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274)" (identifier "iVar9") (= "=") (call_expression "IsFuzzyEquivalencePixelInfo(&local_224,local_274)" (identifier "IsFuzzyEquivalencePixelInfo") (argument_list "(&local_224,local_274)" (( "(") (pointer_expression "&local_224" (& "&") (identifier "local_224")) (, ",") (identifier "local_274") () ")")))) (; ";")) (if_statement "if (iVar9 == 0) {\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }" (if "if") (parenthesized_expression "(iVar9 == 0)" (( "(") (binary_expression "iVar9 == 0" (identifier "iVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);\n                *pdVar10 = (double)iVar13;\n                pdVar10[1] = (double)local_2a4;\n                local_2a0 = local_2a0 + 1;\n              }" ({ "{") (expression_statement "pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);" (assignment_expression "pdVar10 = (double *)(local_2a0 * 0x10 + iVar6)" (identifier "pdVar10") (= "=") (cast_expression "(double *)(local_2a0 * 0x10 + iVar6)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_2a0 * 0x10 + iVar6)" (( "(") (binary_expression "local_2a0 * 0x10 + iVar6" (binary_expression "local_2a0 * 0x10" (identifier "local_2a0") (* "*") (number_literal "0x10")) (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (expression_statement "*pdVar10 = (double)iVar13;" (assignment_expression "*pdVar10 = (double)iVar13" (pointer_expression "*pdVar10" (* "*") (identifier "pdVar10")) (= "=") (cast_expression "(double)iVar13" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar13"))) (; ";")) (expression_statement "pdVar10[1] = (double)local_2a4;" (assignment_expression "pdVar10[1] = (double)local_2a4" (subscript_expression "pdVar10[1]" (identifier "pdVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(double)local_2a4" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_2a4"))) (; ";")) (expression_statement "local_2a0 = local_2a0 + 1;" (assignment_expression "local_2a0 = local_2a0 + 1" (identifier "local_2a0") (= "=") (binary_expression "local_2a0 + 1" (identifier "local_2a0") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar8 = iVar8 + param_1[0xa6] * 8;" (assignment_expression "iVar8 = iVar8 + param_1[0xa6] * 8" (identifier "iVar8") (= "=") (binary_expression "iVar8 + param_1[0xa6] * 8" (identifier "iVar8") (+ "+") (binary_expression "param_1[0xa6] * 8" (subscript_expression "param_1[0xa6]" (identifier "param_1") ([ "[") (number_literal "0xa6") (] "]")) (* "*") (number_literal "8")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar13 < (int)param_1[6])" (( "(") (binary_expression "iVar13 < (int)param_1[6]" (identifier "iVar13") (< "<") (cast_expression "(int)param_1[6]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) () ")")) (; ";")) (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" (identifier "iVar8") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "local_2a4 = local_298;" (assignment_expression "local_2a4 = local_298" (identifier "local_2a4") (= "=") (identifier "local_298")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" (else "else") (compound_statement "{\n          iVar8 = param_1[7];\nLAB_0003fc18:\n          if (iVar8 <= local_298) break;\n          bVar4 = false;\n          local_2a4 = local_298 + 1;\n        }" ({ "{") (expression_statement "iVar8 = param_1[7];" (assignment_expression "iVar8 = param_1[7]" (identifier "iVar8") (= "=") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (; ";")) (labeled_statement "LAB_0003fc18:\n          if (iVar8 <= local_298) break;" (statement_identifier "LAB_0003fc18") (: ":") (if_statement "if (iVar8 <= local_298) break;" (if "if") (parenthesized_expression "(iVar8 <= local_298)" (( "(") (binary_expression "iVar8 <= local_298" (identifier "iVar8") (<= "<=") (identifier "local_298")) () ")")) (break_statement "break;" (break "break") (; ";")))) (expression_statement "bVar4 = false;" (assignment_expression "bVar4 = false" (identifier "bVar4") (= "=") (false "false")) (; ";")) (expression_statement "local_2a4 = local_298 + 1;" (assignment_expression "local_2a4 = local_298 + 1" (identifier "local_2a4") (= "=") (binary_expression "local_298 + 1" (identifier "local_298") (+ "+") (number_literal "1"))) (; ";")) (} "}")))) (} "}")) (while "while") (parenthesized_expression "(local_2a4 < iVar8)" (( "(") (binary_expression "local_2a4 < iVar8" (identifier "local_2a4") (< "<") (identifier "iVar8")) () ")")) (; ";")) (} "}")))) (expression_statement "DestroyCacheView(uVar7);" (call_expression "DestroyCacheView(uVar7)" (identifier "DestroyCacheView") (argument_list "(uVar7)" (( "(") (identifier "uVar7") () ")"))) (; ";")) (expression_statement "TraceConvexHull(iVar6,local_2a0,&local_278,param_2);" (call_expression "TraceConvexHull(iVar6,local_2a0,&local_278,param_2)" (identifier "TraceConvexHull") (argument_list "(iVar6,local_2a0,&local_278,param_2)" (( "(") (identifier "iVar6") (, ",") (identifier "local_2a0") (, ",") (pointer_expression "&local_278" (& "&") (identifier "local_278")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);" (assignment_expression "puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10)" (identifier "puVar15") (= "=") (cast_expression "(undefined4 *)AcquireQuantumMemory(*param_2,0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "AcquireQuantumMemory(*param_2,0x10)" (identifier "AcquireQuantumMemory") (argument_list "(*param_2,0x10)" (( "(") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (number_literal "0x10") () ")"))))) (; ";")) (if_statement "if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }" (if "if") (parenthesized_expression "((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0))" (( "(") (binary_expression "(puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)" (parenthesized_expression "(puVar15 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar15 != (undefined4 *)0x0" (identifier "puVar15") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = *param_2, iVar6 != 0)" (( "(") (comma_expression "iVar6 = *param_2, iVar6 != 0" (assignment_expression "iVar6 = *param_2" (identifier "iVar6") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      puVar11 = puVar15;\n      piVar14 = local_278;\n      do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);\n    }" ({ "{") (expression_statement "puVar11 = puVar15;" (assignment_expression "puVar11 = puVar15" (identifier "puVar11") (= "=") (identifier "puVar15")) (; ";")) (expression_statement "piVar14 = local_278;" (assignment_expression "piVar14 = local_278" (identifier "piVar14") (= "=") (identifier "local_278")) (; ";")) (do_statement "do {\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      } while (puVar12 != puVar15 + iVar6 * 4);" (do "do") (compound_statement "{\n        puVar2 = (undefined4 *)*piVar14;\n        puVar12 = puVar11 + 4;\n        piVar14 = piVar14 + 1;\n        *puVar11 = *puVar2;\n        puVar11[1] = puVar2[1];\n        puVar11[2] = puVar2[2];\n        puVar11[3] = puVar2[3];\n        puVar11 = puVar12;\n      }" ({ "{") (expression_statement "puVar2 = (undefined4 *)*piVar14;" (assignment_expression "puVar2 = (undefined4 *)*piVar14" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*piVar14" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar14" (* "*") (identifier "piVar14")))) (; ";")) (expression_statement "puVar12 = puVar11 + 4;" (assignment_expression "puVar12 = puVar11 + 4" (identifier "puVar12") (= "=") (binary_expression "puVar11 + 4" (identifier "puVar11") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "piVar14 = piVar14 + 1;" (assignment_expression "piVar14 = piVar14 + 1" (identifier "piVar14") (= "=") (binary_expression "piVar14 + 1" (identifier "piVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*puVar11 = *puVar2;" (assignment_expression "*puVar11 = *puVar2" (pointer_expression "*puVar11" (* "*") (identifier "puVar11")) (= "=") (pointer_expression "*puVar2" (* "*") (identifier "puVar2"))) (; ";")) (expression_statement "puVar11[1] = puVar2[1];" (assignment_expression "puVar11[1] = puVar2[1]" (subscript_expression "puVar11[1]" (identifier "puVar11") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar11[2] = puVar2[2];" (assignment_expression "puVar11[2] = puVar2[2]" (subscript_expression "puVar11[2]" (identifier "puVar11") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "puVar11[3] = puVar2[3];" (assignment_expression "puVar11[3] = puVar2[3]" (subscript_expression "puVar11[3]" (identifier "puVar11") ([ "[") (number_literal "3") (] "]")) (= "=") (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "puVar11 = puVar12;" (assignment_expression "puVar11 = puVar12" (identifier "puVar11") (= "=") (identifier "puVar12")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar12 != puVar15 + iVar6 * 4)" (( "(") (binary_expression "puVar12 != puVar15 + iVar6 * 4" (identifier "puVar12") (!= "!=") (binary_expression "puVar15 + iVar6 * 4" (identifier "puVar15") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4")))) () ")")) (; ";")) (} "}"))) (expression_statement "local_278 = (int *)RelinquishMagickMemory(local_278);" (assignment_expression "local_278 = (int *)RelinquishMagickMemory(local_278)" (identifier "local_278") (= "=") (cast_expression "(int *)RelinquishMagickMemory(local_278)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "RelinquishMagickMemory(local_278)" (identifier "RelinquishMagickMemory") (argument_list "(local_278)" (( "(") (identifier "local_278") () ")"))))) (; ";")) (expression_statement "RelinquishVirtualMemory(iVar5);" (call_expression "RelinquishVirtualMemory(iVar5)" (identifier "RelinquishVirtualMemory") (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (} "}")))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_0029eab0();\n  }" ({ "{") (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return puVar15;" (return "return") (identifier "puVar15") (; ";")) (} "}")))

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

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

{
  double var_18;
  int var_39;
  type_4 *pPVar3;
  type_1 *pPVar4;
  double var_17;
  bool bVar6;
  type_5 *var_8;
  type_6 *cache_view;
  int var_20;
  type_7 *var_25;
  type_8 var_30;
  size_t var_35;
  type_1 *var_36;
  type_1 *var_38;
  int var_21;
  type_1 **var_37;
  type_1 *var_34;
  type_9 *pPVar16;
  type_2 **var_22;
  type_9 *pPVar18;
  int var_1;
  type_10 bVar19;
  int var_23;
  size_t var_31;
  int var_26;
  type_1 **var_9;
  type_9 background;
  type_9 pixel;
  type_2 *local_1d4;
  type_6 *local_1d0;
  type_3 *local_1cc;
  char *var_15;
  double *local_1c4;
  type_9 *local_1c0;
  double census [4];
  type_9 var_19 [4];
  
  bVar19 = 0;
  var_39 = *(int *)(var_1 + 0x14);
  if (var_2 == (type_2 *)0x0) {
                    /* WARNING: Subroutine does not return */
    var_3("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"GetImageConvexHull");
  }
  if (var_2->signature != 0xabacadab) {
                    /* WARNING: Subroutine does not return */
    var_3("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,
                  "GetImageConvexHull");
  }
  if (var_2->debug != var_4) {
    var_5(TraceEvent,"MagickCore/attribute.c","GetImageConvexHull",0x2ed,"%s",
                   var_2->filename);
  }
  *number_vertices = 0;
  var_8 = var_6(var_2->columns,var_2->rows << 4);
  var_9 = (type_1 **)var_7(var_2->columns * 2,var_2->rows << 3);
  if ((var_8 == (type_5 *)0x0) || (var_9 == (type_1 **)0x0)) {
    if (var_9 != (type_1 **)0x0) {
      var_9 = (type_1 **)var_10(var_9);
    }
    var_34 = (type_1 *)0x0;
    if (var_8 != (type_5 *)0x0) {
      var_11(var_8);
    }
  }
  else {
    var_34 = (type_1 *)var_12(var_8);
    cache_view = var_13(var_2,exception);
    var_15 = var_14(var_2,"convex-hull:background-color");
    if (var_15 == (char *)0x0) {
      var_15 = var_14(var_2,"background");
    }
    local_1d4 = var_2;
    local_1cc = exception;
    local_1d0 = cache_view;
    local_1c4 = census;
    local_1c0 = var_19;
    var_16(GetEdgeBackgroundColor__omp_fn_1,&local_1d4,0,0);
    var_20 = 0;
    var_17 = -1.0;
    do {
      var_18 = census[var_20];
      if (var_17 < var_18) {
        pPVar16 = var_19 + var_20;
        pPVar18 = &pixel;
        for (var_21 = 0x14; var_17 = var_18, var_21 != 0; var_21 = var_21 + -1) {
          pPVar18->storage_class = pPVar16->storage_class;
          pPVar16 = (type_9 *)((int)pPVar16 + (type_11)bVar19 * -8 + 4);
          pPVar18 = (type_9 *)((int)pPVar18 + (type_11)bVar19 * -8 + 4);
        }
      }
      var_20 = var_20 + 1;
    } while (var_20 != 4);
    pPVar16 = &pixel;
    var_22 = &local_1d4;
    for (var_20 = 0x14; var_20 != 0; var_20 = var_20 + -1) {
      *var_22 = (type_2 *)pPVar16->storage_class;
      pPVar16 = (type_9 *)((int)pPVar16 + (type_11)bVar19 * -8 + 4);
      var_22 = var_22 + (type_11)bVar19 * -2 + 1;
    }
    var_22 = &local_1d4;
    pPVar16 = &background;
    for (var_20 = 0x14; var_20 != 0; var_20 = var_20 + -1) {
      pPVar16->storage_class = (ClassType)*var_22;
      var_22 = var_22 + (type_11)bVar19 * -2 + 1;
      pPVar16 = (type_9 *)((int)pPVar16 + (type_11)bVar19 * -8 + 4);
    }
    if ((int)var_2->rows < 1) {
      var_31 = 0;
    }
    else {
      var_23 = 0;
      var_31 = 0;
      bVar6 = true;
      do {
        var_26 = var_23 + 1;
        if (bVar6) {
          var_25 = var_24(cache_view,0,var_23,var_2->columns,1,exception);
          if (var_25 == (type_7 *)0x0) {
            var_35 = var_2->rows;
            if (var_26 < (int)var_35) {
              var_26 = var_23 + 2;
              goto LAB_0003fc18;
            }
            break;
          }
          var_20 = 0;
          if ((int)var_2->columns < 1) {
            var_35 = var_2->rows;
            var_23 = var_26;
          }
          else {
            do {
              var_27(&pixel,0,0x50);
              pixel.storage_class = var_2->storage_class;
              pixel.alpha = (type_12)DAT_0029f710;
              pixel.fuzz = var_2->fuzz;
              pixel.colorspace = var_2->colorspace;
              pixel.depth = var_2->depth;
              pixel.alpha_trait = var_2->alpha_trait;
              if (var_25 != (type_7 *)0x0) {
                pPVar3 = var_2->channel_map;
                pixel.red = var_25[pPVar3->offset];
                pixel.green = var_25[pPVar3[1].offset];
                pixel.blue = var_25[pPVar3[2].offset];
                if (pPVar3[3].traits != var_28) {
                  pixel.black = var_25[pPVar3[3].offset];
                }
                if (pPVar3[4].traits != var_28) {
                  pixel.alpha = var_25[pPVar3[4].offset];
                  pixel.alpha_trait = BlendPixelTrait;
                }
                if (pPVar3[5].traits != var_28) {
                  pixel.index = var_25[pPVar3[5].offset];
                }
              }
              var_30 = var_29(&pixel,&background);
              if (var_30 == var_4) {
                var_34[var_31].x = (double)var_20;
                var_34[var_31].y = (double)var_23;
                var_31 = var_31 + 1;
              }
              var_20 = var_20 + 1;
              var_25 = var_25 + var_2->number_channels;
            } while (var_20 < (int)var_2->columns);
            var_35 = var_2->rows;
            var_23 = var_26;
          }
        }
        else {
          var_35 = var_2->rows;
LAB_0003fc18:
          if ((int)var_35 <= var_26) break;
          bVar6 = false;
          var_23 = var_26 + 1;
        }
      } while (var_23 < (int)var_35);
    }
    var_32(cache_view);
    var_33(var_34,var_31,&var_9,number_vertices);
    var_34 = (type_1 *)var_7(*number_vertices,0x10);
    if ((var_34 != (type_1 *)0x0) && (var_35 = *number_vertices, var_35 != 0)) {
      var_36 = var_34;
      var_37 = var_9;
      do {
        pPVar4 = *var_37;
        var_38 = var_36 + 1;
        var_37 = var_37 + 1;
        *(type_13 *)&var_36->x = *(type_13 *)&pPVar4->x;
        *(type_13 *)((int)&var_36->x + 4) = *(type_13 *)((int)&pPVar4->x + 4);
        *(type_13 *)&var_36->y = *(type_13 *)&pPVar4->y;
        *(type_13 *)((int)&var_36->y + 4) = *(type_13 *)((int)&pPVar4->y + 4);
        var_36 = var_38;
      } while (var_38 != var_34 + var_35);
    }
    var_9 = (type_1 **)var_10(var_9);
    var_11(var_8);
  }
  if (var_39 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_40();
  }
  return var_34;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  double dVar1;
  undefined4 *puVar2;
  double dVar3;
  bool bVar4;
  int iVar5;
  int iVar6;
  undefined4 uVar7;
  int iVar8;
  int iVar9;
  double *pdVar10;
  undefined4 *puVar11;
  undefined4 *puVar12;
  int iVar13;
  int *piVar14;
  undefined4 *puVar15;
  undefined4 **ppuVar16;
  int in_GS_OFFSET;
  byte bVar17;
  int local_2a4;
  int local_2a0;
  int local_298;
  int *local_278;
  undefined4 local_274 [20];
  undefined4 local_224;
  undefined4 local_220;
  undefined4 local_21c;
  undefined8 local_218;
  undefined4 local_210;
  undefined8 local_204;
  undefined8 local_1fc;
  undefined8 local_1f4;
  undefined8 local_1ec;
  double local_1e4;
  undefined8 local_1dc;
  undefined4 *local_1d4;
  undefined4 local_1d0;
  undefined4 local_1cc;
  int local_1c8;
  double *local_1c4;
  undefined4 *local_1c0;
  double local_184 [4];
  undefined4 local_160 [80];
  int local_20;
  undefined4 uStack_14;
  
  bVar17 = 0;
  uStack_14 = 0x3f769;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if (param_1 == (undefined4 *)0x0) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image != (Image *) NULL","MagickCore/attribute.c",0x2ea,"MASKED");
  }
  if (param_1[0xcd1] != -0x54535255) {
                    /* WARNING: Subroutine does not return */
    __assert_fail("image->signature == MagickCoreSignature","MagickCore/attribute.c",0x2eb,
                  "MASKED");
  }
  if (param_1[0xcca] != 0) {
    LogMagickEvent(0x8000,"MagickCore/attribute.c","MASKED",0x2ed,&DAT_002b6e4e,
                   param_1 + 0xc6);
  }
  *param_2 = 0;
  iVar5 = AcquireVirtualMemory(param_1[6],param_1[7] << 4);
  local_278 = (int *)AcquireQuantumMemory(param_1[6] * 2,param_1[7] << 3);
  if ((iVar5 == 0) || (local_278 == (int *)0x0)) {
    if (local_278 != (int *)0x0) {
      local_278 = (int *)RelinquishMagickMemory(local_278);
    }
    puVar15 = (undefined4 *)0x0;
    if (iVar5 != 0) {
      RelinquishVirtualMemory(iVar5);
    }
  }
  else {
    iVar6 = GetVirtualMemoryBlob(iVar5);
    uVar7 = AcquireVirtualCacheView(param_1,param_3);
    local_1c8 = GetImageArtifact(param_1,"convex-hull:background-color");
    if (local_1c8 == 0) {
      local_1c8 = GetImageArtifact(param_1,"background");
    }
    local_1d4 = param_1;
    local_1cc = param_3;
    local_1d0 = uVar7;
    local_1c4 = local_184;
    local_1c0 = local_160;
    GOMP_parallel(FUN_0003dc30,&local_1d4,0,0);
    iVar8 = 0;
    dVar3 = -1.0;
    do {
      dVar1 = local_184[iVar8];
      if (dVar3 < dVar1) {
        puVar15 = local_160 + iVar8 * 0x14;
        puVar11 = &local_224;
        for (iVar13 = 0x14; dVar3 = dVar1, iVar13 != 0; iVar13 = iVar13 + -1) {
          *puVar11 = *puVar15;
          puVar15 = puVar15 + (uint)bVar17 * -2 + 1;
          puVar11 = puVar11 + (uint)bVar17 * -2 + 1;
        }
      }
      iVar8 = iVar8 + 1;
    } while (iVar8 != 4);
    puVar15 = &local_224;
    ppuVar16 = &local_1d4;
    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {
      *ppuVar16 = (undefined4 *)*puVar15;
      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;
      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;
    }
    ppuVar16 = &local_1d4;
    puVar15 = local_274;
    for (iVar8 = 0x14; iVar8 != 0; iVar8 = iVar8 + -1) {
      *puVar15 = *ppuVar16;
      ppuVar16 = ppuVar16 + (uint)bVar17 * -2 + 1;
      puVar15 = puVar15 + (uint)bVar17 * -2 + 1;
    }
    if ((int)param_1[7] < 1) {
      local_2a0 = 0;
    }
    else {
      local_2a4 = 0;
      local_2a0 = 0;
      bVar4 = true;
      do {
        local_298 = local_2a4 + 1;
        if (bVar4) {
          iVar8 = GetCacheViewVirtualPixels(uVar7,0,local_2a4,param_1[6],1,param_3);
          if (iVar8 == 0) {
            iVar8 = param_1[7];
            if (local_298 < iVar8) {
              local_298 = local_2a4 + 2;
              goto LAB_0003fc18;
            }
            break;
          }
          iVar13 = 0;
          if ((int)param_1[6] < 1) {
            iVar8 = param_1[7];
            local_2a4 = local_298;
          }
          else {
            do {
              ResetMagickMemory(&local_224,0,0x50);
              local_224 = *param_1;
              local_1e4 = (double)DAT_0029f710;
              local_218 = *(undefined8 *)(param_1 + 0x88);
              local_220 = param_1[1];
              local_210 = param_1[8];
              local_21c = param_1[0xa5];
              if (iVar8 != 0) {
                iVar9 = param_1[0xaa];
                local_204 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 8) * 8);
                local_1fc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x14) * 8);
                local_1f4 = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x20) * 8);
                if (*(int *)(iVar9 + 0x28) != 0) {
                  local_1ec = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x2c) * 8);
                }
                if (*(int *)(iVar9 + 0x34) != 0) {
                  local_1e4 = *(double *)(iVar8 + *(int *)(iVar9 + 0x38) * 8);
                  local_21c = 4;
                }
                if (*(int *)(iVar9 + 0x40) != 0) {
                  local_1dc = *(undefined8 *)(iVar8 + *(int *)(iVar9 + 0x44) * 8);
                }
              }
              iVar9 = IsFuzzyEquivalencePixelInfo(&local_224,local_274);
              if (iVar9 == 0) {
                pdVar10 = (double *)(local_2a0 * 0x10 + iVar6);
                *pdVar10 = (double)iVar13;
                pdVar10[1] = (double)local_2a4;
                local_2a0 = local_2a0 + 1;
              }
              iVar13 = iVar13 + 1;
              iVar8 = iVar8 + param_1[0xa6] * 8;
            } while (iVar13 < (int)param_1[6]);
            iVar8 = param_1[7];
            local_2a4 = local_298;
          }
        }
        else {
          iVar8 = param_1[7];
LAB_0003fc18:
          if (iVar8 <= local_298) break;
          bVar4 = false;
          local_2a4 = local_298 + 1;
        }
      } while (local_2a4 < iVar8);
    }
    DestroyCacheView(uVar7);
    TraceConvexHull(iVar6,local_2a0,&local_278,param_2);
    puVar15 = (undefined4 *)AcquireQuantumMemory(*param_2,0x10);
    if ((puVar15 != (undefined4 *)0x0) && (iVar6 = *param_2, iVar6 != 0)) {
      puVar11 = puVar15;
      piVar14 = local_278;
      do {
        puVar2 = (undefined4 *)*piVar14;
        puVar12 = puVar11 + 4;
        piVar14 = piVar14 + 1;
        *puVar11 = *puVar2;
        puVar11[1] = puVar2[1];
        puVar11[2] = puVar2[2];
        puVar11[3] = puVar2[3];
        puVar11 = puVar12;
      } while (puVar12 != puVar15 + iVar6 * 4);
    }
    local_278 = (int *)RelinquishMagickMemory(local_278);
    RelinquishVirtualMemory(iVar5);
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return puVar15;
}

