
/* 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 LevelizeImage._omp_fn.10(anon_struct_64_8_b64f7f64 * param_0) */

void __thiscall LevelizeImage__omp_fn_10(void *this)

{
  double __y;
  double dVar1;
  double dVar2;
  Image *image;
  CacheView *cache_view;
  ExceptionInfo *exception;
  int iVar3;
  int iVar4;
  MagickBooleanType MVar5;
  long lVar6;
  size_t sVar7;
  Quantum *pQVar8;
  long lVar9;
  long lVar10;
  double __x;
  long local_60;
  
                    /* WARNING: Load size is inaccurate */
  image = *this;
  sVar7 = image->rows;
  iVar3 = omp_get_num_threads();
  iVar4 = omp_get_thread_num();
  lVar6 = (long)sVar7 / (long)iVar3;
  local_60 = (long)sVar7 % (long)iVar3;
  if (iVar4 < local_60) {
    lVar6 = lVar6 + 1;
    local_60 = 0;
  }
  local_60 = iVar4 * lVar6 + local_60;
  lVar6 = lVar6 + local_60;
  if (local_60 < lVar6) {
    cache_view = *(CacheView **)((long)this + 0x28);
    exception = *(ExceptionInfo **)((long)this + 0x20);
    __y = *(double *)((long)this + 0x18);
    dVar1 = *(double *)((long)this + 0x10);
    dVar2 = *(double *)((long)this + 8);
    do {
      if (*(int *)((long)this + 0x38) != 0) {
        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);
        if (pQVar8 == (Quantum *)0x0) {
          *(undefined4 *)((long)this + 0x38) = 0;
        }
        else {
          if (0 < (long)image->columns) {
            lVar10 = 0;
            do {
              sVar7 = image->number_channels;
              lVar9 = 0;
              if (0 < (long)sVar7) {
                do {
                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &
                      UpdatePixelTrait) != UndefinedPixelTrait) {
                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;
                    if (0.0 <= __x) {
                      __x = pow(__x,__y);
                    }
                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);
                  }
                  lVar9 = lVar9 + 1;
                  sVar7 = image->number_channels;
                } while (lVar9 < (long)sVar7);
              }
              pQVar8 = pQVar8 + sVar7;
              lVar10 = lVar10 + 1;
            } while (lVar10 < (long)image->columns);
          }
          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar5 == MagickFalse) {
            *(undefined4 *)((long)this + 0x38) = 0;
          }
          if (image->progress_monitor != (MagickProgressMonitor)0x0) {
            LOCK();
            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;
            UNLOCK();
            MVar5 = SetImageProgress(image,"Levelize/Image",
                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);
            if (MVar5 == MagickFalse) {
              *(undefined4 *)((long)this + 0x38) = 0;
            }
          }
        }
      }
      local_60 = local_60 + 1;
    } while (lVar6 != local_60);
  }
  return;
}



void FUN_001eec76(long *param_1)

