
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void ApplyPSDOpacityMask._omp_fn.1(anon_struct_20_5_e11f08a0 * param_0)
    */

void __thiscall ApplyPSDOpacityMask__omp_fn_1(anon_struct_20_5_e11f08a0 *this)

{
  Image *image;
  Image *image_00;
  ExceptionInfo *exception;
  MagickBooleanType MVar1;
  int iVar2;
  int iVar3;
  Quantum *pQVar4;
  Quantum *pixel;
  MagickBooleanType MVar5;
  MagickRealType MVar6;
  int local_3c;
  double local_34;
  
  image = this->image;
  local_3c = omp_get_num_threads();
  iVar2 = omp_get_thread_num();
  iVar3 = (int)image->rows / local_3c;
  local_3c = (int)image->rows % local_3c;
  if (iVar2 < local_3c) {
    iVar3 = iVar3 + 1;
    local_3c = 0;
  }
  local_3c = iVar2 * iVar3 + local_3c;
  iVar3 = iVar3 + local_3c;
  if (local_3c < iVar3) {
    image_00 = this->complete_mask;
    exception = this->exception;
    MVar1 = this->revert;
    do {
      if (this->status != MagickFalse) {
        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);
        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);
        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {
          if (0 < (int)image->columns) {
            iVar2 = 0;
            do {
              if (image->channel_map[4].traits == UndefinedPixelTrait) {
                local_34 = (double)DAT_0029f710;
              }
              else {
                local_34 = pQVar4[image->channel_map[4].offset];
              }
              MVar6 = GetPixelIntensity(image_00,pixel);
              if (MVar1 == MagickFalse) {
                if (image->channel_map[4].traits != UndefinedPixelTrait) {
                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;
                }
              }
              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {
                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;
              }
              iVar2 = iVar2 + 1;
              pQVar4 = pQVar4 + image->number_channels;
              pixel = pixel + image_00->number_channels;
            } while (iVar2 < (int)image->columns);
          }
          MVar5 = SyncAuthenticPixels(image,exception);
          if (MVar5 != MagickFalse) goto LAB_0025c561;
        }
        this->status = MagickFalse;
      }
LAB_0025c561:
      local_3c = local_3c + 1;
    } while (iVar3 != local_3c);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void FUN_0025c3b0(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  longdouble lVar9;
  int local_3c;
  double local_34;
  
  iVar1 = *param_1;
  local_3c = omp_get_num_threads();
  iVar4 = omp_get_thread_num();
  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;
  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;
  if (iVar4 < local_3c) {
    iVar5 = iVar5 + 1;
    local_3c = 0;
  }
  local_3c = iVar4 * iVar5 + local_3c;
  iVar5 = iVar5 + local_3c;
  if (local_3c < iVar5) {
    iVar4 = param_1[3];
    iVar2 = param_1[2];
    iVar3 = param_1[1];
    do {
      if (param_1[4] != 0) {
        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);
        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);
        if ((iVar6 != 0) && (iVar7 != 0)) {
          if (0 < *(int *)(iVar1 + 0x18)) {
            iVar8 = 0;
            do {
              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {
                local_34 = (double)DAT_0029f710;
              }
              else {
                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);
              }
              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);
              if (iVar3 == 0) {
                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {
                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =
                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);
                }
              }
              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {
                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =
                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);
              }
              iVar8 = iVar8 + 1;
              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;
              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;
            } while (iVar8 < *(int *)(iVar1 + 0x18));
          }
          iVar6 = SyncAuthenticPixels(iVar1,iVar2);
          if (iVar6 != 0) goto LAB_0025c561;
        }
        param_1[4] = 0;
      }
LAB_0025c561:
      local_3c = local_3c + 1;
    } while (iVar5 != local_3c);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x17cc47
