
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void SetWandViewIterator._omp_fn.2(anon_struct_24_6_eed5eb56 * param_0)
    */

void __thiscall SetWandViewIterator__omp_fn_2(anon_struct_24_6_eed5eb56 *this)

{
  PixelWand **ppPVar1;
  longlong lVar2;
  WandView *pWVar3;
  int iVar4;
  Image *pIVar5;
  void *pvVar6;
  SetWandViewMethod p_Var7;
  uint *puVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  Quantum *pixel;
  MagickBooleanType MVar13;
  uint uVar14;
  Image *image;
  uint uVar15;
  bool bVar16;
  int local_38;
  
  pWVar3 = this->destination;
  iVar9 = omp_get_num_threads(&_GLOBAL_OFFSET_TABLE_);
  iVar4 = (pWVar3->extent).y;
  iVar10 = omp_get_thread_num();
  iVar11 = (pWVar3->extent).height - iVar4;
  iVar12 = iVar11 / iVar9;
  iVar11 = iVar11 % iVar9;
  if (iVar10 < iVar11) {
    iVar12 = iVar12 + 1;
    iVar11 = 0;
  }
  iVar11 = iVar11 + iVar10 * iVar12;
  if (iVar11 < iVar12 + iVar11) {
    pIVar5 = this->destination_image;
    pvVar6 = this->context;
    p_Var7 = this->set;
    local_38 = iVar4 + iVar11;
    do {
      iVar9 = omp_get_thread_num();
      if (this->status != MagickFalse) {
        pixel = (Quantum *)
                GetCacheViewAuthenticPixels
                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,
                           pWVar3->exception);
        if (pixel == (Quantum *)0x0) {
LAB_000e2f91:
          this->status = MagickFalse;
        }
        else {
          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);
          if (MVar13 == MagickFalse) {
            this->status = MagickFalse;
          }
          if (0 < (int)(pWVar3->extent).width) {
            image = pWVar3->image;
            iVar10 = 0;
            do {
              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;
              iVar10 = iVar10 + 1;
              PixelGetQuantumPixel(image,*ppPVar1,pixel);
              image = pWVar3->image;
              pixel = pixel + image->number_channels;
            } while (iVar10 < (int)(pWVar3->extent).width);
          }
          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);
          if (iVar9 == 0) {
            this->status = MagickFalse;
          }
          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {
            puVar8 = (uint *)this->progress;
            uVar14 = *puVar8;
            uVar15 = puVar8[1];
            do {
              LOCK();
              lVar2 = *(longlong *)puVar8;
              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;
              if (bVar16) {
                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);
              }
              else {
                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);
                uVar14 = (uint)lVar2;
              }
              UNLOCK();
            } while (!bVar16);
            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,
                                     *(undefined4 *)((int)this->progress + 4),
                                     (pWVar3->extent).height,0);
            if (iVar9 == 0) goto LAB_000e2f91;
          }
        }
      }
      local_38 = local_38 + 1;
    } while (local_38 < iVar12 + iVar11 + iVar4);
  }
  return;
}



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

void FUN_000e2db0(int *param_1)

{
  int iVar1;
  longlong lVar2;
  int iVar3;
  int iVar4;
  code *pcVar5;
  uint *puVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  uint uVar14;
  uint uVar15;
  int iVar16;
  bool bVar17;
  int local_38;
  
  iVar3 = *param_1;
  iVar7 = omp_get_num_threads(&__DT_PLTGOT);
  iVar4 = *(int *)(iVar3 + 0x1014);
  iVar8 = omp_get_thread_num();
  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;
  iVar10 = iVar9 / iVar7;
  iVar9 = iVar9 % iVar7;
  if (iVar8 < iVar9) {
    iVar10 = iVar10 + 1;
    iVar9 = 0;
  }
  iVar9 = iVar9 + iVar8 * iVar10;
  if (iVar9 < iVar10 + iVar9) {
    iVar7 = param_1[3];
    iVar8 = param_1[2];
    pcVar5 = (code *)param_1[1];
    local_38 = iVar4 + iVar9;
    do {
      iVar11 = omp_get_thread_num();
      if (param_1[4] != 0) {
        iVar12 = GetCacheViewAuthenticPixels
                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38
                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));
        if (iVar12 == 0) {
LAB_000e2f91:
          param_1[4] = 0;
        }
        else {
          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);
          if (iVar13 == 0) {
            param_1[4] = 0;
          }
          if (0 < *(int *)(iVar3 + 0x1008)) {
            iVar13 = *(int *)(iVar3 + 0x101c);
            iVar16 = 0;
            do {
              iVar1 = iVar16 * 4;
              iVar16 = iVar16 + 1;
              PixelGetQuantumPixel
                        (iVar13,*(undefined4 *)
                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);
              iVar13 = *(int *)(iVar3 + 0x101c);
              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;
            } while (iVar16 < *(int *)(iVar3 + 0x1008));
          }
          iVar11 = SyncCacheViewAuthenticPixels
                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));
          if (iVar11 == 0) {
            param_1[4] = 0;
          }
          if (*(int *)(iVar7 + 0x300) != 0) {
            puVar6 = (uint *)param_1[5];
            uVar14 = *puVar6;
            uVar15 = puVar6[1];
            do {
              LOCK();
              lVar2 = *(longlong *)puVar6;
              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;
              if (bVar17) {
                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);
              }
              else {
                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);
                uVar14 = (uint)lVar2;
              }
              UNLOCK();
            } while (!bVar17);
            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),
                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],
                                      *(undefined4 *)(iVar3 + 0x100c),0);
            if (iVar11 == 0) goto LAB_000e2f91;
          }
        }
      }
      local_38 = local_38 + 1;
    } while (local_38 < iVar10 + iVar9 + iVar4);
  }
  return;
}


