
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* 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 ContrastStretchImage._omp_fn.3(anon_struct_64_8_8e3616a7 *
   param_0) */

void __thiscall ContrastStretchImage__omp_fn_3(void *this)

{
  float fVar1;
  Image *image;
  long lVar2;
  long lVar3;
  long lVar4;
  CacheView *cache_view;
  ExceptionInfo *exception;
  int iVar5;
  int iVar6;
  MagickBooleanType MVar7;
  long lVar8;
  Quantum *pQVar9;
  uint uVar10;
  long lVar11;
  size_t sVar12;
  long lVar13;
  long lVar14;
  
                    /* WARNING: Load size is inaccurate */
  image = *this;
  sVar12 = image->rows;
  iVar5 = omp_get_num_threads();
  iVar6 = omp_get_thread_num();
  lVar8 = (long)sVar12 / (long)iVar5;
  lVar11 = (long)sVar12 % (long)iVar5;
  if (iVar6 < lVar11) {
    lVar8 = lVar8 + 1;
    lVar11 = 0;
  }
  lVar11 = iVar6 * lVar8 + lVar11;
  lVar8 = lVar8 + lVar11;
  if (lVar11 < lVar8) {
    lVar2 = *(long *)((long)this + 0x28);
    lVar3 = *(long *)((long)this + 0x20);
    lVar4 = *(long *)((long)this + 0x18);
    cache_view = *(CacheView **)((long)this + 0x10);
    exception = *(ExceptionInfo **)((long)this + 8);
    do {
      if (*(int *)((long)this + 0x38) != 0) {
        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);
        if (pQVar9 == (Quantum *)0x0) {
          *(undefined4 *)((long)this + 0x38) = 0;
        }
        else {
          if (0 < (long)image->columns) {
            lVar14 = 0;
            do {
              sVar12 = image->number_channels;
              lVar13 = 0;
              if (0 < (long)sVar12) {
                do {
                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &
                       UpdatePixelTrait) != UndefinedPixelTrait) &&
                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))
                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {
                    fVar1 = pQVar9[lVar13];
                    uVar10 = 0xffff;
                    if (fVar1 < _DAT_003fa400) {
                      if (NAN(fVar1)) {
                        uVar10 = 0;
                      }
                      else {
                        uVar10 = 0;
                        if (0.0 < fVar1) {
                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);
                        }
                      }
                    }
                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);
                  }
                  lVar13 = lVar13 + 1;
                  sVar12 = image->number_channels;
                } while (lVar13 < (long)sVar12);
              }
              pQVar9 = pQVar9 + sVar12;
              lVar14 = lVar14 + 1;
            } while (lVar14 < (long)image->columns);
          }
          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar7 == MagickFalse) {
            *(undefined4 *)((long)this + 0x38) = 0;
          }
          if (image->progress_monitor != (MagickProgressMonitor)0x0) {
            LOCK();
            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;
            UNLOCK();
            MVar7 = SetImageProgress(image,"ContrastStretch/Image",
                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);
            if (MVar7 == MagickFalse) {
              *(undefined4 *)((long)this + 0x38) = 0;
            }
          }
        }
      }
      lVar11 = lVar11 + 1;
    } while (lVar8 != lVar11);
  }
  return;
}



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

void FUN_001e9c14(long *param_1)

{
  float fVar1;
  long lVar2;
  long lVar3;
  long lVar4;
  long lVar5;
  long lVar6;
  long lVar7;
  int iVar8;
  int iVar9;
  long lVar10;
  long lVar11;
  uint uVar12;
  long lVar13;
  long lVar14;
  long lVar15;
  long lVar16;
  
  lVar2 = *param_1;
  lVar13 = *(long *)(lVar2 + 0x28);
  iVar8 = omp_get_num_threads();
  iVar9 = omp_get_thread_num();
  lVar10 = lVar13 / (long)iVar8;
  lVar13 = lVar13 % (long)iVar8;
  if (iVar9 < lVar13) {
    lVar10 = lVar10 + 1;
    lVar13 = 0;
  }
  lVar13 = iVar9 * lVar10 + lVar13;
  lVar10 = lVar10 + lVar13;
  if (lVar13 < lVar10) {
    lVar3 = param_1[5];
    lVar4 = param_1[4];
    lVar5 = param_1[3];
    lVar6 = param_1[2];
    lVar7 = param_1[1];
    do {
      if ((int)param_1[7] != 0) {
        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);
        if (lVar11 == 0) {
          *(undefined4 *)(param_1 + 7) = 0;
        }
        else {
          if (0 < *(long *)(lVar2 + 0x20)) {
            lVar16 = 0;
            do {
              lVar14 = *(long *)(lVar2 + 0x340);
              lVar15 = 0;
              if (0 < lVar14) {
                do {
                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +
                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)
                       & 2) != 0) &&
                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))
                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {
                    fVar1 = *(float *)(lVar11 + lVar15 * 4);
                    uVar12 = 0xffff;
                    if (fVar1 < _DAT_003fa400) {
                      if (NAN(fVar1)) {
                        uVar12 = 0;
                      }
                      else {
                        uVar12 = 0;
                        if (0.0 < fVar1) {
                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);
                        }
                      }
                    }
                    *(float *)(lVar11 + lVar15 * 4) =
                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);
                  }
                  lVar15 = lVar15 + 1;
                  lVar14 = *(long *)(lVar2 + 0x340);
                } while (lVar15 < lVar14);
              }
              lVar11 = lVar11 + lVar14 * 4;
              lVar16 = lVar16 + 1;
            } while (lVar16 < *(long *)(lVar2 + 0x20));
          }
          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);
          if (iVar8 == 0) {
            *(undefined4 *)(param_1 + 7) = 0;
          }
          if (*(long *)(lVar2 + 0x3c8) != 0) {
            LOCK();
            *(long *)param_1[6] = *(long *)param_1[6] + 1;
            UNLOCK();
            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],
                                     *(undefined8 *)(lVar2 + 0x28));
            if (iVar8 == 0) {
              *(undefined4 *)(param_1 + 7) = 0;
            }
          }
        }
      }
      lVar13 = lVar13 + 1;
    } while (lVar10 != lVar13);
  }
  return;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x28