SUB ESP,0x2c
MOV EAX,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [EAX]
CALL 0x00030850
MOV EDI,EAX
CALL 0x000317c0
MOV ECX,EAX
MOV EAX,dword ptr [ESI + 0x1c]
CDQ
IDIV EDI
CMP ECX,EDX
JGE 0x0025c3e5
ADD EAX,0x1
XOR EDX,EDX
IMUL ECX,EAX
MOV EDI,EAX
ADD ECX,EDX
ADD EDI,ECX
MOV dword ptr [ESP],ECX
CMP ECX,EDI
MOV dword ptr [ESP + 0x1c],EDI
JGE 0x0025c572
MOV EAX,dword ptr [ESP + 0x40]
MOV EBP,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [ESP + 0x40]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x14],EAX
LEA ESI,[ESI]
LEA EDI,[EDI]
MOV EAX,dword ptr [ESP + 0x40]
MOV EDI,dword ptr [EAX + 0x10]
TEST EDI,EDI
JZ 0x0025c561
SUB ESP,0x8
PUSH dword ptr [ESP + 0x20]
PUSH 0x1
PUSH dword ptr [ESI + 0x18]
MOV EDI,dword ptr [ESP + 0x14]
PUSH EDI
PUSH 0x0
PUSH ESI
CALL 0x00033610
MOV dword ptr [ESP + 0x24],EAX
ADD ESP,0x18
PUSH dword ptr [ESP + 0x20]
PUSH 0x1
PUSH dword ptr [EBP + 0x18]
PUSH EDI
PUSH 0x0
PUSH EBP
CALL 0x00033610
ADD ESP,0x20
MOV EDX,dword ptr [ESP + 0x4]
MOV EDI,EAX
TEST EDX,EDX
JZ 0x0025c556
TEST EAX,EAX
JZ 0x0025c556
MOV ECX,dword ptr [ESI + 0x18]
XOR EAX,EAX
TEST ECX,ECX
JLE 0x0025c542
MOV ECX,EBP
MOV EBP,EAX
JMP 0x0025c51a
MOV EAX,dword ptr [EAX + 0x38]
FLD qword ptr [EDX + EAX*0x8]
FSTP qword ptr [ESP + 0x8]
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0x8
PUSH EDI
PUSH ECX
MOV dword ptr [ESP + 0x14],ECX
CALL 0x00033170
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x14]
MOV ECX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JNZ 0x0025c580
MOV EAX,dword ptr [ESI + 0x2a8]
CMP dword ptr [EAX + 0x34],0x0
JZ 0x0025c4e8
FLD qword ptr [ESP + 0x8]
FMUL qword ptr [EBX + 0xffec6148]
MOV EAX,dword ptr [EAX + 0x38]
FMULP
FSTP qword ptr [EDX + EAX*0x8]
JMP 0x0025c500
FSTP ST0
JMP 0x0025c500
FSTP ST0
JMP 0x0025c500
FSTP ST0
LEA ESI,[ESI]
MOV EAX,dword ptr [ESI + 0x298]
ADD EBP,0x1
CMP dword ptr [ESI + 0x18],EBP
LEA EDX,[EDX + EAX*0x8]
MOV EAX,dword ptr [ECX + 0x298]
LEA EDI,[EDI + EAX*0x8]
JLE 0x0025c540
MOV EAX,dword ptr [ESI + 0x2a8]
CMP dword ptr [EAX + 0x34],0x0
JNZ 0x0025c490
FLD dword ptr [EBX + 0xffec6710]
FSTP qword ptr [ESP + 0x8]
JMP 0x0025c49a
MOV EBP,ECX
SUB ESP,0x8
PUSH dword ptr [ESP + 0x20]
PUSH ESI
CALL 0x000323a0
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0025c561
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX + 0x10],0x0
ADD dword ptr [ESP],0x1
MOV EAX,dword ptr [ESP]
CMP dword ptr [ESP + 0x1c],EAX
JNZ 0x0025c420
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
FLDZ
FXCH
FUCOMI ST0,ST1
FSTP ST1
JBE 0x0025c4f0
MOV EAX,dword ptr [ESI + 0x2a8]
CMP dword ptr [EAX + 0x34],0x0
JZ 0x0025c4f8
FDIVR qword ptr [ESP + 0x8]
MOV EAX,dword ptr [EAX + 0x38]
FMUL dword ptr [EBX + 0xffec6710]
FSTP qword ptr [EDX + EAX*0x8]
JMP 0x0025c500
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_0025c3b0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  longdouble lVar9;\n  int local_3c;\n  double local_34;\n  \n  iVar1 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;\n  if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar4 * iVar5 + local_3c;\n  iVar5 = iVar5 + local_3c;\n  if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }\n  return;\n}\n\n" comment comment (function_definition "void FUN_0025c3b0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  longdouble lVar9;\n  int local_3c;\n  double local_34;\n  \n  iVar1 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;\n  if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar4 * iVar5 + local_3c;\n  iVar5 = iVar5 + local_3c;\n  if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0025c3b0(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  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  longdouble lVar9;\n  int local_3c;\n  double local_34;\n  \n  iVar1 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;\n  if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar4 * iVar5 + local_3c;\n  iVar5 = iVar5 + local_3c;\n  if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "longdouble lVar9;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "double local_34;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_3c = omp_get_num_threads();" (assignment_expression "local_3c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = omp_get_thread_num();" (assignment_expression "iVar4 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;" (assignment_expression "iVar5 = *(int *)(iVar1 + 0x1c) / local_3c" identifier = (binary_expression "*(int *)(iVar1 + 0x1c) / local_3c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "local_3c = *(int *)(iVar1 + 0x1c) % local_3c;" (assignment_expression "local_3c = *(int *)(iVar1 + 0x1c) % local_3c" identifier = (binary_expression "*(int *)(iVar1 + 0x1c) % local_3c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }" if (parenthesized_expression "(iVar4 < local_3c)" ( (binary_expression "iVar4 < local_3c" identifier < identifier) )) (compound_statement "{\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) })) (expression_statement "local_3c = iVar4 * iVar5 + local_3c;" (assignment_expression "local_3c = iVar4 * iVar5 + local_3c" identifier = (binary_expression "iVar4 * iVar5 + local_3c" (binary_expression "iVar4 * iVar5" identifier * identifier) + identifier)) ;) (expression_statement "iVar5 = iVar5 + local_3c;" (assignment_expression "iVar5 = iVar5 + local_3c" identifier = (binary_expression "iVar5 + local_3c" identifier + identifier)) ;) (if_statement "if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }" if (parenthesized_expression "(local_3c < iVar5)" ( (binary_expression "local_3c < iVar5" identifier < identifier) )) (compound_statement "{\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }" { (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);" do (compound_statement "{\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    }" { (if_statement "if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\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        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }" { (expression_statement "iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);" (assignment_expression "iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" identifier = (call_expression "GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" identifier (argument_list "(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar1 + 0x18)" * (cast_expression "(undefined4 *)(iVar1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);" (assignment_expression "iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" identifier = (call_expression "GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" identifier (argument_list "(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }" if (parenthesized_expression "((iVar6 != 0) && (iVar7 != 0))" ( (binary_expression "(iVar6 != 0) && (iVar7 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }" { (if_statement "if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }" if (parenthesized_expression "(0 < *(int *)(iVar1 + 0x18))" ( (binary_expression "0 < *(int *)(iVar1 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));" do (compound_statement "{\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            }" { (if_statement "if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" if (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n                local_34 = (double)DAT_0029f710;\n              }" { (expression_statement "local_34 = (double)DAT_0029f710;" (assignment_expression "local_34 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" else (compound_statement "{\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" { (expression_statement "local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);" (assignment_expression "local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" identifier = (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" * (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" identifier + (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) }))) (expression_statement "lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);" (assignment_expression "lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7)" identifier = (cast_expression "(longdouble)GetPixelIntensity(iVar4,iVar7)" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "GetPixelIntensity(iVar4,iVar7)" identifier (argument_list "(iVar4,iVar7)" ( identifier , identifier ))))) ;) (if_statement "if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }" { (if_statement "if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }" if (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }" { (expression_statement "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);" (assignment_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" * (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" identifier + (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) = (cast_expression "(double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" ( (binary_expression "(longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9" (binary_expression "(longdouble)local_34 * (longdouble)_DAT_0029f148" (cast_expression "(longdouble)local_34" ( (type_descriptor "longdouble" type_identifier) ) identifier) * (cast_expression "(longdouble)_DAT_0029f148" ( (type_descriptor "longdouble" type_identifier) ) identifier)) * identifier) )))) ;) })) }) (else_clause "else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" else (if_statement "if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" if (parenthesized_expression "(((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0))" ( (binary_expression "((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" (parenthesized_expression "((longdouble)0 < lVar9)" ( (binary_expression "(longdouble)0 < lVar9" (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal) < identifier) )) && (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" { (expression_statement "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);" (assignment_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" * (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" identifier + (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) = (cast_expression "(double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" ( (binary_expression "((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710" (parenthesized_expression "((longdouble)local_34 / lVar9)" ( (binary_expression "(longdouble)local_34 / lVar9" (cast_expression "(longdouble)local_34" ( (type_descriptor "longdouble" type_identifier) ) identifier) / identifier) )) * (cast_expression "(longdouble)DAT_0029f710" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )))) ;) })))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;" (assignment_expression "iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8" identifier = (binary_expression "iVar6 + *(int *)(iVar1 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x298) * 8" (pointer_expression "*(int *)(iVar1 + 0x298)" * (cast_expression "(int *)(iVar1 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x298)" ( (binary_expression "iVar1 + 0x298" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8" identifier = (binary_expression "iVar7 + *(int *)(iVar4 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar4 + 0x298) * 8" (pointer_expression "*(int *)(iVar4 + 0x298)" * (cast_expression "(int *)(iVar4 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x298)" ( (binary_expression "iVar4 + 0x298" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar8 < *(int *)(iVar1 + 0x18))" ( (binary_expression "iVar8 < *(int *)(iVar1 + 0x18)" identifier < (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar6 = SyncAuthenticPixels(iVar1,iVar2);" (assignment_expression "iVar6 = SyncAuthenticPixels(iVar1,iVar2)" identifier = (call_expression "SyncAuthenticPixels(iVar1,iVar2)" identifier (argument_list "(iVar1,iVar2)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_0025c561;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0025c561;" goto statement_identifier ;)) })) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_0025c561:\n      local_3c = local_3c + 1;" statement_identifier : (expression_statement "local_3c = local_3c + 1;" (assignment_expression "local_3c = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar5 != local_3c)" ( (binary_expression "iVar5 != local_3c" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* DWARF original prototype: void ApplyPSDOpacityMask._omp_fn.1(anon_struct_20_5_e11f08a0 * param_0)\n    */\n\nvoid __thiscall ApplyPSDOpacityMask__omp_fn_1(anon_struct_20_5_e11f08a0 *this)\n\n{\n  Image *image;\n  Image *image_00;\n  ExceptionInfo *exception;\n  MagickBooleanType MVar1;\n  int iVar2;\n  int iVar3;\n  Quantum *pQVar4;\n  Quantum *pixel;\n  MagickBooleanType MVar5;\n  MagickRealType MVar6;\n  int local_3c;\n  double local_34;\n  \n  image = this->image;\n  local_3c = omp_get_num_threads();\n  iVar2 = omp_get_thread_num();\n  iVar3 = (int)image->rows / local_3c;\n  local_3c = (int)image->rows % local_3c;\n  if (iVar2 < local_3c) {\n    iVar3 = iVar3 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar2 * iVar3 + local_3c;\n  iVar3 = iVar3 + local_3c;\n  if (local_3c < iVar3) {\n    image_00 = this->complete_mask;\n    exception = this->exception;\n    MVar1 = this->revert;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar3 != local_3c);\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "void __thiscall ApplyPSDOpacityMask__omp_fn_1(anon_struct_20_5_e11f08a0 *this)\n\n{\n  Image *image;\n  Image *image_00;\n  ExceptionInfo *exception;\n  MagickBooleanType MVar1;\n  int iVar2;\n  int iVar3;\n  Quantum *pQVar4;\n  Quantum *pixel;\n  MagickBooleanType MVar5;\n  MagickRealType MVar6;\n  int local_3c;\n  double local_34;\n  \n  image = this->image;\n  local_3c = omp_get_num_threads();\n  iVar2 = omp_get_thread_num();\n  iVar3 = (int)image->rows / local_3c;\n  local_3c = (int)image->rows % local_3c;\n  if (iVar2 < local_3c) {\n    iVar3 = iVar3 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar2 * iVar3 + local_3c;\n  iVar3 = iVar3 + local_3c;\n  if (local_3c < iVar3) {\n    image_00 = this->complete_mask;\n    exception = this->exception;\n    MVar1 = this->revert;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar3 != local_3c);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "ApplyPSDOpacityMask__omp_fn_1(anon_struct_20_5_e11f08a0 *this)" identifier (parameter_list "(anon_struct_20_5_e11f08a0 *this)" ( (parameter_declaration "anon_struct_20_5_e11f08a0 *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Image *image;\n  Image *image_00;\n  ExceptionInfo *exception;\n  MagickBooleanType MVar1;\n  int iVar2;\n  int iVar3;\n  Quantum *pQVar4;\n  Quantum *pixel;\n  MagickBooleanType MVar5;\n  MagickRealType MVar6;\n  int local_3c;\n  double local_34;\n  \n  image = this->image;\n  local_3c = omp_get_num_threads();\n  iVar2 = omp_get_thread_num();\n  iVar3 = (int)image->rows / local_3c;\n  local_3c = (int)image->rows % local_3c;\n  if (iVar2 < local_3c) {\n    iVar3 = iVar3 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar2 * iVar3 + local_3c;\n  iVar3 = iVar3 + local_3c;\n  if (local_3c < iVar3) {\n    image_00 = this->complete_mask;\n    exception = this->exception;\n    MVar1 = this->revert;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar3 != local_3c);\n  }\n  return;\n}" { (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "Image *image_00;" type_identifier (pointer_declarator "*image_00" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "MagickBooleanType MVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Quantum *pQVar4;" type_identifier (pointer_declarator "*pQVar4" * identifier) ;) (declaration "Quantum *pixel;" type_identifier (pointer_declarator "*pixel" * identifier) ;) (declaration "MagickBooleanType MVar5;" type_identifier identifier ;) (declaration "MagickRealType MVar6;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "double local_34;" primitive_type identifier ;) (expression_statement "image = this->image;" (assignment_expression "image = this->image" identifier = (field_expression "this->image" identifier -> field_identifier)) ;) (expression_statement "local_3c = omp_get_num_threads();" (assignment_expression "local_3c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = omp_get_thread_num();" (assignment_expression "iVar2 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = (int)image->rows / local_3c;" (assignment_expression "iVar3 = (int)image->rows / local_3c" identifier = (binary_expression "(int)image->rows / local_3c" (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier)) / identifier)) ;) (expression_statement "local_3c = (int)image->rows % local_3c;" (assignment_expression "local_3c = (int)image->rows % local_3c" identifier = (binary_expression "(int)image->rows % local_3c" (cast_expression "(int)image->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "image->rows" identifier -> field_identifier)) % identifier)) ;) (if_statement "if (iVar2 < local_3c) {\n    iVar3 = iVar3 + 1;\n    local_3c = 0;\n  }" if (parenthesized_expression "(iVar2 < local_3c)" ( (binary_expression "iVar2 < local_3c" identifier < identifier) )) (compound_statement "{\n    iVar3 = iVar3 + 1;\n    local_3c = 0;\n  }" { (expression_statement "iVar3 = iVar3 + 1;" (assignment_expression "iVar3 = iVar3 + 1" identifier = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) })) (expression_statement "local_3c = iVar2 * iVar3 + local_3c;" (assignment_expression "local_3c = iVar2 * iVar3 + local_3c" identifier = (binary_expression "iVar2 * iVar3 + local_3c" (binary_expression "iVar2 * iVar3" identifier * identifier) + identifier)) ;) (expression_statement "iVar3 = iVar3 + local_3c;" (assignment_expression "iVar3 = iVar3 + local_3c" identifier = (binary_expression "iVar3 + local_3c" identifier + identifier)) ;) (if_statement "if (local_3c < iVar3) {\n    image_00 = this->complete_mask;\n    exception = this->exception;\n    MVar1 = this->revert;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar3 != local_3c);\n  }" if (parenthesized_expression "(local_3c < iVar3)" ( (binary_expression "local_3c < iVar3" identifier < identifier) )) (compound_statement "{\n    image_00 = this->complete_mask;\n    exception = this->exception;\n    MVar1 = this->revert;\n    do {\n      if (this->status != MagickFalse) {\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar3 != local_3c);\n  }" { (expression_statement "image_00 = this->complete_mask;" (assignment_expression "image_00 = this->complete_mask" identifier = (field_expression "this->complete_mask" identifier -> field_identifier)) ;) (expression_statement "exception = this->exception;" (assignment_expression "exception = this->exception" identifier = (field_expression "this->exception" identifier -> field_identifier)) ;) (expression_statement "MVar1 = this->revert;" (assignment_expression "MVar1 = this->revert" identifier = (field_expression "this->revert" identifier -> field_identifier)) ;) (do_statement "do {\n      if (this->status != MagickFalse) {\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar3 != local_3c);" do (compound_statement "{\n      if (this->status != MagickFalse) {\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    }" { (if_statement "if (this->status != MagickFalse) {\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }" if (parenthesized_expression "(this->status != MagickFalse)" ( (binary_expression "this->status != MagickFalse" (field_expression "this->status" identifier -> field_identifier) != identifier) )) (compound_statement "{\n        pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);\n        pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);\n        if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }\n        this->status = MagickFalse;\n      }" { (expression_statement "pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception);" (assignment_expression "pQVar4 = GetAuthenticPixels(image,0,local_3c,image->columns,1,exception)" identifier = (call_expression "GetAuthenticPixels(image,0,local_3c,image->columns,1,exception)" identifier (argument_list "(image,0,local_3c,image->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (expression_statement "pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception);" (assignment_expression "pixel = GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception)" identifier = (call_expression "GetAuthenticPixels(image_00,0,local_3c,image_00->columns,1,exception)" identifier (argument_list "(image_00,0,local_3c,image_00->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "image_00->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if ((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)) {\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }" if (parenthesized_expression "((pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0))" ( (binary_expression "(pQVar4 != (Quantum *)0x0) && (pixel != (Quantum *)0x0)" (parenthesized_expression "(pQVar4 != (Quantum *)0x0)" ( (binary_expression "pQVar4 != (Quantum *)0x0" identifier != (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (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 "{\n          if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }\n          MVar5 = SyncAuthenticPixels(image,exception);\n          if (MVar5 != MagickFalse) goto LAB_0025c561;\n        }" { (if_statement "if (0 < (int)image->columns) {\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }" if (parenthesized_expression "(0 < (int)image->columns)" ( (binary_expression "0 < (int)image->columns" number_literal < (cast_expression "(int)image->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "image->columns" identifier -> field_identifier))) )) (compound_statement "{\n            iVar2 = 0;\n            do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);\n          }" { (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            } while (iVar2 < (int)image->columns);" do (compound_statement "{\n              if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }\n              MVar6 = GetPixelIntensity(image_00,pixel);\n              if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }\n              iVar2 = iVar2 + 1;\n              pQVar4 = pQVar4 + image->number_channels;\n              pixel = pixel + image_00->number_channels;\n            }" { (if_statement "if (image->channel_map[4].traits == UndefinedPixelTrait) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }" if (parenthesized_expression "(image->channel_map[4].traits == UndefinedPixelTrait)" ( (binary_expression "image->channel_map[4].traits == UndefinedPixelTrait" (field_expression "image->channel_map[4].traits" (subscript_expression "image->channel_map[4]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) == identifier) )) (compound_statement "{\n                local_34 = (double)DAT_0029f710;\n              }" { (expression_statement "local_34 = (double)DAT_0029f710;" (assignment_expression "local_34 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }" else (compound_statement "{\n                local_34 = pQVar4[image->channel_map[4].offset];\n              }" { (expression_statement "local_34 = pQVar4[image->channel_map[4].offset];" (assignment_expression "local_34 = pQVar4[image->channel_map[4].offset]" identifier = (subscript_expression "pQVar4[image->channel_map[4].offset]" identifier [ (field_expression "image->channel_map[4].offset" (subscript_expression "image->channel_map[4]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ])) ;) }))) (expression_statement "MVar6 = GetPixelIntensity(image_00,pixel);" (assignment_expression "MVar6 = GetPixelIntensity(image_00,pixel)" identifier = (call_expression "GetPixelIntensity(image_00,pixel)" identifier (argument_list "(image_00,pixel)" ( identifier , identifier )))) ;) (if_statement "if (MVar1 == MagickFalse) {\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }\n              else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }" if (parenthesized_expression "(MVar1 == MagickFalse)" ( (binary_expression "MVar1 == MagickFalse" identifier == identifier) )) (compound_statement "{\n                if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }\n              }" { (if_statement "if (image->channel_map[4].traits != UndefinedPixelTrait) {\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }" if (parenthesized_expression "(image->channel_map[4].traits != UndefinedPixelTrait)" ( (binary_expression "image->channel_map[4].traits != UndefinedPixelTrait" (field_expression "image->channel_map[4].traits" (subscript_expression "image->channel_map[4]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                  pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;\n                }" { (expression_statement "pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6;" (assignment_expression "pQVar4[image->channel_map[4].offset] = local_34 * _DAT_0029f148 * MVar6" (subscript_expression "pQVar4[image->channel_map[4].offset]" identifier [ (field_expression "image->channel_map[4].offset" (subscript_expression "image->channel_map[4]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ]) = (binary_expression "local_34 * _DAT_0029f148 * MVar6" (binary_expression "local_34 * _DAT_0029f148" identifier * identifier) * identifier)) ;) })) }) (else_clause "else if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }" else (if_statement "if ((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)) {\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }" if (parenthesized_expression "((0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait))" ( (binary_expression "(0.0 < MVar6) && (image->channel_map[4].traits != UndefinedPixelTrait)" (parenthesized_expression "(0.0 < MVar6)" ( (binary_expression "0.0 < MVar6" number_literal < identifier) )) && (parenthesized_expression "(image->channel_map[4].traits != UndefinedPixelTrait)" ( (binary_expression "image->channel_map[4].traits != UndefinedPixelTrait" (field_expression "image->channel_map[4].traits" (subscript_expression "image->channel_map[4]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) != identifier) ))) )) (compound_statement "{\n                pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;\n              }" { (expression_statement "pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710;" (assignment_expression "pQVar4[image->channel_map[4].offset] = (local_34 / MVar6) * (double)DAT_0029f710" (subscript_expression "pQVar4[image->channel_map[4].offset]" identifier [ (field_expression "image->channel_map[4].offset" (subscript_expression "image->channel_map[4]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ]) = (binary_expression "(local_34 / MVar6) * (double)DAT_0029f710" (parenthesized_expression "(local_34 / MVar6)" ( (binary_expression "local_34 / MVar6" identifier / identifier) )) * (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier))) ;) })))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (expression_statement "pQVar4 = pQVar4 + image->number_channels;" (assignment_expression "pQVar4 = pQVar4 + image->number_channels" identifier = (binary_expression "pQVar4 + image->number_channels" identifier + (field_expression "image->number_channels" identifier -> field_identifier))) ;) (expression_statement "pixel = pixel + image_00->number_channels;" (assignment_expression "pixel = pixel + image_00->number_channels" identifier = (binary_expression "pixel + image_00->number_channels" identifier + (field_expression "image_00->number_channels" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(iVar2 < (int)image->columns)" ( (binary_expression "iVar2 < (int)image->columns" identifier < (cast_expression "(int)image->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "image->columns" identifier -> field_identifier))) )) ;) })) (expression_statement "MVar5 = SyncAuthenticPixels(image,exception);" (assignment_expression "MVar5 = SyncAuthenticPixels(image,exception)" identifier = (call_expression "SyncAuthenticPixels(image,exception)" identifier (argument_list "(image,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar5 != MagickFalse) goto LAB_0025c561;" if (parenthesized_expression "(MVar5 != MagickFalse)" ( (binary_expression "MVar5 != MagickFalse" identifier != identifier) )) (goto_statement "goto LAB_0025c561;" goto statement_identifier ;)) })) (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_0025c561:\n      local_3c = local_3c + 1;" statement_identifier : (expression_statement "local_3c = local_3c + 1;" (assignment_expression "local_3c = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar3 != local_3c)" ( (binary_expression "iVar3 != local_3c" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0025c3b0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  longdouble lVar9;\n  int local_3c;\n  double local_34;\n  \n  iVar1 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;\n  if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar4 * iVar5 + local_3c;\n  iVar5 = iVar5 + local_3c;\n  if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0025c3b0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  longdouble lVar9;\n  int local_3c;\n  double local_34;\n  \n  iVar1 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;\n  if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar4 * iVar5 + local_3c;\n  iVar5 = iVar5 + local_3c;\n  if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0025c3b0(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  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  longdouble lVar9;\n  int local_3c;\n  double local_34;\n  \n  iVar1 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;\n  if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar4 * iVar5 + local_3c;\n  iVar5 = iVar5 + local_3c;\n  if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "longdouble lVar9;" type_identifier identifier ;) (declaration "int local_3c;" primitive_type identifier ;) (declaration "double local_34;" primitive_type identifier ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "local_3c = omp_get_num_threads();" (assignment_expression "local_3c = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar4 = omp_get_thread_num();" (assignment_expression "iVar4 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;" (assignment_expression "iVar5 = *(int *)(iVar1 + 0x1c) / local_3c" identifier = (binary_expression "*(int *)(iVar1 + 0x1c) / local_3c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "local_3c = *(int *)(iVar1 + 0x1c) % local_3c;" (assignment_expression "local_3c = *(int *)(iVar1 + 0x1c) % local_3c" identifier = (binary_expression "*(int *)(iVar1 + 0x1c) % local_3c" (pointer_expression "*(int *)(iVar1 + 0x1c)" * (cast_expression "(int *)(iVar1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }" if (parenthesized_expression "(iVar4 < local_3c)" ( (binary_expression "iVar4 < local_3c" identifier < identifier) )) (compound_statement "{\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) })) (expression_statement "local_3c = iVar4 * iVar5 + local_3c;" (assignment_expression "local_3c = iVar4 * iVar5 + local_3c" identifier = (binary_expression "iVar4 * iVar5 + local_3c" (binary_expression "iVar4 * iVar5" identifier * identifier) + identifier)) ;) (expression_statement "iVar5 = iVar5 + local_3c;" (assignment_expression "iVar5 = iVar5 + local_3c" identifier = (binary_expression "iVar5 + local_3c" identifier + identifier)) ;) (if_statement "if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }" if (parenthesized_expression "(local_3c < iVar5)" ( (binary_expression "local_3c < iVar5" identifier < identifier) )) (compound_statement "{\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }" { (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (do_statement "do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);" do (compound_statement "{\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    }" { (if_statement "if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\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        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }" { (expression_statement "iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);" (assignment_expression "iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" identifier = (call_expression "GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" identifier (argument_list "(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar1 + 0x18)" * (cast_expression "(undefined4 *)(iVar1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (expression_statement "iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);" (assignment_expression "iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" identifier = (call_expression "GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" identifier (argument_list "(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" * (cast_expression "(undefined4 *)(iVar4 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x18)" ( (binary_expression "iVar4 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }" if (parenthesized_expression "((iVar6 != 0) && (iVar7 != 0))" ( (binary_expression "(iVar6 != 0) && (iVar7 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }" { (if_statement "if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }" if (parenthesized_expression "(0 < *(int *)(iVar1 + 0x18))" ( (binary_expression "0 < *(int *)(iVar1 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));" do (compound_statement "{\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            }" { (if_statement "if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" if (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) == number_literal) )) (compound_statement "{\n                local_34 = (double)DAT_0029f710;\n              }" { (expression_statement "local_34 = (double)DAT_0029f710;" (assignment_expression "local_34 = (double)DAT_0029f710" identifier = (cast_expression "(double)DAT_0029f710" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" else (compound_statement "{\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" { (expression_statement "local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);" (assignment_expression "local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" identifier = (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" * (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" identifier + (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) }))) (expression_statement "lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);" (assignment_expression "lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7)" identifier = (cast_expression "(longdouble)GetPixelIntensity(iVar4,iVar7)" ( (type_descriptor "longdouble" type_identifier) ) (call_expression "GetPixelIntensity(iVar4,iVar7)" identifier (argument_list "(iVar4,iVar7)" ( identifier , identifier ))))) ;) (if_statement "if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }" { (if_statement "if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }" if (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }" { (expression_statement "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);" (assignment_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" * (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" identifier + (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) = (cast_expression "(double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" ( (binary_expression "(longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9" (binary_expression "(longdouble)local_34 * (longdouble)_DAT_0029f148" (cast_expression "(longdouble)local_34" ( (type_descriptor "longdouble" type_identifier) ) identifier) * (cast_expression "(longdouble)_DAT_0029f148" ( (type_descriptor "longdouble" type_identifier) ) identifier)) * identifier) )))) ;) })) }) (else_clause "else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" else (if_statement "if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" if (parenthesized_expression "(((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0))" ( (binary_expression "((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" (parenthesized_expression "((longdouble)0 < lVar9)" ( (binary_expression "(longdouble)0 < lVar9" (cast_expression "(longdouble)0" ( (type_descriptor "longdouble" type_identifier) ) number_literal) < identifier) )) && (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" ( (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" { (expression_statement "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);" (assignment_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" * (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" ( (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" identifier + (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" * (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" ( (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" * (cast_expression "(int *)(iVar1 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x2a8)" ( (binary_expression "iVar1 + 0x2a8" identifier + number_literal) )))) + number_literal) )))) * number_literal)) )))) = (cast_expression "(double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" ( (binary_expression "((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710" (parenthesized_expression "((longdouble)local_34 / lVar9)" ( (binary_expression "(longdouble)local_34 / lVar9" (cast_expression "(longdouble)local_34" ( (type_descriptor "longdouble" type_identifier) ) identifier) / identifier) )) * (cast_expression "(longdouble)DAT_0029f710" ( (type_descriptor "longdouble" type_identifier) ) identifier)) )))) ;) })))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;" (assignment_expression "iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8" identifier = (binary_expression "iVar6 + *(int *)(iVar1 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar1 + 0x298) * 8" (pointer_expression "*(int *)(iVar1 + 0x298)" * (cast_expression "(int *)(iVar1 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x298)" ( (binary_expression "iVar1 + 0x298" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8" identifier = (binary_expression "iVar7 + *(int *)(iVar4 + 0x298) * 8" identifier + (binary_expression "*(int *)(iVar4 + 0x298) * 8" (pointer_expression "*(int *)(iVar4 + 0x298)" * (cast_expression "(int *)(iVar4 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x298)" ( (binary_expression "iVar4 + 0x298" identifier + number_literal) )))) * number_literal))) ;) }) while (parenthesized_expression "(iVar8 < *(int *)(iVar1 + 0x18))" ( (binary_expression "iVar8 < *(int *)(iVar1 + 0x18)" identifier < (pointer_expression "*(int *)(iVar1 + 0x18)" * (cast_expression "(int *)(iVar1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar6 = SyncAuthenticPixels(iVar1,iVar2);" (assignment_expression "iVar6 = SyncAuthenticPixels(iVar1,iVar2)" identifier = (call_expression "SyncAuthenticPixels(iVar1,iVar2)" identifier (argument_list "(iVar1,iVar2)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) goto LAB_0025c561;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_0025c561;" goto statement_identifier ;)) })) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) })) (labeled_statement "LAB_0025c561:\n      local_3c = local_3c + 1;" statement_identifier : (expression_statement "local_3c = local_3c + 1;" (assignment_expression "local_3c = local_3c + 1" identifier = (binary_expression "local_3c + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar5 != local_3c)" ( (binary_expression "iVar5 != local_3c" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (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 = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (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) )))) + LIT) )))) * LIT)) ))))) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (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) )))) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) * IDENT) )))) ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) LIT) < IDENT) )) && (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) )))) + LIT) )))) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) )) * (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) })))) (expression_statement (assignment_expression IDENT = (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))) ;) (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 ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0025c3b0(int *param_1)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  longdouble lVar9;\n  int local_3c;\n  double local_34;\n  \n  iVar1 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;\n  if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar4 * iVar5 + local_3c;\n  iVar5 = iVar5 + local_3c;\n  if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0025c3b0(int *param_1)" (identifier "FUN_0025c3b0") (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  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  longdouble lVar9;\n  int local_3c;\n  double local_34;\n  \n  iVar1 = *param_1;\n  local_3c = omp_get_num_threads();\n  iVar4 = omp_get_thread_num();\n  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;\n  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;\n  if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }\n  local_3c = iVar4 * iVar5 + local_3c;\n  iVar5 = iVar5 + local_3c;\n  if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "longdouble lVar9;" (type_identifier "longdouble") (identifier "lVar9") (; ";")) (declaration "int local_3c;" (primitive_type "int") (identifier "local_3c") (; ";")) (declaration "double local_34;" (primitive_type "double") (identifier "local_34") (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "local_3c = omp_get_num_threads();" (assignment_expression "local_3c = omp_get_num_threads()" (identifier "local_3c") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar4 = omp_get_thread_num();" (assignment_expression "iVar4 = omp_get_thread_num()" (identifier "iVar4") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;" (assignment_expression "iVar5 = *(int *)(iVar1 + 0x1c) / local_3c" (identifier "iVar5") (= "=") (binary_expression "*(int *)(iVar1 + 0x1c) / local_3c" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (/ "/") (identifier "local_3c"))) (; ";")) (expression_statement "local_3c = *(int *)(iVar1 + 0x1c) % local_3c;" (assignment_expression "local_3c = *(int *)(iVar1 + 0x1c) % local_3c" (identifier "local_3c") (= "=") (binary_expression "*(int *)(iVar1 + 0x1c) % local_3c" (pointer_expression "*(int *)(iVar1 + 0x1c)" (* "*") (cast_expression "(int *)(iVar1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (% "%") (identifier "local_3c"))) (; ";")) (if_statement "if (iVar4 < local_3c) {\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }" (if "if") (parenthesized_expression "(iVar4 < local_3c)" (( "(") (binary_expression "iVar4 < local_3c" (identifier "iVar4") (< "<") (identifier "local_3c")) () ")")) (compound_statement "{\n    iVar5 = iVar5 + 1;\n    local_3c = 0;\n  }" ({ "{") (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "local_3c = iVar4 * iVar5 + local_3c;" (assignment_expression "local_3c = iVar4 * iVar5 + local_3c" (identifier "local_3c") (= "=") (binary_expression "iVar4 * iVar5 + local_3c" (binary_expression "iVar4 * iVar5" (identifier "iVar4") (* "*") (identifier "iVar5")) (+ "+") (identifier "local_3c"))) (; ";")) (expression_statement "iVar5 = iVar5 + local_3c;" (assignment_expression "iVar5 = iVar5 + local_3c" (identifier "iVar5") (= "=") (binary_expression "iVar5 + local_3c" (identifier "iVar5") (+ "+") (identifier "local_3c"))) (; ";")) (if_statement "if (local_3c < iVar5) {\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }" (if "if") (parenthesized_expression "(local_3c < iVar5)" (( "(") (binary_expression "local_3c < iVar5" (identifier "local_3c") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n    iVar4 = param_1[3];\n    iVar2 = param_1[2];\n    iVar3 = param_1[1];\n    do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);\n  }" ({ "{") (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" (identifier "iVar4") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" (identifier "iVar2") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" (identifier "iVar3") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (do_statement "do {\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    } while (iVar5 != local_3c);" (do "do") (compound_statement "{\n      if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }\nLAB_0025c561:\n      local_3c = local_3c + 1;\n    }" ({ "{") (if_statement "if (param_1[4] != 0) {\n        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\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        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);\n        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);\n        if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }\n        param_1[4] = 0;\n      }" ({ "{") (expression_statement "iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);" (assignment_expression "iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" (identifier "iVar6") (= "=") (call_expression "GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" (identifier "GetAuthenticPixels") (argument_list "(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2)" (( "(") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (identifier "local_3c") (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);" (assignment_expression "iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" (identifier "iVar7") (= "=") (call_expression "GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" (identifier "GetAuthenticPixels") (argument_list "(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2)" (( "(") (identifier "iVar4") (, ",") (number_literal "0") (, ",") (identifier "local_3c") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x18)" (( "(") (binary_expression "iVar4 + 0x18" (identifier "iVar4") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if ((iVar6 != 0) && (iVar7 != 0)) {\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }" (if "if") (parenthesized_expression "((iVar6 != 0) && (iVar7 != 0))" (( "(") (binary_expression "(iVar6 != 0) && (iVar7 != 0)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }\n          iVar6 = SyncAuthenticPixels(iVar1,iVar2);\n          if (iVar6 != 0) goto LAB_0025c561;\n        }" ({ "{") (if_statement "if (0 < *(int *)(iVar1 + 0x18)) {\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar1 + 0x18))" (( "(") (binary_expression "0 < *(int *)(iVar1 + 0x18)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n            iVar8 = 0;\n            do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));\n          }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            } while (iVar8 < *(int *)(iVar1 + 0x18));" (do "do") (compound_statement "{\n              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }\n              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);\n              if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }\n              iVar8 = iVar8 + 1;\n              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;\n              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;\n            }" ({ "{") (if_statement "if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {\n                local_34 = (double)DAT_0029f710;\n              }\n              else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0)" (( "(") (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" (( "(") (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar1 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2a8)" (( "(") (binary_expression "iVar1 + 0x2a8" (identifier "iVar1") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "0x34")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                local_34 = (double)DAT_0029f710;\n              }" ({ "{") (expression_statement "local_34 = (double)DAT_0029f710;" (assignment_expression "local_34 = (double)DAT_0029f710" (identifier "local_34") (= "=") (cast_expression "(double)DAT_0029f710" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_0029f710"))) (; ";")) (} "}")) (else_clause "else {\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" (else "else") (compound_statement "{\n                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);\n              }" ({ "{") (expression_statement "local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);" (assignment_expression "local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (identifier "local_34") (= "=") (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (* "*") (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (( "(") (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (identifier "iVar6") (+ "+") (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" (( "(") (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar1 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2a8)" (( "(") (binary_expression "iVar1 + 0x2a8" (identifier "iVar1") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (} "}")))) (expression_statement "lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);" (assignment_expression "lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7)" (identifier "lVar9") (= "=") (cast_expression "(longdouble)GetPixelIntensity(iVar4,iVar7)" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (call_expression "GetPixelIntensity(iVar4,iVar7)" (identifier "GetPixelIntensity") (argument_list "(iVar4,iVar7)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar7") () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) {\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }\n              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }\n              }" ({ "{") (if_statement "if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" (( "(") (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar1 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2a8)" (( "(") (binary_expression "iVar1 + 0x2a8" (identifier "iVar1") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);\n                }" ({ "{") (expression_statement "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);" (assignment_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (* "*") (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (( "(") (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (identifier "iVar6") (+ "+") (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" (( "(") (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar1 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2a8)" (( "(") (binary_expression "iVar1 + 0x2a8" (identifier "iVar1") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (cast_expression "(double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9)" (( "(") (binary_expression "(longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9" (binary_expression "(longdouble)local_34 * (longdouble)_DAT_0029f148" (cast_expression "(longdouble)local_34" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "local_34")) (* "*") (cast_expression "(longdouble)_DAT_0029f148" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "_DAT_0029f148"))) (* "*") (identifier "lVar9")) () ")")))) (; ";")) (} "}"))) (} "}")) (else_clause "else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" (else "else") (if_statement "if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" (if "if") (parenthesized_expression "(((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0))" (( "(") (binary_expression "((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" (parenthesized_expression "((longdouble)0 < lVar9)" (( "(") (binary_expression "(longdouble)0 < lVar9" (cast_expression "(longdouble)0" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (number_literal "0")) (< "<") (identifier "lVar9")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)" (( "(") (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x34)" (( "(") (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x34" (pointer_expression "*(int *)(iVar1 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar1 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2a8)" (( "(") (binary_expression "iVar1 + 0x2a8" (identifier "iVar1") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);\n              }" ({ "{") (expression_statement "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);" (assignment_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =\n                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" (pointer_expression "*(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (* "*") (cast_expression "(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8)" (( "(") (binary_expression "iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (identifier "iVar6") (+ "+") (binary_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8" (pointer_expression "*(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" (* "*") (cast_expression "(int *)(*(int *)(iVar1 + 0x2a8) + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar1 + 0x2a8) + 0x38)" (( "(") (binary_expression "*(int *)(iVar1 + 0x2a8) + 0x38" (pointer_expression "*(int *)(iVar1 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar1 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x2a8)" (( "(") (binary_expression "iVar1 + 0x2a8" (identifier "iVar1") (+ "+") (number_literal "0x2a8")) () ")")))) (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (cast_expression "(double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710)" (( "(") (binary_expression "((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710" (parenthesized_expression "((longdouble)local_34 / lVar9)" (( "(") (binary_expression "(longdouble)local_34 / lVar9" (cast_expression "(longdouble)local_34" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "local_34")) (/ "/") (identifier "lVar9")) () ")")) (* "*") (cast_expression "(longdouble)DAT_0029f710" (( "(") (type_descriptor "longdouble" (type_identifier "longdouble")) () ")") (identifier "DAT_0029f710"))) () ")")))) (; ";")) (} "}"))))) (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;" (assignment_expression "iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8" (identifier "iVar6") (= "=") (binary_expression "iVar6 + *(int *)(iVar1 + 0x298) * 8" (identifier "iVar6") (+ "+") (binary_expression "*(int *)(iVar1 + 0x298) * 8" (pointer_expression "*(int *)(iVar1 + 0x298)" (* "*") (cast_expression "(int *)(iVar1 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x298)" (( "(") (binary_expression "iVar1 + 0x298" (identifier "iVar1") (+ "+") (number_literal "0x298")) () ")")))) (* "*") (number_literal "8")))) (; ";")) (expression_statement "iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;" (assignment_expression "iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8" (identifier "iVar7") (= "=") (binary_expression "iVar7 + *(int *)(iVar4 + 0x298) * 8" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar4 + 0x298) * 8" (pointer_expression "*(int *)(iVar4 + 0x298)" (* "*") (cast_expression "(int *)(iVar4 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x298)" (( "(") (binary_expression "iVar4 + 0x298" (identifier "iVar4") (+ "+") (number_literal "0x298")) () ")")))) (* "*") (number_literal "8")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 < *(int *)(iVar1 + 0x18))" (( "(") (binary_expression "iVar8 < *(int *)(iVar1 + 0x18)" (identifier "iVar8") (< "<") (pointer_expression "*(int *)(iVar1 + 0x18)" (* "*") (cast_expression "(int *)(iVar1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar6 = SyncAuthenticPixels(iVar1,iVar2);" (assignment_expression "iVar6 = SyncAuthenticPixels(iVar1,iVar2)" (identifier "iVar6") (= "=") (call_expression "SyncAuthenticPixels(iVar1,iVar2)" (identifier "SyncAuthenticPixels") (argument_list "(iVar1,iVar2)" (( "(") (identifier "iVar1") (, ",") (identifier "iVar2") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_0025c561;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0025c561;" (goto "goto") (statement_identifier "LAB_0025c561") (; ";"))) (} "}"))) (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")) (; ";")) (} "}"))) (labeled_statement "LAB_0025c561:\n      local_3c = local_3c + 1;" (statement_identifier "LAB_0025c561") (: ":") (expression_statement "local_3c = local_3c + 1;" (assignment_expression "local_3c = local_3c + 1" (identifier "local_3c") (= "=") (binary_expression "local_3c + 1" (identifier "local_3c") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar5 != local_3c)" (( "(") (binary_expression "iVar5 != local_3c" (identifier "iVar5") (!= "!=") (identifier "local_3c")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void ApplyPSDOpacityMask._omp_fn.1(anon_struct_20_5_e11f08a0 * param_0)
    */

void __thiscall function_1(type_1 *this)

{
  type_2 *image;
  type_2 *image_00;
  type_3 *exception;
  type_4 var_12;
  int var_4;
  int var_5;
  type_5 *var_8;
  type_5 *var_9;
  type_4 var_17;
  type_6 var_15;
  int var_3;
  double var_13;
  
  image = this->image;
  var_3 = var_1();
  var_4 = var_2();
  var_5 = (int)image->rows / var_3;
  var_3 = (int)image->rows % var_3;
  if (var_4 < var_3) {
    var_5 = var_5 + 1;
    var_3 = 0;
  }
  var_3 = var_4 * var_5 + var_3;
  var_5 = var_5 + var_3;
  if (var_3 < var_5) {
    image_00 = this->complete_mask;
    exception = this->exception;
    var_12 = this->revert;
    do {
      if (this->status != var_6) {
        var_8 = var_7(image,0,var_3,image->columns,1,exception);
        var_9 = var_7(image_00,0,var_3,image_00->columns,1,exception);
        if ((var_8 != (type_5 *)0x0) && (var_9 != (type_5 *)0x0)) {
          if (0 < (int)image->columns) {
            var_4 = 0;
            do {
              if (image->channel_map[4].traits == var_10) {
                var_13 = (double)DAT_0029f710;
              }
              else {
                var_13 = var_8[image->channel_map[4].offset];
              }
              var_15 = var_11(image_00,var_9);
              if (var_12 == var_6) {
                if (image->channel_map[4].traits != var_10) {
                  var_8[image->channel_map[4].offset] = var_13 * var_14 * var_15;
                }
              }
              else if ((0.0 < var_15) && (image->channel_map[4].traits != var_10)) {
                var_8[image->channel_map[4].offset] = (var_13 / var_15) * (double)DAT_0029f710;
              }
              var_4 = var_4 + 1;
              var_8 = var_8 + image->number_channels;
              var_9 = var_9 + image_00->number_channels;
            } while (var_4 < (int)image->columns);
          }
          var_17 = var_16(image,exception);
          if (var_17 != var_6) goto LAB_0025c561;
        }
        this->status = var_6;
      }
LAB_0025c561:
      var_3 = var_3 + 1;
    } while (var_5 != var_3);
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void MASKED(int *param_1)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  longdouble lVar9;
  int local_3c;
  double local_34;
  
  iVar1 = *param_1;
  local_3c = omp_get_num_threads();
  iVar4 = omp_get_thread_num();
  iVar5 = *(int *)(iVar1 + 0x1c) / local_3c;
  local_3c = *(int *)(iVar1 + 0x1c) % local_3c;
  if (iVar4 < local_3c) {
    iVar5 = iVar5 + 1;
    local_3c = 0;
  }
  local_3c = iVar4 * iVar5 + local_3c;
  iVar5 = iVar5 + local_3c;
  if (local_3c < iVar5) {
    iVar4 = param_1[3];
    iVar2 = param_1[2];
    iVar3 = param_1[1];
    do {
      if (param_1[4] != 0) {
        iVar6 = GetAuthenticPixels(iVar1,0,local_3c,*(undefined4 *)(iVar1 + 0x18),1,iVar2);
        iVar7 = GetAuthenticPixels(iVar4,0,local_3c,*(undefined4 *)(iVar4 + 0x18),1,iVar2);
        if ((iVar6 != 0) && (iVar7 != 0)) {
          if (0 < *(int *)(iVar1 + 0x18)) {
            iVar8 = 0;
            do {
              if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) == 0) {
                local_34 = (double)DAT_0029f710;
              }
              else {
                local_34 = *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8);
              }
              lVar9 = (longdouble)GetPixelIntensity(iVar4,iVar7);
              if (iVar3 == 0) {
                if (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0) {
                  *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =
                       (double)((longdouble)local_34 * (longdouble)_DAT_0029f148 * lVar9);
                }
              }
              else if (((longdouble)0 < lVar9) && (*(int *)(*(int *)(iVar1 + 0x2a8) + 0x34) != 0)) {
                *(double *)(iVar6 + *(int *)(*(int *)(iVar1 + 0x2a8) + 0x38) * 8) =
                     (double)(((longdouble)local_34 / lVar9) * (longdouble)DAT_0029f710);
              }
              iVar8 = iVar8 + 1;
              iVar6 = iVar6 + *(int *)(iVar1 + 0x298) * 8;
              iVar7 = iVar7 + *(int *)(iVar4 + 0x298) * 8;
            } while (iVar8 < *(int *)(iVar1 + 0x18));
          }
          iVar6 = SyncAuthenticPixels(iVar1,iVar2);
          if (iVar6 != 0) goto LAB_0025c561;
        }
        param_1[4] = 0;
      }
LAB_0025c561:
      local_3c = local_3c + 1;
    } while (iVar5 != local_3c);
  }
  return;
}