CALL 0x00063a03
ADD EAX,0x8324b
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x2c
MOV EBX,dword ptr [ESP + 0x40]
MOV dword ptr [ESP],EAX
MOV EDI,dword ptr [EBX]
MOV EBX,EAX
CALL 0x0001c5f0
MOV EBX,dword ptr [ESP]
MOV EBP,EAX
MOV ESI,dword ptr [EDI + 0x1014]
CALL 0x0001cf50
MOV EBX,EAX
MOV EAX,dword ptr [EDI + 0x100c]
SUB EAX,ESI
CDQ
IDIV EBP
CMP EBX,EDX
JGE 0x000e2df7
ADD EAX,0x1
XOR EDX,EDX
IMUL EBX,EAX
ADD EDX,EBX
ADD EAX,EDX
CMP EDX,EAX
JGE 0x000e2fb3
MOV EBX,dword ptr [ESP + 0x40]
ADD EAX,ESI
MOV ECX,dword ptr [ESP + 0x40]
MOV dword ptr [ESP + 0x10],EAX
MOV EBX,dword ptr [EBX + 0xc]
MOV dword ptr [ESP + 0x14],EBX
MOV EBX,dword ptr [ECX + 0x8]
MOV dword ptr [ESP + 0x18],EBX
MOV EBX,dword ptr [ECX + 0x4]
LEA ECX,[ESI + EDX*0x1]
MOV dword ptr [ESP + 0x4],ECX
MOV dword ptr [ESP + 0x1c],EBX
MOV EBX,dword ptr [ESP]
CALL 0x0001cf50
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV ECX,dword ptr [EAX + 0x10]
TEST ECX,ECX
JZ 0x000e2fa0
SUB ESP,0x8
PUSH dword ptr [EDI + 0x1028]
PUSH 0x1
PUSH dword ptr [EDI + 0x1008]
PUSH dword ptr [ESP + 0x18]
PUSH dword ptr [EDI + 0x1010]
PUSH dword ptr [EDI + 0x1020]
MOV EBX,dword ptr [ESP + 0x20]
CALL 0x0001cc10
ADD ESP,0x20
MOV EBP,EAX
TEST EAX,EAX
JZ 0x000e2f91
PUSH dword ptr [ESP + 0x18]
PUSH ESI
PUSH dword ptr [ESP + 0xc]
PUSH EDI
MOV EAX,dword ptr [ESP + 0x2c]
CALL EAX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000e2ea2
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX + 0x10],0x0
MOV EAX,dword ptr [EDI + 0x1008]
TEST EAX,EAX
JLE 0x000e2efc
MOV ECX,dword ptr [EDI + 0x101c]
LEA EAX,[ESI*0x4 + 0x0]
XOR ESI,ESI
MOV dword ptr [ESP + 0x8],EAX
NOP
SUB ESP,0x4
MOV EDX,dword ptr [EDI + 0x1024]
PUSH EBP
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EDX + EAX*0x1]
PUSH dword ptr [EDX + ESI*0x4]
PUSH ECX
ADD ESI,0x1
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x0001d5c0
MOV ECX,dword ptr [EDI + 0x101c]
ADD ESP,0x10
CMP dword ptr [EDI + 0x1008],ESI
MOV EDX,dword ptr [ECX + 0x298]
LEA EBP,[EBP + EDX*0x8]
JG 0x000e2ec0
SUB ESP,0x8
PUSH dword ptr [EDI + 0x1028]
PUSH dword ptr [EDI + 0x1020]
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x0001cf70
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000e2f26
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX + 0x10],0x0
MOV EAX,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [EAX + 0x300]
TEST EDX,EDX
JZ 0x000e2fa0
MOV EAX,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [EAX + 0x14]
MOV EAX,dword ptr [ESI]
MOV EDX,dword ptr [ESI + 0x4]
MOV ECX,EAX
MOV EBX,EDX
ADD ECX,0x1
ADC EBX,0x0
MOV dword ptr [ESP + 0x8],ECX
MOV dword ptr [ESP + 0xc],EBX
MOV EBX,ECX
MOV ECX,dword ptr [ESP + 0xc]
CMPXCHG8B.LOCK qword ptr [ESI]
JNZ 0x000e2f40
MOV EAX,dword ptr [EDI + 0x100c]
SUB ESP,0x8
XOR EDX,EDX
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x50]
MOV EAX,dword ptr [EAX + 0x14]
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [EAX]
PUSH dword ptr [EDI + 0x1004]
PUSH dword ptr [ESP + 0x30]
MOV EBX,dword ptr [ESP + 0x20]
CALL 0x0001e540
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x000e2fa0
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX + 0x10],0x0
LEA ESI,[ESI]
ADD dword ptr [ESP + 0x4],0x1
MOV EAX,dword ptr [ESP + 0x4]
CMP dword ptr [ESP + 0x10],EAX
JG 0x000e2e30
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000e2db0(int *param_1)\n\n{\n  int iVar1;\n  longlong lVar2;\n  int iVar3;\n  int iVar4;\n  code *pcVar5;\n  uint *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  uint uVar14;\n  uint uVar15;\n  int iVar16;\n  bool bVar17;\n  int local_38;\n  \n  iVar3 = *param_1;\n  iVar7 = omp_get_num_threads(&__DT_PLTGOT);\n  iVar4 = *(int *)(iVar3 + 0x1014);\n  iVar8 = omp_get_thread_num();\n  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;\n  iVar10 = iVar9 / iVar7;\n  iVar9 = iVar9 % iVar7;\n  if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar9 + iVar8 * iVar10;\n  if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000e2db0(int *param_1)\n\n{\n  int iVar1;\n  longlong lVar2;\n  int iVar3;\n  int iVar4;\n  code *pcVar5;\n  uint *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  uint uVar14;\n  uint uVar15;\n  int iVar16;\n  bool bVar17;\n  int local_38;\n  \n  iVar3 = *param_1;\n  iVar7 = omp_get_num_threads(&__DT_PLTGOT);\n  iVar4 = *(int *)(iVar3 + 0x1014);\n  iVar8 = omp_get_thread_num();\n  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;\n  iVar10 = iVar9 / iVar7;\n  iVar9 = iVar9 % iVar7;\n  if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar9 + iVar8 * iVar10;\n  if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000e2db0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  longlong lVar2;\n  int iVar3;\n  int iVar4;\n  code *pcVar5;\n  uint *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  uint uVar14;\n  uint uVar15;\n  int iVar16;\n  bool bVar17;\n  int local_38;\n  \n  iVar3 = *param_1;\n  iVar7 = omp_get_num_threads(&__DT_PLTGOT);\n  iVar4 = *(int *)(iVar3 + 0x1014);\n  iVar8 = omp_get_thread_num();\n  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;\n  iVar10 = iVar9 / iVar7;\n  iVar9 = iVar9 % iVar7;\n  if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar9 + iVar8 * iVar10;\n  if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "bool bVar17;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar7 = omp_get_num_threads(&__DT_PLTGOT);" (assignment_expression "iVar7 = omp_get_num_threads(&__DT_PLTGOT)" identifier = (call_expression "omp_get_num_threads(&__DT_PLTGOT)" identifier (argument_list "(&__DT_PLTGOT)" ( (pointer_expression "&__DT_PLTGOT" & identifier) )))) ;) (expression_statement "iVar4 = *(int *)(iVar3 + 0x1014);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0x1014)" identifier = (pointer_expression "*(int *)(iVar3 + 0x1014)" * (cast_expression "(int *)(iVar3 + 0x1014)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1014)" ( (binary_expression "iVar3 + 0x1014" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = omp_get_thread_num();" (assignment_expression "iVar8 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;" (assignment_expression "iVar9 = *(int *)(iVar3 + 0x100c) - iVar4" identifier = (binary_expression "*(int *)(iVar3 + 0x100c) - iVar4" (pointer_expression "*(int *)(iVar3 + 0x100c)" * (cast_expression "(int *)(iVar3 + 0x100c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100c)" ( (binary_expression "iVar3 + 0x100c" identifier + number_literal) )))) - identifier)) ;) (expression_statement "iVar10 = iVar9 / iVar7;" (assignment_expression "iVar10 = iVar9 / iVar7" identifier = (binary_expression "iVar9 / iVar7" identifier / identifier)) ;) (expression_statement "iVar9 = iVar9 % iVar7;" (assignment_expression "iVar9 = iVar9 % iVar7" identifier = (binary_expression "iVar9 % iVar7" identifier % identifier)) ;) (if_statement "if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }" if (parenthesized_expression "(iVar8 < iVar9)" ( (binary_expression "iVar8 < iVar9" identifier < identifier) )) (compound_statement "{\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) })) (expression_statement "iVar9 = iVar9 + iVar8 * iVar10;" (assignment_expression "iVar9 = iVar9 + iVar8 * iVar10" identifier = (binary_expression "iVar9 + iVar8 * iVar10" identifier + (binary_expression "iVar8 * iVar10" identifier * identifier))) ;) (if_statement "if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }" if (parenthesized_expression "(iVar9 < iVar10 + iVar9)" ( (binary_expression "iVar9 < iVar10 + iVar9" identifier < (binary_expression "iVar10 + iVar9" identifier + identifier)) )) (compound_statement "{\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }" { (expression_statement "iVar7 = param_1[3];" (assignment_expression "iVar7 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = param_1[2];" (assignment_expression "iVar8 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar5 = (code *)param_1[1];" (assignment_expression "pcVar5 = (code *)param_1[1]" identifier = (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_38 = iVar4 + iVar9;" (assignment_expression "local_38 = iVar4 + iVar9" identifier = (binary_expression "iVar4 + iVar9" identifier + identifier)) ;) (do_statement "do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);" do (compound_statement "{\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    }" { (expression_statement "iVar11 = omp_get_thread_num();" (assignment_expression "iVar11 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (if_statement "if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }" { (expression_statement "iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));" (assignment_expression "iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" identifier = (call_expression "GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" identifier (argument_list "(*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x1020)" * (cast_expression "(undefined4 *)(iVar3 + 0x1020)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1020)" ( (binary_expression "iVar3 + 0x1020" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x1010)" * (cast_expression "(undefined4 *)(iVar3 + 0x1010)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1010)" ( (binary_expression "iVar3 + 0x1010" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1008)" * (cast_expression "(undefined4 *)(iVar3 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1008)" ( (binary_expression "iVar3 + 0x1008" identifier + number_literal) )))) , number_literal , (pointer_expression "*(undefined4 *)(iVar3 + 0x1028)" * (cast_expression "(undefined4 *)(iVar3 + 0x1028)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1028)" ( (binary_expression "iVar3 + 0x1028" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000e2f91:\n          param_1[4] = 0;\n        }" { (labeled_statement "LAB_000e2f91:\n          param_1[4] = 0;" statement_identifier : (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;)) }) (else_clause "else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" else (compound_statement "{\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" { (expression_statement "iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);" (assignment_expression "iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8)" identifier = (call_expression "(*pcVar5)(iVar3,local_38,iVar11,iVar8)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(iVar3,local_38,iVar11,iVar8)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar13 == 0) {\n            param_1[4] = 0;\n          }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[4] = 0;\n          }" { (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }" if (parenthesized_expression "(0 < *(int *)(iVar3 + 0x1008))" ( (binary_expression "0 < *(int *)(iVar3 + 0x1008)" number_literal < (pointer_expression "*(int *)(iVar3 + 0x1008)" * (cast_expression "(int *)(iVar3 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1008)" ( (binary_expression "iVar3 + 0x1008" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }" { (expression_statement "iVar13 = *(int *)(iVar3 + 0x101c);" (assignment_expression "iVar13 = *(int *)(iVar3 + 0x101c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x101c)" * (cast_expression "(int *)(iVar3 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x101c)" ( (binary_expression "iVar3 + 0x101c" identifier + number_literal) ))))) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));" do (compound_statement "{\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            }" { (expression_statement "iVar1 = iVar16 * 4;" (assignment_expression "iVar1 = iVar16 * 4" identifier = (binary_expression "iVar16 * 4" identifier * number_literal)) ;) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);" (call_expression "PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12)" identifier (argument_list "(iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12)" ( identifier , (pointer_expression "*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" * (cast_expression "(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" ( (binary_expression "*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" ( (binary_expression "*(int *)(iVar3 + 0x1024) + iVar11 * 4" (pointer_expression "*(int *)(iVar3 + 0x1024)" * (cast_expression "(int *)(iVar3 + 0x1024)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1024)" ( (binary_expression "iVar3 + 0x1024" identifier + number_literal) )))) + (binary_expression "iVar11 * 4" identifier * number_literal)) )))) + identifier) )))) , identifier ))) ;) (expression_statement "iVar13 = *(int *)(iVar3 + 0x101c);" (assignment_expression "iVar13 = *(int *)(iVar3 + 0x101c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x101c)" * (cast_expression "(int *)(iVar3 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x101c)" ( (binary_expression "iVar3 + 0x101c" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;" (assignment_expression "iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8" identifier = (binary_expression "iVar12 + *(int *)(iVar13 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar13 + 0x298) * 8" (pointer_expression "*(int *)(iVar13 + 0x298)" * (cast_expression "(int *)(iVar13 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x298)" ( (binary_expression "iVar13 + 0x298" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar16 < *(int *)(iVar3 + 0x1008))" ( (binary_expression "iVar16 < *(int *)(iVar3 + 0x1008)" identifier < (pointer_expression "*(int *)(iVar3 + 0x1008)" * (cast_expression "(int *)(iVar3 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1008)" ( (binary_expression "iVar3 + 0x1008" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));" (assignment_expression "iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" identifier = (call_expression "SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" identifier (argument_list "(*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x1020)" * (cast_expression "(undefined4 *)(iVar3 + 0x1020)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1020)" ( (binary_expression "iVar3 + 0x1020" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x1028)" * (cast_expression "(undefined4 *)(iVar3 + 0x1028)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1028)" ( (binary_expression "iVar3 + 0x1028" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar11 == 0) {\n            param_1[4] = 0;\n          }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[4] = 0;\n          }" { (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }" if (parenthesized_expression "(*(int *)(iVar7 + 0x300) != 0)" ( (binary_expression "*(int *)(iVar7 + 0x300) != 0" (pointer_expression "*(int *)(iVar7 + 0x300)" * (cast_expression "(int *)(iVar7 + 0x300)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x300)" ( (binary_expression "iVar7 + 0x300" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }" { (expression_statement "puVar6 = (uint *)param_1[5];" (assignment_expression "puVar6 = (uint *)param_1[5]" identifier = (cast_expression "(uint *)param_1[5]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (expression_statement "uVar14 = *puVar6;" (assignment_expression "uVar14 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar15 = puVar6[1];" (assignment_expression "uVar15 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);" do (compound_statement "{\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(longlong *)puVar6;" (assignment_expression "lVar2 = *(longlong *)puVar6" identifier = (pointer_expression "*(longlong *)puVar6" * (cast_expression "(longlong *)puVar6" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar17 = CONCAT44(uVar15,uVar14) == lVar2;" (assignment_expression "bVar17 = CONCAT44(uVar15,uVar14) == lVar2" identifier = (binary_expression "CONCAT44(uVar15,uVar14) == lVar2" (call_expression "CONCAT44(uVar15,uVar14)" identifier (argument_list "(uVar15,uVar14)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" if (parenthesized_expression "(bVar17)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }" { (expression_statement "*(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);" (assignment_expression "*(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" (pointer_expression "*(longlong *)puVar6" * (cast_expression "(longlong *)puVar6" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" identifier (argument_list "(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" ( (binary_expression "uVar15 + (0xfffffffe < uVar14)" identifier + (parenthesized_expression "(0xfffffffe < uVar14)" ( (binary_expression "0xfffffffe < uVar14" number_literal < identifier) ))) , (binary_expression "uVar14 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" else (compound_statement "{\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" { (expression_statement "uVar15 = (uint)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar15 = (uint)((ulonglong)lVar2 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar2 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar14 = (uint)lVar2;" (assignment_expression "uVar14 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar17)" ( (unary_expression "!bVar17" ! identifier) )) ;) (expression_statement "iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);" (assignment_expression "iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" identifier = (call_expression "SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" identifier (argument_list "(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1004)" * (cast_expression "(undefined4 *)(iVar3 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1004)" ( (binary_expression "iVar3 + 0x1004" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)param_1[5]" * (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) , (subscript_expression "((undefined4 *)param_1[5])[1]" (parenthesized_expression "((undefined4 *)param_1[5])" ( (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) )) [ number_literal ]) , (pointer_expression "*(undefined4 *)(iVar3 + 0x100c)" * (cast_expression "(undefined4 *)(iVar3 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100c)" ( (binary_expression "iVar3 + 0x100c" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar11 == 0) goto LAB_000e2f91;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000e2f91;" goto statement_identifier ;)) })) }))) })) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_38 < iVar10 + iVar9 + iVar4)" ( (binary_expression "local_38 < iVar10 + iVar9 + iVar4" identifier < (binary_expression "iVar10 + iVar9 + iVar4" (binary_expression "iVar10 + iVar9" identifier + identifier) + identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* DWARF original prototype: void SetWandViewIterator._omp_fn.2(anon_struct_24_6_eed5eb56 * param_0)\n    */\n\nvoid __thiscall SetWandViewIterator__omp_fn_2(anon_struct_24_6_eed5eb56 *this)\n\n{\n  PixelWand **ppPVar1;\n  longlong lVar2;\n  WandView *pWVar3;\n  int iVar4;\n  Image *pIVar5;\n  void *pvVar6;\n  SetWandViewMethod p_Var7;\n  uint *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  Quantum *pixel;\n  MagickBooleanType MVar13;\n  uint uVar14;\n  Image *image;\n  uint uVar15;\n  bool bVar16;\n  int local_38;\n  \n  pWVar3 = this->destination;\n  iVar9 = omp_get_num_threads(&_GLOBAL_OFFSET_TABLE_);\n  iVar4 = (pWVar3->extent).y;\n  iVar10 = omp_get_thread_num();\n  iVar11 = (pWVar3->extent).height - iVar4;\n  iVar12 = iVar11 / iVar9;\n  iVar11 = iVar11 % iVar9;\n  if (iVar10 < iVar11) {\n    iVar12 = iVar12 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar11 + iVar10 * iVar12;\n  if (iVar11 < iVar12 + iVar11) {\n    pIVar5 = this->destination_image;\n    pvVar6 = this->context;\n    p_Var7 = this->set;\n    local_38 = iVar4 + iVar11;\n    do {\n      iVar9 = omp_get_thread_num();\n      if (this->status != MagickFalse) {\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar12 + iVar11 + iVar4);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall SetWandViewIterator__omp_fn_2(anon_struct_24_6_eed5eb56 *this)\n\n{\n  PixelWand **ppPVar1;\n  longlong lVar2;\n  WandView *pWVar3;\n  int iVar4;\n  Image *pIVar5;\n  void *pvVar6;\n  SetWandViewMethod p_Var7;\n  uint *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  Quantum *pixel;\n  MagickBooleanType MVar13;\n  uint uVar14;\n  Image *image;\n  uint uVar15;\n  bool bVar16;\n  int local_38;\n  \n  pWVar3 = this->destination;\n  iVar9 = omp_get_num_threads(&_GLOBAL_OFFSET_TABLE_);\n  iVar4 = (pWVar3->extent).y;\n  iVar10 = omp_get_thread_num();\n  iVar11 = (pWVar3->extent).height - iVar4;\n  iVar12 = iVar11 / iVar9;\n  iVar11 = iVar11 % iVar9;\n  if (iVar10 < iVar11) {\n    iVar12 = iVar12 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar11 + iVar10 * iVar12;\n  if (iVar11 < iVar12 + iVar11) {\n    pIVar5 = this->destination_image;\n    pvVar6 = this->context;\n    p_Var7 = this->set;\n    local_38 = iVar4 + iVar11;\n    do {\n      iVar9 = omp_get_thread_num();\n      if (this->status != MagickFalse) {\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar12 + iVar11 + iVar4);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "SetWandViewIterator__omp_fn_2(anon_struct_24_6_eed5eb56 *this)" identifier (parameter_list "(anon_struct_24_6_eed5eb56 *this)" ( (parameter_declaration "anon_struct_24_6_eed5eb56 *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  PixelWand **ppPVar1;\n  longlong lVar2;\n  WandView *pWVar3;\n  int iVar4;\n  Image *pIVar5;\n  void *pvVar6;\n  SetWandViewMethod p_Var7;\n  uint *puVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  Quantum *pixel;\n  MagickBooleanType MVar13;\n  uint uVar14;\n  Image *image;\n  uint uVar15;\n  bool bVar16;\n  int local_38;\n  \n  pWVar3 = this->destination;\n  iVar9 = omp_get_num_threads(&_GLOBAL_OFFSET_TABLE_);\n  iVar4 = (pWVar3->extent).y;\n  iVar10 = omp_get_thread_num();\n  iVar11 = (pWVar3->extent).height - iVar4;\n  iVar12 = iVar11 / iVar9;\n  iVar11 = iVar11 % iVar9;\n  if (iVar10 < iVar11) {\n    iVar12 = iVar12 + 1;\n    iVar11 = 0;\n  }\n  iVar11 = iVar11 + iVar10 * iVar12;\n  if (iVar11 < iVar12 + iVar11) {\n    pIVar5 = this->destination_image;\n    pvVar6 = this->context;\n    p_Var7 = this->set;\n    local_38 = iVar4 + iVar11;\n    do {\n      iVar9 = omp_get_thread_num();\n      if (this->status != MagickFalse) {\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar12 + iVar11 + iVar4);\n  }\n  return;\n}" { (declaration "PixelWand **ppPVar1;" type_identifier (pointer_declarator "**ppPVar1" * (pointer_declarator "*ppPVar1" * identifier)) ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "WandView *pWVar3;" type_identifier (pointer_declarator "*pWVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "Image *pIVar5;" type_identifier (pointer_declarator "*pIVar5" * identifier) ;) (declaration "void *pvVar6;" primitive_type (pointer_declarator "*pvVar6" * identifier) ;) (declaration "SetWandViewMethod p_Var7;" type_identifier identifier ;) (declaration "uint *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "Quantum *pixel;" type_identifier (pointer_declarator "*pixel" * identifier) ;) (declaration "MagickBooleanType MVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "pWVar3 = this->destination;" (assignment_expression "pWVar3 = this->destination" identifier = (field_expression "this->destination" identifier -> field_identifier)) ;) (expression_statement "iVar9 = omp_get_num_threads(&_GLOBAL_OFFSET_TABLE_);" (assignment_expression "iVar9 = omp_get_num_threads(&_GLOBAL_OFFSET_TABLE_)" identifier = (call_expression "omp_get_num_threads(&_GLOBAL_OFFSET_TABLE_)" identifier (argument_list "(&_GLOBAL_OFFSET_TABLE_)" ( (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier) )))) ;) (expression_statement "iVar4 = (pWVar3->extent).y;" (assignment_expression "iVar4 = (pWVar3->extent).y" identifier = (field_expression "(pWVar3->extent).y" (parenthesized_expression "(pWVar3->extent)" ( (field_expression "pWVar3->extent" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar10 = omp_get_thread_num();" (assignment_expression "iVar10 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar11 = (pWVar3->extent).height - iVar4;" (assignment_expression "iVar11 = (pWVar3->extent).height - iVar4" identifier = (binary_expression "(pWVar3->extent).height - iVar4" (field_expression "(pWVar3->extent).height" (parenthesized_expression "(pWVar3->extent)" ( (field_expression "pWVar3->extent" identifier -> field_identifier) )) . field_identifier) - identifier)) ;) (expression_statement "iVar12 = iVar11 / iVar9;" (assignment_expression "iVar12 = iVar11 / iVar9" identifier = (binary_expression "iVar11 / iVar9" identifier / identifier)) ;) (expression_statement "iVar11 = iVar11 % iVar9;" (assignment_expression "iVar11 = iVar11 % iVar9" identifier = (binary_expression "iVar11 % iVar9" identifier % identifier)) ;) (if_statement "if (iVar10 < iVar11) {\n    iVar12 = iVar12 + 1;\n    iVar11 = 0;\n  }" if (parenthesized_expression "(iVar10 < iVar11)" ( (binary_expression "iVar10 < iVar11" identifier < identifier) )) (compound_statement "{\n    iVar12 = iVar12 + 1;\n    iVar11 = 0;\n  }" { (expression_statement "iVar12 = iVar12 + 1;" (assignment_expression "iVar12 = iVar12 + 1" identifier = (binary_expression "iVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) })) (expression_statement "iVar11 = iVar11 + iVar10 * iVar12;" (assignment_expression "iVar11 = iVar11 + iVar10 * iVar12" identifier = (binary_expression "iVar11 + iVar10 * iVar12" identifier + (binary_expression "iVar10 * iVar12" identifier * identifier))) ;) (if_statement "if (iVar11 < iVar12 + iVar11) {\n    pIVar5 = this->destination_image;\n    pvVar6 = this->context;\n    p_Var7 = this->set;\n    local_38 = iVar4 + iVar11;\n    do {\n      iVar9 = omp_get_thread_num();\n      if (this->status != MagickFalse) {\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar12 + iVar11 + iVar4);\n  }" if (parenthesized_expression "(iVar11 < iVar12 + iVar11)" ( (binary_expression "iVar11 < iVar12 + iVar11" identifier < (binary_expression "iVar12 + iVar11" identifier + identifier)) )) (compound_statement "{\n    pIVar5 = this->destination_image;\n    pvVar6 = this->context;\n    p_Var7 = this->set;\n    local_38 = iVar4 + iVar11;\n    do {\n      iVar9 = omp_get_thread_num();\n      if (this->status != MagickFalse) {\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar12 + iVar11 + iVar4);\n  }" { (expression_statement "pIVar5 = this->destination_image;" (assignment_expression "pIVar5 = this->destination_image" identifier = (field_expression "this->destination_image" identifier -> field_identifier)) ;) (expression_statement "pvVar6 = this->context;" (assignment_expression "pvVar6 = this->context" identifier = (field_expression "this->context" identifier -> field_identifier)) ;) (expression_statement "p_Var7 = this->set;" (assignment_expression "p_Var7 = this->set" identifier = (field_expression "this->set" identifier -> field_identifier)) ;) (expression_statement "local_38 = iVar4 + iVar11;" (assignment_expression "local_38 = iVar4 + iVar11" identifier = (binary_expression "iVar4 + iVar11" identifier + identifier)) ;) (do_statement "do {\n      iVar9 = omp_get_thread_num();\n      if (this->status != MagickFalse) {\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar12 + iVar11 + iVar4);" do (compound_statement "{\n      iVar9 = omp_get_thread_num();\n      if (this->status != MagickFalse) {\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    }" { (expression_statement "iVar9 = omp_get_thread_num();" (assignment_expression "iVar9 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (if_statement "if (this->status != MagickFalse) {\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }" if (parenthesized_expression "(this->status != MagickFalse)" ( (binary_expression "this->status != MagickFalse" (field_expression "this->status" identifier -> field_identifier) != identifier) )) (compound_statement "{\n        pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);\n        if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }\n      }" { (expression_statement "pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception);" (assignment_expression "pixel = (Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception)" identifier = (cast_expression "(Quantum *)\n                GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception)" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "GetCacheViewAuthenticPixels\n                          (pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception)" identifier (argument_list "(pWVar3->view,(pWVar3->extent).x,local_38,(pWVar3->extent).width,1,\n                           pWVar3->exception)" ( (field_expression "pWVar3->view" identifier -> field_identifier) , (field_expression "(pWVar3->extent).x" (parenthesized_expression "(pWVar3->extent)" ( (field_expression "pWVar3->extent" identifier -> field_identifier) )) . field_identifier) , identifier , (field_expression "(pWVar3->extent).width" (parenthesized_expression "(pWVar3->extent)" ( (field_expression "pWVar3->extent" identifier -> field_identifier) )) . field_identifier) , number_literal , (field_expression "pWVar3->exception" identifier -> field_identifier) ))))) ;) (if_statement "if (pixel == (Quantum *)0x0) {\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }\n        else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }" if (parenthesized_expression "(pixel == (Quantum *)0x0)" ( (binary_expression "pixel == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000e2f91:\n          this->status = MagickFalse;\n        }" { (labeled_statement "LAB_000e2f91:\n          this->status = MagickFalse;" statement_identifier : (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;)) }) (else_clause "else {\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }" else (compound_statement "{\n          MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);\n          if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }\n          if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }\n          iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);\n          if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }\n          if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }\n        }" { (expression_statement "MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6);" (assignment_expression "MVar13 = (*p_Var7)(pWVar3,local_38,iVar9,pvVar6)" identifier = (call_expression "(*p_Var7)(pWVar3,local_38,iVar9,pvVar6)" (parenthesized_expression "(*p_Var7)" ( (pointer_expression "*p_Var7" * identifier) )) (argument_list "(pWVar3,local_38,iVar9,pvVar6)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (MVar13 == MagickFalse) {\n            this->status = MagickFalse;\n          }" if (parenthesized_expression "(MVar13 == MagickFalse)" ( (binary_expression "MVar13 == MagickFalse" identifier == identifier) )) (compound_statement "{\n            this->status = MagickFalse;\n          }" { (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (0 < (int)(pWVar3->extent).width) {\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }" if (parenthesized_expression "(0 < (int)(pWVar3->extent).width)" ( (binary_expression "0 < (int)(pWVar3->extent).width" number_literal < (cast_expression "(int)(pWVar3->extent).width" ( (type_descriptor "int" primitive_type) ) (field_expression "(pWVar3->extent).width" (parenthesized_expression "(pWVar3->extent)" ( (field_expression "pWVar3->extent" identifier -> field_identifier) )) . field_identifier))) )) (compound_statement "{\n            image = pWVar3->image;\n            iVar10 = 0;\n            do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);\n          }" { (expression_statement "image = pWVar3->image;" (assignment_expression "image = pWVar3->image" identifier = (field_expression "pWVar3->image" identifier -> field_identifier)) ;) (expression_statement "iVar10 = 0;" (assignment_expression "iVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            } while (iVar10 < (int)(pWVar3->extent).width);" do (compound_statement "{\n              ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;\n              iVar10 = iVar10 + 1;\n              PixelGetQuantumPixel(image,*ppPVar1,pixel);\n              image = pWVar3->image;\n              pixel = pixel + image->number_channels;\n            }" { (expression_statement "ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10;" (assignment_expression "ppPVar1 = pWVar3->pixel_wands[iVar9] + iVar10" identifier = (binary_expression "pWVar3->pixel_wands[iVar9] + iVar10" (subscript_expression "pWVar3->pixel_wands[iVar9]" (field_expression "pWVar3->pixel_wands" identifier -> field_identifier) [ identifier ]) + identifier)) ;) (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "PixelGetQuantumPixel(image,*ppPVar1,pixel);" (call_expression "PixelGetQuantumPixel(image,*ppPVar1,pixel)" identifier (argument_list "(image,*ppPVar1,pixel)" ( identifier , (pointer_expression "*ppPVar1" * identifier) , identifier ))) ;) (expression_statement "image = pWVar3->image;" (assignment_expression "image = pWVar3->image" identifier = (field_expression "pWVar3->image" identifier -> field_identifier)) ;) (expression_statement "pixel = pixel + image->number_channels;" (assignment_expression "pixel = pixel + image->number_channels" identifier = (binary_expression "pixel + image->number_channels" identifier + (field_expression "image->number_channels" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(iVar10 < (int)(pWVar3->extent).width)" ( (binary_expression "iVar10 < (int)(pWVar3->extent).width" identifier < (cast_expression "(int)(pWVar3->extent).width" ( (type_descriptor "int" primitive_type) ) (field_expression "(pWVar3->extent).width" (parenthesized_expression "(pWVar3->extent)" ( (field_expression "pWVar3->extent" identifier -> field_identifier) )) . field_identifier))) )) ;) })) (expression_statement "iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception);" (assignment_expression "iVar9 = SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(pWVar3->view,pWVar3->exception)" identifier (argument_list "(pWVar3->view,pWVar3->exception)" ( (field_expression "pWVar3->view" identifier -> field_identifier) , (field_expression "pWVar3->exception" identifier -> field_identifier) )))) ;) (if_statement "if (iVar9 == 0) {\n            this->status = MagickFalse;\n          }" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (compound_statement "{\n            this->status = MagickFalse;\n          }" { (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) })) (if_statement "if (pIVar5->progress_monitor != (MagickProgressMonitor)0x0) {\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }" if (parenthesized_expression "(pIVar5->progress_monitor != (MagickProgressMonitor)0x0)" ( (binary_expression "pIVar5->progress_monitor != (MagickProgressMonitor)0x0" (field_expression "pIVar5->progress_monitor" identifier -> field_identifier) != (cast_expression "(MagickProgressMonitor)0x0" ( (type_descriptor "MagickProgressMonitor" type_identifier) ) number_literal)) )) (compound_statement "{\n            puVar8 = (uint *)this->progress;\n            uVar14 = *puVar8;\n            uVar15 = puVar8[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);\n            iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);\n            if (iVar9 == 0) goto LAB_000e2f91;\n          }" { (expression_statement "puVar8 = (uint *)this->progress;" (assignment_expression "puVar8 = (uint *)this->progress" identifier = (cast_expression "(uint *)this->progress" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->progress" identifier -> field_identifier))) ;) (expression_statement "uVar14 = *puVar8;" (assignment_expression "uVar14 = *puVar8" identifier = (pointer_expression "*puVar8" * identifier)) ;) (expression_statement "uVar15 = puVar8[1];" (assignment_expression "uVar15 = puVar8[1]" identifier = (subscript_expression "puVar8[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar16);" do (compound_statement "{\n              LOCK();\n              lVar2 = *(longlong *)puVar8;\n              bVar16 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(longlong *)puVar8;" (assignment_expression "lVar2 = *(longlong *)puVar8" identifier = (pointer_expression "*(longlong *)puVar8" * (cast_expression "(longlong *)puVar8" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar16 = CONCAT44(uVar15,uVar14) == lVar2;" (assignment_expression "bVar16 = CONCAT44(uVar15,uVar14) == lVar2" identifier = (binary_expression "CONCAT44(uVar15,uVar14) == lVar2" (call_expression "CONCAT44(uVar15,uVar14)" identifier (argument_list "(uVar15,uVar14)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar16) {\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }" { (expression_statement "*(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);" (assignment_expression "*(longlong *)puVar8 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" (pointer_expression "*(longlong *)puVar8" * (cast_expression "(longlong *)puVar8" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" identifier (argument_list "(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" ( (binary_expression "uVar15 + (0xfffffffe < uVar14)" identifier + (parenthesized_expression "(0xfffffffe < uVar14)" ( (binary_expression "0xfffffffe < uVar14" number_literal < identifier) ))) , (binary_expression "uVar14 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" else (compound_statement "{\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" { (expression_statement "uVar15 = (uint)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar15 = (uint)((ulonglong)lVar2 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar2 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar14 = (uint)lVar2;" (assignment_expression "uVar14 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar16)" ( (unary_expression "!bVar16" ! identifier) )) ;) (expression_statement "iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0);" (assignment_expression "iVar9 = SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0)" identifier = (call_expression "SetImageProgress(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0)" identifier (argument_list "(pIVar5,pWVar3->description,(int)*this->progress,\n                                     *(undefined4 *)((int)this->progress + 4),\n                                     (pWVar3->extent).height,0)" ( identifier , (field_expression "pWVar3->description" identifier -> field_identifier) , (cast_expression "(int)*this->progress" ( (type_descriptor "int" primitive_type) ) (pointer_expression "*this->progress" * (field_expression "this->progress" identifier -> field_identifier))) , (pointer_expression "*(undefined4 *)((int)this->progress + 4)" * (cast_expression "(undefined4 *)((int)this->progress + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this->progress + 4)" ( (binary_expression "(int)this->progress + 4" (cast_expression "(int)this->progress" ( (type_descriptor "int" primitive_type) ) (field_expression "this->progress" identifier -> field_identifier)) + number_literal) )))) , (field_expression "(pWVar3->extent).height" (parenthesized_expression "(pWVar3->extent)" ( (field_expression "pWVar3->extent" identifier -> field_identifier) )) . field_identifier) , number_literal )))) ;) (if_statement "if (iVar9 == 0) goto LAB_000e2f91;" if (parenthesized_expression "(iVar9 == 0)" ( (binary_expression "iVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000e2f91;" goto statement_identifier ;)) })) }))) })) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_38 < iVar12 + iVar11 + iVar4)" ( (binary_expression "local_38 < iVar12 + iVar11 + iVar4" identifier < (binary_expression "iVar12 + iVar11 + iVar4" (binary_expression "iVar12 + iVar11" identifier + identifier) + identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000e2db0(int *param_1)\n\n{\n  int iVar1;\n  longlong lVar2;\n  int iVar3;\n  int iVar4;\n  code *pcVar5;\n  uint *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  uint uVar14;\n  uint uVar15;\n  int iVar16;\n  bool bVar17;\n  int local_38;\n  \n  iVar3 = *param_1;\n  iVar7 = omp_get_num_threads(&__DT_PLTGOT);\n  iVar4 = *(int *)(iVar3 + 0x1014);\n  iVar8 = omp_get_thread_num();\n  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;\n  iVar10 = iVar9 / iVar7;\n  iVar9 = iVar9 % iVar7;\n  if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar9 + iVar8 * iVar10;\n  if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000e2db0(int *param_1)\n\n{\n  int iVar1;\n  longlong lVar2;\n  int iVar3;\n  int iVar4;\n  code *pcVar5;\n  uint *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  uint uVar14;\n  uint uVar15;\n  int iVar16;\n  bool bVar17;\n  int local_38;\n  \n  iVar3 = *param_1;\n  iVar7 = omp_get_num_threads(&__DT_PLTGOT);\n  iVar4 = *(int *)(iVar3 + 0x1014);\n  iVar8 = omp_get_thread_num();\n  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;\n  iVar10 = iVar9 / iVar7;\n  iVar9 = iVar9 % iVar7;\n  if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar9 + iVar8 * iVar10;\n  if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000e2db0(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  longlong lVar2;\n  int iVar3;\n  int iVar4;\n  code *pcVar5;\n  uint *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  uint uVar14;\n  uint uVar15;\n  int iVar16;\n  bool bVar17;\n  int local_38;\n  \n  iVar3 = *param_1;\n  iVar7 = omp_get_num_threads(&__DT_PLTGOT);\n  iVar4 = *(int *)(iVar3 + 0x1014);\n  iVar8 = omp_get_thread_num();\n  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;\n  iVar10 = iVar9 / iVar7;\n  iVar9 = iVar9 % iVar7;\n  if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar9 + iVar8 * iVar10;\n  if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "longlong lVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "uint *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "bool bVar17;" primitive_type identifier ;) (declaration "int local_38;" primitive_type identifier ;) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar7 = omp_get_num_threads(&__DT_PLTGOT);" (assignment_expression "iVar7 = omp_get_num_threads(&__DT_PLTGOT)" identifier = (call_expression "omp_get_num_threads(&__DT_PLTGOT)" identifier (argument_list "(&__DT_PLTGOT)" ( (pointer_expression "&__DT_PLTGOT" & identifier) )))) ;) (expression_statement "iVar4 = *(int *)(iVar3 + 0x1014);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0x1014)" identifier = (pointer_expression "*(int *)(iVar3 + 0x1014)" * (cast_expression "(int *)(iVar3 + 0x1014)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1014)" ( (binary_expression "iVar3 + 0x1014" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = omp_get_thread_num();" (assignment_expression "iVar8 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;" (assignment_expression "iVar9 = *(int *)(iVar3 + 0x100c) - iVar4" identifier = (binary_expression "*(int *)(iVar3 + 0x100c) - iVar4" (pointer_expression "*(int *)(iVar3 + 0x100c)" * (cast_expression "(int *)(iVar3 + 0x100c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100c)" ( (binary_expression "iVar3 + 0x100c" identifier + number_literal) )))) - identifier)) ;) (expression_statement "iVar10 = iVar9 / iVar7;" (assignment_expression "iVar10 = iVar9 / iVar7" identifier = (binary_expression "iVar9 / iVar7" identifier / identifier)) ;) (expression_statement "iVar9 = iVar9 % iVar7;" (assignment_expression "iVar9 = iVar9 % iVar7" identifier = (binary_expression "iVar9 % iVar7" identifier % identifier)) ;) (if_statement "if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }" if (parenthesized_expression "(iVar8 < iVar9)" ( (binary_expression "iVar8 < iVar9" identifier < identifier) )) (compound_statement "{\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }" { (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" identifier = (binary_expression "iVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) })) (expression_statement "iVar9 = iVar9 + iVar8 * iVar10;" (assignment_expression "iVar9 = iVar9 + iVar8 * iVar10" identifier = (binary_expression "iVar9 + iVar8 * iVar10" identifier + (binary_expression "iVar8 * iVar10" identifier * identifier))) ;) (if_statement "if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }" if (parenthesized_expression "(iVar9 < iVar10 + iVar9)" ( (binary_expression "iVar9 < iVar10 + iVar9" identifier < (binary_expression "iVar10 + iVar9" identifier + identifier)) )) (compound_statement "{\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }" { (expression_statement "iVar7 = param_1[3];" (assignment_expression "iVar7 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = param_1[2];" (assignment_expression "iVar8 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "pcVar5 = (code *)param_1[1];" (assignment_expression "pcVar5 = (code *)param_1[1]" identifier = (cast_expression "(code *)param_1[1]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[1]" identifier [ number_literal ]))) ;) (expression_statement "local_38 = iVar4 + iVar9;" (assignment_expression "local_38 = iVar4 + iVar9" identifier = (binary_expression "iVar4 + iVar9" identifier + identifier)) ;) (do_statement "do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);" do (compound_statement "{\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    }" { (expression_statement "iVar11 = omp_get_thread_num();" (assignment_expression "iVar11 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (if_statement "if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }" { (expression_statement "iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));" (assignment_expression "iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" identifier = (call_expression "GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" identifier (argument_list "(*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x1020)" * (cast_expression "(undefined4 *)(iVar3 + 0x1020)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1020)" ( (binary_expression "iVar3 + 0x1020" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x1010)" * (cast_expression "(undefined4 *)(iVar3 + 0x1010)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1010)" ( (binary_expression "iVar3 + 0x1010" identifier + number_literal) )))) , identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1008)" * (cast_expression "(undefined4 *)(iVar3 + 0x1008)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1008)" ( (binary_expression "iVar3 + 0x1008" identifier + number_literal) )))) , number_literal , (pointer_expression "*(undefined4 *)(iVar3 + 0x1028)" * (cast_expression "(undefined4 *)(iVar3 + 0x1028)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1028)" ( (binary_expression "iVar3 + 0x1028" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000e2f91:\n          param_1[4] = 0;\n        }" { (labeled_statement "LAB_000e2f91:\n          param_1[4] = 0;" statement_identifier : (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;)) }) (else_clause "else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" else (compound_statement "{\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" { (expression_statement "iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);" (assignment_expression "iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8)" identifier = (call_expression "(*pcVar5)(iVar3,local_38,iVar11,iVar8)" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "(iVar3,local_38,iVar11,iVar8)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar13 == 0) {\n            param_1[4] = 0;\n          }" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[4] = 0;\n          }" { (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }" if (parenthesized_expression "(0 < *(int *)(iVar3 + 0x1008))" ( (binary_expression "0 < *(int *)(iVar3 + 0x1008)" number_literal < (pointer_expression "*(int *)(iVar3 + 0x1008)" * (cast_expression "(int *)(iVar3 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1008)" ( (binary_expression "iVar3 + 0x1008" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }" { (expression_statement "iVar13 = *(int *)(iVar3 + 0x101c);" (assignment_expression "iVar13 = *(int *)(iVar3 + 0x101c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x101c)" * (cast_expression "(int *)(iVar3 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x101c)" ( (binary_expression "iVar3 + 0x101c" identifier + number_literal) ))))) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));" do (compound_statement "{\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            }" { (expression_statement "iVar1 = iVar16 * 4;" (assignment_expression "iVar1 = iVar16 * 4" identifier = (binary_expression "iVar16 * 4" identifier * number_literal)) ;) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);" (call_expression "PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12)" identifier (argument_list "(iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12)" ( identifier , (pointer_expression "*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" * (cast_expression "(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" ( (binary_expression "*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" ( (binary_expression "*(int *)(iVar3 + 0x1024) + iVar11 * 4" (pointer_expression "*(int *)(iVar3 + 0x1024)" * (cast_expression "(int *)(iVar3 + 0x1024)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1024)" ( (binary_expression "iVar3 + 0x1024" identifier + number_literal) )))) + (binary_expression "iVar11 * 4" identifier * number_literal)) )))) + identifier) )))) , identifier ))) ;) (expression_statement "iVar13 = *(int *)(iVar3 + 0x101c);" (assignment_expression "iVar13 = *(int *)(iVar3 + 0x101c)" identifier = (pointer_expression "*(int *)(iVar3 + 0x101c)" * (cast_expression "(int *)(iVar3 + 0x101c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x101c)" ( (binary_expression "iVar3 + 0x101c" identifier + number_literal) ))))) ;) (expression_statement "iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;" (assignment_expression "iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8" identifier = (binary_expression "iVar12 + *(int *)(iVar13 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar13 + 0x298) * 8" (pointer_expression "*(int *)(iVar13 + 0x298)" * (cast_expression "(int *)(iVar13 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x298)" ( (binary_expression "iVar13 + 0x298" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar16 < *(int *)(iVar3 + 0x1008))" ( (binary_expression "iVar16 < *(int *)(iVar3 + 0x1008)" identifier < (pointer_expression "*(int *)(iVar3 + 0x1008)" * (cast_expression "(int *)(iVar3 + 0x1008)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1008)" ( (binary_expression "iVar3 + 0x1008" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));" (assignment_expression "iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" identifier = (call_expression "SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" identifier (argument_list "(*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x1020)" * (cast_expression "(undefined4 *)(iVar3 + 0x1020)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1020)" ( (binary_expression "iVar3 + 0x1020" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar3 + 0x1028)" * (cast_expression "(undefined4 *)(iVar3 + 0x1028)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1028)" ( (binary_expression "iVar3 + 0x1028" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar11 == 0) {\n            param_1[4] = 0;\n          }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[4] = 0;\n          }" { (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }" if (parenthesized_expression "(*(int *)(iVar7 + 0x300) != 0)" ( (binary_expression "*(int *)(iVar7 + 0x300) != 0" (pointer_expression "*(int *)(iVar7 + 0x300)" * (cast_expression "(int *)(iVar7 + 0x300)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x300)" ( (binary_expression "iVar7 + 0x300" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }" { (expression_statement "puVar6 = (uint *)param_1[5];" (assignment_expression "puVar6 = (uint *)param_1[5]" identifier = (cast_expression "(uint *)param_1[5]" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) ;) (expression_statement "uVar14 = *puVar6;" (assignment_expression "uVar14 = *puVar6" identifier = (pointer_expression "*puVar6" * identifier)) ;) (expression_statement "uVar15 = puVar6[1];" (assignment_expression "uVar15 = puVar6[1]" identifier = (subscript_expression "puVar6[1]" identifier [ number_literal ])) ;) (do_statement "do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);" do (compound_statement "{\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            }" { (expression_statement "LOCK();" (call_expression "LOCK()" identifier (argument_list "()" ( ))) ;) (expression_statement "lVar2 = *(longlong *)puVar6;" (assignment_expression "lVar2 = *(longlong *)puVar6" identifier = (pointer_expression "*(longlong *)puVar6" * (cast_expression "(longlong *)puVar6" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "bVar17 = CONCAT44(uVar15,uVar14) == lVar2;" (assignment_expression "bVar17 = CONCAT44(uVar15,uVar14) == lVar2" identifier = (binary_expression "CONCAT44(uVar15,uVar14) == lVar2" (call_expression "CONCAT44(uVar15,uVar14)" identifier (argument_list "(uVar15,uVar14)" ( identifier , identifier ))) == identifier)) ;) (if_statement "if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" if (parenthesized_expression "(bVar17)" ( identifier )) (compound_statement "{\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }" { (expression_statement "*(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);" (assignment_expression "*(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" (pointer_expression "*(longlong *)puVar6" * (cast_expression "(longlong *)puVar6" ( (type_descriptor "longlong *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (call_expression "CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" identifier (argument_list "(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" ( (binary_expression "uVar15 + (0xfffffffe < uVar14)" identifier + (parenthesized_expression "(0xfffffffe < uVar14)" ( (binary_expression "0xfffffffe < uVar14" number_literal < identifier) ))) , (binary_expression "uVar14 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" else (compound_statement "{\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" { (expression_statement "uVar15 = (uint)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar15 = (uint)((ulonglong)lVar2 >> 0x20)" identifier = (call_expression "(uint)((ulonglong)lVar2 >> 0x20)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((ulonglong)lVar2 >> 0x20)" ( (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) ;) (expression_statement "uVar14 = (uint)lVar2;" (assignment_expression "uVar14 = (uint)lVar2" identifier = (cast_expression "(uint)lVar2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) }))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" identifier (argument_list "()" ( ))) ;) }) while (parenthesized_expression "(!bVar17)" ( (unary_expression "!bVar17" ! identifier) )) ;) (expression_statement "iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);" (assignment_expression "iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" identifier = (call_expression "SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" identifier (argument_list "(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x1004)" * (cast_expression "(undefined4 *)(iVar3 + 0x1004)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1004)" ( (binary_expression "iVar3 + 0x1004" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)param_1[5]" * (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ]))) , (subscript_expression "((undefined4 *)param_1[5])[1]" (parenthesized_expression "((undefined4 *)param_1[5])" ( (cast_expression "(undefined4 *)param_1[5]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[5]" identifier [ number_literal ])) )) [ number_literal ]) , (pointer_expression "*(undefined4 *)(iVar3 + 0x100c)" * (cast_expression "(undefined4 *)(iVar3 + 0x100c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x100c)" ( (binary_expression "iVar3 + 0x100c" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (iVar11 == 0) goto LAB_000e2f91;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000e2f91;" goto statement_identifier ;)) })) }))) })) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" identifier = (binary_expression "local_38 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_38 < iVar10 + iVar9 + iVar4)" ( (binary_expression "local_38 < iVar10 + iVar9 + iVar4" identifier < (binary_expression "iVar10 + iVar9 + iVar4" (binary_expression "iVar10 + iVar9" identifier + identifier) + identifier)) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression 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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (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 (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT * LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) + IDENT) )))) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression IDENT (argument_list ( IDENT , IDENT ))) == IDENT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (call_expression IDENT (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT < IDENT) ))) , (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) }) while (parenthesized_expression ( (unary_expression ! IDENT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )) [ LIT ]) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (binary_expression (binary_expression IDENT + IDENT) + IDENT)) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000e2db0(int *param_1)\n\n{\n  int iVar1;\n  longlong lVar2;\n  int iVar3;\n  int iVar4;\n  code *pcVar5;\n  uint *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  uint uVar14;\n  uint uVar15;\n  int iVar16;\n  bool bVar17;\n  int local_38;\n  \n  iVar3 = *param_1;\n  iVar7 = omp_get_num_threads(&__DT_PLTGOT);\n  iVar4 = *(int *)(iVar3 + 0x1014);\n  iVar8 = omp_get_thread_num();\n  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;\n  iVar10 = iVar9 / iVar7;\n  iVar9 = iVar9 % iVar7;\n  if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar9 + iVar8 * iVar10;\n  if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000e2db0(int *param_1)" (identifier "FUN_000e2db0") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int iVar1;\n  longlong lVar2;\n  int iVar3;\n  int iVar4;\n  code *pcVar5;\n  uint *puVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  int iVar13;\n  uint uVar14;\n  uint uVar15;\n  int iVar16;\n  bool bVar17;\n  int local_38;\n  \n  iVar3 = *param_1;\n  iVar7 = omp_get_num_threads(&__DT_PLTGOT);\n  iVar4 = *(int *)(iVar3 + 0x1014);\n  iVar8 = omp_get_thread_num();\n  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;\n  iVar10 = iVar9 / iVar7;\n  iVar9 = iVar9 % iVar7;\n  if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }\n  iVar9 = iVar9 + iVar8 * iVar10;\n  if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "longlong lVar2;" (type_identifier "longlong") (identifier "lVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "code *pcVar5;" (type_identifier "code") (pointer_declarator "*pcVar5" (* "*") (identifier "pcVar5")) (; ";")) (declaration "uint *puVar6;" (type_identifier "uint") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "uint uVar15;" (type_identifier "uint") (identifier "uVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "bool bVar17;" (primitive_type "bool") (identifier "bVar17") (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar7 = omp_get_num_threads(&__DT_PLTGOT);" (assignment_expression "iVar7 = omp_get_num_threads(&__DT_PLTGOT)" (identifier "iVar7") (= "=") (call_expression "omp_get_num_threads(&__DT_PLTGOT)" (identifier "omp_get_num_threads") (argument_list "(&__DT_PLTGOT)" (( "(") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT")) () ")")))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar3 + 0x1014);" (assignment_expression "iVar4 = *(int *)(iVar3 + 0x1014)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar3 + 0x1014)" (* "*") (cast_expression "(int *)(iVar3 + 0x1014)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1014)" (( "(") (binary_expression "iVar3 + 0x1014" (identifier "iVar3") (+ "+") (number_literal "0x1014")) () ")"))))) (; ";")) (expression_statement "iVar8 = omp_get_thread_num();" (assignment_expression "iVar8 = omp_get_thread_num()" (identifier "iVar8") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;" (assignment_expression "iVar9 = *(int *)(iVar3 + 0x100c) - iVar4" (identifier "iVar9") (= "=") (binary_expression "*(int *)(iVar3 + 0x100c) - iVar4" (pointer_expression "*(int *)(iVar3 + 0x100c)" (* "*") (cast_expression "(int *)(iVar3 + 0x100c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x100c)" (( "(") (binary_expression "iVar3 + 0x100c" (identifier "iVar3") (+ "+") (number_literal "0x100c")) () ")")))) (- "-") (identifier "iVar4"))) (; ";")) (expression_statement "iVar10 = iVar9 / iVar7;" (assignment_expression "iVar10 = iVar9 / iVar7" (identifier "iVar10") (= "=") (binary_expression "iVar9 / iVar7" (identifier "iVar9") (/ "/") (identifier "iVar7"))) (; ";")) (expression_statement "iVar9 = iVar9 % iVar7;" (assignment_expression "iVar9 = iVar9 % iVar7" (identifier "iVar9") (= "=") (binary_expression "iVar9 % iVar7" (identifier "iVar9") (% "%") (identifier "iVar7"))) (; ";")) (if_statement "if (iVar8 < iVar9) {\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }" (if "if") (parenthesized_expression "(iVar8 < iVar9)" (( "(") (binary_expression "iVar8 < iVar9" (identifier "iVar8") (< "<") (identifier "iVar9")) () ")")) (compound_statement "{\n    iVar10 = iVar10 + 1;\n    iVar9 = 0;\n  }" ({ "{") (expression_statement "iVar10 = iVar10 + 1;" (assignment_expression "iVar10 = iVar10 + 1" (identifier "iVar10") (= "=") (binary_expression "iVar10 + 1" (identifier "iVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar9 = iVar9 + iVar8 * iVar10;" (assignment_expression "iVar9 = iVar9 + iVar8 * iVar10" (identifier "iVar9") (= "=") (binary_expression "iVar9 + iVar8 * iVar10" (identifier "iVar9") (+ "+") (binary_expression "iVar8 * iVar10" (identifier "iVar8") (* "*") (identifier "iVar10")))) (; ";")) (if_statement "if (iVar9 < iVar10 + iVar9) {\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }" (if "if") (parenthesized_expression "(iVar9 < iVar10 + iVar9)" (( "(") (binary_expression "iVar9 < iVar10 + iVar9" (identifier "iVar9") (< "<") (binary_expression "iVar10 + iVar9" (identifier "iVar10") (+ "+") (identifier "iVar9"))) () ")")) (compound_statement "{\n    iVar7 = param_1[3];\n    iVar8 = param_1[2];\n    pcVar5 = (code *)param_1[1];\n    local_38 = iVar4 + iVar9;\n    do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);\n  }" ({ "{") (expression_statement "iVar7 = param_1[3];" (assignment_expression "iVar7 = param_1[3]" (identifier "iVar7") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar8 = param_1[2];" (assignment_expression "iVar8 = param_1[2]" (identifier "iVar8") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "pcVar5 = (code *)param_1[1];" (assignment_expression "pcVar5 = (code *)param_1[1]" (identifier "pcVar5") (= "=") (cast_expression "(code *)param_1[1]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")))) (; ";")) (expression_statement "local_38 = iVar4 + iVar9;" (assignment_expression "local_38 = iVar4 + iVar9" (identifier "local_38") (= "=") (binary_expression "iVar4 + iVar9" (identifier "iVar4") (+ "+") (identifier "iVar9"))) (; ";")) (do_statement "do {\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    } while (local_38 < iVar10 + iVar9 + iVar4);" (do "do") (compound_statement "{\n      iVar11 = omp_get_thread_num();\n      if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }\n      local_38 = local_38 + 1;\n    }" ({ "{") (expression_statement "iVar11 = omp_get_thread_num();" (assignment_expression "iVar11 = omp_get_thread_num()" (identifier "iVar11") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (param_1[4] != 0) {\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(param_1[4] != 0)" (( "(") (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));\n        if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }\n      }" ({ "{") (expression_statement "iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));" (assignment_expression "iVar12 = GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" (identifier "iVar12") (= "=") (call_expression "GetCacheViewAuthenticPixels\n                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" (identifier "GetCacheViewAuthenticPixels") (argument_list "(*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38\n                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028))" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 0x1020)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1020)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1020)" (( "(") (binary_expression "iVar3 + 0x1020" (identifier "iVar3") (+ "+") (number_literal "0x1020")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1010)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1010)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1010)" (( "(") (binary_expression "iVar3 + 0x1010" (identifier "iVar3") (+ "+") (number_literal "0x1010")) () ")")))) (, ",") (identifier "local_38") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1008)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1008)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1008)" (( "(") (binary_expression "iVar3 + 0x1008" (identifier "iVar3") (+ "+") (number_literal "0x1008")) () ")")))) (, ",") (number_literal "1") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1028)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1028)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1028)" (( "(") (binary_expression "iVar3 + 0x1028" (identifier "iVar3") (+ "+") (number_literal "0x1028")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar12 == 0) {\nLAB_000e2f91:\n          param_1[4] = 0;\n        }\n        else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000e2f91:\n          param_1[4] = 0;\n        }" ({ "{") (labeled_statement "LAB_000e2f91:\n          param_1[4] = 0;" (statement_identifier "LAB_000e2f91") (: ":") (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" (else "else") (compound_statement "{\n          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);\n          if (iVar13 == 0) {\n            param_1[4] = 0;\n          }\n          if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }\n          iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));\n          if (iVar11 == 0) {\n            param_1[4] = 0;\n          }\n          if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }\n        }" ({ "{") (expression_statement "iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);" (assignment_expression "iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8)" (identifier "iVar13") (= "=") (call_expression "(*pcVar5)(iVar3,local_38,iVar11,iVar8)" (parenthesized_expression "(*pcVar5)" (( "(") (pointer_expression "*pcVar5" (* "*") (identifier "pcVar5")) () ")")) (argument_list "(iVar3,local_38,iVar11,iVar8)" (( "(") (identifier "iVar3") (, ",") (identifier "local_38") (, ",") (identifier "iVar11") (, ",") (identifier "iVar8") () ")")))) (; ";")) (if_statement "if (iVar13 == 0) {\n            param_1[4] = 0;\n          }" (if "if") (parenthesized_expression "(iVar13 == 0)" (( "(") (binary_expression "iVar13 == 0" (identifier "iVar13") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            param_1[4] = 0;\n          }" ({ "{") (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (0 < *(int *)(iVar3 + 0x1008)) {\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar3 + 0x1008))" (( "(") (binary_expression "0 < *(int *)(iVar3 + 0x1008)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar3 + 0x1008)" (* "*") (cast_expression "(int *)(iVar3 + 0x1008)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1008)" (( "(") (binary_expression "iVar3 + 0x1008" (identifier "iVar3") (+ "+") (number_literal "0x1008")) () ")"))))) () ")")) (compound_statement "{\n            iVar13 = *(int *)(iVar3 + 0x101c);\n            iVar16 = 0;\n            do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));\n          }" ({ "{") (expression_statement "iVar13 = *(int *)(iVar3 + 0x101c);" (assignment_expression "iVar13 = *(int *)(iVar3 + 0x101c)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar3 + 0x101c)" (* "*") (cast_expression "(int *)(iVar3 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x101c)" (( "(") (binary_expression "iVar3 + 0x101c" (identifier "iVar3") (+ "+") (number_literal "0x101c")) () ")"))))) (; ";")) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" (identifier "iVar16") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            } while (iVar16 < *(int *)(iVar3 + 0x1008));" (do "do") (compound_statement "{\n              iVar1 = iVar16 * 4;\n              iVar16 = iVar16 + 1;\n              PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);\n              iVar13 = *(int *)(iVar3 + 0x101c);\n              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;\n            }" ({ "{") (expression_statement "iVar1 = iVar16 * 4;" (assignment_expression "iVar1 = iVar16 * 4" (identifier "iVar1") (= "=") (binary_expression "iVar16 * 4" (identifier "iVar16") (* "*") (number_literal "4"))) (; ";")) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" (identifier "iVar16") (= "=") (binary_expression "iVar16 + 1" (identifier "iVar16") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);" (call_expression "PixelGetQuantumPixel\n                        (iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12)" (identifier "PixelGetQuantumPixel") (argument_list "(iVar13,*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12)" (( "(") (identifier "iVar13") (, ",") (pointer_expression "*(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" (* "*") (cast_expression "(undefined4 *)\n                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1)" (( "(") (binary_expression "*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" (* "*") (cast_expression "(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x1024) + iVar11 * 4)" (( "(") (binary_expression "*(int *)(iVar3 + 0x1024) + iVar11 * 4" (pointer_expression "*(int *)(iVar3 + 0x1024)" (* "*") (cast_expression "(int *)(iVar3 + 0x1024)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1024)" (( "(") (binary_expression "iVar3 + 0x1024" (identifier "iVar3") (+ "+") (number_literal "0x1024")) () ")")))) (+ "+") (binary_expression "iVar11 * 4" (identifier "iVar11") (* "*") (number_literal "4"))) () ")")))) (+ "+") (identifier "iVar1")) () ")")))) (, ",") (identifier "iVar12") () ")"))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar3 + 0x101c);" (assignment_expression "iVar13 = *(int *)(iVar3 + 0x101c)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar3 + 0x101c)" (* "*") (cast_expression "(int *)(iVar3 + 0x101c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x101c)" (( "(") (binary_expression "iVar3 + 0x101c" (identifier "iVar3") (+ "+") (number_literal "0x101c")) () ")"))))) (; ";")) (expression_statement "iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;" (assignment_expression "iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8" (identifier "iVar12") (= "=") (binary_expression "iVar12 + *(int *)(iVar13 + 0x298) * 8" (identifier "iVar12") (+ "+") (binary_expression "*(int *)(iVar13 + 0x298) * 8" (pointer_expression "*(int *)(iVar13 + 0x298)" (* "*") (cast_expression "(int *)(iVar13 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x298)" (( "(") (binary_expression "iVar13 + 0x298" (identifier "iVar13") (+ "+") (number_literal "0x298")) () ")")))) (* "*") (number_literal "8")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar16 < *(int *)(iVar3 + 0x1008))" (( "(") (binary_expression "iVar16 < *(int *)(iVar3 + 0x1008)" (identifier "iVar16") (< "<") (pointer_expression "*(int *)(iVar3 + 0x1008)" (* "*") (cast_expression "(int *)(iVar3 + 0x1008)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1008)" (( "(") (binary_expression "iVar3 + 0x1008" (identifier "iVar3") (+ "+") (number_literal "0x1008")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));" (assignment_expression "iVar11 = SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" (identifier "iVar11") (= "=") (call_expression "SyncCacheViewAuthenticPixels\n                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028))" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 0x1020)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1020)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1020)" (( "(") (binary_expression "iVar3 + 0x1020" (identifier "iVar3") (+ "+") (number_literal "0x1020")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1028)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1028)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1028)" (( "(") (binary_expression "iVar3 + 0x1028" (identifier "iVar3") (+ "+") (number_literal "0x1028")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar11 == 0) {\n            param_1[4] = 0;\n          }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            param_1[4] = 0;\n          }" ({ "{") (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar7 + 0x300) != 0) {\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar7 + 0x300) != 0)" (( "(") (binary_expression "*(int *)(iVar7 + 0x300) != 0" (pointer_expression "*(int *)(iVar7 + 0x300)" (* "*") (cast_expression "(int *)(iVar7 + 0x300)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x300)" (( "(") (binary_expression "iVar7 + 0x300" (identifier "iVar7") (+ "+") (number_literal "0x300")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            puVar6 = (uint *)param_1[5];\n            uVar14 = *puVar6;\n            uVar15 = puVar6[1];\n            do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);\n            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);\n            if (iVar11 == 0) goto LAB_000e2f91;\n          }" ({ "{") (expression_statement "puVar6 = (uint *)param_1[5];" (assignment_expression "puVar6 = (uint *)param_1[5]" (identifier "puVar6") (= "=") (cast_expression "(uint *)param_1[5]" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (; ";")) (expression_statement "uVar14 = *puVar6;" (assignment_expression "uVar14 = *puVar6" (identifier "uVar14") (= "=") (pointer_expression "*puVar6" (* "*") (identifier "puVar6"))) (; ";")) (expression_statement "uVar15 = puVar6[1];" (assignment_expression "uVar15 = puVar6[1]" (identifier "uVar15") (= "=") (subscript_expression "puVar6[1]" (identifier "puVar6") ([ "[") (number_literal "1") (] "]"))) (; ";")) (do_statement "do {\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            } while (!bVar17);" (do "do") (compound_statement "{\n              LOCK();\n              lVar2 = *(longlong *)puVar6;\n              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;\n              if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }\n              UNLOCK();\n            }" ({ "{") (expression_statement "LOCK();" (call_expression "LOCK()" (identifier "LOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "lVar2 = *(longlong *)puVar6;" (assignment_expression "lVar2 = *(longlong *)puVar6" (identifier "lVar2") (= "=") (pointer_expression "*(longlong *)puVar6" (* "*") (cast_expression "(longlong *)puVar6" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6")))) (; ";")) (expression_statement "bVar17 = CONCAT44(uVar15,uVar14) == lVar2;" (assignment_expression "bVar17 = CONCAT44(uVar15,uVar14) == lVar2" (identifier "bVar17") (= "=") (binary_expression "CONCAT44(uVar15,uVar14) == lVar2" (call_expression "CONCAT44(uVar15,uVar14)" (identifier "CONCAT44") (argument_list "(uVar15,uVar14)" (( "(") (identifier "uVar15") (, ",") (identifier "uVar14") () ")"))) (== "==") (identifier "lVar2"))) (; ";")) (if_statement "if (bVar17) {\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }\n              else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" (if "if") (parenthesized_expression "(bVar17)" (( "(") (identifier "bVar17") () ")")) (compound_statement "{\n                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);\n              }" ({ "{") (expression_statement "*(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);" (assignment_expression "*(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" (pointer_expression "*(longlong *)puVar6" (* "*") (cast_expression "(longlong *)puVar6" (( "(") (type_descriptor "longlong *" (type_identifier "longlong") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar6"))) (= "=") (call_expression "CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" (identifier "CONCAT44") (argument_list "(uVar15 + (0xfffffffe < uVar14),uVar14 + 1)" (( "(") (binary_expression "uVar15 + (0xfffffffe < uVar14)" (identifier "uVar15") (+ "+") (parenthesized_expression "(0xfffffffe < uVar14)" (( "(") (binary_expression "0xfffffffe < uVar14" (number_literal "0xfffffffe") (< "<") (identifier "uVar14")) () ")"))) (, ",") (binary_expression "uVar14 + 1" (identifier "uVar14") (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" (else "else") (compound_statement "{\n                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);\n                uVar14 = (uint)lVar2;\n              }" ({ "{") (expression_statement "uVar15 = (uint)((ulonglong)lVar2 >> 0x20);" (assignment_expression "uVar15 = (uint)((ulonglong)lVar2 >> 0x20)" (identifier "uVar15") (= "=") (call_expression "(uint)((ulonglong)lVar2 >> 0x20)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((ulonglong)lVar2 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar2 >> 0x20" (cast_expression "(ulonglong)lVar2" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar2")) (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "uVar14 = (uint)lVar2;" (assignment_expression "uVar14 = (uint)lVar2" (identifier "uVar14") (= "=") (cast_expression "(uint)lVar2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "lVar2"))) (; ";")) (} "}")))) (expression_statement "UNLOCK();" (call_expression "UNLOCK()" (identifier "UNLOCK") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(!bVar17)" (( "(") (unary_expression "!bVar17" (! "!") (identifier "bVar17")) () ")")) (; ";")) (expression_statement "iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0);" (assignment_expression "iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" (identifier "iVar11") (= "=") (call_expression "SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" (identifier "SetImageProgress") (argument_list "(iVar7,*(undefined4 *)(iVar3 + 0x1004),\n                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],\n                                      *(undefined4 *)(iVar3 + 0x100c),0)" (( "(") (identifier "iVar7") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x1004)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x1004)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1004)" (( "(") (binary_expression "iVar3 + 0x1004" (identifier "iVar3") (+ "+") (number_literal "0x1004")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)param_1[5]" (* "*") (cast_expression "(undefined4 *)param_1[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")))) (, ",") (subscript_expression "((undefined4 *)param_1[5])[1]" (parenthesized_expression "((undefined4 *)param_1[5])" (( "(") (cast_expression "(undefined4 *)param_1[5]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]")) (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x100c)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x100c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x100c)" (( "(") (binary_expression "iVar3 + 0x100c" (identifier "iVar3") (+ "+") (number_literal "0x100c")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (iVar11 == 0) goto LAB_000e2f91;" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000e2f91;" (goto "goto") (statement_identifier "LAB_000e2f91") (; ";"))) (} "}"))) (} "}")))) (} "}"))) (expression_statement "local_38 = local_38 + 1;" (assignment_expression "local_38 = local_38 + 1" (identifier "local_38") (= "=") (binary_expression "local_38 + 1" (identifier "local_38") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_38 < iVar10 + iVar9 + iVar4)" (( "(") (binary_expression "local_38 < iVar10 + iVar9 + iVar4" (identifier "local_38") (< "<") (binary_expression "iVar10 + iVar9 + iVar4" (binary_expression "iVar10 + iVar9" (identifier "iVar10") (+ "+") (identifier "iVar9")) (+ "+") (identifier "iVar4"))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void SetWandViewIterator._omp_fn.2(anon_struct_24_6_eed5eb56 * param_0)
    */

void __thiscall function_1(type_1 *this)

{
  type_2 **ppPVar1;
  type_3 var_16;
  type_4 *pWVar3;
  int var_3;
  type_5 *pIVar5;
  void *pvVar6;
  type_6 p_Var7;
  type_7 *puVar8;
  int var_5;
  int var_6;
  int var_4;
  int var_7;
  type_8 *var_10;
  type_9 var_11;
  type_7 var_18;
  type_5 *image;
  type_7 var_17;
  bool bVar16;
  int var_21;
  
  pWVar3 = this->destination;
  var_5 = var_1(&_GLOBAL_OFFSET_TABLE_);
  var_3 = (pWVar3->extent).y;
  var_6 = var_2();
  var_4 = (pWVar3->extent).height - var_3;
  var_7 = var_4 / var_5;
  var_4 = var_4 % var_5;
  if (var_6 < var_4) {
    var_7 = var_7 + 1;
    var_4 = 0;
  }
  var_4 = var_4 + var_6 * var_7;
  if (var_4 < var_7 + var_4) {
    pIVar5 = this->destination_image;
    pvVar6 = this->context;
    p_Var7 = this->set;
    var_21 = var_3 + var_4;
    do {
      var_5 = var_2();
      if (this->status != var_8) {
        var_10 = (type_8 *)
                var_9
                          (pWVar3->view,(pWVar3->extent).x,var_21,(pWVar3->extent).width,1,
                           pWVar3->exception);
        if (var_10 == (type_8 *)0x0) {
LAB_000e2f91:
          this->status = var_8;
        }
        else {
          var_11 = (*p_Var7)(pWVar3,var_21,var_5,pvVar6);
          if (var_11 == var_8) {
            this->status = var_8;
          }
          if (0 < (int)(pWVar3->extent).width) {
            image = pWVar3->image;
            var_6 = 0;
            do {
              ppPVar1 = pWVar3->pixel_wands[var_5] + var_6;
              var_6 = var_6 + 1;
              var_12(image,*ppPVar1,var_10);
              image = pWVar3->image;
              var_10 = var_10 + image->number_channels;
            } while (var_6 < (int)(pWVar3->extent).width);
          }
          var_5 = var_13(pWVar3->view,pWVar3->exception);
          if (var_5 == 0) {
            this->status = var_8;
          }
          if (pIVar5->progress_monitor != (type_10)0x0) {
            puVar8 = (type_7 *)this->progress;
            var_18 = *puVar8;
            var_17 = puVar8[1];
            do {
              var_14();
              var_16 = *(type_3 *)puVar8;
              bVar16 = var_15(var_17,var_18) == var_16;
              if (bVar16) {
                *(type_3 *)puVar8 = var_15(var_17 + (0xfffffffe < var_18),var_18 + 1);
              }
              else {
                var_17 = (type_7)((type_11)var_16 >> 0x20);
                var_18 = (type_7)var_16;
              }
              var_19();
            } while (!bVar16);
            var_5 = var_20(pIVar5,pWVar3->description,(int)*this->progress,
                                     *(type_12 *)((int)this->progress + 4),
                                     (pWVar3->extent).height,0);
            if (var_5 == 0) goto LAB_000e2f91;
          }
        }
      }
      var_21 = var_21 + 1;
    } while (var_21 < var_7 + var_4 + var_3);
  }
  return;
}


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

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

void MASKED(int *param_1)

{
  int iVar1;
  longlong lVar2;
  int iVar3;
  int iVar4;
  code *pcVar5;
  uint *puVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  int iVar13;
  uint uVar14;
  uint uVar15;
  int iVar16;
  bool bVar17;
  int local_38;
  
  iVar3 = *param_1;
  iVar7 = omp_get_num_threads(&__DT_PLTGOT);
  iVar4 = *(int *)(iVar3 + 0x1014);
  iVar8 = omp_get_thread_num();
  iVar9 = *(int *)(iVar3 + 0x100c) - iVar4;
  iVar10 = iVar9 / iVar7;
  iVar9 = iVar9 % iVar7;
  if (iVar8 < iVar9) {
    iVar10 = iVar10 + 1;
    iVar9 = 0;
  }
  iVar9 = iVar9 + iVar8 * iVar10;
  if (iVar9 < iVar10 + iVar9) {
    iVar7 = param_1[3];
    iVar8 = param_1[2];
    pcVar5 = (code *)param_1[1];
    local_38 = iVar4 + iVar9;
    do {
      iVar11 = omp_get_thread_num();
      if (param_1[4] != 0) {
        iVar12 = GetCacheViewAuthenticPixels
                           (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1010),local_38
                            ,*(undefined4 *)(iVar3 + 0x1008),1,*(undefined4 *)(iVar3 + 0x1028));
        if (iVar12 == 0) {
LAB_000e2f91:
          param_1[4] = 0;
        }
        else {
          iVar13 = (*pcVar5)(iVar3,local_38,iVar11,iVar8);
          if (iVar13 == 0) {
            param_1[4] = 0;
          }
          if (0 < *(int *)(iVar3 + 0x1008)) {
            iVar13 = *(int *)(iVar3 + 0x101c);
            iVar16 = 0;
            do {
              iVar1 = iVar16 * 4;
              iVar16 = iVar16 + 1;
              PixelGetQuantumPixel
                        (iVar13,*(undefined4 *)
                                 (*(int *)(*(int *)(iVar3 + 0x1024) + iVar11 * 4) + iVar1),iVar12);
              iVar13 = *(int *)(iVar3 + 0x101c);
              iVar12 = iVar12 + *(int *)(iVar13 + 0x298) * 8;
            } while (iVar16 < *(int *)(iVar3 + 0x1008));
          }
          iVar11 = SyncCacheViewAuthenticPixels
                             (*(undefined4 *)(iVar3 + 0x1020),*(undefined4 *)(iVar3 + 0x1028));
          if (iVar11 == 0) {
            param_1[4] = 0;
          }
          if (*(int *)(iVar7 + 0x300) != 0) {
            puVar6 = (uint *)param_1[5];
            uVar14 = *puVar6;
            uVar15 = puVar6[1];
            do {
              LOCK();
              lVar2 = *(longlong *)puVar6;
              bVar17 = CONCAT44(uVar15,uVar14) == lVar2;
              if (bVar17) {
                *(longlong *)puVar6 = CONCAT44(uVar15 + (0xfffffffe < uVar14),uVar14 + 1);
              }
              else {
                uVar15 = (uint)((ulonglong)lVar2 >> 0x20);
                uVar14 = (uint)lVar2;
              }
              UNLOCK();
            } while (!bVar17);
            iVar11 = SetImageProgress(iVar7,*(undefined4 *)(iVar3 + 0x1004),
                                      *(undefined4 *)param_1[5],((undefined4 *)param_1[5])[1],
                                      *(undefined4 *)(iVar3 + 0x100c),0);
            if (iVar11 == 0) goto LAB_000e2f91;
          }
        }
      }
      local_38 = local_38 + 1;
    } while (local_38 < iVar10 + iVar9 + iVar4);
  }
  return;
}

