
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* 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 */
/* DWARF original prototype: void BlueShiftImage._omp_fn.1(anon_struct_40_8_a2929914 * param_0) */

void __thiscall BlueShiftImage__omp_fn_1(void *this)

{
  longlong lVar1;
  double dVar2;
  double dVar3;
  double dVar4;
  double dVar5;
  Image *image;
  CacheView *cache_view;
  CacheView *cache_view_00;
  ExceptionInfo *exception;
  size_t sVar6;
  PixelChannelMap *pPVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  size_t sVar14;
  int iVar15;
  uint *puVar16;
  double dVar17;
  double dVar18;
  double dVar19;
  double dVar20;
  float fVar21;
  int iVar22;
  int iVar23;
  int iVar24;
  Quantum *pQVar25;
  Quantum *pQVar26;
  double *pdVar27;
  MagickBooleanType MVar28;
  uint uVar29;
  size_t sVar30;
  double *pdVar31;
  uint uVar32;
  bool bVar33;
  
  iVar22 = omp_get_num_threads();
  image = *(Image **)((int)this + 8);
  iVar23 = omp_get_thread_num();
  iVar24 = (int)image->rows / iVar22;
  iVar22 = (int)image->rows % iVar22;
  if (iVar23 < iVar22) {
    iVar24 = iVar24 + 1;
    iVar22 = 0;
  }
  iVar22 = iVar23 * iVar24 + iVar22;
  iVar24 = iVar24 + iVar22;
  if (iVar22 < iVar24) {
    iVar23 = *(int *)((int)this + 0x18);
                    /* WARNING: Load size is inaccurate */
    dVar2 = *this;
    cache_view = *(CacheView **)((int)this + 0x14);
    cache_view_00 = *(CacheView **)((int)this + 0x10);
    exception = *(ExceptionInfo **)((int)this + 0xc);
    do {
      if (*(int *)((int)this + 0x1c) != 0) {
        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);
        pQVar26 = QueueCacheViewAuthenticPixels
                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);
        fVar21 = DAT_002df2b8;
        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {
LAB_001e1b05:
          *(undefined4 *)((int)this + 0x1c) = 0;
        }
        else {
          sVar6 = image->columns;
          if (0 < (int)sVar6) {
            pPVar7 = image->channel_map;
            iVar8 = pPVar7->offset;
            iVar9 = pPVar7[1].offset;
            iVar10 = pPVar7[2].offset;
            pdVar31 = pQVar25 + iVar8;
            iVar11 = *(int *)(iVar23 + 0x2a8);
            iVar12 = *(int *)(iVar11 + 8);
            iVar13 = *(int *)(iVar11 + 0x14);
            iVar11 = *(int *)(iVar11 + 0x20);
            sVar14 = image->number_channels;
            iVar15 = *(int *)(iVar23 + 0x298);
            sVar30 = 0;
            pdVar27 = pQVar26 + iVar12;
            do {
              dVar3 = pdVar31[iVar9 - iVar8];
              dVar4 = *pdVar31;
              dVar17 = dVar4;
              if (dVar3 <= dVar4 || dVar4 != dVar3) {
                dVar17 = dVar3;
              }
              dVar5 = pdVar31[iVar10 - iVar8];
              if (dVar5 <= dVar17 || dVar17 != dVar5) {
                dVar17 = dVar5;
              }
              dVar17 = dVar17 * dVar2;
              dVar20 = (double)fVar21;
              dVar19 = dVar3;
              if (dVar3 <= dVar4) {
                dVar19 = dVar4;
              }
              dVar18 = dVar5;
              if (dVar5 <= dVar19) {
                dVar18 = dVar19;
              }
              sVar30 = sVar30 + 1;
              pdVar31 = pdVar31 + sVar14;
              dVar18 = dVar18 * dVar2;
              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;
              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;
              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);
              pdVar27 = pdVar27 + iVar15;
            } while (sVar6 != sVar30);
          }
          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar28 == MagickFalse) {
            *(undefined4 *)((int)this + 0x1c) = 0;
          }
          if (image->progress_monitor != (MagickProgressMonitor)0x0) {
            puVar16 = *(uint **)((int)this + 0x20);
            uVar29 = *puVar16;
            uVar32 = puVar16[1];
            do {
              LOCK();
              lVar1 = *(longlong *)puVar16;
              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;
              if (bVar33) {
                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);
              }
              else {
                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);
                uVar29 = (uint)lVar1;
              }
              UNLOCK();
            } while (!bVar33);
            MVar28 = SetImageProgress(image,"BlueShift/Image",
                                      **(MagickOffsetType **)((int)this + 0x20),
                                      (ulonglong)image->rows);
            if (MVar28 == MagickFalse) goto LAB_001e1b05;
          }
        }
      }
      iVar22 = iVar22 + 1;
    } while (iVar24 != iVar22);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_001e1840(double *param_1)

{
  longlong lVar1;
  double dVar2;
  double dVar3;
  double dVar4;
  double dVar5;
  int iVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  uint *puVar18;
  double dVar19;
  double dVar20;
  double dVar21;
  double dVar22;
  float fVar23;
  int iVar24;
  int iVar25;
  int iVar26;
  int iVar27;
  int iVar28;
  double *pdVar29;
  uint uVar30;
  int iVar31;
  double *pdVar32;
  uint uVar33;
  bool bVar34;
  
  iVar24 = omp_get_num_threads();
  iVar6 = *(int *)(param_1 + 1);
  iVar25 = omp_get_thread_num();
  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;
  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;
  if (iVar25 < iVar24) {
    iVar26 = iVar26 + 1;
    iVar24 = 0;
  }
  iVar24 = iVar25 * iVar26 + iVar24;
  iVar26 = iVar26 + iVar24;
  if (iVar24 < iVar26) {
    iVar25 = *(int *)(param_1 + 3);
    dVar2 = *param_1;
    uVar7 = *(undefined4 *)((int)param_1 + 0x14);
    uVar8 = *(undefined4 *)(param_1 + 2);
    uVar9 = *(undefined4 *)((int)param_1 + 0xc);
    do {
      if (*(int *)((int)param_1 + 0x1c) != 0) {
        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);
        iVar28 = QueueCacheViewAuthenticPixels
                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);
        fVar23 = DAT_002df2b8;
        if ((iVar27 == 0) || (iVar28 == 0)) {
LAB_001e1b05:
          *(undefined4 *)((int)param_1 + 0x1c) = 0;
        }
        else {
          iVar10 = *(int *)(iVar6 + 0x18);
          if (0 < iVar10) {
            iVar11 = *(int *)(iVar6 + 0x2a8);
            iVar12 = *(int *)(iVar11 + 8);
            iVar13 = *(int *)(iVar11 + 0x14);
            iVar11 = *(int *)(iVar11 + 0x20);
            pdVar32 = (double *)(iVar27 + iVar12 * 8);
            iVar27 = *(int *)(iVar25 + 0x2a8);
            iVar14 = *(int *)(iVar27 + 8);
            iVar15 = *(int *)(iVar27 + 0x14);
            iVar27 = *(int *)(iVar27 + 0x20);
            iVar16 = *(int *)(iVar6 + 0x298);
            iVar17 = *(int *)(iVar25 + 0x298);
            iVar31 = 0;
            pdVar29 = (double *)(iVar28 + iVar14 * 8);
            do {
              dVar3 = pdVar32[iVar13 - iVar12];
              dVar4 = *pdVar32;
              dVar19 = dVar4;
              if (dVar3 <= dVar4 || dVar4 != dVar3) {
                dVar19 = dVar3;
              }
              dVar5 = pdVar32[iVar11 - iVar12];
              if (dVar5 <= dVar19 || dVar19 != dVar5) {
                dVar19 = dVar5;
              }
              dVar19 = dVar19 * dVar2;
              dVar22 = (double)fVar23;
              dVar21 = dVar3;
              if (dVar3 <= dVar4) {
                dVar21 = dVar4;
              }
              dVar20 = dVar5;
              if (dVar5 <= dVar21) {
                dVar20 = dVar21;
              }
              iVar31 = iVar31 + 1;
              pdVar32 = pdVar32 + iVar16;
              dVar20 = dVar20 * dVar2;
              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;
              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;
              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);
              pdVar29 = pdVar29 + iVar17;
            } while (iVar10 != iVar31);
          }
          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);
          if (iVar27 == 0) {
            *(undefined4 *)((int)param_1 + 0x1c) = 0;
          }
          if (*(int *)(iVar6 + 0x300) != 0) {
            puVar18 = *(uint **)(param_1 + 4);
            uVar30 = *puVar18;
            uVar33 = puVar18[1];
            do {
              LOCK();
              lVar1 = *(longlong *)puVar18;
              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;
              if (bVar34) {
                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);
              }
              else {
                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);
                uVar30 = (uint)lVar1;
              }
              UNLOCK();
            } while (!bVar34);
            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),
                                      (*(undefined4 **)(param_1 + 4))[1],
                                      *(undefined4 *)(iVar6 + 0x1c),0);
            if (iVar27 == 0) goto LAB_001e1b05;
          }
        }
      }
      iVar24 = iVar24 + 1;
    } while (iVar26 != iVar24);
  }
  return;
}