MOV R15,RDI
MOV RBX,qword ptr [RDI]
MOV RBP,qword ptr [RBX + 0x28]
CALL 0x00149d40
MOVSXD R12,EAX
CALL 0x0014af50
MOVSXD R14,EAX
MOV RAX,RBP
CQO
IDIV R12
MOV RSI,RAX
MOV RCX,RDX
CMP R14,RDX
JL 0x001e9e1a
IMUL R14,RSI
ADD R14,RCX
LEA RAX,[RSI + R14*0x1]
MOV qword ptr [RSP + 0x8],RAX
CMP R14,RAX
JGE 0x001e9e28
MOV R12,qword ptr [R15 + 0x28]
MOV R13,qword ptr [R15 + 0x20]
MOV RBP,qword ptr [R15 + 0x18]
MOV RAX,qword ptr [R15 + 0x10]
MOV qword ptr [RSP + 0x10],RAX
MOV RAX,qword ptr [R15 + 0x8]
MOV qword ptr [RSP + 0x18],RAX
JMP 0x001e9dcb
MOV RSI,qword ptr [RSP + 0x18]
MOV RDI,qword ptr [RSP + 0x10]
CALL 0x0014af90
TEST EAX,EAX
JZ 0x001e9ce8
CMP qword ptr [RBX + 0x3c8],0x0
JZ 0x001e9dc0
MOV RAX,qword ptr [R15 + 0x30]
ADD.LOCK qword ptr [RAX],0x1
MOV RCX,qword ptr [RBX + 0x28]
MOV RAX,qword ptr [R15 + 0x30]
MOV RDX,qword ptr [RAX]
LEA RSI,[0x41ac5d]
MOV RDI,RBX
CALL 0x0014d780
TEST EAX,EAX
JNZ 0x001e9dc0
MOV dword ptr [R15 + 0x38],0x0
JMP 0x001e9dc0
MOV dword ptr [R15 + 0x38],0x0
JMP 0x001e9ca2
LEA RAX,[RAX + RDX*0x4]
ADD R8,0x1
CMP qword ptr [RBX + 0x20],R8
JLE 0x001e9c8f
MOV RDX,qword ptr [RBX + 0x340]
MOV ESI,0x0
TEST RDX,RDX
JG 0x001e9d3f
JMP 0x001e9cf2
MOV ECX,R10D
MOV ECX,ECX
IMUL RCX,RDX
ADD RCX,RDI
PXOR XMM1,XMM1
CVTSD2SS XMM1,qword ptr [R13 + RCX*0x8]
MOVSS dword ptr [RAX + RDI*0x4],XMM1
ADD RSI,0x1
MOV RDX,qword ptr [RBX + 0x340]
CMP RDX,RSI
JLE 0x001e9cf2
MOV R11,qword ptr [RBX + 0x360]
MOV RDI,RSI
MOV RCX,RSI
SHL RCX,0x4
MOV ECX,dword ptr [R11 + RCX*0x1]
SHL RCX,0x4
TEST byte ptr [R11 + RCX*0x1 + 0x4],0x2
JZ 0x001e9d2f
MOVSD XMM0,qword ptr [RBP + RSI*0x8]
UCOMISD XMM0,qword ptr [R12 + RSI*0x8]
JP 0x001e9d7c
MOVSD XMM0,qword ptr [RBP + RSI*0x8]
UCOMISD XMM0,qword ptr [R12 + RSI*0x8]
JZ 0x001e9d2f
MOVSS XMM0,dword ptr [RAX + RDI*0x4]
MOV ECX,R9D
UCOMISS XMM0,dword ptr [0x003fa400]
JNC 0x001e9d16
UCOMISS XMM0,XMM0
JP 0x001e9d13
MOV ECX,R10D
PXOR XMM2,XMM2
UCOMISS XMM2,XMM0
JNC 0x001e9d16
CVTSS2SD XMM0,XMM0
ADDSD XMM0,qword ptr [0x003f9c28]
CVTTSD2SI RCX,XMM0
JMP 0x001e9d16
MOV dword ptr [R15 + 0x38],0x0
ADD R14,0x1
CMP qword ptr [RSP + 0x8],R14
JZ 0x001e9e28
CMP dword ptr [R15 + 0x38],0x0
JZ 0x001e9dc0
MOV RCX,qword ptr [RBX + 0x20]
MOV R9,qword ptr [RSP + 0x18]
MOV R8D,0x1
MOV RDX,R14
MOV ESI,0x0
MOV RDI,qword ptr [RSP + 0x10]
CALL 0x0014a9e0
TEST RAX,RAX
JZ 0x001e9db8
CMP qword ptr [RBX + 0x20],0x0
JLE 0x001e9c8f
MOV R8D,0x0
MOV R9D,0xffff
MOV R10D,0x0
JMP 0x001e9d00
LEA RSI,[RAX + 0x1]
MOV ECX,0x0
JMP 0x001e9c53
ADD RSP,0x28
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_001e9c14(long *param_1)\n\n{\n  float fVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  long lVar6;\n  long lVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  long lVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  \n  lVar2 = *param_1;\n  lVar13 = *(long *)(lVar2 + 0x28);\n  iVar8 = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  lVar10 = lVar13 / (long)iVar8;\n  lVar13 = lVar13 % (long)iVar8;\n  if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }\n  lVar13 = iVar9 * lVar10 + lVar13;\n  lVar10 = lVar10 + lVar13;\n  if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_001e9c14(long *param_1)\n\n{\n  float fVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  long lVar6;\n  long lVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  long lVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  \n  lVar2 = *param_1;\n  lVar13 = *(long *)(lVar2 + 0x28);\n  iVar8 = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  lVar10 = lVar13 / (long)iVar8;\n  lVar13 = lVar13 % (long)iVar8;\n  if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }\n  lVar13 = iVar9 * lVar10 + lVar13;\n  lVar10 = lVar10 + lVar13;\n  if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001e9c14(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  float fVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  long lVar6;\n  long lVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  long lVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  \n  lVar2 = *param_1;\n  lVar13 = *(long *)(lVar2 + 0x28);\n  iVar8 = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  lVar10 = lVar13 / (long)iVar8;\n  lVar13 = lVar13 % (long)iVar8;\n  if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }\n  lVar13 = iVar9 * lVar10 + lVar13;\n  lVar10 = lVar10 + lVar13;\n  if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }\n  return;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar16;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = *param_1;" (assignment_expression "lVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "lVar13 = *(long *)(lVar2 + 0x28);" (assignment_expression "lVar13 = *(long *)(lVar2 + 0x28)" identifier = (pointer_expression "*(long *)(lVar2 + 0x28)" * (cast_expression "(long *)(lVar2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = omp_get_num_threads();" (assignment_expression "iVar8 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = omp_get_thread_num();" (assignment_expression "iVar9 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar10 = lVar13 / (long)iVar8;" (assignment_expression "lVar10 = lVar13 / (long)iVar8" identifier = (binary_expression "lVar13 / (long)iVar8" identifier / (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "lVar13 = lVar13 % (long)iVar8;" (assignment_expression "lVar13 = lVar13 % (long)iVar8" identifier = (binary_expression "lVar13 % (long)iVar8" identifier % (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }" if (parenthesized_expression "(iVar9 < lVar13)" ( (binary_expression "iVar9 < lVar13" identifier < identifier) )) (compound_statement "{\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }" { (expression_statement "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" identifier = (binary_expression "lVar10 + 1" identifier + number_literal)) ;) (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) })) (expression_statement "lVar13 = iVar9 * lVar10 + lVar13;" (assignment_expression "lVar13 = iVar9 * lVar10 + lVar13" identifier = (binary_expression "iVar9 * lVar10 + lVar13" (binary_expression "iVar9 * lVar10" identifier * identifier) + identifier)) ;) (expression_statement "lVar10 = lVar10 + lVar13;" (assignment_expression "lVar10 = lVar10 + lVar13" identifier = (binary_expression "lVar10 + lVar13" identifier + identifier)) ;) (if_statement "if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }" if (parenthesized_expression "(lVar13 < lVar10)" ( (binary_expression "lVar13 < lVar10" identifier < identifier) )) (compound_statement "{\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }" { (expression_statement "lVar3 = param_1[5];" (assignment_expression "lVar3 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "lVar4 = param_1[4];" (assignment_expression "lVar4 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "lVar5 = param_1[3];" (assignment_expression "lVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "lVar6 = param_1[2];" (assignment_expression "lVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "lVar7 = param_1[1];" (assignment_expression "lVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);" do (compound_statement "{\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    }" { (if_statement "if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "((int)param_1[7] != 0)" ( (binary_expression "(int)param_1[7] != 0" (cast_expression "(int)param_1[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) != number_literal) )) (compound_statement "{\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);" (assignment_expression "lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" identifier = (call_expression "GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" identifier (argument_list "(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(lVar2 + 0x20)" * (cast_expression "(undefined8 *)(lVar2 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(param_1 + 7) = 0;\n        }" { (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" * (cast_expression "(undefined4 *)(param_1 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" { (if_statement "if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }" if (parenthesized_expression "(0 < *(long *)(lVar2 + 0x20))" ( (binary_expression "0 < *(long *)(lVar2 + 0x20)" number_literal < (pointer_expression "*(long *)(lVar2 + 0x20)" * (cast_expression "(long *)(lVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }" { (expression_statement "lVar16 = 0;" (assignment_expression "lVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));" do (compound_statement "{\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            }" { (expression_statement "lVar14 = *(long *)(lVar2 + 0x340);" (assignment_expression "lVar14 = *(long *)(lVar2 + 0x340)" identifier = (pointer_expression "*(long *)(lVar2 + 0x340)" * (cast_expression "(long *)(lVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x340)" ( (binary_expression "lVar2 + 0x340" identifier + number_literal) ))))) ;) (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" identifier = number_literal) ;) (if_statement "if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }" if (parenthesized_expression "(0 < lVar14)" ( (binary_expression "0 < lVar14" number_literal < identifier) )) (compound_statement "{\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }" { (do_statement "do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);" do (compound_statement "{\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                }" { (if_statement "if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }" if (parenthesized_expression "(((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)))))" ( (binary_expression "((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))" (parenthesized_expression "((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0)" ( (binary_expression "(*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0" (parenthesized_expression "(*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2)" ( (binary_expression "*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2" (pointer_expression "*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" * (cast_expression "(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" ( (binary_expression "*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "*(long *)(lVar2 + 0x360) + 4" (pointer_expression "*(long *)(lVar2 + 0x360)" * (cast_expression "(long *)(lVar2 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x360)" ( (binary_expression "lVar2 + 0x360" identifier + number_literal) )))) + number_literal) + (binary_expression "(ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" ( (binary_expression "*(long *)(lVar2 + 0x360) + lVar15 * 0x10" (pointer_expression "*(long *)(lVar2 + 0x360)" * (cast_expression "(long *)(lVar2 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x360)" ( (binary_expression "lVar2 + 0x360" identifier + number_literal) )))) + (binary_expression "lVar15 * 0x10" identifier * number_literal)) )))) * number_literal)) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))" ( (parenthesized_expression "(NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)))" ( (binary_expression "NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))" (binary_expression "NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))" (call_expression "NAN(*(double *)(lVar5 + lVar15 * 8))" identifier (argument_list "(*(double *)(lVar5 + lVar15 * 8))" ( (pointer_expression "*(double *)(lVar5 + lVar15 * 8)" * (cast_expression "(double *)(lVar5 + lVar15 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + lVar15 * 8)" ( (binary_expression "lVar5 + lVar15 * 8" identifier + (binary_expression "lVar15 * 8" identifier * number_literal)) )))) ))) || (call_expression "NAN(*(double *)(lVar3 + lVar15 * 8))" identifier (argument_list "(*(double *)(lVar3 + lVar15 * 8))" ( (pointer_expression "*(double *)(lVar3 + lVar15 * 8)" * (cast_expression "(double *)(lVar3 + lVar15 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + lVar15 * 8)" ( (binary_expression "lVar3 + lVar15 * 8" identifier + (binary_expression "lVar15 * 8" identifier * number_literal)) )))) )))) || (parenthesized_expression "(*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))" ( (binary_expression "*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)" (pointer_expression "*(double *)(lVar5 + lVar15 * 8)" * (cast_expression "(double *)(lVar5 + lVar15 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + lVar15 * 8)" ( (binary_expression "lVar5 + lVar15 * 8" identifier + (binary_expression "lVar15 * 8" identifier * number_literal)) )))) != (pointer_expression "*(double *)(lVar3 + lVar15 * 8)" * (cast_expression "(double *)(lVar3 + lVar15 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + lVar15 * 8)" ( (binary_expression "lVar3 + lVar15 * 8" identifier + (binary_expression "lVar15 * 8" identifier * number_literal)) ))))) ))) )) ))) )) (compound_statement "{\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }" { (expression_statement "fVar1 = *(float *)(lVar11 + lVar15 * 4);" (assignment_expression "fVar1 = *(float *)(lVar11 + lVar15 * 4)" identifier = (pointer_expression "*(float *)(lVar11 + lVar15 * 4)" * (cast_expression "(float *)(lVar11 + lVar15 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar11 + lVar15 * 4)" ( (binary_expression "lVar11 + lVar15 * 4" identifier + (binary_expression "lVar15 * 4" identifier * number_literal)) ))))) ;) (expression_statement "uVar12 = 0xffff;" (assignment_expression "uVar12 = 0xffff" identifier = number_literal) ;) (if_statement "if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }" if (parenthesized_expression "(fVar1 < _DAT_003fa400)" ( (binary_expression "fVar1 < _DAT_003fa400" identifier < identifier) )) (compound_statement "{\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }" { (if_statement "if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" if (parenthesized_expression "(NAN(fVar1))" ( (call_expression "NAN(fVar1)" identifier (argument_list "(fVar1)" ( identifier ))) )) (compound_statement "{\n                        uVar12 = 0;\n                      }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" else (compound_statement "{\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }" if (parenthesized_expression "(0.0 < fVar1)" ( (binary_expression "0.0 < fVar1" number_literal < identifier) )) (compound_statement "{\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }" { (expression_statement "uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);" (assignment_expression "uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28)" identifier = (call_expression "(uint)(long)((double)fVar1 + DAT_003f9c28)" (call_expression "(uint)(long)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(long)" ( identifier ))) (argument_list "((double)fVar1 + DAT_003f9c28)" ( (binary_expression "(double)fVar1 + DAT_003f9c28" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) + identifier) )))) ;) })) }))) })) (expression_statement "*(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);" (assignment_expression "*(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" (pointer_expression "*(float *)(lVar11 + lVar15 * 4)" * (cast_expression "(float *)(lVar11 + lVar15 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar11 + lVar15 * 4)" ( (binary_expression "lVar11 + lVar15 * 4" identifier + (binary_expression "lVar15 * 4" identifier * number_literal)) )))) = (cast_expression "(float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" * (cast_expression "(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" ( (binary_expression "lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8" identifier + (binary_expression "((ulong)uVar12 * lVar14 + lVar15) * 8" (parenthesized_expression "((ulong)uVar12 * lVar14 + lVar15)" ( (binary_expression "(ulong)uVar12 * lVar14 + lVar15" (binary_expression "(ulong)uVar12 * lVar14" (cast_expression "(ulong)uVar12" ( (type_descriptor "ulong" type_identifier) ) identifier) * identifier) + identifier) )) * number_literal)) )))))) ;) })) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" identifier = (binary_expression "lVar15 + 1" identifier + number_literal)) ;) (expression_statement "lVar14 = *(long *)(lVar2 + 0x340);" (assignment_expression "lVar14 = *(long *)(lVar2 + 0x340)" identifier = (pointer_expression "*(long *)(lVar2 + 0x340)" * (cast_expression "(long *)(lVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x340)" ( (binary_expression "lVar2 + 0x340" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(lVar15 < lVar14)" ( (binary_expression "lVar15 < lVar14" identifier < identifier) )) ;) })) (expression_statement "lVar11 = lVar11 + lVar14 * 4;" (assignment_expression "lVar11 = lVar11 + lVar14 * 4" identifier = (binary_expression "lVar11 + lVar14 * 4" identifier + (binary_expression "lVar14 * 4" identifier * number_literal))) ;) (expression_statement "lVar16 = lVar16 + 1;" (assignment_expression "lVar16 = lVar16 + 1" identifier = (binary_expression "lVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar16 < *(long *)(lVar2 + 0x20))" ( (binary_expression "lVar16 < *(long *)(lVar2 + 0x20)" identifier < (pointer_expression "*(long *)(lVar2 + 0x20)" * (cast_expression "(long *)(lVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);" (assignment_expression "iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7)" identifier = (call_expression "SyncCacheViewAuthenticPixels(lVar6,lVar7)" identifier (argument_list "(lVar6,lVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" { (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" * (cast_expression "(undefined4 *)(param_1 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" if (parenthesized_expression "(*(long *)(lVar2 + 0x3c8) != 0)" ( (binary_expression "*(long *)(lVar2 + 0x3c8) != 0" (pointer_expression "*(long *)(lVar2 + 0x3c8)" * (cast_expression "(long *)(lVar2 + 0x3c8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x3c8)" ( (binary_expression "lVar2 + 0x3c8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(long *)param_1[6] = *(long *)param_1[6] + 1;" (assignment_expression "*(long *)param_1[6] = *(long *)param_1[6] + 1" (pointer_expression "*(long *)param_1[6]" * (cast_expression "(long *)param_1[6]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) = (binary_expression "*(long *)param_1[6] + 1" (pointer_expression "*(long *)param_1[6]" * (cast_expression "(long *)param_1[6]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));" (assignment_expression "iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" identifier = (call_expression "SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" identifier (argument_list "(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" ( identifier , (string_literal ""ContrastStretch/Image"" " string_content ") , (pointer_expression "*(undefined8 *)param_1[6]" * (cast_expression "(undefined8 *)param_1[6]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) , (pointer_expression "*(undefined8 *)(lVar2 + 0x28)" * (cast_expression "(undefined8 *)(lVar2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" { (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" * (cast_expression "(undefined4 *)(param_1 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) })) })) }))) })) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 != lVar13)" ( (binary_expression "lVar10 != lVar13" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\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 ContrastStretchImage._omp_fn.3(anon_struct_64_8_8e3616a7 *\n   param_0) */\n\nvoid __thiscall ContrastStretchImage__omp_fn_3(void *this)\n\n{\n  float fVar1;\n  Image *image;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  int iVar5;\n  int iVar6;\n  MagickBooleanType MVar7;\n  long lVar8;\n  Quantum *pQVar9;\n  uint uVar10;\n  long lVar11;\n  size_t sVar12;\n  long lVar13;\n  long lVar14;\n  \n                    /* WARNING: Load size is inaccurate */\n  image = *this;\n  sVar12 = image->rows;\n  iVar5 = omp_get_num_threads();\n  iVar6 = omp_get_thread_num();\n  lVar8 = (long)sVar12 / (long)iVar5;\n  lVar11 = (long)sVar12 % (long)iVar5;\n  if (iVar6 < lVar11) {\n    lVar8 = lVar8 + 1;\n    lVar11 = 0;\n  }\n  lVar11 = iVar6 * lVar8 + lVar11;\n  lVar8 = lVar8 + lVar11;\n  if (lVar11 < lVar8) {\n    lVar2 = *(long *)((long)this + 0x28);\n    lVar3 = *(long *)((long)this + 0x20);\n    lVar4 = *(long *)((long)this + 0x18);\n    cache_view = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      lVar11 = lVar11 + 1;\n    } while (lVar8 != lVar11);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall ContrastStretchImage__omp_fn_3(void *this)\n\n{\n  float fVar1;\n  Image *image;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  int iVar5;\n  int iVar6;\n  MagickBooleanType MVar7;\n  long lVar8;\n  Quantum *pQVar9;\n  uint uVar10;\n  long lVar11;\n  size_t sVar12;\n  long lVar13;\n  long lVar14;\n  \n                    /* WARNING: Load size is inaccurate */\n  image = *this;\n  sVar12 = image->rows;\n  iVar5 = omp_get_num_threads();\n  iVar6 = omp_get_thread_num();\n  lVar8 = (long)sVar12 / (long)iVar5;\n  lVar11 = (long)sVar12 % (long)iVar5;\n  if (iVar6 < lVar11) {\n    lVar8 = lVar8 + 1;\n    lVar11 = 0;\n  }\n  lVar11 = iVar6 * lVar8 + lVar11;\n  lVar8 = lVar8 + lVar11;\n  if (lVar11 < lVar8) {\n    lVar2 = *(long *)((long)this + 0x28);\n    lVar3 = *(long *)((long)this + 0x20);\n    lVar4 = *(long *)((long)this + 0x18);\n    cache_view = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      lVar11 = lVar11 + 1;\n    } while (lVar8 != lVar11);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "ContrastStretchImage__omp_fn_3(void *this)" identifier (parameter_list "(void *this)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  float fVar1;\n  Image *image;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  int iVar5;\n  int iVar6;\n  MagickBooleanType MVar7;\n  long lVar8;\n  Quantum *pQVar9;\n  uint uVar10;\n  long lVar11;\n  size_t sVar12;\n  long lVar13;\n  long lVar14;\n  \n                    /* WARNING: Load size is inaccurate */\n  image = *this;\n  sVar12 = image->rows;\n  iVar5 = omp_get_num_threads();\n  iVar6 = omp_get_thread_num();\n  lVar8 = (long)sVar12 / (long)iVar5;\n  lVar11 = (long)sVar12 % (long)iVar5;\n  if (iVar6 < lVar11) {\n    lVar8 = lVar8 + 1;\n    lVar11 = 0;\n  }\n  lVar11 = iVar6 * lVar8 + lVar11;\n  lVar8 = lVar8 + lVar11;\n  if (lVar11 < lVar8) {\n    lVar2 = *(long *)((long)this + 0x28);\n    lVar3 = *(long *)((long)this + 0x20);\n    lVar4 = *(long *)((long)this + 0x18);\n    cache_view = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      lVar11 = lVar11 + 1;\n    } while (lVar8 != lVar11);\n  }\n  return;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "MagickBooleanType MVar7;" type_identifier identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "Quantum *pQVar9;" type_identifier (pointer_declarator "*pQVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t sVar12;" primitive_type identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) comment (expression_statement "image = *this;" (assignment_expression "image = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "sVar12 = image->rows;" (assignment_expression "sVar12 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (expression_statement "iVar5 = omp_get_num_threads();" (assignment_expression "iVar5 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = omp_get_thread_num();" (assignment_expression "iVar6 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar8 = (long)sVar12 / (long)iVar5;" (assignment_expression "lVar8 = (long)sVar12 / (long)iVar5" identifier = (binary_expression "(long)sVar12 / (long)iVar5" (cast_expression "(long)sVar12" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) / (cast_expression "(long)iVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "lVar11 = (long)sVar12 % (long)iVar5;" (assignment_expression "lVar11 = (long)sVar12 % (long)iVar5" identifier = (binary_expression "(long)sVar12 % (long)iVar5" (cast_expression "(long)sVar12" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) % (cast_expression "(long)iVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar6 < lVar11) {\n    lVar8 = lVar8 + 1;\n    lVar11 = 0;\n  }" if (parenthesized_expression "(iVar6 < lVar11)" ( (binary_expression "iVar6 < lVar11" identifier < identifier) )) (compound_statement "{\n    lVar8 = lVar8 + 1;\n    lVar11 = 0;\n  }" { (expression_statement "lVar8 = lVar8 + 1;" (assignment_expression "lVar8 = lVar8 + 1" identifier = (binary_expression "lVar8 + 1" identifier + number_literal)) ;) (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" identifier = number_literal) ;) })) (expression_statement "lVar11 = iVar6 * lVar8 + lVar11;" (assignment_expression "lVar11 = iVar6 * lVar8 + lVar11" identifier = (binary_expression "iVar6 * lVar8 + lVar11" (binary_expression "iVar6 * lVar8" identifier * identifier) + identifier)) ;) (expression_statement "lVar8 = lVar8 + lVar11;" (assignment_expression "lVar8 = lVar8 + lVar11" identifier = (binary_expression "lVar8 + lVar11" identifier + identifier)) ;) (if_statement "if (lVar11 < lVar8) {\n    lVar2 = *(long *)((long)this + 0x28);\n    lVar3 = *(long *)((long)this + 0x20);\n    lVar4 = *(long *)((long)this + 0x18);\n    cache_view = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      lVar11 = lVar11 + 1;\n    } while (lVar8 != lVar11);\n  }" if (parenthesized_expression "(lVar11 < lVar8)" ( (binary_expression "lVar11 < lVar8" identifier < identifier) )) (compound_statement "{\n    lVar2 = *(long *)((long)this + 0x28);\n    lVar3 = *(long *)((long)this + 0x20);\n    lVar4 = *(long *)((long)this + 0x18);\n    cache_view = *(CacheView **)((long)this + 0x10);\n    exception = *(ExceptionInfo **)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      lVar11 = lVar11 + 1;\n    } while (lVar8 != lVar11);\n  }" { (expression_statement "lVar2 = *(long *)((long)this + 0x28);" (assignment_expression "lVar2 = *(long *)((long)this + 0x28)" identifier = (pointer_expression "*(long *)((long)this + 0x28)" * (cast_expression "(long *)((long)this + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x28)" ( (binary_expression "(long)this + 0x28" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "lVar3 = *(long *)((long)this + 0x20);" (assignment_expression "lVar3 = *(long *)((long)this + 0x20)" identifier = (pointer_expression "*(long *)((long)this + 0x20)" * (cast_expression "(long *)((long)this + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x20)" ( (binary_expression "(long)this + 0x20" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "lVar4 = *(long *)((long)this + 0x18);" (assignment_expression "lVar4 = *(long *)((long)this + 0x18)" identifier = (pointer_expression "*(long *)((long)this + 0x18)" * (cast_expression "(long *)((long)this + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x18)" ( (binary_expression "(long)this + 0x18" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "cache_view = *(CacheView **)((long)this + 0x10);" (assignment_expression "cache_view = *(CacheView **)((long)this + 0x10)" identifier = (pointer_expression "*(CacheView **)((long)this + 0x10)" * (cast_expression "(CacheView **)((long)this + 0x10)" ( (type_descriptor "CacheView **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x10)" ( (binary_expression "(long)this + 0x10" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "exception = *(ExceptionInfo **)((long)this + 8);" (assignment_expression "exception = *(ExceptionInfo **)((long)this + 8)" identifier = (pointer_expression "*(ExceptionInfo **)((long)this + 8)" * (cast_expression "(ExceptionInfo **)((long)this + 8)" ( (type_descriptor "ExceptionInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 8)" ( (binary_expression "(long)this + 8" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (do_statement "do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      lVar11 = lVar11 + 1;\n    } while (lVar8 != lVar11);" do (compound_statement "{\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      lVar11 = lVar11 + 1;\n    }" { (if_statement "if (*(int *)((long)this + 0x38) != 0) {\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((long)this + 0x38) != 0)" ( (binary_expression "*(int *)((long)this + 0x38) != 0" (pointer_expression "*(int *)((long)this + 0x38)" * (cast_expression "(int *)((long)this + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x38)" ( (binary_expression "(long)this + 0x38" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);\n        if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception);" (assignment_expression "pQVar9 = GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception)" identifier = (call_expression "GetCacheViewAuthenticPixels(cache_view,0,lVar11,image->columns,1,exception)" identifier (argument_list "(cache_view,0,lVar11,image->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (pQVar9 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }" if (parenthesized_expression "(pQVar9 == (Quantum *)0x0)" ( (binary_expression "pQVar9 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }" { (expression_statement "*(undefined4 *)((long)this + 0x38) = 0;" (assignment_expression "*(undefined4 *)((long)this + 0x38) = 0" (pointer_expression "*(undefined4 *)((long)this + 0x38)" * (cast_expression "(undefined4 *)((long)this + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x38)" ( (binary_expression "(long)this + 0x38" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }\n          MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }\n          if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }" { (if_statement "if (0 < (long)image->columns) {\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }" if (parenthesized_expression "(0 < (long)image->columns)" ( (binary_expression "0 < (long)image->columns" number_literal < (cast_expression "(long)image->columns" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "image->columns" identifier -> field_identifier))) )) (compound_statement "{\n            lVar14 = 0;\n            do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);\n          }" { (expression_statement "lVar14 = 0;" (assignment_expression "lVar14 = 0" identifier = number_literal) ;) (do_statement "do {\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            } while (lVar14 < (long)image->columns);" do (compound_statement "{\n              sVar12 = image->number_channels;\n              lVar13 = 0;\n              if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }\n              pQVar9 = pQVar9 + sVar12;\n              lVar14 = lVar14 + 1;\n            }" { (expression_statement "sVar12 = image->number_channels;" (assignment_expression "sVar12 = image->number_channels" identifier = (field_expression "image->number_channels" identifier -> field_identifier)) ;) (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) (if_statement "if (0 < (long)sVar12) {\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }" if (parenthesized_expression "(0 < (long)sVar12)" ( (binary_expression "0 < (long)sVar12" number_literal < (cast_expression "(long)sVar12" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);\n              }" { (do_statement "do {\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                } while (lVar13 < (long)sVar12);" do (compound_statement "{\n                  if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }\n                  lVar13 = lVar13 + 1;\n                  sVar12 = image->number_channels;\n                }" { (if_statement "if (((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))) {\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }" if (parenthesized_expression "(((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8)))))" ( (binary_expression "((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait) &&\n                     ((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))" (parenthesized_expression "((image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait)" ( (binary_expression "(image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait) != UndefinedPixelTrait" (parenthesized_expression "(image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait)" ( (binary_expression "image->channel_map[image->channel_map[lVar13].channel].traits &\n                       UpdatePixelTrait" (field_expression "image->channel_map[image->channel_map[lVar13].channel].traits" (subscript_expression "image->channel_map[image->channel_map[lVar13].channel]" (field_expression "image->channel_map" identifier -> field_identifier) [ (field_expression "image->channel_map[lVar13].channel" (subscript_expression "image->channel_map[lVar13]" (field_expression "image->channel_map" identifier -> field_identifier) [ identifier ]) . field_identifier) ]) . field_identifier) & identifier) )) != identifier) )) && (parenthesized_expression "((NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))))" ( (parenthesized_expression "(NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8)))" ( (binary_expression "NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))\n                      || (*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))" (binary_expression "NAN(*(double *)(lVar4 + lVar13 * 8)) || NAN(*(double *)(lVar2 + lVar13 * 8))" (call_expression "NAN(*(double *)(lVar4 + lVar13 * 8))" identifier (argument_list "(*(double *)(lVar4 + lVar13 * 8))" ( (pointer_expression "*(double *)(lVar4 + lVar13 * 8)" * (cast_expression "(double *)(lVar4 + lVar13 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + lVar13 * 8)" ( (binary_expression "lVar4 + lVar13 * 8" identifier + (binary_expression "lVar13 * 8" identifier * number_literal)) )))) ))) || (call_expression "NAN(*(double *)(lVar2 + lVar13 * 8))" identifier (argument_list "(*(double *)(lVar2 + lVar13 * 8))" ( (pointer_expression "*(double *)(lVar2 + lVar13 * 8)" * (cast_expression "(double *)(lVar2 + lVar13 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + lVar13 * 8)" ( (binary_expression "lVar2 + lVar13 * 8" identifier + (binary_expression "lVar13 * 8" identifier * number_literal)) )))) )))) || (parenthesized_expression "(*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8))" ( (binary_expression "*(double *)(lVar4 + lVar13 * 8) != *(double *)(lVar2 + lVar13 * 8)" (pointer_expression "*(double *)(lVar4 + lVar13 * 8)" * (cast_expression "(double *)(lVar4 + lVar13 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + lVar13 * 8)" ( (binary_expression "lVar4 + lVar13 * 8" identifier + (binary_expression "lVar13 * 8" identifier * number_literal)) )))) != (pointer_expression "*(double *)(lVar2 + lVar13 * 8)" * (cast_expression "(double *)(lVar2 + lVar13 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + lVar13 * 8)" ( (binary_expression "lVar2 + lVar13 * 8" identifier + (binary_expression "lVar13 * 8" identifier * number_literal)) ))))) ))) )) ))) )) (compound_statement "{\n                    fVar1 = pQVar9[lVar13];\n                    uVar10 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);\n                  }" { (expression_statement "fVar1 = pQVar9[lVar13];" (assignment_expression "fVar1 = pQVar9[lVar13]" identifier = (subscript_expression "pQVar9[lVar13]" identifier [ identifier ])) ;) (expression_statement "uVar10 = 0xffff;" (assignment_expression "uVar10 = 0xffff" identifier = number_literal) ;) (if_statement "if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }" if (parenthesized_expression "(fVar1 < _DAT_003fa400)" ( (binary_expression "fVar1 < _DAT_003fa400" identifier < identifier) )) (compound_statement "{\n                      if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }" { (if_statement "if (NAN(fVar1)) {\n                        uVar10 = 0;\n                      }\n                      else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" if (parenthesized_expression "(NAN(fVar1))" ( (call_expression "NAN(fVar1)" identifier (argument_list "(fVar1)" ( identifier ))) )) (compound_statement "{\n                        uVar10 = 0;\n                      }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" else (compound_statement "{\n                        uVar10 = 0;\n                        if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar1) {\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }" if (parenthesized_expression "(0.0 < fVar1)" ( (binary_expression "0.0 < fVar1" number_literal < identifier) )) (compound_statement "{\n                          uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }" { (expression_statement "uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28);" (assignment_expression "uVar10 = (uint)(long)((double)fVar1 + DAT_003f9c28)" identifier = (call_expression "(uint)(long)((double)fVar1 + DAT_003f9c28)" (call_expression "(uint)(long)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(long)" ( identifier ))) (argument_list "((double)fVar1 + DAT_003f9c28)" ( (binary_expression "(double)fVar1 + DAT_003f9c28" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) + identifier) )))) ;) })) }))) })) (expression_statement "pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8);" (assignment_expression "pQVar9[lVar13] = (float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8)" (subscript_expression "pQVar9[lVar13]" identifier [ identifier ]) = (cast_expression "(float)*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8)" * (cast_expression "(double *)(lVar3 + (uVar10 * sVar12 + lVar13) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + (uVar10 * sVar12 + lVar13) * 8)" ( (binary_expression "lVar3 + (uVar10 * sVar12 + lVar13) * 8" identifier + (binary_expression "(uVar10 * sVar12 + lVar13) * 8" (parenthesized_expression "(uVar10 * sVar12 + lVar13)" ( (binary_expression "uVar10 * sVar12 + lVar13" (binary_expression "uVar10 * sVar12" identifier * identifier) + identifier) )) * number_literal)) )))))) ;) })) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;) (expression_statement "sVar12 = image->number_channels;" (assignment_expression "sVar12 = image->number_channels" identifier = (field_expression "image->number_channels" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(lVar13 < (long)sVar12)" ( (binary_expression "lVar13 < (long)sVar12" identifier < (cast_expression "(long)sVar12" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) ;) })) (expression_statement "pQVar9 = pQVar9 + sVar12;" (assignment_expression "pQVar9 = pQVar9 + sVar12" identifier = (binary_expression "pQVar9 + sVar12" identifier + identifier)) ;) (expression_statement "lVar14 = lVar14 + 1;" (assignment_expression "lVar14 = lVar14 + 1" identifier = (binary_expression "lVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 < (long)image->columns)" ( (binary_expression "lVar14 < (long)image->columns" identifier < (cast_expression "(long)image->columns" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (field_expression "image->columns" identifier -> field_identifier))) )) ;) })) (expression_statement "MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar7 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar7 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }" if (parenthesized_expression "(MVar7 == MagickFalse)" ( (binary_expression "MVar7 == MagickFalse" identifier == identifier) )) (compound_statement "{\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }" { (expression_statement "*(undefined4 *)((long)this + 0x38) = 0;" (assignment_expression "*(undefined4 *)((long)this + 0x38) = 0" (pointer_expression "*(undefined4 *)((long)this + 0x38)" * (cast_expression "(undefined4 *)((long)this + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x38)" ( (binary_expression "(long)this + 0x38" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (image->progress_monitor != (MagickProgressMonitor)0x0) {\n            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\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            LOCK();\n            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;\n            UNLOCK();\n            MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "**(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;" (assignment_expression "**(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1" (pointer_expression "**(long **)((long)this + 0x30)" * (pointer_expression "*(long **)((long)this + 0x30)" * (cast_expression "(long **)((long)this + 0x30)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x30)" ( (binary_expression "(long)this + 0x30" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) = (binary_expression "**(long **)((long)this + 0x30) + 1" (pointer_expression "**(long **)((long)this + 0x30)" * (pointer_expression "*(long **)((long)this + 0x30)" * (cast_expression "(long **)((long)this + 0x30)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x30)" ( (binary_expression "(long)this + 0x30" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);" (assignment_expression "MVar7 = SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows)" identifier = (call_expression "SetImageProgress(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows)" identifier (argument_list "(image,"ContrastStretch/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows)" ( identifier , (string_literal ""ContrastStretch/Image"" " string_content ") , (pointer_expression "**(MagickOffsetType **)((long)this + 0x30)" * (pointer_expression "*(MagickOffsetType **)((long)this + 0x30)" * (cast_expression "(MagickOffsetType **)((long)this + 0x30)" ( (type_descriptor "MagickOffsetType **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x30)" ( (binary_expression "(long)this + 0x30" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) , (field_expression "image->rows" identifier -> field_identifier) )))) ;) (if_statement "if (MVar7 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }" if (parenthesized_expression "(MVar7 == MagickFalse)" ( (binary_expression "MVar7 == MagickFalse" identifier == identifier) )) (compound_statement "{\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }" { (expression_statement "*(undefined4 *)((long)this + 0x38) = 0;" (assignment_expression "*(undefined4 *)((long)this + 0x38) = 0" (pointer_expression "*(undefined4 *)((long)this + 0x38)" * (cast_expression "(undefined4 *)((long)this + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x38)" ( (binary_expression "(long)this + 0x38" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) })) }))) })) (expression_statement "lVar11 = lVar11 + 1;" (assignment_expression "lVar11 = lVar11 + 1" identifier = (binary_expression "lVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar8 != lVar11)" ( (binary_expression "lVar8 != lVar11" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001e9c14(long *param_1)\n\n{\n  float fVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  long lVar6;\n  long lVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  long lVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  \n  lVar2 = *param_1;\n  lVar13 = *(long *)(lVar2 + 0x28);\n  iVar8 = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  lVar10 = lVar13 / (long)iVar8;\n  lVar13 = lVar13 % (long)iVar8;\n  if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }\n  lVar13 = iVar9 * lVar10 + lVar13;\n  lVar10 = lVar10 + lVar13;\n  if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001e9c14(long *param_1)\n\n{\n  float fVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  long lVar6;\n  long lVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  long lVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  \n  lVar2 = *param_1;\n  lVar13 = *(long *)(lVar2 + 0x28);\n  iVar8 = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  lVar10 = lVar13 / (long)iVar8;\n  lVar13 = lVar13 % (long)iVar8;\n  if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }\n  lVar13 = iVar9 * lVar10 + lVar13;\n  lVar10 = lVar10 + lVar13;\n  if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001e9c14(long *param_1)" identifier (parameter_list "(long *param_1)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  float fVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  long lVar6;\n  long lVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  long lVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  \n  lVar2 = *param_1;\n  lVar13 = *(long *)(lVar2 + 0x28);\n  iVar8 = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  lVar10 = lVar13 / (long)iVar8;\n  lVar13 = lVar13 % (long)iVar8;\n  if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }\n  lVar13 = iVar9 * lVar10 + lVar13;\n  lVar10 = lVar10 + lVar13;\n  if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }\n  return;\n}" { (declaration "float fVar1;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar16;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = *param_1;" (assignment_expression "lVar2 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "lVar13 = *(long *)(lVar2 + 0x28);" (assignment_expression "lVar13 = *(long *)(lVar2 + 0x28)" identifier = (pointer_expression "*(long *)(lVar2 + 0x28)" * (cast_expression "(long *)(lVar2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = omp_get_num_threads();" (assignment_expression "iVar8 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = omp_get_thread_num();" (assignment_expression "iVar9 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar10 = lVar13 / (long)iVar8;" (assignment_expression "lVar10 = lVar13 / (long)iVar8" identifier = (binary_expression "lVar13 / (long)iVar8" identifier / (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "lVar13 = lVar13 % (long)iVar8;" (assignment_expression "lVar13 = lVar13 % (long)iVar8" identifier = (binary_expression "lVar13 % (long)iVar8" identifier % (cast_expression "(long)iVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }" if (parenthesized_expression "(iVar9 < lVar13)" ( (binary_expression "iVar9 < lVar13" identifier < identifier) )) (compound_statement "{\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }" { (expression_statement "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" identifier = (binary_expression "lVar10 + 1" identifier + number_literal)) ;) (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) })) (expression_statement "lVar13 = iVar9 * lVar10 + lVar13;" (assignment_expression "lVar13 = iVar9 * lVar10 + lVar13" identifier = (binary_expression "iVar9 * lVar10 + lVar13" (binary_expression "iVar9 * lVar10" identifier * identifier) + identifier)) ;) (expression_statement "lVar10 = lVar10 + lVar13;" (assignment_expression "lVar10 = lVar10 + lVar13" identifier = (binary_expression "lVar10 + lVar13" identifier + identifier)) ;) (if_statement "if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }" if (parenthesized_expression "(lVar13 < lVar10)" ( (binary_expression "lVar13 < lVar10" identifier < identifier) )) (compound_statement "{\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }" { (expression_statement "lVar3 = param_1[5];" (assignment_expression "lVar3 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "lVar4 = param_1[4];" (assignment_expression "lVar4 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "lVar5 = param_1[3];" (assignment_expression "lVar5 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "lVar6 = param_1[2];" (assignment_expression "lVar6 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "lVar7 = param_1[1];" (assignment_expression "lVar7 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);" do (compound_statement "{\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    }" { (if_statement "if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "((int)param_1[7] != 0)" ( (binary_expression "(int)param_1[7] != 0" (cast_expression "(int)param_1[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) != number_literal) )) (compound_statement "{\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);" (assignment_expression "lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" identifier = (call_expression "GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" identifier (argument_list "(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(lVar2 + 0x20)" * (cast_expression "(undefined8 *)(lVar2 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" if (parenthesized_expression "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )) (compound_statement "{\n          *(undefined4 *)(param_1 + 7) = 0;\n        }" { (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" * (cast_expression "(undefined4 *)(param_1 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) }) (else_clause "else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" { (if_statement "if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }" if (parenthesized_expression "(0 < *(long *)(lVar2 + 0x20))" ( (binary_expression "0 < *(long *)(lVar2 + 0x20)" number_literal < (pointer_expression "*(long *)(lVar2 + 0x20)" * (cast_expression "(long *)(lVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }" { (expression_statement "lVar16 = 0;" (assignment_expression "lVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));" do (compound_statement "{\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            }" { (expression_statement "lVar14 = *(long *)(lVar2 + 0x340);" (assignment_expression "lVar14 = *(long *)(lVar2 + 0x340)" identifier = (pointer_expression "*(long *)(lVar2 + 0x340)" * (cast_expression "(long *)(lVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x340)" ( (binary_expression "lVar2 + 0x340" identifier + number_literal) ))))) ;) (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" identifier = number_literal) ;) (if_statement "if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }" if (parenthesized_expression "(0 < lVar14)" ( (binary_expression "0 < lVar14" number_literal < identifier) )) (compound_statement "{\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }" { (do_statement "do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);" do (compound_statement "{\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                }" { (if_statement "if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }" if (parenthesized_expression "(((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)))))" ( (binary_expression "((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))" (parenthesized_expression "((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0)" ( (binary_expression "(*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0" (parenthesized_expression "(*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2)" ( (binary_expression "*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2" (pointer_expression "*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" * (cast_expression "(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" ( (binary_expression "*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "*(long *)(lVar2 + 0x360) + 4" (pointer_expression "*(long *)(lVar2 + 0x360)" * (cast_expression "(long *)(lVar2 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x360)" ( (binary_expression "lVar2 + 0x360" identifier + number_literal) )))) + number_literal) + (binary_expression "(ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" ( (binary_expression "*(long *)(lVar2 + 0x360) + lVar15 * 0x10" (pointer_expression "*(long *)(lVar2 + 0x360)" * (cast_expression "(long *)(lVar2 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x360)" ( (binary_expression "lVar2 + 0x360" identifier + number_literal) )))) + (binary_expression "lVar15 * 0x10" identifier * number_literal)) )))) * number_literal)) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))" ( (parenthesized_expression "(NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)))" ( (binary_expression "NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))" (binary_expression "NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))" (call_expression "NAN(*(double *)(lVar5 + lVar15 * 8))" identifier (argument_list "(*(double *)(lVar5 + lVar15 * 8))" ( (pointer_expression "*(double *)(lVar5 + lVar15 * 8)" * (cast_expression "(double *)(lVar5 + lVar15 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + lVar15 * 8)" ( (binary_expression "lVar5 + lVar15 * 8" identifier + (binary_expression "lVar15 * 8" identifier * number_literal)) )))) ))) || (call_expression "NAN(*(double *)(lVar3 + lVar15 * 8))" identifier (argument_list "(*(double *)(lVar3 + lVar15 * 8))" ( (pointer_expression "*(double *)(lVar3 + lVar15 * 8)" * (cast_expression "(double *)(lVar3 + lVar15 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + lVar15 * 8)" ( (binary_expression "lVar3 + lVar15 * 8" identifier + (binary_expression "lVar15 * 8" identifier * number_literal)) )))) )))) || (parenthesized_expression "(*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))" ( (binary_expression "*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)" (pointer_expression "*(double *)(lVar5 + lVar15 * 8)" * (cast_expression "(double *)(lVar5 + lVar15 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + lVar15 * 8)" ( (binary_expression "lVar5 + lVar15 * 8" identifier + (binary_expression "lVar15 * 8" identifier * number_literal)) )))) != (pointer_expression "*(double *)(lVar3 + lVar15 * 8)" * (cast_expression "(double *)(lVar3 + lVar15 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + lVar15 * 8)" ( (binary_expression "lVar3 + lVar15 * 8" identifier + (binary_expression "lVar15 * 8" identifier * number_literal)) ))))) ))) )) ))) )) (compound_statement "{\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }" { (expression_statement "fVar1 = *(float *)(lVar11 + lVar15 * 4);" (assignment_expression "fVar1 = *(float *)(lVar11 + lVar15 * 4)" identifier = (pointer_expression "*(float *)(lVar11 + lVar15 * 4)" * (cast_expression "(float *)(lVar11 + lVar15 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar11 + lVar15 * 4)" ( (binary_expression "lVar11 + lVar15 * 4" identifier + (binary_expression "lVar15 * 4" identifier * number_literal)) ))))) ;) (expression_statement "uVar12 = 0xffff;" (assignment_expression "uVar12 = 0xffff" identifier = number_literal) ;) (if_statement "if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }" if (parenthesized_expression "(fVar1 < _DAT_003fa400)" ( (binary_expression "fVar1 < _DAT_003fa400" identifier < identifier) )) (compound_statement "{\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }" { (if_statement "if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" if (parenthesized_expression "(NAN(fVar1))" ( (call_expression "NAN(fVar1)" identifier (argument_list "(fVar1)" ( identifier ))) )) (compound_statement "{\n                        uVar12 = 0;\n                      }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" else (compound_statement "{\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" { (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (if_statement "if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }" if (parenthesized_expression "(0.0 < fVar1)" ( (binary_expression "0.0 < fVar1" number_literal < identifier) )) (compound_statement "{\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }" { (expression_statement "uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);" (assignment_expression "uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28)" identifier = (call_expression "(uint)(long)((double)fVar1 + DAT_003f9c28)" (call_expression "(uint)(long)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(long)" ( identifier ))) (argument_list "((double)fVar1 + DAT_003f9c28)" ( (binary_expression "(double)fVar1 + DAT_003f9c28" (cast_expression "(double)fVar1" ( (type_descriptor "double" primitive_type) ) identifier) + identifier) )))) ;) })) }))) })) (expression_statement "*(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);" (assignment_expression "*(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" (pointer_expression "*(float *)(lVar11 + lVar15 * 4)" * (cast_expression "(float *)(lVar11 + lVar15 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar11 + lVar15 * 4)" ( (binary_expression "lVar11 + lVar15 * 4" identifier + (binary_expression "lVar15 * 4" identifier * number_literal)) )))) = (cast_expression "(float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" * (cast_expression "(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" ( (binary_expression "lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8" identifier + (binary_expression "((ulong)uVar12 * lVar14 + lVar15) * 8" (parenthesized_expression "((ulong)uVar12 * lVar14 + lVar15)" ( (binary_expression "(ulong)uVar12 * lVar14 + lVar15" (binary_expression "(ulong)uVar12 * lVar14" (cast_expression "(ulong)uVar12" ( (type_descriptor "ulong" type_identifier) ) identifier) * identifier) + identifier) )) * number_literal)) )))))) ;) })) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" identifier = (binary_expression "lVar15 + 1" identifier + number_literal)) ;) (expression_statement "lVar14 = *(long *)(lVar2 + 0x340);" (assignment_expression "lVar14 = *(long *)(lVar2 + 0x340)" identifier = (pointer_expression "*(long *)(lVar2 + 0x340)" * (cast_expression "(long *)(lVar2 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x340)" ( (binary_expression "lVar2 + 0x340" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(lVar15 < lVar14)" ( (binary_expression "lVar15 < lVar14" identifier < identifier) )) ;) })) (expression_statement "lVar11 = lVar11 + lVar14 * 4;" (assignment_expression "lVar11 = lVar11 + lVar14 * 4" identifier = (binary_expression "lVar11 + lVar14 * 4" identifier + (binary_expression "lVar14 * 4" identifier * number_literal))) ;) (expression_statement "lVar16 = lVar16 + 1;" (assignment_expression "lVar16 = lVar16 + 1" identifier = (binary_expression "lVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar16 < *(long *)(lVar2 + 0x20))" ( (binary_expression "lVar16 < *(long *)(lVar2 + 0x20)" identifier < (pointer_expression "*(long *)(lVar2 + 0x20)" * (cast_expression "(long *)(lVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);" (assignment_expression "iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7)" identifier = (call_expression "SyncCacheViewAuthenticPixels(lVar6,lVar7)" identifier (argument_list "(lVar6,lVar7)" ( identifier , identifier )))) ;) (if_statement "if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" { (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" * (cast_expression "(undefined4 *)(param_1 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" if (parenthesized_expression "(*(long *)(lVar2 + 0x3c8) != 0)" ( (binary_expression "*(long *)(lVar2 + 0x3c8) != 0" (pointer_expression "*(long *)(lVar2 + 0x3c8)" * (cast_expression "(long *)(lVar2 + 0x3c8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x3c8)" ( (binary_expression "lVar2 + 0x3c8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(long *)param_1[6] = *(long *)param_1[6] + 1;" (assignment_expression "*(long *)param_1[6] = *(long *)param_1[6] + 1" (pointer_expression "*(long *)param_1[6]" * (cast_expression "(long *)param_1[6]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) = (binary_expression "*(long *)param_1[6] + 1" (pointer_expression "*(long *)param_1[6]" * (cast_expression "(long *)param_1[6]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) + number_literal)) ;) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));" (assignment_expression "iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" identifier = (call_expression "SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" identifier (argument_list "(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" ( identifier , (string_literal ""ContrastStretch/Image"" " string_content ") , (pointer_expression "*(undefined8 *)param_1[6]" * (cast_expression "(undefined8 *)param_1[6]" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) , (pointer_expression "*(undefined8 *)(lVar2 + 0x28)" * (cast_expression "(undefined8 *)(lVar2 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" { (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" * (cast_expression "(undefined4 *)(param_1 + 7)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 7)" ( (binary_expression "param_1 + 7" identifier + number_literal) )))) = number_literal) ;) })) })) }))) })) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 != lVar13)" ( (binary_expression "lVar10 != lVar13" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % (cast_expression ( (type_descriptor (sized_type_specifier long)) ) 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 = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) * LIT)) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) ))) || (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) )))) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (call_expression IDENT (argument_list ( IDENT ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) )))) ;) })) }))) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) + IDENT) )) * LIT)) )))))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) })) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_001e9c14(long *param_1)\n\n{\n  float fVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  long lVar6;\n  long lVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  long lVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  \n  lVar2 = *param_1;\n  lVar13 = *(long *)(lVar2 + 0x28);\n  iVar8 = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  lVar10 = lVar13 / (long)iVar8;\n  lVar13 = lVar13 % (long)iVar8;\n  if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }\n  lVar13 = iVar9 * lVar10 + lVar13;\n  lVar10 = lVar10 + lVar13;\n  if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001e9c14(long *param_1)" (identifier "FUN_001e9c14") (parameter_list "(long *param_1)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  float fVar1;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  long lVar6;\n  long lVar7;\n  int iVar8;\n  int iVar9;\n  long lVar10;\n  long lVar11;\n  uint uVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long lVar16;\n  \n  lVar2 = *param_1;\n  lVar13 = *(long *)(lVar2 + 0x28);\n  iVar8 = omp_get_num_threads();\n  iVar9 = omp_get_thread_num();\n  lVar10 = lVar13 / (long)iVar8;\n  lVar13 = lVar13 % (long)iVar8;\n  if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }\n  lVar13 = iVar9 * lVar10 + lVar13;\n  lVar10 = lVar10 + lVar13;\n  if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }\n  return;\n}" ({ "{") (declaration "float fVar1;" (primitive_type "float") (identifier "fVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "long lVar5;" (sized_type_specifier "long" (long "long")) (identifier "lVar5") (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "long lVar10;" (sized_type_specifier "long" (long "long")) (identifier "lVar10") (; ";")) (declaration "long lVar11;" (sized_type_specifier "long" (long "long")) (identifier "lVar11") (; ";")) (declaration "uint uVar12;" (type_identifier "uint") (identifier "uVar12") (; ";")) (declaration "long lVar13;" (sized_type_specifier "long" (long "long")) (identifier "lVar13") (; ";")) (declaration "long lVar14;" (sized_type_specifier "long" (long "long")) (identifier "lVar14") (; ";")) (declaration "long lVar15;" (sized_type_specifier "long" (long "long")) (identifier "lVar15") (; ";")) (declaration "long lVar16;" (sized_type_specifier "long" (long "long")) (identifier "lVar16") (; ";")) (expression_statement "lVar2 = *param_1;" (assignment_expression "lVar2 = *param_1" (identifier "lVar2") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "lVar13 = *(long *)(lVar2 + 0x28);" (assignment_expression "lVar13 = *(long *)(lVar2 + 0x28)" (identifier "lVar13") (= "=") (pointer_expression "*(long *)(lVar2 + 0x28)" (* "*") (cast_expression "(long *)(lVar2 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar8 = omp_get_num_threads();" (assignment_expression "iVar8 = omp_get_num_threads()" (identifier "iVar8") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar9 = omp_get_thread_num();" (assignment_expression "iVar9 = omp_get_thread_num()" (identifier "iVar9") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "lVar10 = lVar13 / (long)iVar8;" (assignment_expression "lVar10 = lVar13 / (long)iVar8" (identifier "lVar10") (= "=") (binary_expression "lVar13 / (long)iVar8" (identifier "lVar13") (/ "/") (cast_expression "(long)iVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar8")))) (; ";")) (expression_statement "lVar13 = lVar13 % (long)iVar8;" (assignment_expression "lVar13 = lVar13 % (long)iVar8" (identifier "lVar13") (= "=") (binary_expression "lVar13 % (long)iVar8" (identifier "lVar13") (% "%") (cast_expression "(long)iVar8" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar8")))) (; ";")) (if_statement "if (iVar9 < lVar13) {\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }" (if "if") (parenthesized_expression "(iVar9 < lVar13)" (( "(") (binary_expression "iVar9 < lVar13" (identifier "iVar9") (< "<") (identifier "lVar13")) () ")")) (compound_statement "{\n    lVar10 = lVar10 + 1;\n    lVar13 = 0;\n  }" ({ "{") (expression_statement "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" (identifier "lVar10") (= "=") (binary_expression "lVar10 + 1" (identifier "lVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" (identifier "lVar13") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "lVar13 = iVar9 * lVar10 + lVar13;" (assignment_expression "lVar13 = iVar9 * lVar10 + lVar13" (identifier "lVar13") (= "=") (binary_expression "iVar9 * lVar10 + lVar13" (binary_expression "iVar9 * lVar10" (identifier "iVar9") (* "*") (identifier "lVar10")) (+ "+") (identifier "lVar13"))) (; ";")) (expression_statement "lVar10 = lVar10 + lVar13;" (assignment_expression "lVar10 = lVar10 + lVar13" (identifier "lVar10") (= "=") (binary_expression "lVar10 + lVar13" (identifier "lVar10") (+ "+") (identifier "lVar13"))) (; ";")) (if_statement "if (lVar13 < lVar10) {\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }" (if "if") (parenthesized_expression "(lVar13 < lVar10)" (( "(") (binary_expression "lVar13 < lVar10" (identifier "lVar13") (< "<") (identifier "lVar10")) () ")")) (compound_statement "{\n    lVar3 = param_1[5];\n    lVar4 = param_1[4];\n    lVar5 = param_1[3];\n    lVar6 = param_1[2];\n    lVar7 = param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);\n  }" ({ "{") (expression_statement "lVar3 = param_1[5];" (assignment_expression "lVar3 = param_1[5]" (identifier "lVar3") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "lVar4 = param_1[4];" (assignment_expression "lVar4 = param_1[4]" (identifier "lVar4") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "lVar5 = param_1[3];" (assignment_expression "lVar5 = param_1[3]" (identifier "lVar5") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "lVar6 = param_1[2];" (assignment_expression "lVar6 = param_1[2]" (identifier "lVar6") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "lVar7 = param_1[1];" (assignment_expression "lVar7 = param_1[1]" (identifier "lVar7") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (do_statement "do {\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    } while (lVar10 != lVar13);" (do "do") (compound_statement "{\n      if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      lVar13 = lVar13 + 1;\n    }" ({ "{") (if_statement "if ((int)param_1[7] != 0) {\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" (if "if") (parenthesized_expression "((int)param_1[7] != 0)" (( "(") (binary_expression "(int)param_1[7] != 0" (cast_expression "(int)param_1[7]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);\n        if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" ({ "{") (expression_statement "lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);" (assignment_expression "lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" (identifier "lVar11") (= "=") (call_expression "GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" (identifier "GetCacheViewAuthenticPixels") (argument_list "(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7)" (( "(") (identifier "lVar6") (, ",") (number_literal "0") (, ",") (identifier "lVar13") (, ",") (pointer_expression "*(undefined8 *)(lVar2 + 0x20)" (* "*") (cast_expression "(undefined8 *)(lVar2 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x20)" (( "(") (binary_expression "lVar2 + 0x20" (identifier "lVar2") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "lVar7") () ")")))) (; ";")) (if_statement "if (lVar11 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" (if "if") (parenthesized_expression "(lVar11 == 0)" (( "(") (binary_expression "lVar11 == 0" (identifier "lVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          *(undefined4 *)(param_1 + 7) = 0;\n        }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" (* "*") (cast_expression "(undefined4 *)(param_1 + 7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" (else "else") (compound_statement "{\n          if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }\n          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);\n          if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" ({ "{") (if_statement "if (0 < *(long *)(lVar2 + 0x20)) {\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }" (if "if") (parenthesized_expression "(0 < *(long *)(lVar2 + 0x20))" (( "(") (binary_expression "0 < *(long *)(lVar2 + 0x20)" (number_literal "0") (< "<") (pointer_expression "*(long *)(lVar2 + 0x20)" (* "*") (cast_expression "(long *)(lVar2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x20)" (( "(") (binary_expression "lVar2 + 0x20" (identifier "lVar2") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (compound_statement "{\n            lVar16 = 0;\n            do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));\n          }" ({ "{") (expression_statement "lVar16 = 0;" (assignment_expression "lVar16 = 0" (identifier "lVar16") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            } while (lVar16 < *(long *)(lVar2 + 0x20));" (do "do") (compound_statement "{\n              lVar14 = *(long *)(lVar2 + 0x340);\n              lVar15 = 0;\n              if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }\n              lVar11 = lVar11 + lVar14 * 4;\n              lVar16 = lVar16 + 1;\n            }" ({ "{") (expression_statement "lVar14 = *(long *)(lVar2 + 0x340);" (assignment_expression "lVar14 = *(long *)(lVar2 + 0x340)" (identifier "lVar14") (= "=") (pointer_expression "*(long *)(lVar2 + 0x340)" (* "*") (cast_expression "(long *)(lVar2 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x340)" (( "(") (binary_expression "lVar2 + 0x340" (identifier "lVar2") (+ "+") (number_literal "0x340")) () ")"))))) (; ";")) (expression_statement "lVar15 = 0;" (assignment_expression "lVar15 = 0" (identifier "lVar15") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < lVar14) {\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }" (if "if") (parenthesized_expression "(0 < lVar14)" (( "(") (binary_expression "0 < lVar14" (number_literal "0") (< "<") (identifier "lVar14")) () ")")) (compound_statement "{\n                do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);\n              }" ({ "{") (do_statement "do {\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                } while (lVar15 < lVar14);" (do "do") (compound_statement "{\n                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }\n                  lVar15 = lVar15 + 1;\n                  lVar14 = *(long *)(lVar2 + 0x340);\n                }" ({ "{") (if_statement "if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }" (if "if") (parenthesized_expression "(((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)))))" (( "(") (binary_expression "((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0) &&\n                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))" (parenthesized_expression "((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0)" (( "(") (binary_expression "(*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2) != 0" (parenthesized_expression "(*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2)" (( "(") (binary_expression "*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)\n                       & 2" (pointer_expression "*(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" (* "*") (cast_expression "(byte *)(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)" (( "(") (binary_expression "*(long *)(lVar2 + 0x360) + 4 +\n                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "*(long *)(lVar2 + 0x360) + 4" (pointer_expression "*(long *)(lVar2 + 0x360)" (* "*") (cast_expression "(long *)(lVar2 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x360)" (( "(") (binary_expression "lVar2 + 0x360" (identifier "lVar2") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (binary_expression "(ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar2 + 0x360) + lVar15 * 0x10)" (( "(") (binary_expression "*(long *)(lVar2 + 0x360) + lVar15 * 0x10" (pointer_expression "*(long *)(lVar2 + 0x360)" (* "*") (cast_expression "(long *)(lVar2 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x360)" (( "(") (binary_expression "lVar2 + 0x360" (identifier "lVar2") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (binary_expression "lVar15 * 0x10" (identifier "lVar15") (* "*") (number_literal "0x10"))) () ")")))) (* "*") (number_literal "0x10"))) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))" (( "(") (parenthesized_expression "(NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)))" (( "(") (binary_expression "NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))\n                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))" (binary_expression "NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))" (call_expression "NAN(*(double *)(lVar5 + lVar15 * 8))" (identifier "NAN") (argument_list "(*(double *)(lVar5 + lVar15 * 8))" (( "(") (pointer_expression "*(double *)(lVar5 + lVar15 * 8)" (* "*") (cast_expression "(double *)(lVar5 + lVar15 * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + lVar15 * 8)" (( "(") (binary_expression "lVar5 + lVar15 * 8" (identifier "lVar5") (+ "+") (binary_expression "lVar15 * 8" (identifier "lVar15") (* "*") (number_literal "8"))) () ")")))) () ")"))) (|| "||") (call_expression "NAN(*(double *)(lVar3 + lVar15 * 8))" (identifier "NAN") (argument_list "(*(double *)(lVar3 + lVar15 * 8))" (( "(") (pointer_expression "*(double *)(lVar3 + lVar15 * 8)" (* "*") (cast_expression "(double *)(lVar3 + lVar15 * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + lVar15 * 8)" (( "(") (binary_expression "lVar3 + lVar15 * 8" (identifier "lVar3") (+ "+") (binary_expression "lVar15 * 8" (identifier "lVar15") (* "*") (number_literal "8"))) () ")")))) () ")")))) (|| "||") (parenthesized_expression "(*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))" (( "(") (binary_expression "*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8)" (pointer_expression "*(double *)(lVar5 + lVar15 * 8)" (* "*") (cast_expression "(double *)(lVar5 + lVar15 * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar5 + lVar15 * 8)" (( "(") (binary_expression "lVar5 + lVar15 * 8" (identifier "lVar5") (+ "+") (binary_expression "lVar15 * 8" (identifier "lVar15") (* "*") (number_literal "8"))) () ")")))) (!= "!=") (pointer_expression "*(double *)(lVar3 + lVar15 * 8)" (* "*") (cast_expression "(double *)(lVar3 + lVar15 * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + lVar15 * 8)" (( "(") (binary_expression "lVar3 + lVar15 * 8" (identifier "lVar3") (+ "+") (binary_expression "lVar15 * 8" (identifier "lVar15") (* "*") (number_literal "8"))) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n                    fVar1 = *(float *)(lVar11 + lVar15 * 4);\n                    uVar12 = 0xffff;\n                    if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }\n                    *(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);\n                  }" ({ "{") (expression_statement "fVar1 = *(float *)(lVar11 + lVar15 * 4);" (assignment_expression "fVar1 = *(float *)(lVar11 + lVar15 * 4)" (identifier "fVar1") (= "=") (pointer_expression "*(float *)(lVar11 + lVar15 * 4)" (* "*") (cast_expression "(float *)(lVar11 + lVar15 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar11 + lVar15 * 4)" (( "(") (binary_expression "lVar11 + lVar15 * 4" (identifier "lVar11") (+ "+") (binary_expression "lVar15 * 4" (identifier "lVar15") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "uVar12 = 0xffff;" (assignment_expression "uVar12 = 0xffff" (identifier "uVar12") (= "=") (number_literal "0xffff")) (; ";")) (if_statement "if (fVar1 < _DAT_003fa400) {\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }" (if "if") (parenthesized_expression "(fVar1 < _DAT_003fa400)" (( "(") (binary_expression "fVar1 < _DAT_003fa400" (identifier "fVar1") (< "<") (identifier "_DAT_003fa400")) () ")")) (compound_statement "{\n                      if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }\n                    }" ({ "{") (if_statement "if (NAN(fVar1)) {\n                        uVar12 = 0;\n                      }\n                      else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" (if "if") (parenthesized_expression "(NAN(fVar1))" (( "(") (call_expression "NAN(fVar1)" (identifier "NAN") (argument_list "(fVar1)" (( "(") (identifier "fVar1") () ")"))) () ")")) (compound_statement "{\n                        uVar12 = 0;\n                      }" ({ "{") (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" (else "else") (compound_statement "{\n                        uVar12 = 0;\n                        if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }\n                      }" ({ "{") (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" (identifier "uVar12") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0.0 < fVar1) {\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }" (if "if") (parenthesized_expression "(0.0 < fVar1)" (( "(") (binary_expression "0.0 < fVar1" (number_literal "0.0") (< "<") (identifier "fVar1")) () ")")) (compound_statement "{\n                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);\n                        }" ({ "{") (expression_statement "uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);" (assignment_expression "uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28)" (identifier "uVar12") (= "=") (call_expression "(uint)(long)((double)fVar1 + DAT_003f9c28)" (call_expression "(uint)(long)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(long)" (( "(") (identifier "long") () ")"))) (argument_list "((double)fVar1 + DAT_003f9c28)" (( "(") (binary_expression "(double)fVar1 + DAT_003f9c28" (cast_expression "(double)fVar1" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "fVar1")) (+ "+") (identifier "DAT_003f9c28")) () ")")))) (; ";")) (} "}"))) (} "}")))) (} "}"))) (expression_statement "*(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);" (assignment_expression "*(float *)(lVar11 + lVar15 * 4) =\n                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" (pointer_expression "*(float *)(lVar11 + lVar15 * 4)" (* "*") (cast_expression "(float *)(lVar11 + lVar15 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar11 + lVar15 * 4)" (( "(") (binary_expression "lVar11 + lVar15 * 4" (identifier "lVar11") (+ "+") (binary_expression "lVar15 * 4" (identifier "lVar15") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" (* "*") (cast_expression "(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8)" (( "(") (binary_expression "lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8" (identifier "lVar4") (+ "+") (binary_expression "((ulong)uVar12 * lVar14 + lVar15) * 8" (parenthesized_expression "((ulong)uVar12 * lVar14 + lVar15)" (( "(") (binary_expression "(ulong)uVar12 * lVar14 + lVar15" (binary_expression "(ulong)uVar12 * lVar14" (cast_expression "(ulong)uVar12" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "uVar12")) (* "*") (identifier "lVar14")) (+ "+") (identifier "lVar15")) () ")")) (* "*") (number_literal "8"))) () ")")))))) (; ";")) (} "}"))) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" (identifier "lVar15") (= "=") (binary_expression "lVar15 + 1" (identifier "lVar15") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "lVar14 = *(long *)(lVar2 + 0x340);" (assignment_expression "lVar14 = *(long *)(lVar2 + 0x340)" (identifier "lVar14") (= "=") (pointer_expression "*(long *)(lVar2 + 0x340)" (* "*") (cast_expression "(long *)(lVar2 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x340)" (( "(") (binary_expression "lVar2 + 0x340" (identifier "lVar2") (+ "+") (number_literal "0x340")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar15 < lVar14)" (( "(") (binary_expression "lVar15 < lVar14" (identifier "lVar15") (< "<") (identifier "lVar14")) () ")")) (; ";")) (} "}"))) (expression_statement "lVar11 = lVar11 + lVar14 * 4;" (assignment_expression "lVar11 = lVar11 + lVar14 * 4" (identifier "lVar11") (= "=") (binary_expression "lVar11 + lVar14 * 4" (identifier "lVar11") (+ "+") (binary_expression "lVar14 * 4" (identifier "lVar14") (* "*") (number_literal "4")))) (; ";")) (expression_statement "lVar16 = lVar16 + 1;" (assignment_expression "lVar16 = lVar16 + 1" (identifier "lVar16") (= "=") (binary_expression "lVar16 + 1" (identifier "lVar16") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar16 < *(long *)(lVar2 + 0x20))" (( "(") (binary_expression "lVar16 < *(long *)(lVar2 + 0x20)" (identifier "lVar16") (< "<") (pointer_expression "*(long *)(lVar2 + 0x20)" (* "*") (cast_expression "(long *)(lVar2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x20)" (( "(") (binary_expression "lVar2 + 0x20" (identifier "lVar2") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);" (assignment_expression "iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7)" (identifier "iVar8") (= "=") (call_expression "SyncCacheViewAuthenticPixels(lVar6,lVar7)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(lVar6,lVar7)" (( "(") (identifier "lVar6") (, ",") (identifier "lVar7") () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" (* "*") (cast_expression "(undefined4 *)(param_1 + 7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (*(long *)(lVar2 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" (if "if") (parenthesized_expression "(*(long *)(lVar2 + 0x3c8) != 0)" (( "(") (binary_expression "*(long *)(lVar2 + 0x3c8) != 0" (pointer_expression "*(long *)(lVar2 + 0x3c8)" (* "*") (cast_expression "(long *)(lVar2 + 0x3c8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x3c8)" (( "(") (binary_expression "lVar2 + 0x3c8" (identifier "lVar2") (+ "+") (number_literal "0x3c8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));\n            if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(long *)param_1[6] = *(long *)param_1[6] + 1;" (assignment_expression "*(long *)param_1[6] = *(long *)param_1[6] + 1" (pointer_expression "*(long *)param_1[6]" (* "*") (cast_expression "(long *)param_1[6]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) (= "=") (binary_expression "*(long *)param_1[6] + 1" (pointer_expression "*(long *)param_1[6]" (* "*") (cast_expression "(long *)param_1[6]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28));" (assignment_expression "iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" (identifier "iVar8") (= "=") (call_expression "SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" (identifier "SetImageProgress") (argument_list "(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar2 + 0x28))" (( "(") (identifier "lVar2") (, ",") (string_literal ""ContrastStretch/Image"" (" """) (string_content "ContrastStretch/Image") (" """)) (, ",") (pointer_expression "*(undefined8 *)param_1[6]" (* "*") (cast_expression "(undefined8 *)param_1[6]" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) (, ",") (pointer_expression "*(undefined8 *)(lVar2 + 0x28)" (* "*") (cast_expression "(undefined8 *)(lVar2 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar8 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" (if "if") (parenthesized_expression "(iVar8 == 0)" (( "(") (binary_expression "iVar8 == 0" (identifier "iVar8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 7) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 7) = 0" (pointer_expression "*(undefined4 *)(param_1 + 7)" (* "*") (cast_expression "(undefined4 *)(param_1 + 7)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 7)" (( "(") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}"))) (} "}")))) (} "}"))) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" (identifier "lVar13") (= "=") (binary_expression "lVar13 + 1" (identifier "lVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar10 != lVar13)" (( "(") (binary_expression "lVar10 != lVar13" (identifier "lVar10") (!= "!=") (identifier "lVar13")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* 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 ContrastStretchImage._omp_fn.3(anon_struct_64_8_8e3616a7 *
   param_0) */

void __thiscall function_1(void *this)

{
  float var_14;
  type_1 *image;
  long var_13;
  long var_17;
  long var_11;
  type_2 *cache_view;
  type_3 *exception;
  int iVar5;
  int var_3;
  type_4 var_22;
  long var_5;
  type_5 *var_7;
  type_6 var_18;
  long var_4;
  size_t var_19;
  long var_12;
  long var_20;
  
                    /* WARNING: Load size is inaccurate */
  image = *this;
  var_19 = image->rows;
  iVar5 = var_1();
  var_3 = var_2();
  var_5 = (long)var_19 / (long)iVar5;
  var_4 = (long)var_19 % (long)iVar5;
  if (var_3 < var_4) {
    var_5 = var_5 + 1;
    var_4 = 0;
  }
  var_4 = var_3 * var_5 + var_4;
  var_5 = var_5 + var_4;
  if (var_4 < var_5) {
    var_13 = *(long *)((long)this + 0x28);
    var_17 = *(long *)((long)this + 0x20);
    var_11 = *(long *)((long)this + 0x18);
    cache_view = *(type_2 **)((long)this + 0x10);
    exception = *(type_3 **)((long)this + 8);
    do {
      if (*(int *)((long)this + 0x38) != 0) {
        var_7 = var_6(cache_view,0,var_4,image->columns,1,exception);
        if (var_7 == (type_5 *)0x0) {
          *(type_7 *)((long)this + 0x38) = 0;
        }
        else {
          if (0 < (long)image->columns) {
            var_20 = 0;
            do {
              var_19 = image->number_channels;
              var_12 = 0;
              if (0 < (long)var_19) {
                do {
                  if (((image->channel_map[image->channel_map[var_12].channel].traits &
                       var_8) != var_9) &&
                     ((var_10(*(double *)(var_11 + var_12 * 8)) || var_10(*(double *)(var_13 + var_12 * 8))
                      || (*(double *)(var_11 + var_12 * 8) != *(double *)(var_13 + var_12 * 8))))) {
                    var_14 = var_7[var_12];
                    var_18 = 0xffff;
                    if (var_14 < var_15) {
                      if (var_10(var_14)) {
                        var_18 = 0;
                      }
                      else {
                        var_18 = 0;
                        if (0.0 < var_14) {
                          var_18 = (type_6)(long)((double)var_14 + var_16);
                        }
                      }
                    }
                    var_7[var_12] = (float)*(double *)(var_17 + (var_18 * var_19 + var_12) * 8);
                  }
                  var_12 = var_12 + 1;
                  var_19 = image->number_channels;
                } while (var_12 < (long)var_19);
              }
              var_7 = var_7 + var_19;
              var_20 = var_20 + 1;
            } while (var_20 < (long)image->columns);
          }
          var_22 = var_21(cache_view,exception);
          if (var_22 == var_23) {
            *(type_7 *)((long)this + 0x38) = 0;
          }
          if (image->progress_monitor != (type_8)0x0) {
            var_24();
            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;
            var_25();
            var_22 = var_26(image,"ContrastStretch/Image",
                                     **(type_9 **)((long)this + 0x30),image->rows);
            if (var_22 == var_23) {
              *(type_7 *)((long)this + 0x38) = 0;
            }
          }
        }
      }
      var_4 = var_4 + 1;
    } while (var_5 != var_4);
  }
  return;
}


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

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

void MASKED(long *param_1)

{
  float fVar1;
  long lVar2;
  long lVar3;
  long lVar4;
  long lVar5;
  long lVar6;
  long lVar7;
  int iVar8;
  int iVar9;
  long lVar10;
  long lVar11;
  uint uVar12;
  long lVar13;
  long lVar14;
  long lVar15;
  long lVar16;
  
  lVar2 = *param_1;
  lVar13 = *(long *)(lVar2 + 0x28);
  iVar8 = omp_get_num_threads();
  iVar9 = omp_get_thread_num();
  lVar10 = lVar13 / (long)iVar8;
  lVar13 = lVar13 % (long)iVar8;
  if (iVar9 < lVar13) {
    lVar10 = lVar10 + 1;
    lVar13 = 0;
  }
  lVar13 = iVar9 * lVar10 + lVar13;
  lVar10 = lVar10 + lVar13;
  if (lVar13 < lVar10) {
    lVar3 = param_1[5];
    lVar4 = param_1[4];
    lVar5 = param_1[3];
    lVar6 = param_1[2];
    lVar7 = param_1[1];
    do {
      if ((int)param_1[7] != 0) {
        lVar11 = GetCacheViewAuthenticPixels(lVar6,0,lVar13,*(undefined8 *)(lVar2 + 0x20),1,lVar7);
        if (lVar11 == 0) {
          *(undefined4 *)(param_1 + 7) = 0;
        }
        else {
          if (0 < *(long *)(lVar2 + 0x20)) {
            lVar16 = 0;
            do {
              lVar14 = *(long *)(lVar2 + 0x340);
              lVar15 = 0;
              if (0 < lVar14) {
                do {
                  if (((*(byte *)(*(long *)(lVar2 + 0x360) + 4 +
                                 (ulong)*(uint *)(*(long *)(lVar2 + 0x360) + lVar15 * 0x10) * 0x10)
                       & 2) != 0) &&
                     ((NAN(*(double *)(lVar5 + lVar15 * 8)) || NAN(*(double *)(lVar3 + lVar15 * 8))
                      || (*(double *)(lVar5 + lVar15 * 8) != *(double *)(lVar3 + lVar15 * 8))))) {
                    fVar1 = *(float *)(lVar11 + lVar15 * 4);
                    uVar12 = 0xffff;
                    if (fVar1 < _DAT_003fa400) {
                      if (NAN(fVar1)) {
                        uVar12 = 0;
                      }
                      else {
                        uVar12 = 0;
                        if (0.0 < fVar1) {
                          uVar12 = (uint)(long)((double)fVar1 + DAT_003f9c28);
                        }
                      }
                    }
                    *(float *)(lVar11 + lVar15 * 4) =
                         (float)*(double *)(lVar4 + ((ulong)uVar12 * lVar14 + lVar15) * 8);
                  }
                  lVar15 = lVar15 + 1;
                  lVar14 = *(long *)(lVar2 + 0x340);
                } while (lVar15 < lVar14);
              }
              lVar11 = lVar11 + lVar14 * 4;
              lVar16 = lVar16 + 1;
            } while (lVar16 < *(long *)(lVar2 + 0x20));
          }
          iVar8 = SyncCacheViewAuthenticPixels(lVar6,lVar7);
          if (iVar8 == 0) {
            *(undefined4 *)(param_1 + 7) = 0;
          }
          if (*(long *)(lVar2 + 0x3c8) != 0) {
            LOCK();
            *(long *)param_1[6] = *(long *)param_1[6] + 1;
            UNLOCK();
            iVar8 = SetImageProgress(lVar2,"ContrastStretch/Image",*(undefined8 *)param_1[6],
                                     *(undefined8 *)(lVar2 + 0x28));
            if (iVar8 == 0) {
              *(undefined4 *)(param_1 + 7) = 0;
            }
          }
        }
      }
      lVar13 = lVar13 + 1;
    } while (lVar10 != lVar13);
  }
  return;
}