{
  double __y;
  double dVar1;
  double dVar2;
  long lVar3;
  long lVar4;
  long lVar5;
  int iVar6;
  int iVar7;
  long lVar8;
  long lVar9;
  long lVar10;
  long lVar11;
  long lVar12;
  double __x;
  long local_60;
  
  lVar3 = *param_1;
  local_60 = *(long *)(lVar3 + 0x28);
  iVar6 = omp_get_num_threads();
  iVar7 = omp_get_thread_num();
  lVar8 = local_60 / (long)iVar6;
  local_60 = local_60 % (long)iVar6;
  if (iVar7 < local_60) {
    lVar8 = lVar8 + 1;
    local_60 = 0;
  }
  local_60 = iVar7 * lVar8 + local_60;
  lVar8 = lVar8 + local_60;
  if (local_60 < lVar8) {
    lVar4 = param_1[5];
    lVar5 = param_1[4];
    __y = (double)param_1[3];
    dVar1 = (double)param_1[2];
    dVar2 = (double)param_1[1];
    do {
      if ((int)param_1[7] != 0) {
        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)
        ;
        if (lVar10 == 0) {
          *(undefined4 *)(param_1 + 7) = 0;
        }
        else {
          if (0 < *(long *)(lVar3 + 0x20)) {
            lVar12 = 0;
            do {
              lVar9 = *(long *)(lVar3 + 0x340);
              lVar11 = 0;
              if (0 < lVar9) {
                do {
                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +
                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &
                      2) != 0) {
                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;
                    if (0.0 <= __x) {
                      __x = pow(__x,__y);
                    }
                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);
                  }
                  lVar11 = lVar11 + 1;
                  lVar9 = *(long *)(lVar3 + 0x340);
                } while (lVar11 < lVar9);
              }
              lVar10 = lVar10 + lVar9 * 4;
              lVar12 = lVar12 + 1;
            } while (lVar12 < *(long *)(lVar3 + 0x20));
          }
          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);
          if (iVar6 == 0) {
            *(undefined4 *)(param_1 + 7) = 0;
          }
          if (*(long *)(lVar3 + 0x3c8) != 0) {
            LOCK();
            *(long *)param_1[6] = *(long *)param_1[6] + 1;
            UNLOCK();
            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],
                                     *(undefined8 *)(lVar3 + 0x28));
            if (iVar6 == 0) {
              *(undefined4 *)(param_1 + 7) = 0;
            }
          }
        }
      }
      local_60 = local_60 + 1;
    } while (lVar8 != local_60);
  }
  return;
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0x48
MOV R15,RDI
MOV RBP,qword ptr [RDI]
MOV RBX,qword ptr [RBP + 0x28]
CALL 0x00149d40
MOVSXD R12,EAX
CALL 0x0014af50
MOVSXD RDI,EAX
MOV RAX,RBX
CQO
IDIV R12
MOV RSI,RAX
MOV RCX,RDX
CMP RDI,RDX
JL 0x001eee72
IMUL RDI,RSI
LEA RAX,[RDI + RCX*0x1]
MOV qword ptr [RSP + 0x18],RAX
ADD RSI,RAX
MOV qword ptr [RSP + 0x28],RSI
CMP RAX,RSI
JGE 0x001eee80
MOV RAX,qword ptr [R15 + 0x28]
MOV qword ptr [RSP + 0x30],RAX
MOV RAX,qword ptr [R15 + 0x20]
MOV qword ptr [RSP + 0x38],RAX
MOVSD XMM5,qword ptr [R15 + 0x18]
MOVSD qword ptr [RSP + 0x20],XMM5
MOVSD XMM6,qword ptr [R15 + 0x10]
MOVSD qword ptr [RSP + 0x8],XMM6
MOVSD XMM7,qword ptr [R15 + 0x8]
MOVSD qword ptr [RSP + 0x10],XMM7
JMP 0x001eee2a
MOV RSI,qword ptr [RSP + 0x38]
MOV RDI,qword ptr [RSP + 0x30]
CALL 0x0014af90
TEST EAX,EAX
JZ 0x001eed67
CMP qword ptr [RBP + 0x3c8],0x0
JZ 0x001eee18
MOV RAX,qword ptr [R15 + 0x30]
ADD.LOCK qword ptr [RAX],0x1
MOV RCX,qword ptr [RBP + 0x28]
MOV RAX,qword ptr [R15 + 0x30]
MOV RDX,qword ptr [RAX]
LEA RSI,[0x41acac]
MOV RDI,RBP
CALL 0x0014d780
TEST EAX,EAX
JNZ 0x001eee18
MOV dword ptr [R15 + 0x38],0x0
JMP 0x001eee18
MOV dword ptr [R15 + 0x38],0x0
JMP 0x001eed21
LEA R12,[R12 + RAX*0x4]
ADD R14,0x1
CMP qword ptr [RBP + 0x20],R14
JLE 0x001eed0e
MOV RAX,qword ptr [RBP + 0x340]
MOV EBX,0x0
TEST RAX,RAX
JG 0x001eedc8
JMP 0x001eed71
MOVSD XMM1,qword ptr [RSP + 0x8]
MOVSD XMM2,qword ptr [RSP + 0x10]
SUBSD XMM1,XMM2
MULSD XMM0,XMM1
ADDSD XMM0,XMM2
PXOR XMM4,XMM4
CVTSD2SS XMM4,XMM0
MOVSS dword ptr [R12 + R13*0x4],XMM4
ADD RBX,0x1
MOV RAX,qword ptr [RBP + 0x340]
CMP RAX,RBX
JLE 0x001eed71
MOV RDX,qword ptr [RBP + 0x360]
MOV R13,RBX
MOV RAX,RBX
SHL RAX,0x4
MOV EAX,dword ptr [RDX + RAX*0x1]
SHL RAX,0x4
TEST byte ptr [RDX + RAX*0x1 + 0x4],0x2
JZ 0x001eedb8
PXOR XMM0,XMM0
CVTSS2SD XMM0,dword ptr [R12 + RBX*0x4]
MULSD XMM0,qword ptr [0x003f9c60]
PXOR XMM3,XMM3
UCOMISD XMM3,XMM0
JA 0x001eed92
MOVSD XMM1,qword ptr [RSP + 0x20]
CALL 0x0014b900
JMP 0x001eed92
MOV dword ptr [R15 + 0x38],0x0
ADD qword ptr [RSP + 0x18],0x1
MOV RAX,qword ptr [RSP + 0x18]
CMP qword ptr [RSP + 0x28],RAX
JZ 0x001eee80
CMP dword ptr [R15 + 0x38],0x0
JZ 0x001eee18
MOV RCX,qword ptr [RBP + 0x20]
MOV R9,qword ptr [RSP + 0x38]
MOV R8D,0x1
MOV RDX,qword ptr [RSP + 0x18]
MOV ESI,0x0
MOV RDI,qword ptr [RSP + 0x30]
CALL 0x0014a9e0
MOV R12,RAX
TEST RAX,RAX
JZ 0x001eee10
CMP qword ptr [RBP + 0x20],0x0
JLE 0x001eed0e
MOV R14D,0x0
JMP 0x001eed7f
LEA RSI,[RAX + 0x1]
MOV ECX,0x0
JMP 0x001eecb5
ADD RSP,0x48
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
(translation_unit "void FUN_001eec76(long *param_1)\n\n{\n  double __y;\n  double dVar1;\n  double dVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  int iVar6;\n  int iVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  long lVar12;\n  double __x;\n  long local_60;\n  \n  lVar3 = *param_1;\n  local_60 = *(long *)(lVar3 + 0x28);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  lVar8 = local_60 / (long)iVar6;\n  local_60 = local_60 % (long)iVar6;\n  if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar7 * lVar8 + local_60;\n  lVar8 = lVar8 + local_60;\n  if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001eec76(long *param_1)\n\n{\n  double __y;\n  double dVar1;\n  double dVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  int iVar6;\n  int iVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  long lVar12;\n  double __x;\n  long local_60;\n  \n  lVar3 = *param_1;\n  local_60 = *(long *)(lVar3 + 0x28);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  lVar8 = local_60 / (long)iVar6;\n  local_60 = local_60 % (long)iVar6;\n  if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar7 * lVar8 + local_60;\n  lVar8 = lVar8 + local_60;\n  if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001eec76(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  double __y;\n  double dVar1;\n  double dVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  int iVar6;\n  int iVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  long lVar12;\n  double __x;\n  long local_60;\n  \n  lVar3 = *param_1;\n  local_60 = *(long *)(lVar3 + 0x28);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  lVar8 = local_60 / (long)iVar6;\n  local_60 = local_60 % (long)iVar6;\n  if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar7 * lVar8 + local_60;\n  lVar8 = lVar8 + local_60;\n  if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }\n  return;\n}" { (declaration "double __y;" primitive_type identifier ;) (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type 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 "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "double __x;" primitive_type identifier ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_60 = *(long *)(lVar3 + 0x28);" (assignment_expression "local_60 = *(long *)(lVar3 + 0x28)" identifier = (pointer_expression "*(long *)(lVar3 + 0x28)" * (cast_expression "(long *)(lVar3 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = omp_get_num_threads();" (assignment_expression "iVar6 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar8 = local_60 / (long)iVar6;" (assignment_expression "lVar8 = local_60 / (long)iVar6" identifier = (binary_expression "local_60 / (long)iVar6" identifier / (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_60 = local_60 % (long)iVar6;" (assignment_expression "local_60 = local_60 % (long)iVar6" identifier = (binary_expression "local_60 % (long)iVar6" identifier % (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }" if (parenthesized_expression "(iVar7 < local_60)" ( (binary_expression "iVar7 < local_60" identifier < identifier) )) (compound_statement "{\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }" { (expression_statement "lVar8 = lVar8 + 1;" (assignment_expression "lVar8 = lVar8 + 1" identifier = (binary_expression "lVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) })) (expression_statement "local_60 = iVar7 * lVar8 + local_60;" (assignment_expression "local_60 = iVar7 * lVar8 + local_60" identifier = (binary_expression "iVar7 * lVar8 + local_60" (binary_expression "iVar7 * lVar8" identifier * identifier) + identifier)) ;) (expression_statement "lVar8 = lVar8 + local_60;" (assignment_expression "lVar8 = lVar8 + local_60" identifier = (binary_expression "lVar8 + local_60" identifier + identifier)) ;) (if_statement "if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }" if (parenthesized_expression "(local_60 < lVar8)" ( (binary_expression "local_60 < lVar8" identifier < identifier) )) (compound_statement "{\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }" { (expression_statement "lVar4 = param_1[5];" (assignment_expression "lVar4 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "lVar5 = param_1[4];" (assignment_expression "lVar5 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "__y = (double)param_1[3];" (assignment_expression "__y = (double)param_1[3]" identifier = (cast_expression "(double)param_1[3]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "dVar1 = (double)param_1[2];" (assignment_expression "dVar1 = (double)param_1[2]" identifier = (cast_expression "(double)param_1[2]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "dVar2 = (double)param_1[1];" (assignment_expression "dVar2 = (double)param_1[1]" identifier = (cast_expression "(double)param_1[1]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (do_statement "do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);" do (compound_statement "{\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    }" { (if_statement "if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 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        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;" (assignment_expression "lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" identifier = (call_expression "GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" identifier (argument_list "(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(lVar3 + 0x20)" * (cast_expression "(undefined8 *)(lVar3 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" if (parenthesized_expression "(lVar10 == 0)" ( (binary_expression "lVar10 == 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 *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" { (if_statement "if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }" if (parenthesized_expression "(0 < *(long *)(lVar3 + 0x20))" ( (binary_expression "0 < *(long *)(lVar3 + 0x20)" number_literal < (pointer_expression "*(long *)(lVar3 + 0x20)" * (cast_expression "(long *)(lVar3 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));" do (compound_statement "{\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            }" { (expression_statement "lVar9 = *(long *)(lVar3 + 0x340);" (assignment_expression "lVar9 = *(long *)(lVar3 + 0x340)" identifier = (pointer_expression "*(long *)(lVar3 + 0x340)" * (cast_expression "(long *)(lVar3 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x340)" ( (binary_expression "lVar3 + 0x340" identifier + number_literal) ))))) ;) (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" identifier = number_literal) ;) (if_statement "if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }" if (parenthesized_expression "(0 < lVar9)" ( (binary_expression "0 < lVar9" number_literal < identifier) )) (compound_statement "{\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }" { (do_statement "do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);" do (compound_statement "{\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                }" { (if_statement "if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }" if (parenthesized_expression "((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0)" ( (binary_expression "(*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0" (parenthesized_expression "(*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2)" ( (binary_expression "*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2" (pointer_expression "*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" * (cast_expression "(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" ( (binary_expression "*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10" (binary_expression "*(long *)(lVar3 + 0x360) + 4" (pointer_expression "*(long *)(lVar3 + 0x360)" * (cast_expression "(long *)(lVar3 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x360)" ( (binary_expression "lVar3 + 0x360" identifier + number_literal) )))) + number_literal) + (binary_expression "(ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" ( (binary_expression "*(long *)(lVar3 + 0x360) + lVar11 * 0x10" (pointer_expression "*(long *)(lVar3 + 0x360)" * (cast_expression "(long *)(lVar3 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x360)" ( (binary_expression "lVar3 + 0x360" identifier + number_literal) )))) + (binary_expression "lVar11 * 0x10" identifier * number_literal)) )))) * number_literal)) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }" { (expression_statement "__x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;" (assignment_expression "__x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60" identifier = (binary_expression "(double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60" (cast_expression "(double)*(float *)(lVar10 + lVar11 * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar10 + lVar11 * 4)" * (cast_expression "(float *)(lVar10 + lVar11 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + lVar11 * 4)" ( (binary_expression "lVar10 + lVar11 * 4" identifier + (binary_expression "lVar11 * 4" identifier * number_literal)) ))))) * identifier)) ;) (if_statement "if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }" if (parenthesized_expression "(0.0 <= __x)" ( (binary_expression "0.0 <= __x" number_literal <= identifier) )) (compound_statement "{\n                      __x = pow(__x,__y);\n                    }" { (expression_statement "__x = pow(__x,__y);" (assignment_expression "__x = pow(__x,__y)" identifier = (call_expression "pow(__x,__y)" identifier (argument_list "(__x,__y)" ( identifier , identifier )))) ;) })) (expression_statement "*(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);" (assignment_expression "*(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2)" (pointer_expression "*(float *)(lVar10 + lVar11 * 4)" * (cast_expression "(float *)(lVar10 + lVar11 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + lVar11 * 4)" ( (binary_expression "lVar10 + lVar11 * 4" identifier + (binary_expression "lVar11 * 4" identifier * number_literal)) )))) = (cast_expression "(float)(__x * (dVar1 - dVar2) + dVar2)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(__x * (dVar1 - dVar2) + dVar2)" ( (binary_expression "__x * (dVar1 - dVar2) + dVar2" (binary_expression "__x * (dVar1 - dVar2)" identifier * (parenthesized_expression "(dVar1 - dVar2)" ( (binary_expression "dVar1 - dVar2" identifier - identifier) ))) + identifier) )))) ;) })) (expression_statement "lVar11 = lVar11 + 1;" (assignment_expression "lVar11 = lVar11 + 1" identifier = (binary_expression "lVar11 + 1" identifier + number_literal)) ;) (expression_statement "lVar9 = *(long *)(lVar3 + 0x340);" (assignment_expression "lVar9 = *(long *)(lVar3 + 0x340)" identifier = (pointer_expression "*(long *)(lVar3 + 0x340)" * (cast_expression "(long *)(lVar3 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x340)" ( (binary_expression "lVar3 + 0x340" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(lVar11 < lVar9)" ( (binary_expression "lVar11 < lVar9" identifier < identifier) )) ;) })) (expression_statement "lVar10 = lVar10 + lVar9 * 4;" (assignment_expression "lVar10 = lVar10 + lVar9 * 4" identifier = (binary_expression "lVar10 + lVar9 * 4" identifier + (binary_expression "lVar9 * 4" identifier * number_literal))) ;) (expression_statement "lVar12 = lVar12 + 1;" (assignment_expression "lVar12 = lVar12 + 1" identifier = (binary_expression "lVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar12 < *(long *)(lVar3 + 0x20))" ( (binary_expression "lVar12 < *(long *)(lVar3 + 0x20)" identifier < (pointer_expression "*(long *)(lVar3 + 0x20)" * (cast_expression "(long *)(lVar3 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);" (assignment_expression "iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5)" identifier = (call_expression "SyncCacheViewAuthenticPixels(lVar4,lVar5)" identifier (argument_list "(lVar4,lVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 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 *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" if (parenthesized_expression "(*(long *)(lVar3 + 0x3c8) != 0)" ( (binary_expression "*(long *)(lVar3 + 0x3c8) != 0" (pointer_expression "*(long *)(lVar3 + 0x3c8)" * (cast_expression "(long *)(lVar3 + 0x3c8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x3c8)" ( (binary_expression "lVar3 + 0x3c8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 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 "iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));" (assignment_expression "iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" identifier = (call_expression "SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" identifier (argument_list "(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" ( identifier , (string_literal ""Levelize/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 *)(lVar3 + 0x28)" * (cast_expression "(undefined8 *)(lVar3 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 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 "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar8 != local_60)" ( (binary_expression "lVar8 != local_60" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* 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 LevelizeImage._omp_fn.10(anon_struct_64_8_b64f7f64 * param_0) */\n\nvoid __thiscall LevelizeImage__omp_fn_10(void *this)\n\n{\n  double __y;\n  double dVar1;\n  double dVar2;\n  Image *image;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  int iVar3;\n  int iVar4;\n  MagickBooleanType MVar5;\n  long lVar6;\n  size_t sVar7;\n  Quantum *pQVar8;\n  long lVar9;\n  long lVar10;\n  double __x;\n  long local_60;\n  \n                    /* WARNING: Load size is inaccurate */\n  image = *this;\n  sVar7 = image->rows;\n  iVar3 = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  lVar6 = (long)sVar7 / (long)iVar3;\n  local_60 = (long)sVar7 % (long)iVar3;\n  if (iVar4 < local_60) {\n    lVar6 = lVar6 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar4 * lVar6 + local_60;\n  lVar6 = lVar6 + local_60;\n  if (local_60 < lVar6) {\n    cache_view = *(CacheView **)((long)this + 0x28);\n    exception = *(ExceptionInfo **)((long)this + 0x20);\n    __y = *(double *)((long)this + 0x18);\n    dVar1 = *(double *)((long)this + 0x10);\n    dVar2 = *(double *)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar6 != local_60);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment (function_definition "void __thiscall LevelizeImage__omp_fn_10(void *this)\n\n{\n  double __y;\n  double dVar1;\n  double dVar2;\n  Image *image;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  int iVar3;\n  int iVar4;\n  MagickBooleanType MVar5;\n  long lVar6;\n  size_t sVar7;\n  Quantum *pQVar8;\n  long lVar9;\n  long lVar10;\n  double __x;\n  long local_60;\n  \n                    /* WARNING: Load size is inaccurate */\n  image = *this;\n  sVar7 = image->rows;\n  iVar3 = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  lVar6 = (long)sVar7 / (long)iVar3;\n  local_60 = (long)sVar7 % (long)iVar3;\n  if (iVar4 < local_60) {\n    lVar6 = lVar6 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar4 * lVar6 + local_60;\n  lVar6 = lVar6 + local_60;\n  if (local_60 < lVar6) {\n    cache_view = *(CacheView **)((long)this + 0x28);\n    exception = *(ExceptionInfo **)((long)this + 0x20);\n    __y = *(double *)((long)this + 0x18);\n    dVar1 = *(double *)((long)this + 0x10);\n    dVar2 = *(double *)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar6 != local_60);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "LevelizeImage__omp_fn_10(void *this)" identifier (parameter_list "(void *this)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  double __y;\n  double dVar1;\n  double dVar2;\n  Image *image;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  int iVar3;\n  int iVar4;\n  MagickBooleanType MVar5;\n  long lVar6;\n  size_t sVar7;\n  Quantum *pQVar8;\n  long lVar9;\n  long lVar10;\n  double __x;\n  long local_60;\n  \n                    /* WARNING: Load size is inaccurate */\n  image = *this;\n  sVar7 = image->rows;\n  iVar3 = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  lVar6 = (long)sVar7 / (long)iVar3;\n  local_60 = (long)sVar7 % (long)iVar3;\n  if (iVar4 < local_60) {\n    lVar6 = lVar6 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar4 * lVar6 + local_60;\n  lVar6 = lVar6 + local_60;\n  if (local_60 < lVar6) {\n    cache_view = *(CacheView **)((long)this + 0x28);\n    exception = *(ExceptionInfo **)((long)this + 0x20);\n    __y = *(double *)((long)this + 0x18);\n    dVar1 = *(double *)((long)this + 0x10);\n    dVar2 = *(double *)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar6 != local_60);\n  }\n  return;\n}" { (declaration "double __y;" primitive_type identifier ;) (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type identifier ;) (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "MagickBooleanType MVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "size_t sVar7;" primitive_type identifier ;) (declaration "Quantum *pQVar8;" type_identifier (pointer_declarator "*pQVar8" * identifier) ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "double __x;" primitive_type identifier ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) comment (expression_statement "image = *this;" (assignment_expression "image = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "sVar7 = image->rows;" (assignment_expression "sVar7 = image->rows" identifier = (field_expression "image->rows" identifier -> field_identifier)) ;) (expression_statement "iVar3 = omp_get_num_threads();" (assignment_expression "iVar3 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = omp_get_thread_num();" (assignment_expression "iVar4 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar6 = (long)sVar7 / (long)iVar3;" (assignment_expression "lVar6 = (long)sVar7 / (long)iVar3" identifier = (binary_expression "(long)sVar7 / (long)iVar3" (cast_expression "(long)sVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) / (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_60 = (long)sVar7 % (long)iVar3;" (assignment_expression "local_60 = (long)sVar7 % (long)iVar3" identifier = (binary_expression "(long)sVar7 % (long)iVar3" (cast_expression "(long)sVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) % (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar4 < local_60) {\n    lVar6 = lVar6 + 1;\n    local_60 = 0;\n  }" if (parenthesized_expression "(iVar4 < local_60)" ( (binary_expression "iVar4 < local_60" identifier < identifier) )) (compound_statement "{\n    lVar6 = lVar6 + 1;\n    local_60 = 0;\n  }" { (expression_statement "lVar6 = lVar6 + 1;" (assignment_expression "lVar6 = lVar6 + 1" identifier = (binary_expression "lVar6 + 1" identifier + number_literal)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) })) (expression_statement "local_60 = iVar4 * lVar6 + local_60;" (assignment_expression "local_60 = iVar4 * lVar6 + local_60" identifier = (binary_expression "iVar4 * lVar6 + local_60" (binary_expression "iVar4 * lVar6" identifier * identifier) + identifier)) ;) (expression_statement "lVar6 = lVar6 + local_60;" (assignment_expression "lVar6 = lVar6 + local_60" identifier = (binary_expression "lVar6 + local_60" identifier + identifier)) ;) (if_statement "if (local_60 < lVar6) {\n    cache_view = *(CacheView **)((long)this + 0x28);\n    exception = *(ExceptionInfo **)((long)this + 0x20);\n    __y = *(double *)((long)this + 0x18);\n    dVar1 = *(double *)((long)this + 0x10);\n    dVar2 = *(double *)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar6 != local_60);\n  }" if (parenthesized_expression "(local_60 < lVar6)" ( (binary_expression "local_60 < lVar6" identifier < identifier) )) (compound_statement "{\n    cache_view = *(CacheView **)((long)this + 0x28);\n    exception = *(ExceptionInfo **)((long)this + 0x20);\n    __y = *(double *)((long)this + 0x18);\n    dVar1 = *(double *)((long)this + 0x10);\n    dVar2 = *(double *)((long)this + 8);\n    do {\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar6 != local_60);\n  }" { (expression_statement "cache_view = *(CacheView **)((long)this + 0x28);" (assignment_expression "cache_view = *(CacheView **)((long)this + 0x28)" identifier = (pointer_expression "*(CacheView **)((long)this + 0x28)" * (cast_expression "(CacheView **)((long)this + 0x28)" ( (type_descriptor "CacheView **" type_identifier (abstract_pointer_declarator "**" * (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 "exception = *(ExceptionInfo **)((long)this + 0x20);" (assignment_expression "exception = *(ExceptionInfo **)((long)this + 0x20)" identifier = (pointer_expression "*(ExceptionInfo **)((long)this + 0x20)" * (cast_expression "(ExceptionInfo **)((long)this + 0x20)" ( (type_descriptor "ExceptionInfo **" type_identifier (abstract_pointer_declarator "**" * (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 "__y = *(double *)((long)this + 0x18);" (assignment_expression "__y = *(double *)((long)this + 0x18)" identifier = (pointer_expression "*(double *)((long)this + 0x18)" * (cast_expression "(double *)((long)this + 0x18)" ( (type_descriptor "double *" primitive_type (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 "dVar1 = *(double *)((long)this + 0x10);" (assignment_expression "dVar1 = *(double *)((long)this + 0x10)" identifier = (pointer_expression "*(double *)((long)this + 0x10)" * (cast_expression "(double *)((long)this + 0x10)" ( (type_descriptor "double *" primitive_type (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 "dVar2 = *(double *)((long)this + 8);" (assignment_expression "dVar2 = *(double *)((long)this + 8)" identifier = (pointer_expression "*(double *)((long)this + 8)" * (cast_expression "(double *)((long)this + 8)" ( (type_descriptor "double *" primitive_type (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        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar6 != local_60);" do (compound_statement "{\n      if (*(int *)((long)this + 0x38) != 0) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    }" { (if_statement "if (*(int *)((long)this + 0x38) != 0) {\n        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == 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        pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);\n        if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception);" (assignment_expression "pQVar8 = GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception)" identifier = (call_expression "GetCacheViewAuthenticPixels(cache_view,0,local_60,image->columns,1,exception)" identifier (argument_list "(cache_view,0,local_60,image->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (pQVar8 == (Quantum *)0x0) {\n          *(undefined4 *)((long)this + 0x38) = 0;\n        }\n        else {\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }" if (parenthesized_expression "(pQVar8 == (Quantum *)0x0)" ( (binary_expression "pQVar8 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          *(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            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }\n          MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }\n          }\n        }" { (if_statement "if (0 < (long)image->columns) {\n            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (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            lVar10 = 0;\n            do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);\n          }" { (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            } while (lVar10 < (long)image->columns);" do (compound_statement "{\n              sVar7 = image->number_channels;\n              lVar9 = 0;\n              if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }\n              pQVar8 = pQVar8 + sVar7;\n              lVar10 = lVar10 + 1;\n            }" { (expression_statement "sVar7 = image->number_channels;" (assignment_expression "sVar7 = image->number_channels" identifier = (field_expression "image->number_channels" identifier -> field_identifier)) ;) (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (if_statement "if (0 < (long)sVar7) {\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }" if (parenthesized_expression "(0 < (long)sVar7)" ( (binary_expression "0 < (long)sVar7" number_literal < (cast_expression "(long)sVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);\n              }" { (do_statement "do {\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                } while (lVar9 < (long)sVar7);" do (compound_statement "{\n                  if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar9 = lVar9 + 1;\n                  sVar7 = image->number_channels;\n                }" { (if_statement "if ((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait) {\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }" if (parenthesized_expression "((image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait)" ( (binary_expression "(image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait) != UndefinedPixelTrait" (parenthesized_expression "(image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait)" ( (binary_expression "image->channel_map[image->channel_map[lVar9].channel].traits &\n                      UpdatePixelTrait" (field_expression "image->channel_map[image->channel_map[lVar9].channel].traits" (subscript_expression "image->channel_map[image->channel_map[lVar9].channel]" (field_expression "image->channel_map" identifier -> field_identifier) [ (field_expression "image->channel_map[lVar9].channel" (subscript_expression "image->channel_map[lVar9]" (field_expression "image->channel_map" identifier -> field_identifier) [ identifier ]) . field_identifier) ]) . field_identifier) & identifier) )) != identifier) )) (compound_statement "{\n                    __x = (double)pQVar8[lVar9] * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }" { (expression_statement "__x = (double)pQVar8[lVar9] * DAT_003f9c60;" (assignment_expression "__x = (double)pQVar8[lVar9] * DAT_003f9c60" identifier = (binary_expression "(double)pQVar8[lVar9] * DAT_003f9c60" (cast_expression "(double)pQVar8[lVar9]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pQVar8[lVar9]" identifier [ identifier ])) * identifier)) ;) (if_statement "if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }" if (parenthesized_expression "(0.0 <= __x)" ( (binary_expression "0.0 <= __x" number_literal <= identifier) )) (compound_statement "{\n                      __x = pow(__x,__y);\n                    }" { (expression_statement "__x = pow(__x,__y);" (assignment_expression "__x = pow(__x,__y)" identifier = (call_expression "pow(__x,__y)" identifier (argument_list "(__x,__y)" ( identifier , identifier )))) ;) })) (expression_statement "pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2);" (assignment_expression "pQVar8[lVar9] = (float)(__x * (dVar1 - dVar2) + dVar2)" (subscript_expression "pQVar8[lVar9]" identifier [ identifier ]) = (cast_expression "(float)(__x * (dVar1 - dVar2) + dVar2)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(__x * (dVar1 - dVar2) + dVar2)" ( (binary_expression "__x * (dVar1 - dVar2) + dVar2" (binary_expression "__x * (dVar1 - dVar2)" identifier * (parenthesized_expression "(dVar1 - dVar2)" ( (binary_expression "dVar1 - dVar2" identifier - identifier) ))) + identifier) )))) ;) })) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) (expression_statement "sVar7 = image->number_channels;" (assignment_expression "sVar7 = image->number_channels" identifier = (field_expression "image->number_channels" identifier -> field_identifier)) ;) }) while (parenthesized_expression "(lVar9 < (long)sVar7)" ( (binary_expression "lVar9 < (long)sVar7" identifier < (cast_expression "(long)sVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) ;) })) (expression_statement "pQVar8 = pQVar8 + sVar7;" (assignment_expression "pQVar8 = pQVar8 + sVar7" identifier = (binary_expression "pQVar8 + sVar7" identifier + identifier)) ;) (expression_statement "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" identifier = (binary_expression "lVar10 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 < (long)image->columns)" ( (binary_expression "lVar10 < (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 "MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar5 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar5 == MagickFalse) {\n            *(undefined4 *)((long)this + 0x38) = 0;\n          }" if (parenthesized_expression "(MVar5 == MagickFalse)" ( (binary_expression "MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == 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            MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);\n            if (MVar5 == 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 "MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows);" (assignment_expression "MVar5 = SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows)" identifier = (call_expression "SetImageProgress(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows)" identifier (argument_list "(image,"Levelize/Image",\n                                     **(MagickOffsetType **)((long)this + 0x30),image->rows)" ( identifier , (string_literal ""Levelize/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 (MVar5 == MagickFalse) {\n              *(undefined4 *)((long)this + 0x38) = 0;\n            }" if (parenthesized_expression "(MVar5 == MagickFalse)" ( (binary_expression "MVar5 == 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 "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar6 != local_60)" ( (binary_expression "lVar6 != local_60" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001eec76(long *param_1)\n\n{\n  double __y;\n  double dVar1;\n  double dVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  int iVar6;\n  int iVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  long lVar12;\n  double __x;\n  long local_60;\n  \n  lVar3 = *param_1;\n  local_60 = *(long *)(lVar3 + 0x28);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  lVar8 = local_60 / (long)iVar6;\n  local_60 = local_60 % (long)iVar6;\n  if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar7 * lVar8 + local_60;\n  lVar8 = lVar8 + local_60;\n  if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }\n  return;\n}\n\n" (function_definition "void FUN_001eec76(long *param_1)\n\n{\n  double __y;\n  double dVar1;\n  double dVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  int iVar6;\n  int iVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  long lVar12;\n  double __x;\n  long local_60;\n  \n  lVar3 = *param_1;\n  local_60 = *(long *)(lVar3 + 0x28);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  lVar8 = local_60 / (long)iVar6;\n  local_60 = local_60 % (long)iVar6;\n  if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar7 * lVar8 + local_60;\n  lVar8 = lVar8 + local_60;\n  if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_001eec76(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  double __y;\n  double dVar1;\n  double dVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  int iVar6;\n  int iVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  long lVar12;\n  double __x;\n  long local_60;\n  \n  lVar3 = *param_1;\n  local_60 = *(long *)(lVar3 + 0x28);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  lVar8 = local_60 / (long)iVar6;\n  local_60 = local_60 % (long)iVar6;\n  if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar7 * lVar8 + local_60;\n  lVar8 = lVar8 + local_60;\n  if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }\n  return;\n}" { (declaration "double __y;" primitive_type identifier ;) (declaration "double dVar1;" primitive_type identifier ;) (declaration "double dVar2;" primitive_type 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 "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "double __x;" primitive_type identifier ;) (declaration "long local_60;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_60 = *(long *)(lVar3 + 0x28);" (assignment_expression "local_60 = *(long *)(lVar3 + 0x28)" identifier = (pointer_expression "*(long *)(lVar3 + 0x28)" * (cast_expression "(long *)(lVar3 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = omp_get_num_threads();" (assignment_expression "iVar6 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "lVar8 = local_60 / (long)iVar6;" (assignment_expression "lVar8 = local_60 / (long)iVar6" identifier = (binary_expression "local_60 / (long)iVar6" identifier / (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "local_60 = local_60 % (long)iVar6;" (assignment_expression "local_60 = local_60 % (long)iVar6" identifier = (binary_expression "local_60 % (long)iVar6" identifier % (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }" if (parenthesized_expression "(iVar7 < local_60)" ( (binary_expression "iVar7 < local_60" identifier < identifier) )) (compound_statement "{\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }" { (expression_statement "lVar8 = lVar8 + 1;" (assignment_expression "lVar8 = lVar8 + 1" identifier = (binary_expression "lVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" identifier = number_literal) ;) })) (expression_statement "local_60 = iVar7 * lVar8 + local_60;" (assignment_expression "local_60 = iVar7 * lVar8 + local_60" identifier = (binary_expression "iVar7 * lVar8 + local_60" (binary_expression "iVar7 * lVar8" identifier * identifier) + identifier)) ;) (expression_statement "lVar8 = lVar8 + local_60;" (assignment_expression "lVar8 = lVar8 + local_60" identifier = (binary_expression "lVar8 + local_60" identifier + identifier)) ;) (if_statement "if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }" if (parenthesized_expression "(local_60 < lVar8)" ( (binary_expression "local_60 < lVar8" identifier < identifier) )) (compound_statement "{\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }" { (expression_statement "lVar4 = param_1[5];" (assignment_expression "lVar4 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "lVar5 = param_1[4];" (assignment_expression "lVar5 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "__y = (double)param_1[3];" (assignment_expression "__y = (double)param_1[3]" identifier = (cast_expression "(double)param_1[3]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "dVar1 = (double)param_1[2];" (assignment_expression "dVar1 = (double)param_1[2]" identifier = (cast_expression "(double)param_1[2]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) ;) (expression_statement "dVar2 = (double)param_1[1];" (assignment_expression "dVar2 = (double)param_1[1]" identifier = (cast_expression "(double)param_1[1]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (do_statement "do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);" do (compound_statement "{\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    }" { (if_statement "if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 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        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" { (expression_statement "lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;" (assignment_expression "lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" identifier = (call_expression "GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" identifier (argument_list "(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined8 *)(lVar3 + 0x20)" * (cast_expression "(undefined8 *)(lVar3 + 0x20)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" if (parenthesized_expression "(lVar10 == 0)" ( (binary_expression "lVar10 == 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 *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" else (compound_statement "{\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" { (if_statement "if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }" if (parenthesized_expression "(0 < *(long *)(lVar3 + 0x20))" ( (binary_expression "0 < *(long *)(lVar3 + 0x20)" number_literal < (pointer_expression "*(long *)(lVar3 + 0x20)" * (cast_expression "(long *)(lVar3 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) ))))) )) (compound_statement "{\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }" { (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (do_statement "do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));" do (compound_statement "{\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            }" { (expression_statement "lVar9 = *(long *)(lVar3 + 0x340);" (assignment_expression "lVar9 = *(long *)(lVar3 + 0x340)" identifier = (pointer_expression "*(long *)(lVar3 + 0x340)" * (cast_expression "(long *)(lVar3 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x340)" ( (binary_expression "lVar3 + 0x340" identifier + number_literal) ))))) ;) (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" identifier = number_literal) ;) (if_statement "if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }" if (parenthesized_expression "(0 < lVar9)" ( (binary_expression "0 < lVar9" number_literal < identifier) )) (compound_statement "{\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }" { (do_statement "do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);" do (compound_statement "{\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                }" { (if_statement "if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }" if (parenthesized_expression "((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0)" ( (binary_expression "(*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0" (parenthesized_expression "(*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2)" ( (binary_expression "*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2" (pointer_expression "*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" * (cast_expression "(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" ( (binary_expression "*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10" (binary_expression "*(long *)(lVar3 + 0x360) + 4" (pointer_expression "*(long *)(lVar3 + 0x360)" * (cast_expression "(long *)(lVar3 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x360)" ( (binary_expression "lVar3 + 0x360" identifier + number_literal) )))) + number_literal) + (binary_expression "(ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" ( (binary_expression "*(long *)(lVar3 + 0x360) + lVar11 * 0x10" (pointer_expression "*(long *)(lVar3 + 0x360)" * (cast_expression "(long *)(lVar3 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x360)" ( (binary_expression "lVar3 + 0x360" identifier + number_literal) )))) + (binary_expression "lVar11 * 0x10" identifier * number_literal)) )))) * number_literal)) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }" { (expression_statement "__x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;" (assignment_expression "__x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60" identifier = (binary_expression "(double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60" (cast_expression "(double)*(float *)(lVar10 + lVar11 * 4)" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*(float *)(lVar10 + lVar11 * 4)" * (cast_expression "(float *)(lVar10 + lVar11 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + lVar11 * 4)" ( (binary_expression "lVar10 + lVar11 * 4" identifier + (binary_expression "lVar11 * 4" identifier * number_literal)) ))))) * identifier)) ;) (if_statement "if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }" if (parenthesized_expression "(0.0 <= __x)" ( (binary_expression "0.0 <= __x" number_literal <= identifier) )) (compound_statement "{\n                      __x = pow(__x,__y);\n                    }" { (expression_statement "__x = pow(__x,__y);" (assignment_expression "__x = pow(__x,__y)" identifier = (call_expression "pow(__x,__y)" identifier (argument_list "(__x,__y)" ( identifier , identifier )))) ;) })) (expression_statement "*(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);" (assignment_expression "*(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2)" (pointer_expression "*(float *)(lVar10 + lVar11 * 4)" * (cast_expression "(float *)(lVar10 + lVar11 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + lVar11 * 4)" ( (binary_expression "lVar10 + lVar11 * 4" identifier + (binary_expression "lVar11 * 4" identifier * number_literal)) )))) = (cast_expression "(float)(__x * (dVar1 - dVar2) + dVar2)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(__x * (dVar1 - dVar2) + dVar2)" ( (binary_expression "__x * (dVar1 - dVar2) + dVar2" (binary_expression "__x * (dVar1 - dVar2)" identifier * (parenthesized_expression "(dVar1 - dVar2)" ( (binary_expression "dVar1 - dVar2" identifier - identifier) ))) + identifier) )))) ;) })) (expression_statement "lVar11 = lVar11 + 1;" (assignment_expression "lVar11 = lVar11 + 1" identifier = (binary_expression "lVar11 + 1" identifier + number_literal)) ;) (expression_statement "lVar9 = *(long *)(lVar3 + 0x340);" (assignment_expression "lVar9 = *(long *)(lVar3 + 0x340)" identifier = (pointer_expression "*(long *)(lVar3 + 0x340)" * (cast_expression "(long *)(lVar3 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x340)" ( (binary_expression "lVar3 + 0x340" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(lVar11 < lVar9)" ( (binary_expression "lVar11 < lVar9" identifier < identifier) )) ;) })) (expression_statement "lVar10 = lVar10 + lVar9 * 4;" (assignment_expression "lVar10 = lVar10 + lVar9 * 4" identifier = (binary_expression "lVar10 + lVar9 * 4" identifier + (binary_expression "lVar9 * 4" identifier * number_literal))) ;) (expression_statement "lVar12 = lVar12 + 1;" (assignment_expression "lVar12 = lVar12 + 1" identifier = (binary_expression "lVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar12 < *(long *)(lVar3 + 0x20))" ( (binary_expression "lVar12 < *(long *)(lVar3 + 0x20)" identifier < (pointer_expression "*(long *)(lVar3 + 0x20)" * (cast_expression "(long *)(lVar3 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x20)" ( (binary_expression "lVar3 + 0x20" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);" (assignment_expression "iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5)" identifier = (call_expression "SyncCacheViewAuthenticPixels(lVar4,lVar5)" identifier (argument_list "(lVar4,lVar5)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 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 *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" if (parenthesized_expression "(*(long *)(lVar3 + 0x3c8) != 0)" ( (binary_expression "*(long *)(lVar3 + 0x3c8) != 0" (pointer_expression "*(long *)(lVar3 + 0x3c8)" * (cast_expression "(long *)(lVar3 + 0x3c8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x3c8)" ( (binary_expression "lVar3 + 0x3c8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 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 "iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));" (assignment_expression "iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" identifier = (call_expression "SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" identifier (argument_list "(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" ( identifier , (string_literal ""Levelize/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 *)(lVar3 + 0x28)" * (cast_expression "(undefined8 *)(lVar3 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x28)" ( (binary_expression "lVar3 + 0x28" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 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 "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" identifier = (binary_expression "local_60 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar8 != local_60)" ( (binary_expression "lVar8 != local_60" 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 TYPE IDENT ;) (declaration TYPE 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 (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE 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 = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (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 (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) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) ))))) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT * (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) + IDENT) )))) ;) })) (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_001eec76(long *param_1)\n\n{\n  double __y;\n  double dVar1;\n  double dVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  int iVar6;\n  int iVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  long lVar12;\n  double __x;\n  long local_60;\n  \n  lVar3 = *param_1;\n  local_60 = *(long *)(lVar3 + 0x28);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  lVar8 = local_60 / (long)iVar6;\n  local_60 = local_60 % (long)iVar6;\n  if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar7 * lVar8 + local_60;\n  lVar8 = lVar8 + local_60;\n  if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001eec76(long *param_1)" (identifier "FUN_001eec76") (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  double __y;\n  double dVar1;\n  double dVar2;\n  long lVar3;\n  long lVar4;\n  long lVar5;\n  int iVar6;\n  int iVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  long lVar12;\n  double __x;\n  long local_60;\n  \n  lVar3 = *param_1;\n  local_60 = *(long *)(lVar3 + 0x28);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  lVar8 = local_60 / (long)iVar6;\n  local_60 = local_60 % (long)iVar6;\n  if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }\n  local_60 = iVar7 * lVar8 + local_60;\n  lVar8 = lVar8 + local_60;\n  if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }\n  return;\n}" ({ "{") (declaration "double __y;" (primitive_type "double") (identifier "__y") (; ";")) (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "double dVar2;" (primitive_type "double") (identifier "dVar2") (; ";")) (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 "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "long lVar8;" (sized_type_specifier "long" (long "long")) (identifier "lVar8") (; ";")) (declaration "long lVar9;" (sized_type_specifier "long" (long "long")) (identifier "lVar9") (; ";")) (declaration "long lVar10;" (sized_type_specifier "long" (long "long")) (identifier "lVar10") (; ";")) (declaration "long lVar11;" (sized_type_specifier "long" (long "long")) (identifier "lVar11") (; ";")) (declaration "long lVar12;" (sized_type_specifier "long" (long "long")) (identifier "lVar12") (; ";")) (declaration "double __x;" (primitive_type "double") (identifier "__x") (; ";")) (declaration "long local_60;" (sized_type_specifier "long" (long "long")) (identifier "local_60") (; ";")) (expression_statement "lVar3 = *param_1;" (assignment_expression "lVar3 = *param_1" (identifier "lVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_60 = *(long *)(lVar3 + 0x28);" (assignment_expression "local_60 = *(long *)(lVar3 + 0x28)" (identifier "local_60") (= "=") (pointer_expression "*(long *)(lVar3 + 0x28)" (* "*") (cast_expression "(long *)(lVar3 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x28)" (( "(") (binary_expression "lVar3 + 0x28" (identifier "lVar3") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "iVar6 = omp_get_num_threads();" (assignment_expression "iVar6 = omp_get_num_threads()" (identifier "iVar6") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" (identifier "iVar7") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "lVar8 = local_60 / (long)iVar6;" (assignment_expression "lVar8 = local_60 / (long)iVar6" (identifier "lVar8") (= "=") (binary_expression "local_60 / (long)iVar6" (identifier "local_60") (/ "/") (cast_expression "(long)iVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar6")))) (; ";")) (expression_statement "local_60 = local_60 % (long)iVar6;" (assignment_expression "local_60 = local_60 % (long)iVar6" (identifier "local_60") (= "=") (binary_expression "local_60 % (long)iVar6" (identifier "local_60") (% "%") (cast_expression "(long)iVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar6")))) (; ";")) (if_statement "if (iVar7 < local_60) {\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }" (if "if") (parenthesized_expression "(iVar7 < local_60)" (( "(") (binary_expression "iVar7 < local_60" (identifier "iVar7") (< "<") (identifier "local_60")) () ")")) (compound_statement "{\n    lVar8 = lVar8 + 1;\n    local_60 = 0;\n  }" ({ "{") (expression_statement "lVar8 = lVar8 + 1;" (assignment_expression "lVar8 = lVar8 + 1" (identifier "lVar8") (= "=") (binary_expression "lVar8 + 1" (identifier "lVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_60 = 0;" (assignment_expression "local_60 = 0" (identifier "local_60") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_60 = iVar7 * lVar8 + local_60;" (assignment_expression "local_60 = iVar7 * lVar8 + local_60" (identifier "local_60") (= "=") (binary_expression "iVar7 * lVar8 + local_60" (binary_expression "iVar7 * lVar8" (identifier "iVar7") (* "*") (identifier "lVar8")) (+ "+") (identifier "local_60"))) (; ";")) (expression_statement "lVar8 = lVar8 + local_60;" (assignment_expression "lVar8 = lVar8 + local_60" (identifier "lVar8") (= "=") (binary_expression "lVar8 + local_60" (identifier "lVar8") (+ "+") (identifier "local_60"))) (; ";")) (if_statement "if (local_60 < lVar8) {\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }" (if "if") (parenthesized_expression "(local_60 < lVar8)" (( "(") (binary_expression "local_60 < lVar8" (identifier "local_60") (< "<") (identifier "lVar8")) () ")")) (compound_statement "{\n    lVar4 = param_1[5];\n    lVar5 = param_1[4];\n    __y = (double)param_1[3];\n    dVar1 = (double)param_1[2];\n    dVar2 = (double)param_1[1];\n    do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);\n  }" ({ "{") (expression_statement "lVar4 = param_1[5];" (assignment_expression "lVar4 = param_1[5]" (identifier "lVar4") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "lVar5 = param_1[4];" (assignment_expression "lVar5 = param_1[4]" (identifier "lVar5") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "__y = (double)param_1[3];" (assignment_expression "__y = (double)param_1[3]" (identifier "__y") (= "=") (cast_expression "(double)param_1[3]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "dVar1 = (double)param_1[2];" (assignment_expression "dVar1 = (double)param_1[2]" (identifier "dVar1") (= "=") (cast_expression "(double)param_1[2]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "dVar2 = (double)param_1[1];" (assignment_expression "dVar2 = (double)param_1[1]" (identifier "dVar2") (= "=") (cast_expression "(double)param_1[1]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (do_statement "do {\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    } while (lVar8 != local_60);" (do "do") (compound_statement "{\n      if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }\n      local_60 = local_60 + 1;\n    }" ({ "{") (if_statement "if ((int)param_1[7] != 0) {\n        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 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        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;\n        if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }\n      }" ({ "{") (expression_statement "lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)\n        ;" (assignment_expression "lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" (identifier "lVar10") (= "=") (call_expression "GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" (identifier "GetCacheViewAuthenticPixels") (argument_list "(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)" (( "(") (identifier "lVar4") (, ",") (number_literal "0") (, ",") (identifier "local_60") (, ",") (pointer_expression "*(undefined8 *)(lVar3 + 0x20)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x20)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "lVar5") () ")")))) (; ";")) (if_statement "if (lVar10 == 0) {\n          *(undefined4 *)(param_1 + 7) = 0;\n        }\n        else {\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" (if "if") (parenthesized_expression "(lVar10 == 0)" (( "(") (binary_expression "lVar10 == 0" (identifier "lVar10") (== "==") (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 *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" (else "else") (compound_statement "{\n          if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }\n          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);\n          if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }\n          if (*(long *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }\n        }" ({ "{") (if_statement "if (0 < *(long *)(lVar3 + 0x20)) {\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }" (if "if") (parenthesized_expression "(0 < *(long *)(lVar3 + 0x20))" (( "(") (binary_expression "0 < *(long *)(lVar3 + 0x20)" (number_literal "0") (< "<") (pointer_expression "*(long *)(lVar3 + 0x20)" (* "*") (cast_expression "(long *)(lVar3 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (compound_statement "{\n            lVar12 = 0;\n            do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));\n          }" ({ "{") (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" (identifier "lVar12") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            } while (lVar12 < *(long *)(lVar3 + 0x20));" (do "do") (compound_statement "{\n              lVar9 = *(long *)(lVar3 + 0x340);\n              lVar11 = 0;\n              if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }\n              lVar10 = lVar10 + lVar9 * 4;\n              lVar12 = lVar12 + 1;\n            }" ({ "{") (expression_statement "lVar9 = *(long *)(lVar3 + 0x340);" (assignment_expression "lVar9 = *(long *)(lVar3 + 0x340)" (identifier "lVar9") (= "=") (pointer_expression "*(long *)(lVar3 + 0x340)" (* "*") (cast_expression "(long *)(lVar3 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x340)" (( "(") (binary_expression "lVar3 + 0x340" (identifier "lVar3") (+ "+") (number_literal "0x340")) () ")"))))) (; ";")) (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" (identifier "lVar11") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < lVar9) {\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }" (if "if") (parenthesized_expression "(0 < lVar9)" (( "(") (binary_expression "0 < lVar9" (number_literal "0") (< "<") (identifier "lVar9")) () ")")) (compound_statement "{\n                do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);\n              }" ({ "{") (do_statement "do {\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                } while (lVar11 < lVar9);" (do "do") (compound_statement "{\n                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }\n                  lVar11 = lVar11 + 1;\n                  lVar9 = *(long *)(lVar3 + 0x340);\n                }" ({ "{") (if_statement "if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0) {\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }" (if "if") (parenthesized_expression "((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0)" (( "(") (binary_expression "(*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2) != 0" (parenthesized_expression "(*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2)" (( "(") (binary_expression "*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &\n                      2" (pointer_expression "*(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" (* "*") (cast_expression "(byte *)(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10)" (( "(") (binary_expression "*(long *)(lVar3 + 0x360) + 4 +\n                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10" (binary_expression "*(long *)(lVar3 + 0x360) + 4" (pointer_expression "*(long *)(lVar3 + 0x360)" (* "*") (cast_expression "(long *)(lVar3 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x360)" (( "(") (binary_expression "lVar3 + 0x360" (identifier "lVar3") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (number_literal "4")) (+ "+") (binary_expression "(ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10" (binary_expression "(ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar3 + 0x360) + lVar11 * 0x10)" (( "(") (binary_expression "*(long *)(lVar3 + 0x360) + lVar11 * 0x10" (pointer_expression "*(long *)(lVar3 + 0x360)" (* "*") (cast_expression "(long *)(lVar3 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x360)" (( "(") (binary_expression "lVar3 + 0x360" (identifier "lVar3") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (binary_expression "lVar11 * 0x10" (identifier "lVar11") (* "*") (number_literal "0x10"))) () ")")))) (* "*") (number_literal "0x10"))) () ")")))) (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;\n                    if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }\n                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);\n                  }" ({ "{") (expression_statement "__x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;" (assignment_expression "__x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60" (identifier "__x") (= "=") (binary_expression "(double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60" (cast_expression "(double)*(float *)(lVar10 + lVar11 * 4)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*(float *)(lVar10 + lVar11 * 4)" (* "*") (cast_expression "(float *)(lVar10 + lVar11 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + lVar11 * 4)" (( "(") (binary_expression "lVar10 + lVar11 * 4" (identifier "lVar10") (+ "+") (binary_expression "lVar11 * 4" (identifier "lVar11") (* "*") (number_literal "4"))) () ")"))))) (* "*") (identifier "DAT_003f9c60"))) (; ";")) (if_statement "if (0.0 <= __x) {\n                      __x = pow(__x,__y);\n                    }" (if "if") (parenthesized_expression "(0.0 <= __x)" (( "(") (binary_expression "0.0 <= __x" (number_literal "0.0") (<= "<=") (identifier "__x")) () ")")) (compound_statement "{\n                      __x = pow(__x,__y);\n                    }" ({ "{") (expression_statement "__x = pow(__x,__y);" (assignment_expression "__x = pow(__x,__y)" (identifier "__x") (= "=") (call_expression "pow(__x,__y)" (identifier "pow") (argument_list "(__x,__y)" (( "(") (identifier "__x") (, ",") (identifier "__y") () ")")))) (; ";")) (} "}"))) (expression_statement "*(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);" (assignment_expression "*(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2)" (pointer_expression "*(float *)(lVar10 + lVar11 * 4)" (* "*") (cast_expression "(float *)(lVar10 + lVar11 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar10 + lVar11 * 4)" (( "(") (binary_expression "lVar10 + lVar11 * 4" (identifier "lVar10") (+ "+") (binary_expression "lVar11 * 4" (identifier "lVar11") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)(__x * (dVar1 - dVar2) + dVar2)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "(__x * (dVar1 - dVar2) + dVar2)" (( "(") (binary_expression "__x * (dVar1 - dVar2) + dVar2" (binary_expression "__x * (dVar1 - dVar2)" (identifier "__x") (* "*") (parenthesized_expression "(dVar1 - dVar2)" (( "(") (binary_expression "dVar1 - dVar2" (identifier "dVar1") (- "-") (identifier "dVar2")) () ")"))) (+ "+") (identifier "dVar2")) () ")")))) (; ";")) (} "}"))) (expression_statement "lVar11 = lVar11 + 1;" (assignment_expression "lVar11 = lVar11 + 1" (identifier "lVar11") (= "=") (binary_expression "lVar11 + 1" (identifier "lVar11") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "lVar9 = *(long *)(lVar3 + 0x340);" (assignment_expression "lVar9 = *(long *)(lVar3 + 0x340)" (identifier "lVar9") (= "=") (pointer_expression "*(long *)(lVar3 + 0x340)" (* "*") (cast_expression "(long *)(lVar3 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x340)" (( "(") (binary_expression "lVar3 + 0x340" (identifier "lVar3") (+ "+") (number_literal "0x340")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar11 < lVar9)" (( "(") (binary_expression "lVar11 < lVar9" (identifier "lVar11") (< "<") (identifier "lVar9")) () ")")) (; ";")) (} "}"))) (expression_statement "lVar10 = lVar10 + lVar9 * 4;" (assignment_expression "lVar10 = lVar10 + lVar9 * 4" (identifier "lVar10") (= "=") (binary_expression "lVar10 + lVar9 * 4" (identifier "lVar10") (+ "+") (binary_expression "lVar9 * 4" (identifier "lVar9") (* "*") (number_literal "4")))) (; ";")) (expression_statement "lVar12 = lVar12 + 1;" (assignment_expression "lVar12 = lVar12 + 1" (identifier "lVar12") (= "=") (binary_expression "lVar12 + 1" (identifier "lVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar12 < *(long *)(lVar3 + 0x20))" (( "(") (binary_expression "lVar12 < *(long *)(lVar3 + 0x20)" (identifier "lVar12") (< "<") (pointer_expression "*(long *)(lVar3 + 0x20)" (* "*") (cast_expression "(long *)(lVar3 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x20)" (( "(") (binary_expression "lVar3 + 0x20" (identifier "lVar3") (+ "+") (number_literal "0x20")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);" (assignment_expression "iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5)" (identifier "iVar6") (= "=") (call_expression "SyncCacheViewAuthenticPixels(lVar4,lVar5)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(lVar4,lVar5)" (( "(") (identifier "lVar4") (, ",") (identifier "lVar5") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n            *(undefined4 *)(param_1 + 7) = 0;\n          }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (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 *)(lVar3 + 0x3c8) != 0) {\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }\n          }" (if "if") (parenthesized_expression "(*(long *)(lVar3 + 0x3c8) != 0)" (( "(") (binary_expression "*(long *)(lVar3 + 0x3c8) != 0" (pointer_expression "*(long *)(lVar3 + 0x3c8)" (* "*") (cast_expression "(long *)(lVar3 + 0x3c8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x3c8)" (( "(") (binary_expression "lVar3 + 0x3c8" (identifier "lVar3") (+ "+") (number_literal "0x3c8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            LOCK();\n            *(long *)param_1[6] = *(long *)param_1[6] + 1;\n            UNLOCK();\n            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));\n            if (iVar6 == 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 "iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28));" (assignment_expression "iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" (identifier "iVar6") (= "=") (call_expression "SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" (identifier "SetImageProgress") (argument_list "(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],\n                                     *(undefined8 *)(lVar3 + 0x28))" (( "(") (identifier "lVar3") (, ",") (string_literal ""Levelize/Image"" (" """) (string_content "Levelize/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 *)(lVar3 + 0x28)" (* "*") (cast_expression "(undefined8 *)(lVar3 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x28)" (( "(") (binary_expression "lVar3 + 0x28" (identifier "lVar3") (+ "+") (number_literal "0x28")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n              *(undefined4 *)(param_1 + 7) = 0;\n            }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (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 "local_60 = local_60 + 1;" (assignment_expression "local_60 = local_60 + 1" (identifier "local_60") (= "=") (binary_expression "local_60 + 1" (identifier "local_60") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar8 != local_60)" (( "(") (binary_expression "lVar8 != local_60" (identifier "lVar8") (!= "!=") (identifier "local_60")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* 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 LevelizeImage._omp_fn.10(anon_struct_64_8_b64f7f64 * param_0) */

void __thiscall function_1(void *this)

{
  double __y;
  double var_13;
  double var_14;
  type_1 *image;
  type_2 *cache_view;
  type_3 *exception;
  int iVar3;
  int var_3;
  type_4 var_19;
  long var_5;
  size_t var_16;
  type_5 *var_7;
  long var_15;
  long var_17;
  double var_11;
  long var_4;
  
                    /* WARNING: Load size is inaccurate */
  image = *this;
  var_16 = image->rows;
  iVar3 = var_1();
  var_3 = var_2();
  var_5 = (long)var_16 / (long)iVar3;
  var_4 = (long)var_16 % (long)iVar3;
  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) {
    cache_view = *(type_2 **)((long)this + 0x28);
    exception = *(type_3 **)((long)this + 0x20);
    __y = *(double *)((long)this + 0x18);
    var_13 = *(double *)((long)this + 0x10);
    var_14 = *(double *)((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_6 *)((long)this + 0x38) = 0;
        }
        else {
          if (0 < (long)image->columns) {
            var_17 = 0;
            do {
              var_16 = image->number_channels;
              var_15 = 0;
              if (0 < (long)var_16) {
                do {
                  if ((image->channel_map[image->channel_map[var_15].channel].traits &
                      var_8) != var_9) {
                    var_11 = (double)var_7[var_15] * var_10;
                    if (0.0 <= var_11) {
                      var_11 = var_12(var_11,__y);
                    }
                    var_7[var_15] = (float)(var_11 * (var_13 - var_14) + var_14);
                  }
                  var_15 = var_15 + 1;
                  var_16 = image->number_channels;
                } while (var_15 < (long)var_16);
              }
              var_7 = var_7 + var_16;
              var_17 = var_17 + 1;
            } while (var_17 < (long)image->columns);
          }
          var_19 = var_18(cache_view,exception);
          if (var_19 == var_20) {
            *(type_6 *)((long)this + 0x38) = 0;
          }
          if (image->progress_monitor != (type_7)0x0) {
            var_21();
            **(long **)((long)this + 0x30) = **(long **)((long)this + 0x30) + 1;
            var_22();
            var_19 = var_23(image,"Levelize/Image",
                                     **(type_8 **)((long)this + 0x30),image->rows);
            if (var_19 == var_20) {
              *(type_6 *)((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: (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: (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: (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: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (identifier) right: (number_literal))))))) right: (identifier)))) (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: (identifier) arguments: (argument_list (identifier) (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: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) right: (identifier)))))))) (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))))

void MASKED(long *param_1)

{
  double __y;
  double dVar1;
  double dVar2;
  long lVar3;
  long lVar4;
  long lVar5;
  int iVar6;
  int iVar7;
  long lVar8;
  long lVar9;
  long lVar10;
  long lVar11;
  long lVar12;
  double __x;
  long local_60;
  
  lVar3 = *param_1;
  local_60 = *(long *)(lVar3 + 0x28);
  iVar6 = omp_get_num_threads();
  iVar7 = omp_get_thread_num();
  lVar8 = local_60 / (long)iVar6;
  local_60 = local_60 % (long)iVar6;
  if (iVar7 < local_60) {
    lVar8 = lVar8 + 1;
    local_60 = 0;
  }
  local_60 = iVar7 * lVar8 + local_60;
  lVar8 = lVar8 + local_60;
  if (local_60 < lVar8) {
    lVar4 = param_1[5];
    lVar5 = param_1[4];
    __y = (double)param_1[3];
    dVar1 = (double)param_1[2];
    dVar2 = (double)param_1[1];
    do {
      if ((int)param_1[7] != 0) {
        lVar10 = GetCacheViewAuthenticPixels(lVar4,0,local_60,*(undefined8 *)(lVar3 + 0x20),1,lVar5)
        ;
        if (lVar10 == 0) {
          *(undefined4 *)(param_1 + 7) = 0;
        }
        else {
          if (0 < *(long *)(lVar3 + 0x20)) {
            lVar12 = 0;
            do {
              lVar9 = *(long *)(lVar3 + 0x340);
              lVar11 = 0;
              if (0 < lVar9) {
                do {
                  if ((*(byte *)(*(long *)(lVar3 + 0x360) + 4 +
                                (ulong)*(uint *)(*(long *)(lVar3 + 0x360) + lVar11 * 0x10) * 0x10) &
                      2) != 0) {
                    __x = (double)*(float *)(lVar10 + lVar11 * 4) * DAT_003f9c60;
                    if (0.0 <= __x) {
                      __x = pow(__x,__y);
                    }
                    *(float *)(lVar10 + lVar11 * 4) = (float)(__x * (dVar1 - dVar2) + dVar2);
                  }
                  lVar11 = lVar11 + 1;
                  lVar9 = *(long *)(lVar3 + 0x340);
                } while (lVar11 < lVar9);
              }
              lVar10 = lVar10 + lVar9 * 4;
              lVar12 = lVar12 + 1;
            } while (lVar12 < *(long *)(lVar3 + 0x20));
          }
          iVar6 = SyncCacheViewAuthenticPixels(lVar4,lVar5);
          if (iVar6 == 0) {
            *(undefined4 *)(param_1 + 7) = 0;
          }
          if (*(long *)(lVar3 + 0x3c8) != 0) {
            LOCK();
            *(long *)param_1[6] = *(long *)param_1[6] + 1;
            UNLOCK();
            iVar6 = SetImageProgress(lVar3,"Levelize/Image",*(undefined8 *)param_1[6],
                                     *(undefined8 *)(lVar3 + 0x28));
            if (iVar6 == 0) {
              *(undefined4 *)(param_1 + 7) = 0;
            }
          }
        }
      }
      local_60 = local_60 + 1;
    } while (lVar8 != local_60);
  }
  return;
}