CALL 0x0003e478
ADD EAX,0x23c7bb
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x6c
MOV EBP,dword ptr [ESP + 0x80]
MOV EBX,EAX
MOV dword ptr [ESP + 0xc],EAX
CALL 0x00030850
MOV EBX,dword ptr [ESP + 0xc]
MOV ESI,EAX
MOV EDI,dword ptr [EBP + 0x8]
CALL 0x000317c0
MOV ECX,EAX
MOV EAX,dword ptr [EDI + 0x1c]
CDQ
IDIV ESI
CMP ECX,EDX
JGE 0x001e1882
ADD EAX,0x1
XOR EDX,EDX
IMUL ECX,EAX
LEA ESI,[ECX + EDX*0x1]
ADD EAX,ESI
CMP ESI,EAX
MOV dword ptr [ESP + 0x38],EAX
JGE 0x001e1b20
MOV EAX,dword ptr [EBP + 0x18]
MOV dword ptr [ESP + 0x80],EBP
FLD qword ptr [EBP]
FSTP qword ptr [ESP + 0x50]
MOV dword ptr [ESP + 0x3c],EAX
MOV EAX,dword ptr [EBP + 0x14]
MOV dword ptr [ESP + 0x40],EAX
MOV EAX,dword ptr [EBP + 0x10]
MOV dword ptr [ESP + 0x44],EAX
MOV EAX,dword ptr [EBP + 0xc]
MOV EBP,EDI
MOV EDI,ESI
MOV dword ptr [ESP + 0x34],EAX
MOV EAX,dword ptr [ESP + 0xc]
LEA EAX,[EAX + 0xffeed83c]
MOV dword ptr [ESP + 0x5c],EAX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x80]
MOV EDX,dword ptr [EAX + 0x1c]
TEST EDX,EDX
JZ 0x001e1b13
SUB ESP,0x8
PUSH dword ptr [ESP + 0x3c]
PUSH 0x1
PUSH dword ptr [EBP + 0x18]
PUSH EDI
PUSH 0x0
PUSH dword ptr [ESP + 0x60]
MOV ESI,dword ptr [ESP + 0x2c]
MOV EBX,ESI
CALL 0x00031280
MOV dword ptr [ESP + 0x30],EAX
ADD ESP,0x18
PUSH dword ptr [ESP + 0x3c]
PUSH 0x1
MOV EAX,dword ptr [ESP + 0x4c]
PUSH dword ptr [EAX + 0x18]
PUSH EDI
PUSH 0x0
PUSH dword ptr [ESP + 0x5c]
CALL 0x000339a0
ADD ESP,0x20
MOV EDX,dword ptr [ESP + 0x10]
TEST EDX,EDX
JZ 0x001e1b05
TEST EAX,EAX
JZ 0x001e1b05
MOV ECX,dword ptr [EBP + 0x18]
TEST ECX,ECX
MOV dword ptr [ESP + 0x18],ECX
JLE 0x001e1a77
MOV ECX,dword ptr [EBP + 0x2a8]
MOV dword ptr [ESP + 0x58],EBP
MOV dword ptr [ESP + 0x4c],EDI
MOV ESI,dword ptr [ECX + 0x8]
LEA EBX,[ESI*0x8 + 0x0]
MOV ESI,dword ptr [ECX + 0x14]
MOV ECX,dword ptr [ECX + 0x20]
MOV dword ptr [ESP + 0x20],EBX
ADD EDX,EBX
MOV EBX,dword ptr [ESP + 0xc]
SHL ESI,0x3
SHL ECX,0x3
MOV dword ptr [ESP + 0x30],ESI
MOV EDI,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x1c],ECX
MOV ECX,dword ptr [ESP + 0x3c]
FLD dword ptr [EBX + 0xffec12b8]
FSTP dword ptr [ESP + 0x2c]
FLD qword ptr [ESP + 0x50]
MOV ECX,dword ptr [ECX + 0x2a8]
MOV ESI,dword ptr [ECX + 0x8]
SHL ESI,0x3
MOV dword ptr [ESP + 0x10],ESI
MOV ESI,dword ptr [ECX + 0x14]
ADD EAX,dword ptr [ESP + 0x10]
SHL ESI,0x3
MOV dword ptr [ESP + 0x48],ESI
MOV ESI,dword ptr [ECX + 0x20]
MOV ECX,dword ptr [EBP + 0x298]
MOV EBP,dword ptr [ESP + 0x48]
SHL ESI,0x3
SHL ECX,0x3
MOV dword ptr [ESP + 0x30],ESI
MOV dword ptr [ESP + 0x24],ECX
MOV ECX,dword ptr [ESP + 0x3c]
MOV ECX,dword ptr [ECX + 0x298]
SHL ECX,0x3
MOV dword ptr [ESP + 0x28],ECX
XOR ECX,ECX
LEA ESI,[ESI]
LEA EDI,[EDI]
MOV EBX,EDX
SUB EBX,dword ptr [ESP + 0x20]
FLD qword ptr [EBX + EDI*0x1]
FLD qword ptr [EDX]
MOV ESI,dword ptr [ESP + 0x1c]
FUCOMI ST0,ST1
FLD ST0
FCMOVNBE ST0,ST2
FLD qword ptr [EBX + ESI*0x1]
FXCH
MOV EBX,EAX
MOV ESI,dword ptr [ESP + 0x30]
FUCOMI ST0,ST1
FCMOVNBE ST0,ST1
FMUL ST4
FLD ST0
FADD ST0,ST3
FLD dword ptr [ESP + 0x2c]
FMUL ST1
FLD ST2
FADD ST0,ST6
FMUL ST1
FXCH ST3
FADD ST0,ST4
FMUL ST1
FXCH ST6
FUCOMI ST0,ST5
FCMOVBE ST0,ST5
FSTP ST5
FXCH ST3
FUCOMI ST0,ST4
FCMOVBE ST0,ST4
FSTP ST4
FXCH ST3
SUB EBX,dword ptr [ESP + 0x10]
ADD ECX,0x1
ADD EDX,dword ptr [ESP + 0x24]
FMUL ST5
FADD ST3,ST0
FXCH ST3
FMUL ST2
FSTP qword ptr [EAX]
ADD EAX,dword ptr [ESP + 0x28]
FADD ST0,ST2
FMUL ST1
FSTP qword ptr [EBX + EBP*0x1]
FXCH
FADDP ST2,ST0
FMULP
FSTP qword ptr [EBX + ESI*0x1]
CMP dword ptr [ESP + 0x18],ECX
JNZ 0x001e19f0
FSTP ST0
MOV EDI,dword ptr [ESP + 0x4c]
MOV EBP,dword ptr [ESP + 0x58]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x4c]
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00031800
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x001e1aa0
MOV EAX,dword ptr [ESP + 0x80]
MOV dword ptr [EAX + 0x1c],0x0
MOV EAX,dword ptr [EBP + 0x300]
TEST EAX,EAX
JZ 0x001e1b13
MOV EAX,dword ptr [ESP + 0x80]
MOV ESI,dword ptr [EAX + 0x20]
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [ESI + 0x4]
MOV ECX,EAX
MOV EBX,EDX
ADD ECX,0x1
ADC EBX,0x0
MOV dword ptr [ESP + 0x10],ECX
MOV dword ptr [ESP + 0x14],EBX
MOV EBX,ECX
MOV ECX,dword ptr [ESP + 0x14]
CMPXCHG8B.LOCK qword ptr [ESI]
JNZ 0x001e1ab9
MOV EAX,dword ptr [EBP + 0x1c]
SUB ESP,0x8
XOR EDX,EDX
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x90]
MOV EAX,dword ptr [EAX + 0x20]
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [EAX]
PUSH dword ptr [ESP + 0x74]
PUSH EBP
MOV EBX,dword ptr [ESP + 0x2c]
CALL 0x00033840
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x001e1b13
MOV EAX,dword ptr [ESP + 0x80]
MOV dword ptr [EAX + 0x1c],0x0
ADD EDI,0x1
CMP dword ptr [ESP + 0x38],EDI
JNZ 0x001e18d8
ADD ESP,0x6c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001e1840(double *param_1)\n\n{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  uint *puVar18;\n  double dVar19;\n  double dVar20;\n  double dVar21;\n  double dVar22;\n  float fVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  int iVar27;\n  int iVar28;\n  double *pdVar29;\n  uint uVar30;\n  int iVar31;\n  double *pdVar32;\n  uint uVar33;\n  bool bVar34;\n  \n  iVar24 = omp_get_num_threads();\n  iVar6 = *(int *)(param_1 + 1);\n  iVar25 = omp_get_thread_num();\n  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;\n  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;\n  if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }\n  iVar24 = iVar25 * iVar26 + iVar24;\n  iVar26 = iVar26 + iVar24;\n  if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001e1840(double *param_1)\n\n{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  uint *puVar18;\n  double dVar19;\n  double dVar20;\n  double dVar21;\n  double dVar22;\n  float fVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  int iVar27;\n  int iVar28;\n  double *pdVar29;\n  uint uVar30;\n  int iVar31;\n  double *pdVar32;\n  uint uVar33;\n  bool bVar34;\n  \n  iVar24 = omp_get_num_threads();\n  iVar6 = *(int *)(param_1 + 1);\n  iVar25 = omp_get_thread_num();\n  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;\n  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;\n  if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }\n  iVar24 = iVar25 * iVar26 + iVar24;\n  iVar26 = iVar26 + iVar24;\n  if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001e1840(double *param_1)" identifier (parameter_list "(double *param_1)" ( (parameter_declaration "double *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  uint *puVar18;\n  double dVar19;\n  double dVar20;\n  double dVar21;\n  double dVar22;\n  float fVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  int iVar27;\n  int iVar28;\n  double *pdVar29;\n  uint uVar30;\n  int iVar31;\n  double *pdVar32;\n  uint uVar33;\n  bool bVar34;\n  \n  iVar24 = omp_get_num_threads();\n  iVar6 = *(int *)(param_1 + 1);\n  iVar25 = omp_get_thread_num();\n  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;\n  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;\n  if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }\n  iVar24 = iVar25 * iVar26 + iVar24;\n  iVar26 = iVar26 + iVar24;\n  if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "double dVar4;" primitive_type identifier ;) (declaration "double dVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "uint *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "double dVar21;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "float fVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) (declaration "int iVar25;" primitive_type identifier ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "int iVar27;" primitive_type identifier ;) (declaration "int iVar28;" primitive_type identifier ;) (declaration "double *pdVar29;" primitive_type (pointer_declarator "*pdVar29" * identifier) ;) (declaration "uint uVar30;" type_identifier identifier ;) (declaration "int iVar31;" primitive_type identifier ;) (declaration "double *pdVar32;" primitive_type (pointer_declarator "*pdVar32" * identifier) ;) (declaration "uint uVar33;" type_identifier identifier ;) (declaration "bool bVar34;" primitive_type identifier ;) (expression_statement "iVar24 = omp_get_num_threads();" (assignment_expression "iVar24 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = *(int *)(param_1 + 1);" (assignment_expression "iVar6 = *(int *)(param_1 + 1)" identifier = (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (expression_statement "iVar25 = omp_get_thread_num();" (assignment_expression "iVar25 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;" (assignment_expression "iVar26 = *(int *)(iVar6 + 0x1c) / iVar24" identifier = (binary_expression "*(int *)(iVar6 + 0x1c) / iVar24" (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;" (assignment_expression "iVar24 = *(int *)(iVar6 + 0x1c) % iVar24" identifier = (binary_expression "*(int *)(iVar6 + 0x1c) % iVar24" (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }" if (parenthesized_expression "(iVar25 < iVar24)" ( (binary_expression "iVar25 < iVar24" identifier < identifier) )) (compound_statement "{\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }" { (expression_statement "iVar26 = iVar26 + 1;" (assignment_expression "iVar26 = iVar26 + 1" identifier = (binary_expression "iVar26 + 1" identifier + number_literal)) ;) (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" identifier = number_literal) ;) })) (expression_statement "iVar24 = iVar25 * iVar26 + iVar24;" (assignment_expression "iVar24 = iVar25 * iVar26 + iVar24" identifier = (binary_expression "iVar25 * iVar26 + iVar24" (binary_expression "iVar25 * iVar26" identifier * identifier) + identifier)) ;) (expression_statement "iVar26 = iVar26 + iVar24;" (assignment_expression "iVar26 = iVar26 + iVar24" identifier = (binary_expression "iVar26 + iVar24" identifier + identifier)) ;) (if_statement "if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }" if (parenthesized_expression "(iVar24 < iVar26)" ( (binary_expression "iVar24 < iVar26" identifier < identifier) )) (compound_statement "{\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }" { (expression_statement "iVar25 = *(int *)(param_1 + 3);" (assignment_expression "iVar25 = *(int *)(param_1 + 3)" identifier = (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))))) ;) (expression_statement "dVar2 = *param_1;" (assignment_expression "dVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = *(undefined4 *)((int)param_1 + 0x14);" (assignment_expression "uVar7 = *(undefined4 *)((int)param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 0x14)" * (cast_expression "(undefined4 *)((int)param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar8 = *(undefined4 *)(param_1 + 2);" (assignment_expression "uVar8 = *(undefined4 *)(param_1 + 2)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar9 = *(undefined4 *)((int)param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);" do (compound_statement "{\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    }" { (if_statement "if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((int)param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)((int)param_1 + 0x1c) != 0" (pointer_expression "*(int *)((int)param_1 + 0x1c)" * (cast_expression "(int *)((int)param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }" { (expression_statement "iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);" (assignment_expression "iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" identifier (argument_list "(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);" (assignment_expression "iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" identifier = (call_expression "QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" identifier (argument_list "(uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar25 + 0x18)" * (cast_expression "(undefined4 *)(iVar25 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + 0x18)" ( (binary_expression "iVar25 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "fVar23 = DAT_002df2b8;" (assignment_expression "fVar23 = DAT_002df2b8" identifier = identifier) ;) (if_statement "if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" if (parenthesized_expression "((iVar27 == 0) || (iVar28 == 0))" ( (binary_expression "(iVar27 == 0) || (iVar28 == 0)" (parenthesized_expression "(iVar27 == 0)" ( (binary_expression "iVar27 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar28 == 0)" ( (binary_expression "iVar28 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }" { (labeled_statement "LAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;" statement_identifier : (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;)) }) (else_clause "else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" else (compound_statement "{\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" { (expression_statement "iVar10 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar10 = *(int *)(iVar6 + 0x18)" identifier = (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }" { (expression_statement "iVar11 = *(int *)(iVar6 + 0x2a8);" (assignment_expression "iVar11 = *(int *)(iVar6 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar6 + 0x2a8)" * (cast_expression "(int *)(iVar6 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2a8)" ( (binary_expression "iVar6 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(iVar11 + 8);" (assignment_expression "iVar12 = *(int *)(iVar11 + 8)" identifier = (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar11 + 0x14);" (assignment_expression "iVar13 = *(int *)(iVar11 + 0x14)" identifier = (pointer_expression "*(int *)(iVar11 + 0x14)" * (cast_expression "(int *)(iVar11 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar11 + 0x20);" (assignment_expression "iVar11 = *(int *)(iVar11 + 0x20)" identifier = (pointer_expression "*(int *)(iVar11 + 0x20)" * (cast_expression "(int *)(iVar11 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x20)" ( (binary_expression "iVar11 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "pdVar32 = (double *)(iVar27 + iVar12 * 8);" (assignment_expression "pdVar32 = (double *)(iVar27 + iVar12 * 8)" identifier = (cast_expression "(double *)(iVar27 + iVar12 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + iVar12 * 8)" ( (binary_expression "iVar27 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) ;) (expression_statement "iVar27 = *(int *)(iVar25 + 0x2a8);" (assignment_expression "iVar27 = *(int *)(iVar25 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar25 + 0x2a8)" * (cast_expression "(int *)(iVar25 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + 0x2a8)" ( (binary_expression "iVar25 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = *(int *)(iVar27 + 8);" (assignment_expression "iVar14 = *(int *)(iVar27 + 8)" identifier = (pointer_expression "*(int *)(iVar27 + 8)" * (cast_expression "(int *)(iVar27 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 8)" ( (binary_expression "iVar27 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x14);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x14)" identifier = (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar27 = *(int *)(iVar27 + 0x20);" (assignment_expression "iVar27 = *(int *)(iVar27 + 0x20)" identifier = (pointer_expression "*(int *)(iVar27 + 0x20)" * (cast_expression "(int *)(iVar27 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x20)" ( (binary_expression "iVar27 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar16 = *(int *)(iVar6 + 0x298);" (assignment_expression "iVar16 = *(int *)(iVar6 + 0x298)" identifier = (pointer_expression "*(int *)(iVar6 + 0x298)" * (cast_expression "(int *)(iVar6 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x298)" ( (binary_expression "iVar6 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = *(int *)(iVar25 + 0x298);" (assignment_expression "iVar17 = *(int *)(iVar25 + 0x298)" identifier = (pointer_expression "*(int *)(iVar25 + 0x298)" * (cast_expression "(int *)(iVar25 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + 0x298)" ( (binary_expression "iVar25 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "iVar31 = 0;" (assignment_expression "iVar31 = 0" identifier = number_literal) ;) (expression_statement "pdVar29 = (double *)(iVar28 + iVar14 * 8);" (assignment_expression "pdVar29 = (double *)(iVar28 + iVar14 * 8)" identifier = (cast_expression "(double *)(iVar28 + iVar14 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar28 + iVar14 * 8)" ( (binary_expression "iVar28 + iVar14 * 8" identifier + (binary_expression "iVar14 * 8" identifier * number_literal)) )))) ;) (do_statement "do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);" do (compound_statement "{\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            }" { (expression_statement "dVar3 = pdVar32[iVar13 - iVar12];" (assignment_expression "dVar3 = pdVar32[iVar13 - iVar12]" identifier = (subscript_expression "pdVar32[iVar13 - iVar12]" identifier [ (binary_expression "iVar13 - iVar12" identifier - identifier) ])) ;) (expression_statement "dVar4 = *pdVar32;" (assignment_expression "dVar4 = *pdVar32" identifier = (pointer_expression "*pdVar32" * identifier)) ;) (expression_statement "dVar19 = dVar4;" (assignment_expression "dVar19 = dVar4" identifier = identifier) ;) (if_statement "if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }" if (parenthesized_expression "(dVar3 <= dVar4 || dVar4 != dVar3)" ( (binary_expression "dVar3 <= dVar4 || dVar4 != dVar3" (binary_expression "dVar3 <= dVar4" identifier <= identifier) || (binary_expression "dVar4 != dVar3" identifier != identifier)) )) (compound_statement "{\n                dVar19 = dVar3;\n              }" { (expression_statement "dVar19 = dVar3;" (assignment_expression "dVar19 = dVar3" identifier = identifier) ;) })) (expression_statement "dVar5 = pdVar32[iVar11 - iVar12];" (assignment_expression "dVar5 = pdVar32[iVar11 - iVar12]" identifier = (subscript_expression "pdVar32[iVar11 - iVar12]" identifier [ (binary_expression "iVar11 - iVar12" identifier - identifier) ])) ;) (if_statement "if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }" if (parenthesized_expression "(dVar5 <= dVar19 || dVar19 != dVar5)" ( (binary_expression "dVar5 <= dVar19 || dVar19 != dVar5" (binary_expression "dVar5 <= dVar19" identifier <= identifier) || (binary_expression "dVar19 != dVar5" identifier != identifier)) )) (compound_statement "{\n                dVar19 = dVar5;\n              }" { (expression_statement "dVar19 = dVar5;" (assignment_expression "dVar19 = dVar5" identifier = identifier) ;) })) (expression_statement "dVar19 = dVar19 * dVar2;" (assignment_expression "dVar19 = dVar19 * dVar2" identifier = (binary_expression "dVar19 * dVar2" identifier * identifier)) ;) (expression_statement "dVar22 = (double)fVar23;" (assignment_expression "dVar22 = (double)fVar23" identifier = (cast_expression "(double)fVar23" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "dVar21 = dVar3;" (assignment_expression "dVar21 = dVar3" identifier = identifier) ;) (if_statement "if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }" if (parenthesized_expression "(dVar3 <= dVar4)" ( (binary_expression "dVar3 <= dVar4" identifier <= identifier) )) (compound_statement "{\n                dVar21 = dVar4;\n              }" { (expression_statement "dVar21 = dVar4;" (assignment_expression "dVar21 = dVar4" identifier = identifier) ;) })) (expression_statement "dVar20 = dVar5;" (assignment_expression "dVar20 = dVar5" identifier = identifier) ;) (if_statement "if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }" if (parenthesized_expression "(dVar5 <= dVar21)" ( (binary_expression "dVar5 <= dVar21" identifier <= identifier) )) (compound_statement "{\n                dVar20 = dVar21;\n              }" { (expression_statement "dVar20 = dVar21;" (assignment_expression "dVar20 = dVar21" identifier = identifier) ;) })) (expression_statement "iVar31 = iVar31 + 1;" (assignment_expression "iVar31 = iVar31 + 1" identifier = (binary_expression "iVar31 + 1" identifier + number_literal)) ;) (expression_statement "pdVar32 = pdVar32 + iVar16;" (assignment_expression "pdVar32 = pdVar32 + iVar16" identifier = (binary_expression "pdVar32 + iVar16" identifier + identifier)) ;) (expression_statement "dVar20 = dVar20 * dVar2;" (assignment_expression "dVar20 = dVar20 * dVar2" identifier = (binary_expression "dVar20 * dVar2" identifier * identifier)) ;) (expression_statement "*pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;" (assignment_expression "*pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22" (pointer_expression "*pdVar29" * identifier) = (binary_expression "((dVar19 + dVar4) * dVar22 + dVar20) * dVar22" (parenthesized_expression "((dVar19 + dVar4) * dVar22 + dVar20)" ( (binary_expression "(dVar19 + dVar4) * dVar22 + dVar20" (binary_expression "(dVar19 + dVar4) * dVar22" (parenthesized_expression "(dVar19 + dVar4)" ( (binary_expression "dVar19 + dVar4" identifier + identifier) )) * identifier) + identifier) )) * identifier)) ;) (expression_statement "pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;" (assignment_expression "pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22" (subscript_expression "pdVar29[iVar15 - iVar14]" identifier [ (binary_expression "iVar15 - iVar14" identifier - identifier) ]) = (binary_expression "((dVar19 + dVar3) * dVar22 + dVar20) * dVar22" (parenthesized_expression "((dVar19 + dVar3) * dVar22 + dVar20)" ( (binary_expression "(dVar19 + dVar3) * dVar22 + dVar20" (binary_expression "(dVar19 + dVar3) * dVar22" (parenthesized_expression "(dVar19 + dVar3)" ( (binary_expression "dVar19 + dVar3" identifier + identifier) )) * identifier) + identifier) )) * identifier)) ;) (expression_statement "pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);" (assignment_expression "pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22)" (subscript_expression "pdVar29[iVar27 - iVar14]" identifier [ (binary_expression "iVar27 - iVar14" identifier - identifier) ]) = (binary_expression "dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22)" identifier * (parenthesized_expression "(dVar20 + (dVar19 + dVar5) * dVar22)" ( (binary_expression "dVar20 + (dVar19 + dVar5) * dVar22" identifier + (binary_expression "(dVar19 + dVar5) * dVar22" (parenthesized_expression "(dVar19 + dVar5)" ( (binary_expression "dVar19 + dVar5" identifier + identifier) )) * identifier)) )))) ;) (expression_statement "pdVar29 = pdVar29 + iVar17;" (assignment_expression "pdVar29 = pdVar29 + iVar17" identifier = (binary_expression "pdVar29 + iVar17" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar10 != iVar31)" ( (binary_expression "iVar10 != iVar31" identifier != identifier) )) ;) })) (expression_statement "iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);" (assignment_expression "iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9)" identifier = (call_expression "SyncCacheViewAuthenticPixels(uVar7,uVar9)" identifier (argument_list "(uVar7,uVar9)" ( identifier , identifier )))) ;) (if_statement "if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }" if (parenthesized_expression "(iVar27 == 0)" ( (binary_expression "iVar27 == 0" identifier == number_literal) )) (compound_statement "{\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }" { (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }" if (parenthesized_expression "(*(int *)(iVar6 + 0x300) != 0)" ( (binary_expression "*(int *)(iVar6 + 0x300) != 0" (pointer_expression "*(int *)(iVar6 + 0x300)" * (cast_expression "(int *)(iVar6 + 0x300)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x300)" ( (binary_expression "iVar6 + 0x300" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }" { (expression_statement "puVar18 = *(uint **)(param_1 + 4);" (assignment_expression "puVar18 = *(uint **)(param_1 + 4)" identifier = (pointer_expression "*(uint **)(param_1 + 4)" * (cast_expression "(uint **)(param_1 + 4)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar30 = *puVar18;" (assignment_expression "uVar30 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (expression_statement "uVar33 = puVar18[1];" (assignment_expression "uVar33 = puVar18[1]" identifier = (subscript_expression "puVar18[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);" do (compound_statement "{\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar1 = *(longlong *)puVar18;" (assignment_expression "lVar1 = *(longlong *)puVar18" identifier = (pointer_expression "*(longlong *)puVar18" * (cast_expression "(longlong *)puVar18" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar34 = CONCAT44(uVar33,uVar30) == lVar1;" (assignment_expression "bVar34 = CONCAT44(uVar33,uVar30) == lVar1" identifier = (binary_expression "CONCAT44(uVar33,uVar30) == lVar1" (call_expression "CONCAT44(uVar33,uVar30)" identifier (argument_list "(uVar33,uVar30)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" if (parenthesized_expression "(bVar34)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }" { (expression_statement "*(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);" (assignment_expression "*(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" (pointer_expression "*(longlong *)puVar18" * (cast_expression "(longlong *)puVar18" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" identifier (argument_list "(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" ( (binary_expression "uVar33 + (0xfffffffe < uVar30)" identifier + (parenthesized_expression "(0xfffffffe < uVar30)" ( (binary_expression "0xfffffffe < uVar30" number_literal < identifier) ))) , (binary_expression "uVar30 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" else (compound_statement "{\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" { (expression_statement "uVar33 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar33 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar30 = (uint)lVar1;" (assignment_expression "uVar30 = (uint)lVar1" identifier = (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar34)" ( (unary_expression "!bVar34" ! identifier) )) ;) (expression_statement "iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);" (assignment_expression "iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" identifier = (call_expression "SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" identifier (argument_list "(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" ( identifier , (string_literal ""BlueShift/Image"" " string_content ") , (pointer_expression "**(undefined4 **)(param_1 + 4)" * (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) , (subscript_expression "(*(undefined4 **)(param_1 + 4))[1]" (parenthesized_expression "(*(undefined4 **)(param_1 + 4))" ( (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )) [ number_literal ]) , (pointer_expression "*(undefined4 *)(iVar6 + 0x1c)" * (cast_expression "(undefined4 *)(iVar6 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar27 == 0) goto LAB_001e1b05;" if (parenthesized_expression "(iVar27 == 0)" ( (binary_expression "iVar27 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001e1b05;" goto statement_identifier ;)) })) }))) })) (expression_statement "iVar24 = iVar24 + 1;" (assignment_expression "iVar24 = iVar24 + 1" identifier = (binary_expression "iVar24 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar26 != iVar24)" ( (binary_expression "iVar26 != iVar24" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\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/* DWARF original prototype: void BlueShiftImage._omp_fn.1(anon_struct_40_8_a2929914 * param_0) */\n\nvoid __thiscall BlueShiftImage__omp_fn_1(void *this)\n\n{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  Image *image;\n  CacheView *cache_view;\n  CacheView *cache_view_00;\n  ExceptionInfo *exception;\n  size_t sVar6;\n  PixelChannelMap *pPVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  size_t sVar14;\n  int iVar15;\n  uint *puVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  Quantum *pQVar25;\n  Quantum *pQVar26;\n  double *pdVar27;\n  MagickBooleanType MVar28;\n  uint uVar29;\n  size_t sVar30;\n  double *pdVar31;\n  uint uVar32;\n  bool bVar33;\n  \n  iVar22 = omp_get_num_threads();\n  image = *(Image **)((int)this + 8);\n  iVar23 = omp_get_thread_num();\n  iVar24 = (int)image->rows / iVar22;\n  iVar22 = (int)image->rows % iVar22;\n  if (iVar23 < iVar22) {\n    iVar24 = iVar24 + 1;\n    iVar22 = 0;\n  }\n  iVar22 = iVar23 * iVar24 + iVar22;\n  iVar24 = iVar24 + iVar22;\n  if (iVar22 < iVar24) {\n    iVar23 = *(int *)((int)this + 0x18);\n                    /* WARNING: Load size is inaccurate */\n    dVar2 = *this;\n    cache_view = *(CacheView **)((int)this + 0x14);\n    cache_view_00 = *(CacheView **)((int)this + 0x10);\n    exception = *(ExceptionInfo **)((int)this + 0xc);\n    do {\n      if (*(int *)((int)this + 0x1c) != 0) {\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar22 = iVar22 + 1;\n    } while (iVar24 != iVar22);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall BlueShiftImage__omp_fn_1(void *this)\n\n{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  Image *image;\n  CacheView *cache_view;\n  CacheView *cache_view_00;\n  ExceptionInfo *exception;\n  size_t sVar6;\n  PixelChannelMap *pPVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  size_t sVar14;\n  int iVar15;\n  uint *puVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  Quantum *pQVar25;\n  Quantum *pQVar26;\n  double *pdVar27;\n  MagickBooleanType MVar28;\n  uint uVar29;\n  size_t sVar30;\n  double *pdVar31;\n  uint uVar32;\n  bool bVar33;\n  \n  iVar22 = omp_get_num_threads();\n  image = *(Image **)((int)this + 8);\n  iVar23 = omp_get_thread_num();\n  iVar24 = (int)image->rows / iVar22;\n  iVar22 = (int)image->rows % iVar22;\n  if (iVar23 < iVar22) {\n    iVar24 = iVar24 + 1;\n    iVar22 = 0;\n  }\n  iVar22 = iVar23 * iVar24 + iVar22;\n  iVar24 = iVar24 + iVar22;\n  if (iVar22 < iVar24) {\n    iVar23 = *(int *)((int)this + 0x18);\n                    /* WARNING: Load size is inaccurate */\n    dVar2 = *this;\n    cache_view = *(CacheView **)((int)this + 0x14);\n    cache_view_00 = *(CacheView **)((int)this + 0x10);\n    exception = *(ExceptionInfo **)((int)this + 0xc);\n    do {\n      if (*(int *)((int)this + 0x1c) != 0) {\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar22 = iVar22 + 1;\n    } while (iVar24 != iVar22);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "BlueShiftImage__omp_fn_1(void *this)" identifier (parameter_list "(void *this)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  Image *image;\n  CacheView *cache_view;\n  CacheView *cache_view_00;\n  ExceptionInfo *exception;\n  size_t sVar6;\n  PixelChannelMap *pPVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  size_t sVar14;\n  int iVar15;\n  uint *puVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  float fVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  Quantum *pQVar25;\n  Quantum *pQVar26;\n  double *pdVar27;\n  MagickBooleanType MVar28;\n  uint uVar29;\n  size_t sVar30;\n  double *pdVar31;\n  uint uVar32;\n  bool bVar33;\n  \n  iVar22 = omp_get_num_threads();\n  image = *(Image **)((int)this + 8);\n  iVar23 = omp_get_thread_num();\n  iVar24 = (int)image->rows / iVar22;\n  iVar22 = (int)image->rows % iVar22;\n  if (iVar23 < iVar22) {\n    iVar24 = iVar24 + 1;\n    iVar22 = 0;\n  }\n  iVar22 = iVar23 * iVar24 + iVar22;\n  iVar24 = iVar24 + iVar22;\n  if (iVar22 < iVar24) {\n    iVar23 = *(int *)((int)this + 0x18);\n                    /* WARNING: Load size is inaccurate */\n    dVar2 = *this;\n    cache_view = *(CacheView **)((int)this + 0x14);\n    cache_view_00 = *(CacheView **)((int)this + 0x10);\n    exception = *(ExceptionInfo **)((int)this + 0xc);\n    do {\n      if (*(int *)((int)this + 0x1c) != 0) {\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar22 = iVar22 + 1;\n    } while (iVar24 != iVar22);\n  }\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "double dVar4;" primitive_type identifier ;) (declaration "double dVar5;" primitive_type identifier ;) (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "CacheView *cache_view_00;" type_identifier (pointer_declarator "*cache_view_00" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar7;" type_identifier (pointer_declarator "*pPVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "size_t sVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "uint *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "double dVar17;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "float fVar21;" primitive_type identifier ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) (declaration "Quantum *pQVar25;" type_identifier (pointer_declarator "*pQVar25" * identifier) ;) (declaration "Quantum *pQVar26;" type_identifier (pointer_declarator "*pQVar26" * identifier) ;) (declaration "double *pdVar27;" primitive_type (pointer_declarator "*pdVar27" * identifier) ;) (declaration "MagickBooleanType MVar28;" type_identifier identifier ;) (declaration "uint uVar29;" type_identifier identifier ;) (declaration "size_t sVar30;" primitive_type identifier ;) (declaration "double *pdVar31;" primitive_type (pointer_declarator "*pdVar31" * identifier) ;) (declaration "uint uVar32;" type_identifier identifier ;) (declaration "bool bVar33;" primitive_type identifier ;) (expression_statement "iVar22 = omp_get_num_threads();" (assignment_expression "iVar22 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "image = *(Image **)((int)this + 8);" (assignment_expression "image = *(Image **)((int)this + 8)" identifier = (pointer_expression "*(Image **)((int)this + 8)" * (cast_expression "(Image **)((int)this + 8)" ( (type_descriptor "Image **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar23 = omp_get_thread_num();" (assignment_expression "iVar23 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar24 = (int)image->rows / iVar22;" (assignment_expression "iVar24 = (int)image->rows / iVar22" identifier = (binary_expression "(int)image->rows / iVar22" (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier)) / identifier)) ;) (expression_statement "iVar22 = (int)image->rows % iVar22;" (assignment_expression "iVar22 = (int)image->rows % iVar22" identifier = (binary_expression "(int)image->rows % iVar22" (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier)) % identifier)) ;) (if_statement "if (iVar23 < iVar22) {\n    iVar24 = iVar24 + 1;\n    iVar22 = 0;\n  }" if (parenthesized_expression "(iVar23 < iVar22)" ( (binary_expression "iVar23 < iVar22" identifier < identifier) )) (compound_statement "{\n    iVar24 = iVar24 + 1;\n    iVar22 = 0;\n  }" { (expression_statement "iVar24 = iVar24 + 1;" (assignment_expression "iVar24 = iVar24 + 1" identifier = (binary_expression "iVar24 + 1" identifier + number_literal)) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) })) (expression_statement "iVar22 = iVar23 * iVar24 + iVar22;" (assignment_expression "iVar22 = iVar23 * iVar24 + iVar22" identifier = (binary_expression "iVar23 * iVar24 + iVar22" (binary_expression "iVar23 * iVar24" identifier * identifier) + identifier)) ;) (expression_statement "iVar24 = iVar24 + iVar22;" (assignment_expression "iVar24 = iVar24 + iVar22" identifier = (binary_expression "iVar24 + iVar22" identifier + identifier)) ;) (if_statement "if (iVar22 < iVar24) {\n    iVar23 = *(int *)((int)this + 0x18);\n                    /* WARNING: Load size is inaccurate */\n    dVar2 = *this;\n    cache_view = *(CacheView **)((int)this + 0x14);\n    cache_view_00 = *(CacheView **)((int)this + 0x10);\n    exception = *(ExceptionInfo **)((int)this + 0xc);\n    do {\n      if (*(int *)((int)this + 0x1c) != 0) {\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar22 = iVar22 + 1;\n    } while (iVar24 != iVar22);\n  }" if (parenthesized_expression "(iVar22 < iVar24)" ( (binary_expression "iVar22 < iVar24" identifier < identifier) )) (compound_statement "{\n    iVar23 = *(int *)((int)this + 0x18);\n                    /* WARNING: Load size is inaccurate */\n    dVar2 = *this;\n    cache_view = *(CacheView **)((int)this + 0x14);\n    cache_view_00 = *(CacheView **)((int)this + 0x10);\n    exception = *(ExceptionInfo **)((int)this + 0xc);\n    do {\n      if (*(int *)((int)this + 0x1c) != 0) {\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar22 = iVar22 + 1;\n    } while (iVar24 != iVar22);\n  }" { (expression_statement "iVar23 = *(int *)((int)this + 0x18);" (assignment_expression "iVar23 = *(int *)((int)this + 0x18)" identifier = (pointer_expression "*(int *)((int)this + 0x18)" * (cast_expression "(int *)((int)this + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x18)" ( (binary_expression "(int)this + 0x18" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) comment (expression_statement "dVar2 = *this;" (assignment_expression "dVar2 = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "cache_view = *(CacheView **)((int)this + 0x14);" (assignment_expression "cache_view = *(CacheView **)((int)this + 0x14)" identifier = (pointer_expression "*(CacheView **)((int)this + 0x14)" * (cast_expression "(CacheView **)((int)this + 0x14)" ( (type_descriptor "CacheView **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 0x14)" ( (binary_expression "(int)this + 0x14" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "cache_view_00 = *(CacheView **)((int)this + 0x10);" (assignment_expression "cache_view_00 = *(CacheView **)((int)this + 0x10)" identifier = (pointer_expression "*(CacheView **)((int)this + 0x10)" * (cast_expression "(CacheView **)((int)this + 0x10)" ( (type_descriptor "CacheView **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 0x10)" ( (binary_expression "(int)this + 0x10" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "exception = *(ExceptionInfo **)((int)this + 0xc);" (assignment_expression "exception = *(ExceptionInfo **)((int)this + 0xc)" identifier = (pointer_expression "*(ExceptionInfo **)((int)this + 0xc)" * (cast_expression "(ExceptionInfo **)((int)this + 0xc)" ( (type_descriptor "ExceptionInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 0xc)" ( (binary_expression "(int)this + 0xc" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (do_statement "do {\n      if (*(int *)((int)this + 0x1c) != 0) {\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar22 = iVar22 + 1;\n    } while (iVar24 != iVar22);" do (compound_statement "{\n      if (*(int *)((int)this + 0x1c) != 0) {\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar22 = iVar22 + 1;\n    }" { (if_statement "if (*(int *)((int)this + 0x1c) != 0) {\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((int)this + 0x1c) != 0)" ( (binary_expression "*(int *)((int)this + 0x1c) != 0" (pointer_expression "*(int *)((int)this + 0x1c)" * (cast_expression "(int *)((int)this + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x1c)" ( (binary_expression "(int)this + 0x1c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);\n        pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);\n        fVar21 = DAT_002df2b8;\n        if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }\n      }" { (expression_statement "pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception);" (assignment_expression "pQVar25 = GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception)" identifier = (call_expression "GetCacheViewVirtualPixels(cache_view_00,0,iVar22,image->columns,1,exception)" identifier (argument_list "(cache_view_00,0,iVar22,image->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (expression_statement "pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception);" (assignment_expression "pQVar26 = QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception)" identifier = (call_expression "QueueCacheViewAuthenticPixels\n                            (cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception)" identifier (argument_list "(cache_view,0,iVar22,*(size_t *)(iVar23 + 0x18),1,exception)" ( identifier , number_literal , identifier , (pointer_expression "*(size_t *)(iVar23 + 0x18)" * (cast_expression "(size_t *)(iVar23 + 0x18)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x18)" ( (binary_expression "iVar23 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "fVar21 = DAT_002df2b8;" (assignment_expression "fVar21 = DAT_002df2b8" identifier = identifier) ;) (if_statement "if ((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }\n        else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }" if (parenthesized_expression "((pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0))" ( (binary_expression "(pQVar25 == (Quantum *)0x0) || (pQVar26 == (Quantum *)0x0)" (parenthesized_expression "(pQVar25 == (Quantum *)0x0)" ( (binary_expression "pQVar25 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pQVar26 == (Quantum *)0x0)" ( (binary_expression "pQVar26 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\nLAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;\n        }" { (labeled_statement "LAB_001e1b05:\n          *(undefined4 *)((int)this + 0x1c) = 0;" statement_identifier : (expression_statement "*(undefined4 *)((int)this + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x1c)" * (cast_expression "(undefined4 *)((int)this + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x1c)" ( (binary_expression "(int)this + 0x1c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;)) }) (else_clause "else {\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }" else (compound_statement "{\n          sVar6 = image->columns;\n          if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }\n          MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }\n        }" { (expression_statement "sVar6 = image->columns;" (assignment_expression "sVar6 = image->columns" identifier = (field_expression "image->columns" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)sVar6) {\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }" if (parenthesized_expression "(0 < (int)sVar6)" ( (binary_expression "0 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n            pPVar7 = image->channel_map;\n            iVar8 = pPVar7->offset;\n            iVar9 = pPVar7[1].offset;\n            iVar10 = pPVar7[2].offset;\n            pdVar31 = pQVar25 + iVar8;\n            iVar11 = *(int *)(iVar23 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            sVar14 = image->number_channels;\n            iVar15 = *(int *)(iVar23 + 0x298);\n            sVar30 = 0;\n            pdVar27 = pQVar26 + iVar12;\n            do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);\n          }" { (expression_statement "pPVar7 = image->channel_map;" (assignment_expression "pPVar7 = image->channel_map" identifier = (field_expression "image->channel_map" identifier -> field_identifier)) ;) (expression_statement "iVar8 = pPVar7->offset;" (assignment_expression "iVar8 = pPVar7->offset" identifier = (field_expression "pPVar7->offset" identifier -> field_identifier)) ;) (expression_statement "iVar9 = pPVar7[1].offset;" (assignment_expression "iVar9 = pPVar7[1].offset" identifier = (field_expression "pPVar7[1].offset" (subscript_expression "pPVar7[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar10 = pPVar7[2].offset;" (assignment_expression "iVar10 = pPVar7[2].offset" identifier = (field_expression "pPVar7[2].offset" (subscript_expression "pPVar7[2]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "pdVar31 = pQVar25 + iVar8;" (assignment_expression "pdVar31 = pQVar25 + iVar8" identifier = (binary_expression "pQVar25 + iVar8" identifier + identifier)) ;) (expression_statement "iVar11 = *(int *)(iVar23 + 0x2a8);" (assignment_expression "iVar11 = *(int *)(iVar23 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar23 + 0x2a8)" * (cast_expression "(int *)(iVar23 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x2a8)" ( (binary_expression "iVar23 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(iVar11 + 8);" (assignment_expression "iVar12 = *(int *)(iVar11 + 8)" identifier = (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar11 + 0x14);" (assignment_expression "iVar13 = *(int *)(iVar11 + 0x14)" identifier = (pointer_expression "*(int *)(iVar11 + 0x14)" * (cast_expression "(int *)(iVar11 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar11 + 0x20);" (assignment_expression "iVar11 = *(int *)(iVar11 + 0x20)" identifier = (pointer_expression "*(int *)(iVar11 + 0x20)" * (cast_expression "(int *)(iVar11 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x20)" ( (binary_expression "iVar11 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "sVar14 = image->number_channels;" (assignment_expression "sVar14 = image->number_channels" identifier = (field_expression "image->number_channels" identifier -> field_identifier)) ;) (expression_statement "iVar15 = *(int *)(iVar23 + 0x298);" (assignment_expression "iVar15 = *(int *)(iVar23 + 0x298)" identifier = (pointer_expression "*(int *)(iVar23 + 0x298)" * (cast_expression "(int *)(iVar23 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x298)" ( (binary_expression "iVar23 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "sVar30 = 0;" (assignment_expression "sVar30 = 0" identifier = number_literal) ;) (expression_statement "pdVar27 = pQVar26 + iVar12;" (assignment_expression "pdVar27 = pQVar26 + iVar12" identifier = (binary_expression "pQVar26 + iVar12" identifier + identifier)) ;) (do_statement "do {\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            } while (sVar6 != sVar30);" do (compound_statement "{\n              dVar3 = pdVar31[iVar9 - iVar8];\n              dVar4 = *pdVar31;\n              dVar17 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }\n              dVar5 = pdVar31[iVar10 - iVar8];\n              if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }\n              dVar17 = dVar17 * dVar2;\n              dVar20 = (double)fVar21;\n              dVar19 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }\n              dVar18 = dVar5;\n              if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }\n              sVar30 = sVar30 + 1;\n              pdVar31 = pdVar31 + sVar14;\n              dVar18 = dVar18 * dVar2;\n              *pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;\n              pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);\n              pdVar27 = pdVar27 + iVar15;\n            }" { (expression_statement "dVar3 = pdVar31[iVar9 - iVar8];" (assignment_expression "dVar3 = pdVar31[iVar9 - iVar8]" identifier = (subscript_expression "pdVar31[iVar9 - iVar8]" identifier [ (binary_expression "iVar9 - iVar8" identifier - identifier) ])) ;) (expression_statement "dVar4 = *pdVar31;" (assignment_expression "dVar4 = *pdVar31" identifier = (pointer_expression "*pdVar31" * identifier)) ;) (expression_statement "dVar17 = dVar4;" (assignment_expression "dVar17 = dVar4" identifier = identifier) ;) (if_statement "if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar17 = dVar3;\n              }" if (parenthesized_expression "(dVar3 <= dVar4 || dVar4 != dVar3)" ( (binary_expression "dVar3 <= dVar4 || dVar4 != dVar3" (binary_expression "dVar3 <= dVar4" identifier <= identifier) || (binary_expression "dVar4 != dVar3" identifier != identifier)) )) (compound_statement "{\n                dVar17 = dVar3;\n              }" { (expression_statement "dVar17 = dVar3;" (assignment_expression "dVar17 = dVar3" identifier = identifier) ;) })) (expression_statement "dVar5 = pdVar31[iVar10 - iVar8];" (assignment_expression "dVar5 = pdVar31[iVar10 - iVar8]" identifier = (subscript_expression "pdVar31[iVar10 - iVar8]" identifier [ (binary_expression "iVar10 - iVar8" identifier - identifier) ])) ;) (if_statement "if (dVar5 <= dVar17 || dVar17 != dVar5) {\n                dVar17 = dVar5;\n              }" if (parenthesized_expression "(dVar5 <= dVar17 || dVar17 != dVar5)" ( (binary_expression "dVar5 <= dVar17 || dVar17 != dVar5" (binary_expression "dVar5 <= dVar17" identifier <= identifier) || (binary_expression "dVar17 != dVar5" identifier != identifier)) )) (compound_statement "{\n                dVar17 = dVar5;\n              }" { (expression_statement "dVar17 = dVar5;" (assignment_expression "dVar17 = dVar5" identifier = identifier) ;) })) (expression_statement "dVar17 = dVar17 * dVar2;" (assignment_expression "dVar17 = dVar17 * dVar2" identifier = (binary_expression "dVar17 * dVar2" identifier * identifier)) ;) (expression_statement "dVar20 = (double)fVar21;" (assignment_expression "dVar20 = (double)fVar21" identifier = (cast_expression "(double)fVar21" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "dVar19 = dVar3;" (assignment_expression "dVar19 = dVar3" identifier = identifier) ;) (if_statement "if (dVar3 <= dVar4) {\n                dVar19 = dVar4;\n              }" if (parenthesized_expression "(dVar3 <= dVar4)" ( (binary_expression "dVar3 <= dVar4" identifier <= identifier) )) (compound_statement "{\n                dVar19 = dVar4;\n              }" { (expression_statement "dVar19 = dVar4;" (assignment_expression "dVar19 = dVar4" identifier = identifier) ;) })) (expression_statement "dVar18 = dVar5;" (assignment_expression "dVar18 = dVar5" identifier = identifier) ;) (if_statement "if (dVar5 <= dVar19) {\n                dVar18 = dVar19;\n              }" if (parenthesized_expression "(dVar5 <= dVar19)" ( (binary_expression "dVar5 <= dVar19" identifier <= identifier) )) (compound_statement "{\n                dVar18 = dVar19;\n              }" { (expression_statement "dVar18 = dVar19;" (assignment_expression "dVar18 = dVar19" identifier = identifier) ;) })) (expression_statement "sVar30 = sVar30 + 1;" (assignment_expression "sVar30 = sVar30 + 1" identifier = (binary_expression "sVar30 + 1" identifier + number_literal)) ;) (expression_statement "pdVar31 = pdVar31 + sVar14;" (assignment_expression "pdVar31 = pdVar31 + sVar14" identifier = (binary_expression "pdVar31 + sVar14" identifier + identifier)) ;) (expression_statement "dVar18 = dVar18 * dVar2;" (assignment_expression "dVar18 = dVar18 * dVar2" identifier = (binary_expression "dVar18 * dVar2" identifier * identifier)) ;) (expression_statement "*pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20;" (assignment_expression "*pdVar27 = ((dVar17 + dVar4) * dVar20 + dVar18) * dVar20" (pointer_expression "*pdVar27" * identifier) = (binary_expression "((dVar17 + dVar4) * dVar20 + dVar18) * dVar20" (parenthesized_expression "((dVar17 + dVar4) * dVar20 + dVar18)" ( (binary_expression "(dVar17 + dVar4) * dVar20 + dVar18" (binary_expression "(dVar17 + dVar4) * dVar20" (parenthesized_expression "(dVar17 + dVar4)" ( (binary_expression "dVar17 + dVar4" identifier + identifier) )) * identifier) + identifier) )) * identifier)) ;) (expression_statement "pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20;" (assignment_expression "pdVar27[iVar13 - iVar12] = ((dVar17 + dVar3) * dVar20 + dVar18) * dVar20" (subscript_expression "pdVar27[iVar13 - iVar12]" identifier [ (binary_expression "iVar13 - iVar12" identifier - identifier) ]) = (binary_expression "((dVar17 + dVar3) * dVar20 + dVar18) * dVar20" (parenthesized_expression "((dVar17 + dVar3) * dVar20 + dVar18)" ( (binary_expression "(dVar17 + dVar3) * dVar20 + dVar18" (binary_expression "(dVar17 + dVar3) * dVar20" (parenthesized_expression "(dVar17 + dVar3)" ( (binary_expression "dVar17 + dVar3" identifier + identifier) )) * identifier) + identifier) )) * identifier)) ;) (expression_statement "pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20);" (assignment_expression "pdVar27[iVar11 - iVar12] = dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20)" (subscript_expression "pdVar27[iVar11 - iVar12]" identifier [ (binary_expression "iVar11 - iVar12" identifier - identifier) ]) = (binary_expression "dVar20 * (dVar18 + (dVar17 + dVar5) * dVar20)" identifier * (parenthesized_expression "(dVar18 + (dVar17 + dVar5) * dVar20)" ( (binary_expression "dVar18 + (dVar17 + dVar5) * dVar20" identifier + (binary_expression "(dVar17 + dVar5) * dVar20" (parenthesized_expression "(dVar17 + dVar5)" ( (binary_expression "dVar17 + dVar5" identifier + identifier) )) * identifier)) )))) ;) (expression_statement "pdVar27 = pdVar27 + iVar15;" (assignment_expression "pdVar27 = pdVar27 + iVar15" identifier = (binary_expression "pdVar27 + iVar15" identifier + identifier)) ;) }) while (parenthesized_expression "(sVar6 != sVar30)" ( (binary_expression "sVar6 != sVar30" identifier != identifier) )) ;) })) (expression_statement "MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar28 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar28 == MagickFalse) {\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }" if (parenthesized_expression "(MVar28 == MagickFalse)" ( (binary_expression "MVar28 == MagickFalse" identifier == identifier) )) (compound_statement "{\n            *(undefined4 *)((int)this + 0x1c) = 0;\n          }" { (expression_statement "*(undefined4 *)((int)this + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x1c)" * (cast_expression "(undefined4 *)((int)this + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x1c)" ( (binary_expression "(int)this + 0x1c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }" if (parenthesized_expression "(image->progress_monitor != (MagickProgressMonitor)0x0)" ( (binary_expression "image->progress_monitor != (MagickProgressMonitor)0x0" (field_expression "image->progress_monitor" identifier -> field_identifier) != (cast_expression "(MagickProgressMonitor)0x0" ( (type_descriptor "MagickProgressMonitor" type_identifier) ) number_literal)) )) (compound_statement "{\n            puVar16 = *(uint **)((int)this + 0x20);\n            uVar29 = *puVar16;\n            uVar32 = puVar16[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);\n            MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);\n            if (MVar28 == MagickFalse) goto LAB_001e1b05;\n          }" { (expression_statement "puVar16 = *(uint **)((int)this + 0x20);" (assignment_expression "puVar16 = *(uint **)((int)this + 0x20)" identifier = (pointer_expression "*(uint **)((int)this + 0x20)" * (cast_expression "(uint **)((int)this + 0x20)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 0x20)" ( (binary_expression "(int)this + 0x20" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar29 = *puVar16;" (assignment_expression "uVar29 = *puVar16" identifier = (pointer_expression "*puVar16" * identifier)) ;) (expression_statement "uVar32 = puVar16[1];" (assignment_expression "uVar32 = puVar16[1]" identifier = (subscript_expression "puVar16[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar33);" do (compound_statement "{\n              LOCK();\n              lVar1 = *(longlong *)puVar16;\n              bVar33 = CONCAT44(uVar32,uVar29) == lVar1;\n              if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar1 = *(longlong *)puVar16;" (assignment_expression "lVar1 = *(longlong *)puVar16" identifier = (pointer_expression "*(longlong *)puVar16" * (cast_expression "(longlong *)puVar16" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar33 = CONCAT44(uVar32,uVar29) == lVar1;" (assignment_expression "bVar33 = CONCAT44(uVar32,uVar29) == lVar1" identifier = (binary_expression "CONCAT44(uVar32,uVar29) == lVar1" (call_expression "CONCAT44(uVar32,uVar29)" identifier (argument_list "(uVar32,uVar29)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar33) {\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }\n              else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }" if (parenthesized_expression "(bVar33)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);\n              }" { (expression_statement "*(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1);" (assignment_expression "*(longlong *)puVar16 = CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1)" (pointer_expression "*(longlong *)puVar16" * (cast_expression "(longlong *)puVar16" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar32 + (0xfffffffe < uVar29),uVar29 + 1)" identifier (argument_list "(uVar32 + (0xfffffffe < uVar29),uVar29 + 1)" ( (binary_expression "uVar32 + (0xfffffffe < uVar29)" identifier + (parenthesized_expression "(0xfffffffe < uVar29)" ( (binary_expression "0xfffffffe < uVar29" number_literal < identifier) ))) , (binary_expression "uVar29 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }" else (compound_statement "{\n                uVar32 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar29 = (uint)lVar1;\n              }" { (expression_statement "uVar32 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar32 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar29 = (uint)lVar1;" (assignment_expression "uVar29 = (uint)lVar1" identifier = (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar33)" ( (unary_expression "!bVar33" ! identifier) )) ;) (expression_statement "MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows);" (assignment_expression "MVar28 = SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows)" identifier = (call_expression "SetImageProgress(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows)" identifier (argument_list "(image,"BlueShift/Image",\n                                      **(MagickOffsetType **)((int)this + 0x20),\n                                      (ulonglong)image->rows)" ( identifier , (string_literal ""BlueShift/Image"" " string_content ") , (pointer_expression "**(MagickOffsetType **)((int)this + 0x20)" * (pointer_expression "*(MagickOffsetType **)((int)this + 0x20)" * (cast_expression "(MagickOffsetType **)((int)this + 0x20)" ( (type_descriptor "MagickOffsetType **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 0x20)" ( (binary_expression "(int)this + 0x20" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) , (cast_expression "(ulonglong)image->rows" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "image->rows" identifier -> field_identifier)) )))) ;) (if_statement "if (MVar28 == MagickFalse) goto LAB_001e1b05;" if (parenthesized_expression "(MVar28 == MagickFalse)" ( (binary_expression "MVar28 == MagickFalse" identifier == identifier) )) (goto_statement "goto LAB_001e1b05;" goto statement_identifier ;)) })) }))) })) (expression_statement "iVar22 = iVar22 + 1;" (assignment_expression "iVar22 = iVar22 + 1" identifier = (binary_expression "iVar22 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar24 != iVar22)" ( (binary_expression "iVar24 != iVar22" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001e1840(double *param_1)\n\n{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  uint *puVar18;\n  double dVar19;\n  double dVar20;\n  double dVar21;\n  double dVar22;\n  float fVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  int iVar27;\n  int iVar28;\n  double *pdVar29;\n  uint uVar30;\n  int iVar31;\n  double *pdVar32;\n  uint uVar33;\n  bool bVar34;\n  \n  iVar24 = omp_get_num_threads();\n  iVar6 = *(int *)(param_1 + 1);\n  iVar25 = omp_get_thread_num();\n  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;\n  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;\n  if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }\n  iVar24 = iVar25 * iVar26 + iVar24;\n  iVar26 = iVar26 + iVar24;\n  if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001e1840(double *param_1)\n\n{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  uint *puVar18;\n  double dVar19;\n  double dVar20;\n  double dVar21;\n  double dVar22;\n  float fVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  int iVar27;\n  int iVar28;\n  double *pdVar29;\n  uint uVar30;\n  int iVar31;\n  double *pdVar32;\n  uint uVar33;\n  bool bVar34;\n  \n  iVar24 = omp_get_num_threads();\n  iVar6 = *(int *)(param_1 + 1);\n  iVar25 = omp_get_thread_num();\n  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;\n  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;\n  if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }\n  iVar24 = iVar25 * iVar26 + iVar24;\n  iVar26 = iVar26 + iVar24;\n  if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001e1840(double *param_1)" identifier (parameter_list "(double *param_1)" ( (parameter_declaration "double *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  uint *puVar18;\n  double dVar19;\n  double dVar20;\n  double dVar21;\n  double dVar22;\n  float fVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  int iVar27;\n  int iVar28;\n  double *pdVar29;\n  uint uVar30;\n  int iVar31;\n  double *pdVar32;\n  uint uVar33;\n  bool bVar34;\n  \n  iVar24 = omp_get_num_threads();\n  iVar6 = *(int *)(param_1 + 1);\n  iVar25 = omp_get_thread_num();\n  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;\n  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;\n  if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }\n  iVar24 = iVar25 * iVar26 + iVar24;\n  iVar26 = iVar26 + iVar24;\n  if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }\n  return;\n}" { (declaration "longlong lVar1;" type_identifier identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "double dVar3;" primitive_type identifier ;) (declaration "double dVar4;" primitive_type identifier ;) (declaration "double dVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined4 uVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "uint *puVar18;" type_identifier (pointer_declarator "*puVar18" * identifier) ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "double dVar21;" primitive_type identifier ;) (declaration "double dVar22;" primitive_type identifier ;) (declaration "float fVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) (declaration "int iVar25;" primitive_type identifier ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "int iVar27;" primitive_type identifier ;) (declaration "int iVar28;" primitive_type identifier ;) (declaration "double *pdVar29;" primitive_type (pointer_declarator "*pdVar29" * identifier) ;) (declaration "uint uVar30;" type_identifier identifier ;) (declaration "int iVar31;" primitive_type identifier ;) (declaration "double *pdVar32;" primitive_type (pointer_declarator "*pdVar32" * identifier) ;) (declaration "uint uVar33;" type_identifier identifier ;) (declaration "bool bVar34;" primitive_type identifier ;) (expression_statement "iVar24 = omp_get_num_threads();" (assignment_expression "iVar24 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = *(int *)(param_1 + 1);" (assignment_expression "iVar6 = *(int *)(param_1 + 1)" identifier = (pointer_expression "*(int *)(param_1 + 1)" * (cast_expression "(int *)(param_1 + 1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (expression_statement "iVar25 = omp_get_thread_num();" (assignment_expression "iVar25 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;" (assignment_expression "iVar26 = *(int *)(iVar6 + 0x1c) / iVar24" identifier = (binary_expression "*(int *)(iVar6 + 0x1c) / iVar24" (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;" (assignment_expression "iVar24 = *(int *)(iVar6 + 0x1c) % iVar24" identifier = (binary_expression "*(int *)(iVar6 + 0x1c) % iVar24" (pointer_expression "*(int *)(iVar6 + 0x1c)" * (cast_expression "(int *)(iVar6 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }" if (parenthesized_expression "(iVar25 < iVar24)" ( (binary_expression "iVar25 < iVar24" identifier < identifier) )) (compound_statement "{\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }" { (expression_statement "iVar26 = iVar26 + 1;" (assignment_expression "iVar26 = iVar26 + 1" identifier = (binary_expression "iVar26 + 1" identifier + number_literal)) ;) (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" identifier = number_literal) ;) })) (expression_statement "iVar24 = iVar25 * iVar26 + iVar24;" (assignment_expression "iVar24 = iVar25 * iVar26 + iVar24" identifier = (binary_expression "iVar25 * iVar26 + iVar24" (binary_expression "iVar25 * iVar26" identifier * identifier) + identifier)) ;) (expression_statement "iVar26 = iVar26 + iVar24;" (assignment_expression "iVar26 = iVar26 + iVar24" identifier = (binary_expression "iVar26 + iVar24" identifier + identifier)) ;) (if_statement "if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }" if (parenthesized_expression "(iVar24 < iVar26)" ( (binary_expression "iVar24 < iVar26" identifier < identifier) )) (compound_statement "{\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }" { (expression_statement "iVar25 = *(int *)(param_1 + 3);" (assignment_expression "iVar25 = *(int *)(param_1 + 3)" identifier = (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))))) ;) (expression_statement "dVar2 = *param_1;" (assignment_expression "dVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar7 = *(undefined4 *)((int)param_1 + 0x14);" (assignment_expression "uVar7 = *(undefined4 *)((int)param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 0x14)" * (cast_expression "(undefined4 *)((int)param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar8 = *(undefined4 *)(param_1 + 2);" (assignment_expression "uVar8 = *(undefined4 *)(param_1 + 2)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "uVar9 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar9 = *(undefined4 *)((int)param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);" do (compound_statement "{\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    }" { (if_statement "if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((int)param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)((int)param_1 + 0x1c) != 0" (pointer_expression "*(int *)((int)param_1 + 0x1c)" * (cast_expression "(int *)((int)param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }" { (expression_statement "iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);" (assignment_expression "iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" identifier (argument_list "(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" * (cast_expression "(undefined4 *)(iVar6 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);" (assignment_expression "iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" identifier = (call_expression "QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" identifier (argument_list "(uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar25 + 0x18)" * (cast_expression "(undefined4 *)(iVar25 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + 0x18)" ( (binary_expression "iVar25 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "fVar23 = DAT_002df2b8;" (assignment_expression "fVar23 = DAT_002df2b8" identifier = identifier) ;) (if_statement "if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" if (parenthesized_expression "((iVar27 == 0) || (iVar28 == 0))" ( (binary_expression "(iVar27 == 0) || (iVar28 == 0)" (parenthesized_expression "(iVar27 == 0)" ( (binary_expression "iVar27 == 0" identifier == number_literal) )) || (parenthesized_expression "(iVar28 == 0)" ( (binary_expression "iVar28 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }" { (labeled_statement "LAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;" statement_identifier : (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;)) }) (else_clause "else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" else (compound_statement "{\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" { (expression_statement "iVar10 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar10 = *(int *)(iVar6 + 0x18)" identifier = (pointer_expression "*(int *)(iVar6 + 0x18)" * (cast_expression "(int *)(iVar6 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x18)" ( (binary_expression "iVar6 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }" if (parenthesized_expression "(0 < iVar10)" ( (binary_expression "0 < iVar10" number_literal < identifier) )) (compound_statement "{\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }" { (expression_statement "iVar11 = *(int *)(iVar6 + 0x2a8);" (assignment_expression "iVar11 = *(int *)(iVar6 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar6 + 0x2a8)" * (cast_expression "(int *)(iVar6 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x2a8)" ( (binary_expression "iVar6 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = *(int *)(iVar11 + 8);" (assignment_expression "iVar12 = *(int *)(iVar11 + 8)" identifier = (pointer_expression "*(int *)(iVar11 + 8)" * (cast_expression "(int *)(iVar11 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 8)" ( (binary_expression "iVar11 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar11 + 0x14);" (assignment_expression "iVar13 = *(int *)(iVar11 + 0x14)" identifier = (pointer_expression "*(int *)(iVar11 + 0x14)" * (cast_expression "(int *)(iVar11 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x14)" ( (binary_expression "iVar11 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar11 + 0x20);" (assignment_expression "iVar11 = *(int *)(iVar11 + 0x20)" identifier = (pointer_expression "*(int *)(iVar11 + 0x20)" * (cast_expression "(int *)(iVar11 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x20)" ( (binary_expression "iVar11 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "pdVar32 = (double *)(iVar27 + iVar12 * 8);" (assignment_expression "pdVar32 = (double *)(iVar27 + iVar12 * 8)" identifier = (cast_expression "(double *)(iVar27 + iVar12 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + iVar12 * 8)" ( (binary_expression "iVar27 + iVar12 * 8" identifier + (binary_expression "iVar12 * 8" identifier * number_literal)) )))) ;) (expression_statement "iVar27 = *(int *)(iVar25 + 0x2a8);" (assignment_expression "iVar27 = *(int *)(iVar25 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar25 + 0x2a8)" * (cast_expression "(int *)(iVar25 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + 0x2a8)" ( (binary_expression "iVar25 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = *(int *)(iVar27 + 8);" (assignment_expression "iVar14 = *(int *)(iVar27 + 8)" identifier = (pointer_expression "*(int *)(iVar27 + 8)" * (cast_expression "(int *)(iVar27 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 8)" ( (binary_expression "iVar27 + 8" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = *(int *)(iVar27 + 0x14);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x14)" identifier = (pointer_expression "*(int *)(iVar27 + 0x14)" * (cast_expression "(int *)(iVar27 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x14)" ( (binary_expression "iVar27 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar27 = *(int *)(iVar27 + 0x20);" (assignment_expression "iVar27 = *(int *)(iVar27 + 0x20)" identifier = (pointer_expression "*(int *)(iVar27 + 0x20)" * (cast_expression "(int *)(iVar27 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar27 + 0x20)" ( (binary_expression "iVar27 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "iVar16 = *(int *)(iVar6 + 0x298);" (assignment_expression "iVar16 = *(int *)(iVar6 + 0x298)" identifier = (pointer_expression "*(int *)(iVar6 + 0x298)" * (cast_expression "(int *)(iVar6 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x298)" ( (binary_expression "iVar6 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "iVar17 = *(int *)(iVar25 + 0x298);" (assignment_expression "iVar17 = *(int *)(iVar25 + 0x298)" identifier = (pointer_expression "*(int *)(iVar25 + 0x298)" * (cast_expression "(int *)(iVar25 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + 0x298)" ( (binary_expression "iVar25 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "iVar31 = 0;" (assignment_expression "iVar31 = 0" identifier = number_literal) ;) (expression_statement "pdVar29 = (double *)(iVar28 + iVar14 * 8);" (assignment_expression "pdVar29 = (double *)(iVar28 + iVar14 * 8)" identifier = (cast_expression "(double *)(iVar28 + iVar14 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar28 + iVar14 * 8)" ( (binary_expression "iVar28 + iVar14 * 8" identifier + (binary_expression "iVar14 * 8" identifier * number_literal)) )))) ;) (do_statement "do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);" do (compound_statement "{\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            }" { (expression_statement "dVar3 = pdVar32[iVar13 - iVar12];" (assignment_expression "dVar3 = pdVar32[iVar13 - iVar12]" identifier = (subscript_expression "pdVar32[iVar13 - iVar12]" identifier [ (binary_expression "iVar13 - iVar12" identifier - identifier) ])) ;) (expression_statement "dVar4 = *pdVar32;" (assignment_expression "dVar4 = *pdVar32" identifier = (pointer_expression "*pdVar32" * identifier)) ;) (expression_statement "dVar19 = dVar4;" (assignment_expression "dVar19 = dVar4" identifier = identifier) ;) (if_statement "if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }" if (parenthesized_expression "(dVar3 <= dVar4 || dVar4 != dVar3)" ( (binary_expression "dVar3 <= dVar4 || dVar4 != dVar3" (binary_expression "dVar3 <= dVar4" identifier <= identifier) || (binary_expression "dVar4 != dVar3" identifier != identifier)) )) (compound_statement "{\n                dVar19 = dVar3;\n              }" { (expression_statement "dVar19 = dVar3;" (assignment_expression "dVar19 = dVar3" identifier = identifier) ;) })) (expression_statement "dVar5 = pdVar32[iVar11 - iVar12];" (assignment_expression "dVar5 = pdVar32[iVar11 - iVar12]" identifier = (subscript_expression "pdVar32[iVar11 - iVar12]" identifier [ (binary_expression "iVar11 - iVar12" identifier - identifier) ])) ;) (if_statement "if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }" if (parenthesized_expression "(dVar5 <= dVar19 || dVar19 != dVar5)" ( (binary_expression "dVar5 <= dVar19 || dVar19 != dVar5" (binary_expression "dVar5 <= dVar19" identifier <= identifier) || (binary_expression "dVar19 != dVar5" identifier != identifier)) )) (compound_statement "{\n                dVar19 = dVar5;\n              }" { (expression_statement "dVar19 = dVar5;" (assignment_expression "dVar19 = dVar5" identifier = identifier) ;) })) (expression_statement "dVar19 = dVar19 * dVar2;" (assignment_expression "dVar19 = dVar19 * dVar2" identifier = (binary_expression "dVar19 * dVar2" identifier * identifier)) ;) (expression_statement "dVar22 = (double)fVar23;" (assignment_expression "dVar22 = (double)fVar23" identifier = (cast_expression "(double)fVar23" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "dVar21 = dVar3;" (assignment_expression "dVar21 = dVar3" identifier = identifier) ;) (if_statement "if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }" if (parenthesized_expression "(dVar3 <= dVar4)" ( (binary_expression "dVar3 <= dVar4" identifier <= identifier) )) (compound_statement "{\n                dVar21 = dVar4;\n              }" { (expression_statement "dVar21 = dVar4;" (assignment_expression "dVar21 = dVar4" identifier = identifier) ;) })) (expression_statement "dVar20 = dVar5;" (assignment_expression "dVar20 = dVar5" identifier = identifier) ;) (if_statement "if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }" if (parenthesized_expression "(dVar5 <= dVar21)" ( (binary_expression "dVar5 <= dVar21" identifier <= identifier) )) (compound_statement "{\n                dVar20 = dVar21;\n              }" { (expression_statement "dVar20 = dVar21;" (assignment_expression "dVar20 = dVar21" identifier = identifier) ;) })) (expression_statement "iVar31 = iVar31 + 1;" (assignment_expression "iVar31 = iVar31 + 1" identifier = (binary_expression "iVar31 + 1" identifier + number_literal)) ;) (expression_statement "pdVar32 = pdVar32 + iVar16;" (assignment_expression "pdVar32 = pdVar32 + iVar16" identifier = (binary_expression "pdVar32 + iVar16" identifier + identifier)) ;) (expression_statement "dVar20 = dVar20 * dVar2;" (assignment_expression "dVar20 = dVar20 * dVar2" identifier = (binary_expression "dVar20 * dVar2" identifier * identifier)) ;) (expression_statement "*pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;" (assignment_expression "*pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22" (pointer_expression "*pdVar29" * identifier) = (binary_expression "((dVar19 + dVar4) * dVar22 + dVar20) * dVar22" (parenthesized_expression "((dVar19 + dVar4) * dVar22 + dVar20)" ( (binary_expression "(dVar19 + dVar4) * dVar22 + dVar20" (binary_expression "(dVar19 + dVar4) * dVar22" (parenthesized_expression "(dVar19 + dVar4)" ( (binary_expression "dVar19 + dVar4" identifier + identifier) )) * identifier) + identifier) )) * identifier)) ;) (expression_statement "pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;" (assignment_expression "pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22" (subscript_expression "pdVar29[iVar15 - iVar14]" identifier [ (binary_expression "iVar15 - iVar14" identifier - identifier) ]) = (binary_expression "((dVar19 + dVar3) * dVar22 + dVar20) * dVar22" (parenthesized_expression "((dVar19 + dVar3) * dVar22 + dVar20)" ( (binary_expression "(dVar19 + dVar3) * dVar22 + dVar20" (binary_expression "(dVar19 + dVar3) * dVar22" (parenthesized_expression "(dVar19 + dVar3)" ( (binary_expression "dVar19 + dVar3" identifier + identifier) )) * identifier) + identifier) )) * identifier)) ;) (expression_statement "pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);" (assignment_expression "pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22)" (subscript_expression "pdVar29[iVar27 - iVar14]" identifier [ (binary_expression "iVar27 - iVar14" identifier - identifier) ]) = (binary_expression "dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22)" identifier * (parenthesized_expression "(dVar20 + (dVar19 + dVar5) * dVar22)" ( (binary_expression "dVar20 + (dVar19 + dVar5) * dVar22" identifier + (binary_expression "(dVar19 + dVar5) * dVar22" (parenthesized_expression "(dVar19 + dVar5)" ( (binary_expression "dVar19 + dVar5" identifier + identifier) )) * identifier)) )))) ;) (expression_statement "pdVar29 = pdVar29 + iVar17;" (assignment_expression "pdVar29 = pdVar29 + iVar17" identifier = (binary_expression "pdVar29 + iVar17" identifier + identifier)) ;) }) while (parenthesized_expression "(iVar10 != iVar31)" ( (binary_expression "iVar10 != iVar31" identifier != identifier) )) ;) })) (expression_statement "iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);" (assignment_expression "iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9)" identifier = (call_expression "SyncCacheViewAuthenticPixels(uVar7,uVar9)" identifier (argument_list "(uVar7,uVar9)" ( identifier , identifier )))) ;) (if_statement "if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }" if (parenthesized_expression "(iVar27 == 0)" ( (binary_expression "iVar27 == 0" identifier == number_literal) )) (compound_statement "{\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }" { (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }" if (parenthesized_expression "(*(int *)(iVar6 + 0x300) != 0)" ( (binary_expression "*(int *)(iVar6 + 0x300) != 0" (pointer_expression "*(int *)(iVar6 + 0x300)" * (cast_expression "(int *)(iVar6 + 0x300)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x300)" ( (binary_expression "iVar6 + 0x300" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }" { (expression_statement "puVar18 = *(uint **)(param_1 + 4);" (assignment_expression "puVar18 = *(uint **)(param_1 + 4)" identifier = (pointer_expression "*(uint **)(param_1 + 4)" * (cast_expression "(uint **)(param_1 + 4)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "uVar30 = *puVar18;" (assignment_expression "uVar30 = *puVar18" identifier = (pointer_expression "*puVar18" * identifier)) ;) (expression_statement "uVar33 = puVar18[1];" (assignment_expression "uVar33 = puVar18[1]" identifier = (subscript_expression "puVar18[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);" do (compound_statement "{\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar1 = *(longlong *)puVar18;" (assignment_expression "lVar1 = *(longlong *)puVar18" identifier = (pointer_expression "*(longlong *)puVar18" * (cast_expression "(longlong *)puVar18" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar34 = CONCAT44(uVar33,uVar30) == lVar1;" (assignment_expression "bVar34 = CONCAT44(uVar33,uVar30) == lVar1" identifier = (binary_expression "CONCAT44(uVar33,uVar30) == lVar1" (call_expression "CONCAT44(uVar33,uVar30)" identifier (argument_list "(uVar33,uVar30)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" if (parenthesized_expression "(bVar34)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }" { (expression_statement "*(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);" (assignment_expression "*(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" (pointer_expression "*(longlong *)puVar18" * (cast_expression "(longlong *)puVar18" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" identifier (argument_list "(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" ( (binary_expression "uVar33 + (0xfffffffe < uVar30)" identifier + (parenthesized_expression "(0xfffffffe < uVar30)" ( (binary_expression "0xfffffffe < uVar30" number_literal < identifier) ))) , (binary_expression "uVar30 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" else (compound_statement "{\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" { (expression_statement "uVar33 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar33 = (uint)((ulonglong)lVar1 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar1 >> 0x20)" ( (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar30 = (uint)lVar1;" (assignment_expression "uVar30 = (uint)lVar1" identifier = (cast_expression "(uint)lVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar34)" ( (unary_expression "!bVar34" ! identifier) )) ;) (expression_statement "iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);" (assignment_expression "iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" identifier = (call_expression "SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" identifier (argument_list "(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" ( identifier , (string_literal ""BlueShift/Image"" " string_content ") , (pointer_expression "**(undefined4 **)(param_1 + 4)" * (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) , (subscript_expression "(*(undefined4 **)(param_1 + 4))[1]" (parenthesized_expression "(*(undefined4 **)(param_1 + 4))" ( (pointer_expression "*(undefined4 **)(param_1 + 4)" * (cast_expression "(undefined4 **)(param_1 + 4)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) )) [ number_literal ]) , (pointer_expression "*(undefined4 *)(iVar6 + 0x1c)" * (cast_expression "(undefined4 *)(iVar6 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x1c)" ( (binary_expression "iVar6 + 0x1c" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar27 == 0) goto LAB_001e1b05;" if (parenthesized_expression "(iVar27 == 0)" ( (binary_expression "iVar27 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001e1b05;" goto statement_identifier ;)) })) }))) })) (expression_statement "iVar24 = iVar24 + 1;" (assignment_expression "iVar24 = iVar24 + 1" identifier = (binary_expression "iVar24 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar26 != iVar24)" ( (binary_expression "iVar26 != iVar24" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT - IDENT) ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) || (binary_expression IDENT != IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ (binary_expression IDENT - IDENT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT <= IDENT) || (binary_expression IDENT != IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * IDENT) + IDENT) )) * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT - IDENT) ]) = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * IDENT) + IDENT) )) * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT - IDENT) ]) = (binary_expression IDENT * (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) == IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (call_expression IDENT (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT < IDENT) ))) , (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (unary_expression ! IDENT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (subscript_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001e1840(double *param_1)\n\n{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  uint *puVar18;\n  double dVar19;\n  double dVar20;\n  double dVar21;\n  double dVar22;\n  float fVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  int iVar27;\n  int iVar28;\n  double *pdVar29;\n  uint uVar30;\n  int iVar31;\n  double *pdVar32;\n  uint uVar33;\n  bool bVar34;\n  \n  iVar24 = omp_get_num_threads();\n  iVar6 = *(int *)(param_1 + 1);\n  iVar25 = omp_get_thread_num();\n  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;\n  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;\n  if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }\n  iVar24 = iVar25 * iVar26 + iVar24;\n  iVar26 = iVar26 + iVar24;\n  if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001e1840(double *param_1)" (identifier "FUN_001e1840") (parameter_list "(double *param_1)" (( "(") (parameter_declaration "double *param_1" (primitive_type "double") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  longlong lVar1;\n  double dVar2;\n  double dVar3;\n  double dVar4;\n  double dVar5;\n  int iVar6;\n  undefined4 uVar7;\n  undefined4 uVar8;\n  undefined4 uVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  uint *puVar18;\n  double dVar19;\n  double dVar20;\n  double dVar21;\n  double dVar22;\n  float fVar23;\n  int iVar24;\n  int iVar25;\n  int iVar26;\n  int iVar27;\n  int iVar28;\n  double *pdVar29;\n  uint uVar30;\n  int iVar31;\n  double *pdVar32;\n  uint uVar33;\n  bool bVar34;\n  \n  iVar24 = omp_get_num_threads();\n  iVar6 = *(int *)(param_1 + 1);\n  iVar25 = omp_get_thread_num();\n  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;\n  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;\n  if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }\n  iVar24 = iVar25 * iVar26 + iVar24;\n  iVar26 = iVar26 + iVar24;\n  if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }\n  return;\n}" ({ "{") (declaration "longlong lVar1;" (type_identifier "longlong") (identifier "lVar1") (; ";")) (declaration "double dVar2;" (primitive_type "double") (identifier "dVar2") (; ";")) (declaration "double dVar3;" (primitive_type "double") (identifier "dVar3") (; ";")) (declaration "double dVar4;" (primitive_type "double") (identifier "dVar4") (; ";")) (declaration "double dVar5;" (primitive_type "double") (identifier "dVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 uVar7;" (type_identifier "undefined4") (identifier "uVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined4 uVar9;" (type_identifier "undefined4") (identifier "uVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "uint *puVar18;" (type_identifier "uint") (pointer_declarator "*puVar18" (* "*") (identifier "puVar18")) (; ";")) (declaration "double dVar19;" (primitive_type "double") (identifier "dVar19") (; ";")) (declaration "double dVar20;" (primitive_type "double") (identifier "dVar20") (; ";")) (declaration "double dVar21;" (primitive_type "double") (identifier "dVar21") (; ";")) (declaration "double dVar22;" (primitive_type "double") (identifier "dVar22") (; ";")) (declaration "float fVar23;" (primitive_type "float") (identifier "fVar23") (; ";")) (declaration "int iVar24;" (primitive_type "int") (identifier "iVar24") (; ";")) (declaration "int iVar25;" (primitive_type "int") (identifier "iVar25") (; ";")) (declaration "int iVar26;" (primitive_type "int") (identifier "iVar26") (; ";")) (declaration "int iVar27;" (primitive_type "int") (identifier "iVar27") (; ";")) (declaration "int iVar28;" (primitive_type "int") (identifier "iVar28") (; ";")) (declaration "double *pdVar29;" (primitive_type "double") (pointer_declarator "*pdVar29" (* "*") (identifier "pdVar29")) (; ";")) (declaration "uint uVar30;" (type_identifier "uint") (identifier "uVar30") (; ";")) (declaration "int iVar31;" (primitive_type "int") (identifier "iVar31") (; ";")) (declaration "double *pdVar32;" (primitive_type "double") (pointer_declarator "*pdVar32" (* "*") (identifier "pdVar32")) (; ";")) (declaration "uint uVar33;" (type_identifier "uint") (identifier "uVar33") (; ";")) (declaration "bool bVar34;" (primitive_type "bool") (identifier "bVar34") (; ";")) (expression_statement "iVar24 = omp_get_num_threads();" (assignment_expression "iVar24 = omp_get_num_threads()" (identifier "iVar24") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar6 = *(int *)(param_1 + 1);" (assignment_expression "iVar6 = *(int *)(param_1 + 1)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 1)" (* "*") (cast_expression "(int *)(param_1 + 1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (expression_statement "iVar25 = omp_get_thread_num();" (assignment_expression "iVar25 = omp_get_thread_num()" (identifier "iVar25") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;" (assignment_expression "iVar26 = *(int *)(iVar6 + 0x1c) / iVar24" (identifier "iVar26") (= "=") (binary_expression "*(int *)(iVar6 + 0x1c) / iVar24" (pointer_expression "*(int *)(iVar6 + 0x1c)" (* "*") (cast_expression "(int *)(iVar6 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")")))) (/ "/") (identifier "iVar24"))) (; ";")) (expression_statement "iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;" (assignment_expression "iVar24 = *(int *)(iVar6 + 0x1c) % iVar24" (identifier "iVar24") (= "=") (binary_expression "*(int *)(iVar6 + 0x1c) % iVar24" (pointer_expression "*(int *)(iVar6 + 0x1c)" (* "*") (cast_expression "(int *)(iVar6 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")")))) (% "%") (identifier "iVar24"))) (; ";")) (if_statement "if (iVar25 < iVar24) {\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }" (if "if") (parenthesized_expression "(iVar25 < iVar24)" (( "(") (binary_expression "iVar25 < iVar24" (identifier "iVar25") (< "<") (identifier "iVar24")) () ")")) (compound_statement "{\n    iVar26 = iVar26 + 1;\n    iVar24 = 0;\n  }" ({ "{") (expression_statement "iVar26 = iVar26 + 1;" (assignment_expression "iVar26 = iVar26 + 1" (identifier "iVar26") (= "=") (binary_expression "iVar26 + 1" (identifier "iVar26") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" (identifier "iVar24") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar24 = iVar25 * iVar26 + iVar24;" (assignment_expression "iVar24 = iVar25 * iVar26 + iVar24" (identifier "iVar24") (= "=") (binary_expression "iVar25 * iVar26 + iVar24" (binary_expression "iVar25 * iVar26" (identifier "iVar25") (* "*") (identifier "iVar26")) (+ "+") (identifier "iVar24"))) (; ";")) (expression_statement "iVar26 = iVar26 + iVar24;" (assignment_expression "iVar26 = iVar26 + iVar24" (identifier "iVar26") (= "=") (binary_expression "iVar26 + iVar24" (identifier "iVar26") (+ "+") (identifier "iVar24"))) (; ";")) (if_statement "if (iVar24 < iVar26) {\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }" (if "if") (parenthesized_expression "(iVar24 < iVar26)" (( "(") (binary_expression "iVar24 < iVar26" (identifier "iVar24") (< "<") (identifier "iVar26")) () ")")) (compound_statement "{\n    iVar25 = *(int *)(param_1 + 3);\n    dVar2 = *param_1;\n    uVar7 = *(undefined4 *)((int)param_1 + 0x14);\n    uVar8 = *(undefined4 *)(param_1 + 2);\n    uVar9 = *(undefined4 *)((int)param_1 + 0xc);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);\n  }" ({ "{") (expression_statement "iVar25 = *(int *)(param_1 + 3);" (assignment_expression "iVar25 = *(int *)(param_1 + 3)" (identifier "iVar25") (= "=") (pointer_expression "*(int *)(param_1 + 3)" (* "*") (cast_expression "(int *)(param_1 + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "dVar2 = *param_1;" (assignment_expression "dVar2 = *param_1" (identifier "dVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar7 = *(undefined4 *)((int)param_1 + 0x14);" (assignment_expression "uVar7 = *(undefined4 *)((int)param_1 + 0x14)" (identifier "uVar7") (= "=") (pointer_expression "*(undefined4 *)((int)param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x14)" (( "(") (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar8 = *(undefined4 *)(param_1 + 2);" (assignment_expression "uVar8 = *(undefined4 *)(param_1 + 2)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 2)" (* "*") (cast_expression "(undefined4 *)(param_1 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "uVar9 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar9 = *(undefined4 *)((int)param_1 + 0xc)" (identifier "uVar9") (= "=") (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xc)" (( "(") (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    } while (iVar26 != iVar24);" (do "do") (compound_statement "{\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }\n      iVar24 = iVar24 + 1;\n    }" ({ "{") (if_statement "if (*(int *)((int)param_1 + 0x1c) != 0) {\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(*(int *)((int)param_1 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)((int)param_1 + 0x1c) != 0" (pointer_expression "*(int *)((int)param_1 + 0x1c)" (* "*") (cast_expression "(int *)((int)param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x1c)" (( "(") (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);\n        iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);\n        fVar23 = DAT_002df2b8;\n        if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }\n      }" ({ "{") (expression_statement "iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);" (assignment_expression "iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" (identifier "iVar27") (= "=") (call_expression "GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" (identifier "GetCacheViewVirtualPixels") (argument_list "(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9)" (( "(") (identifier "uVar8") (, ",") (number_literal "0") (, ",") (identifier "iVar24") (, ",") (pointer_expression "*(undefined4 *)(iVar6 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "uVar9") () ")")))) (; ";")) (expression_statement "iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);" (assignment_expression "iVar28 = QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" (identifier "iVar28") (= "=") (call_expression "QueueCacheViewAuthenticPixels\n                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" (identifier "QueueCacheViewAuthenticPixels") (argument_list "(uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9)" (( "(") (identifier "uVar7") (, ",") (number_literal "0") (, ",") (identifier "iVar24") (, ",") (pointer_expression "*(undefined4 *)(iVar25 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar25 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar25 + 0x18)" (( "(") (binary_expression "iVar25 + 0x18" (identifier "iVar25") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "uVar9") () ")")))) (; ";")) (expression_statement "fVar23 = DAT_002df2b8;" (assignment_expression "fVar23 = DAT_002df2b8" (identifier "fVar23") (= "=") (identifier "DAT_002df2b8")) (; ";")) (if_statement "if ((iVar27 == 0) || (iVar28 == 0)) {\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }\n        else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" (if "if") (parenthesized_expression "((iVar27 == 0) || (iVar28 == 0))" (( "(") (binary_expression "(iVar27 == 0) || (iVar28 == 0)" (parenthesized_expression "(iVar27 == 0)" (( "(") (binary_expression "iVar27 == 0" (identifier "iVar27") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar28 == 0)" (( "(") (binary_expression "iVar28 == 0" (identifier "iVar28") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;\n        }" ({ "{") (labeled_statement "LAB_001e1b05:\n          *(undefined4 *)((int)param_1 + 0x1c) = 0;" (statement_identifier "LAB_001e1b05") (: ":") (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x1c)" (( "(") (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" (else "else") (compound_statement "{\n          iVar10 = *(int *)(iVar6 + 0x18);\n          if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }\n          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);\n          if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }\n          if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }\n        }" ({ "{") (expression_statement "iVar10 = *(int *)(iVar6 + 0x18);" (assignment_expression "iVar10 = *(int *)(iVar6 + 0x18)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(iVar6 + 0x18)" (* "*") (cast_expression "(int *)(iVar6 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x18)" (( "(") (binary_expression "iVar6 + 0x18" (identifier "iVar6") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (0 < iVar10) {\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }" (if "if") (parenthesized_expression "(0 < iVar10)" (( "(") (binary_expression "0 < iVar10" (number_literal "0") (< "<") (identifier "iVar10")) () ")")) (compound_statement "{\n            iVar11 = *(int *)(iVar6 + 0x2a8);\n            iVar12 = *(int *)(iVar11 + 8);\n            iVar13 = *(int *)(iVar11 + 0x14);\n            iVar11 = *(int *)(iVar11 + 0x20);\n            pdVar32 = (double *)(iVar27 + iVar12 * 8);\n            iVar27 = *(int *)(iVar25 + 0x2a8);\n            iVar14 = *(int *)(iVar27 + 8);\n            iVar15 = *(int *)(iVar27 + 0x14);\n            iVar27 = *(int *)(iVar27 + 0x20);\n            iVar16 = *(int *)(iVar6 + 0x298);\n            iVar17 = *(int *)(iVar25 + 0x298);\n            iVar31 = 0;\n            pdVar29 = (double *)(iVar28 + iVar14 * 8);\n            do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);\n          }" ({ "{") (expression_statement "iVar11 = *(int *)(iVar6 + 0x2a8);" (assignment_expression "iVar11 = *(int *)(iVar6 + 0x2a8)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar6 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar6 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x2a8)" (( "(") (binary_expression "iVar6 + 0x2a8" (identifier "iVar6") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "iVar12 = *(int *)(iVar11 + 8);" (assignment_expression "iVar12 = *(int *)(iVar11 + 8)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(iVar11 + 8)" (* "*") (cast_expression "(int *)(iVar11 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 8)" (( "(") (binary_expression "iVar11 + 8" (identifier "iVar11") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar11 + 0x14);" (assignment_expression "iVar13 = *(int *)(iVar11 + 0x14)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar11 + 0x14)" (* "*") (cast_expression "(int *)(iVar11 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x14)" (( "(") (binary_expression "iVar11 + 0x14" (identifier "iVar11") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar11 + 0x20);" (assignment_expression "iVar11 = *(int *)(iVar11 + 0x20)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar11 + 0x20)" (* "*") (cast_expression "(int *)(iVar11 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x20)" (( "(") (binary_expression "iVar11 + 0x20" (identifier "iVar11") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "pdVar32 = (double *)(iVar27 + iVar12 * 8);" (assignment_expression "pdVar32 = (double *)(iVar27 + iVar12 * 8)" (identifier "pdVar32") (= "=") (cast_expression "(double *)(iVar27 + iVar12 * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + iVar12 * 8)" (( "(") (binary_expression "iVar27 + iVar12 * 8" (identifier "iVar27") (+ "+") (binary_expression "iVar12 * 8" (identifier "iVar12") (* "*") (number_literal "8"))) () ")")))) (; ";")) (expression_statement "iVar27 = *(int *)(iVar25 + 0x2a8);" (assignment_expression "iVar27 = *(int *)(iVar25 + 0x2a8)" (identifier "iVar27") (= "=") (pointer_expression "*(int *)(iVar25 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar25 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar25 + 0x2a8)" (( "(") (binary_expression "iVar25 + 0x2a8" (identifier "iVar25") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "iVar14 = *(int *)(iVar27 + 8);" (assignment_expression "iVar14 = *(int *)(iVar27 + 8)" (identifier "iVar14") (= "=") (pointer_expression "*(int *)(iVar27 + 8)" (* "*") (cast_expression "(int *)(iVar27 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 8)" (( "(") (binary_expression "iVar27 + 8" (identifier "iVar27") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar15 = *(int *)(iVar27 + 0x14);" (assignment_expression "iVar15 = *(int *)(iVar27 + 0x14)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar27 + 0x14)" (* "*") (cast_expression "(int *)(iVar27 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x14)" (( "(") (binary_expression "iVar27 + 0x14" (identifier "iVar27") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar27 = *(int *)(iVar27 + 0x20);" (assignment_expression "iVar27 = *(int *)(iVar27 + 0x20)" (identifier "iVar27") (= "=") (pointer_expression "*(int *)(iVar27 + 0x20)" (* "*") (cast_expression "(int *)(iVar27 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar27 + 0x20)" (( "(") (binary_expression "iVar27 + 0x20" (identifier "iVar27") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "iVar16 = *(int *)(iVar6 + 0x298);" (assignment_expression "iVar16 = *(int *)(iVar6 + 0x298)" (identifier "iVar16") (= "=") (pointer_expression "*(int *)(iVar6 + 0x298)" (* "*") (cast_expression "(int *)(iVar6 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x298)" (( "(") (binary_expression "iVar6 + 0x298" (identifier "iVar6") (+ "+") (number_literal "0x298")) () ")"))))) (; ";")) (expression_statement "iVar17 = *(int *)(iVar25 + 0x298);" (assignment_expression "iVar17 = *(int *)(iVar25 + 0x298)" (identifier "iVar17") (= "=") (pointer_expression "*(int *)(iVar25 + 0x298)" (* "*") (cast_expression "(int *)(iVar25 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar25 + 0x298)" (( "(") (binary_expression "iVar25 + 0x298" (identifier "iVar25") (+ "+") (number_literal "0x298")) () ")"))))) (; ";")) (expression_statement "iVar31 = 0;" (assignment_expression "iVar31 = 0" (identifier "iVar31") (= "=") (number_literal "0")) (; ";")) (expression_statement "pdVar29 = (double *)(iVar28 + iVar14 * 8);" (assignment_expression "pdVar29 = (double *)(iVar28 + iVar14 * 8)" (identifier "pdVar29") (= "=") (cast_expression "(double *)(iVar28 + iVar14 * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar28 + iVar14 * 8)" (( "(") (binary_expression "iVar28 + iVar14 * 8" (identifier "iVar28") (+ "+") (binary_expression "iVar14 * 8" (identifier "iVar14") (* "*") (number_literal "8"))) () ")")))) (; ";")) (do_statement "do {\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            } while (iVar10 != iVar31);" (do "do") (compound_statement "{\n              dVar3 = pdVar32[iVar13 - iVar12];\n              dVar4 = *pdVar32;\n              dVar19 = dVar4;\n              if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }\n              dVar5 = pdVar32[iVar11 - iVar12];\n              if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }\n              dVar19 = dVar19 * dVar2;\n              dVar22 = (double)fVar23;\n              dVar21 = dVar3;\n              if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }\n              dVar20 = dVar5;\n              if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }\n              iVar31 = iVar31 + 1;\n              pdVar32 = pdVar32 + iVar16;\n              dVar20 = dVar20 * dVar2;\n              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;\n              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);\n              pdVar29 = pdVar29 + iVar17;\n            }" ({ "{") (expression_statement "dVar3 = pdVar32[iVar13 - iVar12];" (assignment_expression "dVar3 = pdVar32[iVar13 - iVar12]" (identifier "dVar3") (= "=") (subscript_expression "pdVar32[iVar13 - iVar12]" (identifier "pdVar32") ([ "[") (binary_expression "iVar13 - iVar12" (identifier "iVar13") (- "-") (identifier "iVar12")) (] "]"))) (; ";")) (expression_statement "dVar4 = *pdVar32;" (assignment_expression "dVar4 = *pdVar32" (identifier "dVar4") (= "=") (pointer_expression "*pdVar32" (* "*") (identifier "pdVar32"))) (; ";")) (expression_statement "dVar19 = dVar4;" (assignment_expression "dVar19 = dVar4" (identifier "dVar19") (= "=") (identifier "dVar4")) (; ";")) (if_statement "if (dVar3 <= dVar4 || dVar4 != dVar3) {\n                dVar19 = dVar3;\n              }" (if "if") (parenthesized_expression "(dVar3 <= dVar4 || dVar4 != dVar3)" (( "(") (binary_expression "dVar3 <= dVar4 || dVar4 != dVar3" (binary_expression "dVar3 <= dVar4" (identifier "dVar3") (<= "<=") (identifier "dVar4")) (|| "||") (binary_expression "dVar4 != dVar3" (identifier "dVar4") (!= "!=") (identifier "dVar3"))) () ")")) (compound_statement "{\n                dVar19 = dVar3;\n              }" ({ "{") (expression_statement "dVar19 = dVar3;" (assignment_expression "dVar19 = dVar3" (identifier "dVar19") (= "=") (identifier "dVar3")) (; ";")) (} "}"))) (expression_statement "dVar5 = pdVar32[iVar11 - iVar12];" (assignment_expression "dVar5 = pdVar32[iVar11 - iVar12]" (identifier "dVar5") (= "=") (subscript_expression "pdVar32[iVar11 - iVar12]" (identifier "pdVar32") ([ "[") (binary_expression "iVar11 - iVar12" (identifier "iVar11") (- "-") (identifier "iVar12")) (] "]"))) (; ";")) (if_statement "if (dVar5 <= dVar19 || dVar19 != dVar5) {\n                dVar19 = dVar5;\n              }" (if "if") (parenthesized_expression "(dVar5 <= dVar19 || dVar19 != dVar5)" (( "(") (binary_expression "dVar5 <= dVar19 || dVar19 != dVar5" (binary_expression "dVar5 <= dVar19" (identifier "dVar5") (<= "<=") (identifier "dVar19")) (|| "||") (binary_expression "dVar19 != dVar5" (identifier "dVar19") (!= "!=") (identifier "dVar5"))) () ")")) (compound_statement "{\n                dVar19 = dVar5;\n              }" ({ "{") (expression_statement "dVar19 = dVar5;" (assignment_expression "dVar19 = dVar5" (identifier "dVar19") (= "=") (identifier "dVar5")) (; ";")) (} "}"))) (expression_statement "dVar19 = dVar19 * dVar2;" (assignment_expression "dVar19 = dVar19 * dVar2" (identifier "dVar19") (= "=") (binary_expression "dVar19 * dVar2" (identifier "dVar19") (* "*") (identifier "dVar2"))) (; ";")) (expression_statement "dVar22 = (double)fVar23;" (assignment_expression "dVar22 = (double)fVar23" (identifier "dVar22") (= "=") (cast_expression "(double)fVar23" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar23"))) (; ";")) (expression_statement "dVar21 = dVar3;" (assignment_expression "dVar21 = dVar3" (identifier "dVar21") (= "=") (identifier "dVar3")) (; ";")) (if_statement "if (dVar3 <= dVar4) {\n                dVar21 = dVar4;\n              }" (if "if") (parenthesized_expression "(dVar3 <= dVar4)" (( "(") (binary_expression "dVar3 <= dVar4" (identifier "dVar3") (<= "<=") (identifier "dVar4")) () ")")) (compound_statement "{\n                dVar21 = dVar4;\n              }" ({ "{") (expression_statement "dVar21 = dVar4;" (assignment_expression "dVar21 = dVar4" (identifier "dVar21") (= "=") (identifier "dVar4")) (; ";")) (} "}"))) (expression_statement "dVar20 = dVar5;" (assignment_expression "dVar20 = dVar5" (identifier "dVar20") (= "=") (identifier "dVar5")) (; ";")) (if_statement "if (dVar5 <= dVar21) {\n                dVar20 = dVar21;\n              }" (if "if") (parenthesized_expression "(dVar5 <= dVar21)" (( "(") (binary_expression "dVar5 <= dVar21" (identifier "dVar5") (<= "<=") (identifier "dVar21")) () ")")) (compound_statement "{\n                dVar20 = dVar21;\n              }" ({ "{") (expression_statement "dVar20 = dVar21;" (assignment_expression "dVar20 = dVar21" (identifier "dVar20") (= "=") (identifier "dVar21")) (; ";")) (} "}"))) (expression_statement "iVar31 = iVar31 + 1;" (assignment_expression "iVar31 = iVar31 + 1" (identifier "iVar31") (= "=") (binary_expression "iVar31 + 1" (identifier "iVar31") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pdVar32 = pdVar32 + iVar16;" (assignment_expression "pdVar32 = pdVar32 + iVar16" (identifier "pdVar32") (= "=") (binary_expression "pdVar32 + iVar16" (identifier "pdVar32") (+ "+") (identifier "iVar16"))) (; ";")) (expression_statement "dVar20 = dVar20 * dVar2;" (assignment_expression "dVar20 = dVar20 * dVar2" (identifier "dVar20") (= "=") (binary_expression "dVar20 * dVar2" (identifier "dVar20") (* "*") (identifier "dVar2"))) (; ";")) (expression_statement "*pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;" (assignment_expression "*pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22" (pointer_expression "*pdVar29" (* "*") (identifier "pdVar29")) (= "=") (binary_expression "((dVar19 + dVar4) * dVar22 + dVar20) * dVar22" (parenthesized_expression "((dVar19 + dVar4) * dVar22 + dVar20)" (( "(") (binary_expression "(dVar19 + dVar4) * dVar22 + dVar20" (binary_expression "(dVar19 + dVar4) * dVar22" (parenthesized_expression "(dVar19 + dVar4)" (( "(") (binary_expression "dVar19 + dVar4" (identifier "dVar19") (+ "+") (identifier "dVar4")) () ")")) (* "*") (identifier "dVar22")) (+ "+") (identifier "dVar20")) () ")")) (* "*") (identifier "dVar22"))) (; ";")) (expression_statement "pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;" (assignment_expression "pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22" (subscript_expression "pdVar29[iVar15 - iVar14]" (identifier "pdVar29") ([ "[") (binary_expression "iVar15 - iVar14" (identifier "iVar15") (- "-") (identifier "iVar14")) (] "]")) (= "=") (binary_expression "((dVar19 + dVar3) * dVar22 + dVar20) * dVar22" (parenthesized_expression "((dVar19 + dVar3) * dVar22 + dVar20)" (( "(") (binary_expression "(dVar19 + dVar3) * dVar22 + dVar20" (binary_expression "(dVar19 + dVar3) * dVar22" (parenthesized_expression "(dVar19 + dVar3)" (( "(") (binary_expression "dVar19 + dVar3" (identifier "dVar19") (+ "+") (identifier "dVar3")) () ")")) (* "*") (identifier "dVar22")) (+ "+") (identifier "dVar20")) () ")")) (* "*") (identifier "dVar22"))) (; ";")) (expression_statement "pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);" (assignment_expression "pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22)" (subscript_expression "pdVar29[iVar27 - iVar14]" (identifier "pdVar29") ([ "[") (binary_expression "iVar27 - iVar14" (identifier "iVar27") (- "-") (identifier "iVar14")) (] "]")) (= "=") (binary_expression "dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22)" (identifier "dVar22") (* "*") (parenthesized_expression "(dVar20 + (dVar19 + dVar5) * dVar22)" (( "(") (binary_expression "dVar20 + (dVar19 + dVar5) * dVar22" (identifier "dVar20") (+ "+") (binary_expression "(dVar19 + dVar5) * dVar22" (parenthesized_expression "(dVar19 + dVar5)" (( "(") (binary_expression "dVar19 + dVar5" (identifier "dVar19") (+ "+") (identifier "dVar5")) () ")")) (* "*") (identifier "dVar22"))) () ")")))) (; ";")) (expression_statement "pdVar29 = pdVar29 + iVar17;" (assignment_expression "pdVar29 = pdVar29 + iVar17" (identifier "pdVar29") (= "=") (binary_expression "pdVar29 + iVar17" (identifier "pdVar29") (+ "+") (identifier "iVar17"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar10 != iVar31)" (( "(") (binary_expression "iVar10 != iVar31" (identifier "iVar10") (!= "!=") (identifier "iVar31")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);" (assignment_expression "iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9)" (identifier "iVar27") (= "=") (call_expression "SyncCacheViewAuthenticPixels(uVar7,uVar9)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(uVar7,uVar9)" (( "(") (identifier "uVar7") (, ",") (identifier "uVar9") () ")")))) (; ";")) (if_statement "if (iVar27 == 0) {\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }" (if "if") (parenthesized_expression "(iVar27 == 0)" (( "(") (binary_expression "iVar27 == 0" (identifier "iVar27") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            *(undefined4 *)((int)param_1 + 0x1c) = 0;\n          }" ({ "{") (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x1c)" (( "(") (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar6 + 0x300) != 0) {\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 0x300) != 0)" (( "(") (binary_expression "*(int *)(iVar6 + 0x300) != 0" (pointer_expression "*(int *)(iVar6 + 0x300)" (* "*") (cast_expression "(int *)(iVar6 + 0x300)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x300)" (( "(") (binary_expression "iVar6 + 0x300" (identifier "iVar6") (+ "+") (number_literal "0x300")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            puVar18 = *(uint **)(param_1 + 4);\n            uVar30 = *puVar18;\n            uVar33 = puVar18[1];\n            do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);\n            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);\n            if (iVar27 == 0) goto LAB_001e1b05;\n          }" ({ "{") (expression_statement "puVar18 = *(uint **)(param_1 + 4);" (assignment_expression "puVar18 = *(uint **)(param_1 + 4)" (identifier "puVar18") (= "=") (pointer_expression "*(uint **)(param_1 + 4)" (* "*") (cast_expression "(uint **)(param_1 + 4)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "uVar30 = *puVar18;" (assignment_expression "uVar30 = *puVar18" (identifier "uVar30") (= "=") (pointer_expression "*puVar18" (* "*") (identifier "puVar18"))) (; ";")) (expression_statement "uVar33 = puVar18[1];" (assignment_expression "uVar33 = puVar18[1]" (identifier "uVar33") (= "=") (subscript_expression "puVar18[1]" (identifier "puVar18") ([ "[") (number_literal "1") (] "]"))) (; ";")) (do_statement "do {\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            } while (!bVar34);" (do "do") (compound_statement "{\n              LOCK();\n              lVar1 = *(longlong *)puVar18;\n              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;\n              if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }\n              UNLOCK();\n            }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "lVar1 = *(longlong *)puVar18;" (assignment_expression "lVar1 = *(longlong *)puVar18" (identifier "lVar1") (= "=") (pointer_expression "*(longlong *)puVar18" (* "*") (cast_expression "(longlong *)puVar18" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar18")))) (; ";")) (expression_statement "bVar34 = CONCAT44(uVar33,uVar30) == lVar1;" (assignment_expression "bVar34 = CONCAT44(uVar33,uVar30) == lVar1" (identifier "bVar34") (= "=") (binary_expression "CONCAT44(uVar33,uVar30) == lVar1" (call_expression "CONCAT44(uVar33,uVar30)" (identifier "CONCAT44") (argument_list "(uVar33,uVar30)" (( "(") (identifier "uVar33") (, ",") (identifier "uVar30") () ")"))) (== "==") (identifier "lVar1"))) (; ";")) (if_statement "if (bVar34) {\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }\n              else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" (if "if") (parenthesized_expression "(bVar34)" (( "(") (identifier "bVar34") () ")")) (compound_statement "{\n                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);\n              }" ({ "{") (expression_statement "*(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);" (assignment_expression "*(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" (pointer_expression "*(longlong *)puVar18" (* "*") (cast_expression "(longlong *)puVar18" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar18"))) (= "=") (call_expression "CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" (identifier "CONCAT44") (argument_list "(uVar33 + (0xfffffffe < uVar30),uVar30 + 1)" (( "(") (binary_expression "uVar33 + (0xfffffffe < uVar30)" (identifier "uVar33") (+ "+") (parenthesized_expression "(0xfffffffe < uVar30)" (( "(") (binary_expression "0xfffffffe < uVar30" (number_literal "0xfffffffe") (< "<") (identifier "uVar30")) () ")"))) (, ",") (binary_expression "uVar30 + 1" (identifier "uVar30") (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" (else "else") (compound_statement "{\n                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);\n                uVar30 = (uint)lVar1;\n              }" ({ "{") (expression_statement "uVar33 = (uint)((ulonglong)lVar1 >> 0x20);" (assignment_expression "uVar33 = (uint)((ulonglong)lVar1 >> 0x20)" (identifier "uVar33") (= "=") (call_expression "(uint)((ulonglong)lVar1 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)lVar1 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar1 >> 0x20" (cast_expression "(ulonglong)lVar1" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar1")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar30 = (uint)lVar1;" (assignment_expression "uVar30 = (uint)lVar1" (identifier "uVar30") (= "=") (cast_expression "(uint)lVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar1"))) (; ";")) (} "}")))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(!bVar34)" (( "(") (unary_expression "!bVar34" (! "!") (identifier "bVar34")) () ")")) (; ";")) (expression_statement "iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0);" (assignment_expression "iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" (identifier "iVar27") (= "=") (call_expression "SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" (identifier "SetImageProgress") (argument_list "(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),\n                                      (*(undefined4 **)(param_1 + 4))[1],\n                                      *(undefined4 *)(iVar6 + 0x1c),0)" (( "(") (identifier "iVar6") (, ",") (string_literal ""BlueShift/Image"" (" """) (string_content "BlueShift/Image") (" """)) (, ",") (pointer_expression "**(undefined4 **)(param_1 + 4)" (* "*") (pointer_expression "*(undefined4 **)(param_1 + 4)" (* "*") (cast_expression "(undefined4 **)(param_1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (, ",") (subscript_expression "(*(undefined4 **)(param_1 + 4))[1]" (parenthesized_expression "(*(undefined4 **)(param_1 + 4))" (( "(") (pointer_expression "*(undefined4 **)(param_1 + 4)" (* "*") (cast_expression "(undefined4 **)(param_1 + 4)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) () ")")) ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(iVar6 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x1c)" (( "(") (binary_expression "iVar6 + 0x1c" (identifier "iVar6") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar27 == 0) goto LAB_001e1b05;" (if "if") (parenthesized_expression "(iVar27 == 0)" (( "(") (binary_expression "iVar27 == 0" (identifier "iVar27") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001e1b05;" (goto "goto") (statement_identifier "LAB_001e1b05") (; ";"))) (} "}"))) (} "}")))) (} "}"))) (expression_statement "iVar24 = iVar24 + 1;" (assignment_expression "iVar24 = iVar24 + 1" (identifier "iVar24") (= "=") (binary_expression "iVar24 + 1" (identifier "iVar24") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar26 != iVar24)" (( "(") (binary_expression "iVar26 != iVar24" (identifier "iVar26") (!= "!=") (identifier "iVar24")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* 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 */
/* DWARF original prototype: void BlueShiftImage._omp_fn.1(anon_struct_40_8_a2929914 * param_0) */

void __thiscall function_1(void *this)

{
  type_1 var_35;
  double var_19;
  double var_14;
  double var_15;
  double var_17;
  type_2 *image;
  type_3 *cache_view;
  type_3 *cache_view_00;
  type_4 *exception;
  size_t var_29;
  type_5 *pPVar7;
  int var_10;
  int var_13;
  int var_16;
  int var_11;
  int var_12;
  int var_26;
  size_t var_23;
  int var_28;
  type_6 *puVar16;
  double var_18;
  double var_24;
  double var_20;
  double var_25;
  float fVar21;
  int var_3;
  int var_4;
  int var_5;
  type_7 *var_8;
  type_7 *var_9;
  double *var_27;
  type_8 var_31;
  type_6 var_37;
  size_t var_21;
  double *var_22;
  type_6 var_36;
  bool bVar33;
  
  var_3 = var_1();
  image = *(type_2 **)((int)this + 8);
  var_4 = var_2();
  var_5 = (int)image->rows / var_3;
  var_3 = (int)image->rows % var_3;
  if (var_4 < var_3) {
    var_5 = var_5 + 1;
    var_3 = 0;
  }
  var_3 = var_4 * var_5 + var_3;
  var_5 = var_5 + var_3;
  if (var_3 < var_5) {
    var_4 = *(int *)((int)this + 0x18);
                    /* WARNING: Load size is inaccurate */
    var_19 = *this;
    cache_view = *(type_3 **)((int)this + 0x14);
    cache_view_00 = *(type_3 **)((int)this + 0x10);
    exception = *(type_4 **)((int)this + 0xc);
    do {
      if (*(int *)((int)this + 0x1c) != 0) {
        var_8 = var_6(cache_view_00,0,var_3,image->columns,1,exception);
        var_9 = var_7
                            (cache_view,0,var_3,*(size_t *)(var_4 + 0x18),1,exception);
        fVar21 = DAT_002df2b8;
        if ((var_8 == (type_7 *)0x0) || (var_9 == (type_7 *)0x0)) {
LAB_001e1b05:
          *(type_9 *)((int)this + 0x1c) = 0;
        }
        else {
          var_29 = image->columns;
          if (0 < (int)var_29) {
            pPVar7 = image->channel_map;
            var_10 = pPVar7->offset;
            var_13 = pPVar7[1].offset;
            var_16 = pPVar7[2].offset;
            var_22 = var_8 + var_10;
            var_11 = *(int *)(var_4 + 0x2a8);
            var_12 = *(int *)(var_11 + 8);
            var_26 = *(int *)(var_11 + 0x14);
            var_11 = *(int *)(var_11 + 0x20);
            var_23 = image->number_channels;
            var_28 = *(int *)(var_4 + 0x298);
            var_21 = 0;
            var_27 = var_9 + var_12;
            do {
              var_14 = var_22[var_13 - var_10];
              var_15 = *var_22;
              var_18 = var_15;
              if (var_14 <= var_15 || var_15 != var_14) {
                var_18 = var_14;
              }
              var_17 = var_22[var_16 - var_10];
              if (var_17 <= var_18 || var_18 != var_17) {
                var_18 = var_17;
              }
              var_18 = var_18 * var_19;
              var_25 = (double)fVar21;
              var_20 = var_14;
              if (var_14 <= var_15) {
                var_20 = var_15;
              }
              var_24 = var_17;
              if (var_17 <= var_20) {
                var_24 = var_20;
              }
              var_21 = var_21 + 1;
              var_22 = var_22 + var_23;
              var_24 = var_24 * var_19;
              *var_27 = ((var_18 + var_15) * var_25 + var_24) * var_25;
              var_27[var_26 - var_12] = ((var_18 + var_14) * var_25 + var_24) * var_25;
              var_27[var_11 - var_12] = var_25 * (var_24 + (var_18 + var_17) * var_25);
              var_27 = var_27 + var_28;
            } while (var_29 != var_21);
          }
          var_31 = var_30(cache_view,exception);
          if (var_31 == var_32) {
            *(type_9 *)((int)this + 0x1c) = 0;
          }
          if (image->progress_monitor != (type_10)0x0) {
            puVar16 = *(type_6 **)((int)this + 0x20);
            var_37 = *puVar16;
            var_36 = puVar16[1];
            do {
              var_33();
              var_35 = *(type_1 *)puVar16;
              bVar33 = var_34(var_36,var_37) == var_35;
              if (bVar33) {
                *(type_1 *)puVar16 = var_34(var_36 + (0xfffffffe < var_37),var_37 + 1);
              }
              else {
                var_36 = (type_6)((type_11)var_35 >> 0x20);
                var_37 = (type_6)var_35;
              }
              var_38();
            } while (!bVar33);
            var_31 = var_39(image,"BlueShift/Image",
                                      **(type_12 **)((int)this + 0x20),
                                      (type_11)image->rows);
            if (var_31 == var_32) goto LAB_001e1b05;
          }
        }
      }
      var_3 = var_3 + 1;
    } while (var_5 != var_3);
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(double *param_1)

{
  longlong lVar1;
  double dVar2;
  double dVar3;
  double dVar4;
  double dVar5;
  int iVar6;
  undefined4 uVar7;
  undefined4 uVar8;
  undefined4 uVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  uint *puVar18;
  double dVar19;
  double dVar20;
  double dVar21;
  double dVar22;
  float fVar23;
  int iVar24;
  int iVar25;
  int iVar26;
  int iVar27;
  int iVar28;
  double *pdVar29;
  uint uVar30;
  int iVar31;
  double *pdVar32;
  uint uVar33;
  bool bVar34;
  
  iVar24 = omp_get_num_threads();
  iVar6 = *(int *)(param_1 + 1);
  iVar25 = omp_get_thread_num();
  iVar26 = *(int *)(iVar6 + 0x1c) / iVar24;
  iVar24 = *(int *)(iVar6 + 0x1c) % iVar24;
  if (iVar25 < iVar24) {
    iVar26 = iVar26 + 1;
    iVar24 = 0;
  }
  iVar24 = iVar25 * iVar26 + iVar24;
  iVar26 = iVar26 + iVar24;
  if (iVar24 < iVar26) {
    iVar25 = *(int *)(param_1 + 3);
    dVar2 = *param_1;
    uVar7 = *(undefined4 *)((int)param_1 + 0x14);
    uVar8 = *(undefined4 *)(param_1 + 2);
    uVar9 = *(undefined4 *)((int)param_1 + 0xc);
    do {
      if (*(int *)((int)param_1 + 0x1c) != 0) {
        iVar27 = GetCacheViewVirtualPixels(uVar8,0,iVar24,*(undefined4 *)(iVar6 + 0x18),1,uVar9);
        iVar28 = QueueCacheViewAuthenticPixels
                           (uVar7,0,iVar24,*(undefined4 *)(iVar25 + 0x18),1,uVar9);
        fVar23 = DAT_002df2b8;
        if ((iVar27 == 0) || (iVar28 == 0)) {
LAB_001e1b05:
          *(undefined4 *)((int)param_1 + 0x1c) = 0;
        }
        else {
          iVar10 = *(int *)(iVar6 + 0x18);
          if (0 < iVar10) {
            iVar11 = *(int *)(iVar6 + 0x2a8);
            iVar12 = *(int *)(iVar11 + 8);
            iVar13 = *(int *)(iVar11 + 0x14);
            iVar11 = *(int *)(iVar11 + 0x20);
            pdVar32 = (double *)(iVar27 + iVar12 * 8);
            iVar27 = *(int *)(iVar25 + 0x2a8);
            iVar14 = *(int *)(iVar27 + 8);
            iVar15 = *(int *)(iVar27 + 0x14);
            iVar27 = *(int *)(iVar27 + 0x20);
            iVar16 = *(int *)(iVar6 + 0x298);
            iVar17 = *(int *)(iVar25 + 0x298);
            iVar31 = 0;
            pdVar29 = (double *)(iVar28 + iVar14 * 8);
            do {
              dVar3 = pdVar32[iVar13 - iVar12];
              dVar4 = *pdVar32;
              dVar19 = dVar4;
              if (dVar3 <= dVar4 || dVar4 != dVar3) {
                dVar19 = dVar3;
              }
              dVar5 = pdVar32[iVar11 - iVar12];
              if (dVar5 <= dVar19 || dVar19 != dVar5) {
                dVar19 = dVar5;
              }
              dVar19 = dVar19 * dVar2;
              dVar22 = (double)fVar23;
              dVar21 = dVar3;
              if (dVar3 <= dVar4) {
                dVar21 = dVar4;
              }
              dVar20 = dVar5;
              if (dVar5 <= dVar21) {
                dVar20 = dVar21;
              }
              iVar31 = iVar31 + 1;
              pdVar32 = pdVar32 + iVar16;
              dVar20 = dVar20 * dVar2;
              *pdVar29 = ((dVar19 + dVar4) * dVar22 + dVar20) * dVar22;
              pdVar29[iVar15 - iVar14] = ((dVar19 + dVar3) * dVar22 + dVar20) * dVar22;
              pdVar29[iVar27 - iVar14] = dVar22 * (dVar20 + (dVar19 + dVar5) * dVar22);
              pdVar29 = pdVar29 + iVar17;
            } while (iVar10 != iVar31);
          }
          iVar27 = SyncCacheViewAuthenticPixels(uVar7,uVar9);
          if (iVar27 == 0) {
            *(undefined4 *)((int)param_1 + 0x1c) = 0;
          }
          if (*(int *)(iVar6 + 0x300) != 0) {
            puVar18 = *(uint **)(param_1 + 4);
            uVar30 = *puVar18;
            uVar33 = puVar18[1];
            do {
              LOCK();
              lVar1 = *(longlong *)puVar18;
              bVar34 = CONCAT44(uVar33,uVar30) == lVar1;
              if (bVar34) {
                *(longlong *)puVar18 = CONCAT44(uVar33 + (0xfffffffe < uVar30),uVar30 + 1);
              }
              else {
                uVar33 = (uint)((ulonglong)lVar1 >> 0x20);
                uVar30 = (uint)lVar1;
              }
              UNLOCK();
            } while (!bVar34);
            iVar27 = SetImageProgress(iVar6,"BlueShift/Image",**(undefined4 **)(param_1 + 4),
                                      (*(undefined4 **)(param_1 + 4))[1],
                                      *(undefined4 *)(iVar6 + 0x1c),0);
            if (iVar27 == 0) goto LAB_001e1b05;
          }
        }
      }
      iVar24 = iVar24 + 1;
    } while (iVar26 != iVar24);
  }
  return;
}

