
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* 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 */
/* DWARF original prototype: void MatrixToImage._omp_fn.0(anon_struct_32_7_d55ab48b * param_0) */

void __thiscall MatrixToImage__omp_fn_0(anon_struct_32_7_d55ab48b *this)

{
  double dVar1;
  Image *pIVar2;
  CacheView *cache_view;
  ExceptionInfo *exception;
  MatrixInfo *matrix_info;
  size_t sVar3;
  int iVar4;
  int iVar5;
  int iVar6;
  double *pdVar7;
  MagickBooleanType MVar8;
  int in_GS_OFFSET;
  double local_2c;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xf8f59;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  pIVar2 = this->image;
  iVar4 = omp_get_num_threads();
  iVar5 = omp_get_thread_num();
  iVar6 = (int)pIVar2->rows / iVar4;
  iVar4 = (int)pIVar2->rows % iVar4;
  if (iVar5 < iVar4) {
    iVar6 = iVar6 + 1;
    iVar4 = 0;
  }
  iVar4 = iVar5 * iVar6 + iVar4;
  iVar6 = iVar6 + iVar4;
  if (iVar4 < iVar6) {
    cache_view = this->image_view;
    dVar1 = this->scale_factor;
    exception = this->exception;
    matrix_info = this->matrix_info;
    do {
      if (this->status != MagickFalse) {
        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);
        if (pdVar7 != (Quantum *)0x0) {
          if (0 < (int)pIVar2->columns) {
            iVar5 = 0;
            do {
              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);
              if (MVar8 != MagickFalse) {
                local_2c = (local_2c - *this->min_value) * dVar1;
                sVar3 = pIVar2->number_channels;
                *pdVar7 = local_2c;
                pdVar7 = pdVar7 + sVar3;
              }
              iVar5 = iVar5 + 1;
            } while (iVar5 < (int)pIVar2->columns);
          }
          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);
          if (MVar8 != MagickFalse) goto LAB_000f908b;
        }
        this->status = MagickFalse;
      }
LAB_000f908b:
      iVar4 = iVar4 + 1;
    } while (iVar6 != iVar4);
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_000f8f50(double *param_1)

{
  double dVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  double *pdVar9;
  int iVar10;
  int in_GS_OFFSET;
  double local_2c;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xf8f59;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = *(int *)(param_1 + 3);
  iVar6 = omp_get_num_threads();
  iVar7 = omp_get_thread_num();
  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;
  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;
  if (iVar7 < iVar6) {
    iVar8 = iVar8 + 1;
    iVar6 = 0;
  }
  iVar6 = iVar7 * iVar8 + iVar6;
  iVar8 = iVar8 + iVar6;
  if (iVar6 < iVar8) {
    uVar3 = *(undefined4 *)(param_1 + 2);
    dVar1 = *param_1;
    uVar4 = *(undefined4 *)((int)param_1 + 0xc);
    uVar5 = *(undefined4 *)(param_1 + 1);
    do {
      if (*(int *)((int)param_1 + 0x1c) != 0) {
        pdVar9 = (double *)
                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);
        if (pdVar9 != (double *)0x0) {
          if (0 < *(int *)(iVar2 + 0x18)) {
            iVar7 = 0;
            do {
              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);
              if (iVar10 != 0) {
                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;
                iVar10 = *(int *)(iVar2 + 0x298);
                *pdVar9 = local_2c;
                pdVar9 = pdVar9 + iVar10;
              }
              iVar7 = iVar7 + 1;
            } while (iVar7 < *(int *)(iVar2 + 0x18));
          }
          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);
          if (iVar7 != 0) goto LAB_000f908b;
        }
        *(undefined4 *)((int)param_1 + 0x1c) = 0;
      }
LAB_000f908b:
      iVar6 = iVar6 + 1;
    } while (iVar8 != iVar6);
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x2e00a7
SUB ESP,0x4c
MOV ECX,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x3c],ECX
XOR ECX,ECX
MOV EAX,dword ptr [ESP + 0x60]
MOV EBP,dword ptr [EAX + 0x18]
MOV dword ptr [ESP + 0xc],EAX
CALL 0x00030850
MOV ESI,EAX
CALL 0x000317c0
MOV EDI,EAX
MOV EAX,dword ptr [EBP + 0x1c]
CDQ
IDIV ESI
CMP EDI,EDX
JGE 0x000f8f97
ADD EAX,0x1
XOR EDX,EDX
IMUL EDI,EAX
ADD EDI,EDX
ADD EAX,EDI
CMP EDI,EAX
MOV dword ptr [ESP + 0x24],EAX
JGE 0x000f9098
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [EAX + 0x10]
FLD qword ptr [EAX]
FSTP qword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x28],EDX
MOV EDX,dword ptr [EAX + 0xc]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x2c],EDX
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[ESP + 0x30]
MOV dword ptr [ESP + 0x20],EAX
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [EAX + 0x1c]
TEST EDX,EDX
JZ 0x000f908b
SUB ESP,0x8
PUSH dword ptr [ESP + 0x34]
PUSH 0x1
PUSH dword ptr [EBP + 0x18]
PUSH EDI
PUSH 0x0
PUSH dword ptr [ESP + 0x44]
CALL 0x000339a0
ADD ESP,0x20
MOV ECX,EAX
TEST EAX,EAX
JZ 0x000f9080
MOV EAX,dword ptr [EBP + 0x18]
XOR ESI,ESI
TEST EAX,EAX
JLE 0x000f9069
MOV dword ptr [ESP + 0x10],EDI
MOV EDI,EBP
MOV EBP,ECX
LEA ESI,[ESI]
PUSH dword ptr [ESP + 0x20]
PUSH dword ptr [ESP + 0x14]
PUSH ESI
PUSH dword ptr [ESP + 0x20]
CALL 0x000321b0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x000f905b
MOV EAX,dword ptr [ESP + 0xc]
FLD qword ptr [ESP + 0x30]
MOV EAX,dword ptr [EAX + 0x14]
FSUB qword ptr [EAX]
FMUL qword ptr [ESP + 0x18]
MOV EAX,dword ptr [EDI + 0x298]
FST qword ptr [ESP + 0x30]
FSTP qword ptr [EBP]
LEA EBP,[EBP + EAX*0x8]
ADD ESI,0x1
CMP dword ptr [EDI + 0x18],ESI
JG 0x000f9020
MOV EBP,EDI
MOV EDI,dword ptr [ESP + 0x10]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x34]
CALL 0x00031800
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000f908b
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [EAX + 0x1c],0x0
ADD EDI,0x1
CMP dword ptr [ESP + 0x24],EDI
JNZ 0x000f8fd8
MOV EAX,dword ptr [ESP + 0x3c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x000f90ad
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CALL 0x0029eab0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_000f8f50(double *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = *(int *)(param_1 + 3);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;\n  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;\n  if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }\n  iVar6 = iVar7 * iVar8 + iVar6;\n  iVar8 = iVar8 + iVar6;\n  if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000f8f50(double *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = *(int *)(param_1 + 3);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;\n  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;\n  if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }\n  iVar6 = iVar7 * iVar8 + iVar6;\n  iVar8 = iVar8 + iVar6;\n  if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000f8f50(double *param_1)" identifier (parameter_list "(double *param_1)" ( (parameter_declaration "double *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = *(int *)(param_1 + 3);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;\n  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;\n  if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }\n  iVar6 = iVar7 * iVar8 + iVar6;\n  iVar8 = iVar8 + iVar6;\n  if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "double *pdVar9;" primitive_type (pointer_declarator "*pdVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double local_2c;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xf8f59;" (assignment_expression "uStack_14 = 0xf8f59" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 3);" (assignment_expression "iVar2 = *(int *)(param_1 + 3)" identifier = (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = omp_get_num_threads();" (assignment_expression "iVar6 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x1c) / iVar6" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) / iVar6" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x1c) % iVar6" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) % iVar6" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }" if (parenthesized_expression "(iVar7 < iVar6)" ( (binary_expression "iVar7 < iVar6" identifier < identifier) )) (compound_statement "{\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) })) (expression_statement "iVar6 = iVar7 * iVar8 + iVar6;" (assignment_expression "iVar6 = iVar7 * iVar8 + iVar6" identifier = (binary_expression "iVar7 * iVar8 + iVar6" (binary_expression "iVar7 * iVar8" identifier * identifier) + identifier)) ;) (expression_statement "iVar8 = iVar8 + iVar6;" (assignment_expression "iVar8 = iVar8 + iVar6" identifier = (binary_expression "iVar8 + iVar6" identifier + identifier)) ;) (if_statement "if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }" if (parenthesized_expression "(iVar6 < iVar8)" ( (binary_expression "iVar6 < iVar8" identifier < identifier) )) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 2);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 2)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "dVar1 = *param_1;" (assignment_expression "dVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)((int)param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 1);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 1)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 1)" * (cast_expression "(undefined4 *)(param_1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);" do (compound_statement "{\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    }" { (if_statement "if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }" if (parenthesized_expression "(*(int *)((int)param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)((int)param_1 + 0x1c) != 0" (pointer_expression "*(int *)((int)param_1 + 0x1c)" * (cast_expression "(int *)((int)param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }" { (expression_statement "pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);" (assignment_expression "pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" identifier = (cast_expression "(double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" identifier (argument_list "(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (if_statement "if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }" if (parenthesized_expression "(pdVar9 != (double *)0x0)" ( (binary_expression "pdVar9 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }" { (if_statement "if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }" if (parenthesized_expression "(0 < *(int *)(iVar2 + 0x18))" ( (binary_expression "0 < *(int *)(iVar2 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));" do (compound_statement "{\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            }" { (expression_statement "iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);" (assignment_expression "iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c)" identifier = (call_expression "GetMatrixElement(uVar5,iVar7,iVar6,&local_2c)" identifier (argument_list "(uVar5,iVar7,iVar6,&local_2c)" ( identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) )))) ;) (if_statement "if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }" { (expression_statement "local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;" (assignment_expression "local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1" identifier = (binary_expression "(local_2c - **(double **)((int)param_1 + 0x14)) * dVar1" (parenthesized_expression "(local_2c - **(double **)((int)param_1 + 0x14))" ( (binary_expression "local_2c - **(double **)((int)param_1 + 0x14)" identifier - (pointer_expression "**(double **)((int)param_1 + 0x14)" * (pointer_expression "*(double **)((int)param_1 + 0x14)" * (cast_expression "(double **)((int)param_1 + 0x14)" ( (type_descriptor "double **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) )) * identifier)) ;) (expression_statement "iVar10 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x298)" identifier = (pointer_expression "*(int *)(iVar2 + 0x298)" * (cast_expression "(int *)(iVar2 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x298)" ( (binary_expression "iVar2 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "*pdVar9 = local_2c;" (assignment_expression "*pdVar9 = local_2c" (pointer_expression "*pdVar9" * identifier) = identifier) ;) (expression_statement "pdVar9 = pdVar9 + iVar10;" (assignment_expression "pdVar9 = pdVar9 + iVar10" identifier = (binary_expression "pdVar9 + iVar10" identifier + identifier)) ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 < *(int *)(iVar2 + 0x18))" ( (binary_expression "iVar7 < *(int *)(iVar2 + 0x18)" identifier < (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);" (assignment_expression "iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4)" identifier = (call_expression "SyncCacheViewAuthenticPixels(uVar3,uVar4)" identifier (argument_list "(uVar3,uVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) goto LAB_000f908b;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000f908b;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (labeled_statement "LAB_000f908b:\n      iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar8 != iVar6)" ( (binary_expression "iVar8 != iVar6" identifier != identifier) )) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_0029eab0();\n  }" { comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\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/* DWARF original prototype: void MatrixToImage._omp_fn.0(anon_struct_32_7_d55ab48b * param_0) */\n\nvoid __thiscall MatrixToImage__omp_fn_0(anon_struct_32_7_d55ab48b *this)\n\n{\n  double dVar1;\n  Image *pIVar2;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  MatrixInfo *matrix_info;\n  size_t sVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  double *pdVar7;\n  MagickBooleanType MVar8;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pIVar2 = this->image;\n  iVar4 = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  iVar6 = (int)pIVar2->rows / iVar4;\n  iVar4 = (int)pIVar2->rows % iVar4;\n  if (iVar5 < iVar4) {\n    iVar6 = iVar6 + 1;\n    iVar4 = 0;\n  }\n  iVar4 = iVar5 * iVar6 + iVar4;\n  iVar6 = iVar6 + iVar4;\n  if (iVar4 < iVar6) {\n    cache_view = this->image_view;\n    dVar1 = this->scale_factor;\n    exception = this->exception;\n    matrix_info = this->matrix_info;\n    do {\n      if (this->status != MagickFalse) {\n        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000f908b:\n      iVar4 = iVar4 + 1;\n    } while (iVar6 != iVar4);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}\n\n" comment comment comment comment comment comment comment (function_definition "void __thiscall MatrixToImage__omp_fn_0(anon_struct_32_7_d55ab48b *this)\n\n{\n  double dVar1;\n  Image *pIVar2;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  MatrixInfo *matrix_info;\n  size_t sVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  double *pdVar7;\n  MagickBooleanType MVar8;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pIVar2 = this->image;\n  iVar4 = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  iVar6 = (int)pIVar2->rows / iVar4;\n  iVar4 = (int)pIVar2->rows % iVar4;\n  if (iVar5 < iVar4) {\n    iVar6 = iVar6 + 1;\n    iVar4 = 0;\n  }\n  iVar4 = iVar5 * iVar6 + iVar4;\n  iVar6 = iVar6 + iVar4;\n  if (iVar4 < iVar6) {\n    cache_view = this->image_view;\n    dVar1 = this->scale_factor;\n    exception = this->exception;\n    matrix_info = this->matrix_info;\n    do {\n      if (this->status != MagickFalse) {\n        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000f908b:\n      iVar4 = iVar4 + 1;\n    } while (iVar6 != iVar4);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "MatrixToImage__omp_fn_0(anon_struct_32_7_d55ab48b *this)" identifier (parameter_list "(anon_struct_32_7_d55ab48b *this)" ( (parameter_declaration "anon_struct_32_7_d55ab48b *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  Image *pIVar2;\n  CacheView *cache_view;\n  ExceptionInfo *exception;\n  MatrixInfo *matrix_info;\n  size_t sVar3;\n  int iVar4;\n  int iVar5;\n  int iVar6;\n  double *pdVar7;\n  MagickBooleanType MVar8;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pIVar2 = this->image;\n  iVar4 = omp_get_num_threads();\n  iVar5 = omp_get_thread_num();\n  iVar6 = (int)pIVar2->rows / iVar4;\n  iVar4 = (int)pIVar2->rows % iVar4;\n  if (iVar5 < iVar4) {\n    iVar6 = iVar6 + 1;\n    iVar4 = 0;\n  }\n  iVar4 = iVar5 * iVar6 + iVar4;\n  iVar6 = iVar6 + iVar4;\n  if (iVar4 < iVar6) {\n    cache_view = this->image_view;\n    dVar1 = this->scale_factor;\n    exception = this->exception;\n    matrix_info = this->matrix_info;\n    do {\n      if (this->status != MagickFalse) {\n        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000f908b:\n      iVar4 = iVar4 + 1;\n    } while (iVar6 != iVar4);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "Image *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "MatrixInfo *matrix_info;" type_identifier (pointer_declarator "*matrix_info" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "double *pdVar7;" primitive_type (pointer_declarator "*pdVar7" * identifier) ;) (declaration "MagickBooleanType MVar8;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double local_2c;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xf8f59;" (assignment_expression "uStack_14 = 0xf8f59" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pIVar2 = this->image;" (assignment_expression "pIVar2 = this->image" identifier = (field_expression "this->image" identifier -> field_identifier)) ;) (expression_statement "iVar4 = omp_get_num_threads();" (assignment_expression "iVar4 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = omp_get_thread_num();" (assignment_expression "iVar5 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar6 = (int)pIVar2->rows / iVar4;" (assignment_expression "iVar6 = (int)pIVar2->rows / iVar4" identifier = (binary_expression "(int)pIVar2->rows / iVar4" (cast_expression "(int)pIVar2->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar2->rows" identifier -> field_identifier)) / identifier)) ;) (expression_statement "iVar4 = (int)pIVar2->rows % iVar4;" (assignment_expression "iVar4 = (int)pIVar2->rows % iVar4" identifier = (binary_expression "(int)pIVar2->rows % iVar4" (cast_expression "(int)pIVar2->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar2->rows" identifier -> field_identifier)) % identifier)) ;) (if_statement "if (iVar5 < iVar4) {\n    iVar6 = iVar6 + 1;\n    iVar4 = 0;\n  }" if (parenthesized_expression "(iVar5 < iVar4)" ( (binary_expression "iVar5 < iVar4" identifier < identifier) )) (compound_statement "{\n    iVar6 = iVar6 + 1;\n    iVar4 = 0;\n  }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) })) (expression_statement "iVar4 = iVar5 * iVar6 + iVar4;" (assignment_expression "iVar4 = iVar5 * iVar6 + iVar4" identifier = (binary_expression "iVar5 * iVar6 + iVar4" (binary_expression "iVar5 * iVar6" identifier * identifier) + identifier)) ;) (expression_statement "iVar6 = iVar6 + iVar4;" (assignment_expression "iVar6 = iVar6 + iVar4" identifier = (binary_expression "iVar6 + iVar4" identifier + identifier)) ;) (if_statement "if (iVar4 < iVar6) {\n    cache_view = this->image_view;\n    dVar1 = this->scale_factor;\n    exception = this->exception;\n    matrix_info = this->matrix_info;\n    do {\n      if (this->status != MagickFalse) {\n        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000f908b:\n      iVar4 = iVar4 + 1;\n    } while (iVar6 != iVar4);\n  }" if (parenthesized_expression "(iVar4 < iVar6)" ( (binary_expression "iVar4 < iVar6" identifier < identifier) )) (compound_statement "{\n    cache_view = this->image_view;\n    dVar1 = this->scale_factor;\n    exception = this->exception;\n    matrix_info = this->matrix_info;\n    do {\n      if (this->status != MagickFalse) {\n        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000f908b:\n      iVar4 = iVar4 + 1;\n    } while (iVar6 != iVar4);\n  }" { (expression_statement "cache_view = this->image_view;" (assignment_expression "cache_view = this->image_view" identifier = (field_expression "this->image_view" identifier -> field_identifier)) ;) (expression_statement "dVar1 = this->scale_factor;" (assignment_expression "dVar1 = this->scale_factor" identifier = (field_expression "this->scale_factor" identifier -> field_identifier)) ;) (expression_statement "exception = this->exception;" (assignment_expression "exception = this->exception" identifier = (field_expression "this->exception" identifier -> field_identifier)) ;) (expression_statement "matrix_info = this->matrix_info;" (assignment_expression "matrix_info = this->matrix_info" identifier = (field_expression "this->matrix_info" identifier -> field_identifier)) ;) (do_statement "do {\n      if (this->status != MagickFalse) {\n        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000f908b:\n      iVar4 = iVar4 + 1;\n    } while (iVar6 != iVar4);" do (compound_statement "{\n      if (this->status != MagickFalse) {\n        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }\n        this->status = MagickFalse;\n      }\nLAB_000f908b:\n      iVar4 = iVar4 + 1;\n    }" { (if_statement "if (this->status != MagickFalse) {\n        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\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        pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);\n        if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }\n        this->status = MagickFalse;\n      }" { (expression_statement "pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception);" (assignment_expression "pdVar7 = QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception)" identifier = (call_expression "QueueCacheViewAuthenticPixels(cache_view,0,iVar4,pIVar2->columns,1,exception)" identifier (argument_list "(cache_view,0,iVar4,pIVar2->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "pIVar2->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (pdVar7 != (Quantum *)0x0) {\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }" if (parenthesized_expression "(pdVar7 != (Quantum *)0x0)" ( (binary_expression "pdVar7 != (Quantum *)0x0" identifier != (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }\n          MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);\n          if (MVar8 != MagickFalse) goto LAB_000f908b;\n        }" { (if_statement "if (0 < (int)pIVar2->columns) {\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }" if (parenthesized_expression "(0 < (int)pIVar2->columns)" ( (binary_expression "0 < (int)pIVar2->columns" number_literal < (cast_expression "(int)pIVar2->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar2->columns" identifier -> field_identifier))) )) (compound_statement "{\n            iVar5 = 0;\n            do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);\n          }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            } while (iVar5 < (int)pIVar2->columns);" do (compound_statement "{\n              MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);\n              if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }\n              iVar5 = iVar5 + 1;\n            }" { (expression_statement "MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c);" (assignment_expression "MVar8 = GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c)" identifier = (call_expression "GetMatrixElement(matrix_info,iVar5,iVar4,&local_2c)" identifier (argument_list "(matrix_info,iVar5,iVar4,&local_2c)" ( identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) )))) ;) (if_statement "if (MVar8 != MagickFalse) {\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }" if (parenthesized_expression "(MVar8 != MagickFalse)" ( (binary_expression "MVar8 != MagickFalse" identifier != identifier) )) (compound_statement "{\n                local_2c = (local_2c - *this->min_value) * dVar1;\n                sVar3 = pIVar2->number_channels;\n                *pdVar7 = local_2c;\n                pdVar7 = pdVar7 + sVar3;\n              }" { (expression_statement "local_2c = (local_2c - *this->min_value) * dVar1;" (assignment_expression "local_2c = (local_2c - *this->min_value) * dVar1" identifier = (binary_expression "(local_2c - *this->min_value) * dVar1" (parenthesized_expression "(local_2c - *this->min_value)" ( (binary_expression "local_2c - *this->min_value" identifier - (pointer_expression "*this->min_value" * (field_expression "this->min_value" identifier -> field_identifier))) )) * identifier)) ;) (expression_statement "sVar3 = pIVar2->number_channels;" (assignment_expression "sVar3 = pIVar2->number_channels" identifier = (field_expression "pIVar2->number_channels" identifier -> field_identifier)) ;) (expression_statement "*pdVar7 = local_2c;" (assignment_expression "*pdVar7 = local_2c" (pointer_expression "*pdVar7" * identifier) = identifier) ;) (expression_statement "pdVar7 = pdVar7 + sVar3;" (assignment_expression "pdVar7 = pdVar7 + sVar3" identifier = (binary_expression "pdVar7 + sVar3" identifier + identifier)) ;) })) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 < (int)pIVar2->columns)" ( (binary_expression "iVar5 < (int)pIVar2->columns" identifier < (cast_expression "(int)pIVar2->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar2->columns" identifier -> field_identifier))) )) ;) })) (expression_statement "MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception);" (assignment_expression "MVar8 = SyncCacheViewAuthenticPixels(cache_view,exception)" identifier = (call_expression "SyncCacheViewAuthenticPixels(cache_view,exception)" identifier (argument_list "(cache_view,exception)" ( identifier , identifier )))) ;) (if_statement "if (MVar8 != MagickFalse) goto LAB_000f908b;" if (parenthesized_expression "(MVar8 != MagickFalse)" ( (binary_expression "MVar8 != MagickFalse" identifier != identifier) )) (goto_statement "goto LAB_000f908b;" goto statement_identifier ;)) })) (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) })) (labeled_statement "LAB_000f908b:\n      iVar4 = iVar4 + 1;" statement_identifier : (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar6 != iVar4)" ( (binary_expression "iVar6 != iVar4" identifier != identifier) )) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000f8f50(double *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = *(int *)(param_1 + 3);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;\n  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;\n  if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }\n  iVar6 = iVar7 * iVar8 + iVar6;\n  iVar8 = iVar8 + iVar6;\n  if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}\n\n" (function_definition "void FUN_000f8f50(double *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = *(int *)(param_1 + 3);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;\n  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;\n  if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }\n  iVar6 = iVar7 * iVar8 + iVar6;\n  iVar8 = iVar8 + iVar6;\n  if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000f8f50(double *param_1)" identifier (parameter_list "(double *param_1)" ( (parameter_declaration "double *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = *(int *)(param_1 + 3);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;\n  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;\n  if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }\n  iVar6 = iVar7 * iVar8 + iVar6;\n  iVar8 = iVar8 + iVar6;\n  if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "double *pdVar9;" primitive_type (pointer_declarator "*pdVar9" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "double local_2c;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0xf8f59;" (assignment_expression "uStack_14 = 0xf8f59" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 3);" (assignment_expression "iVar2 = *(int *)(param_1 + 3)" identifier = (pointer_expression "*(int *)(param_1 + 3)" * (cast_expression "(int *)(param_1 + 3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = omp_get_num_threads();" (assignment_expression "iVar6 = omp_get_num_threads()" identifier = (call_expression "omp_get_num_threads()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" identifier = (call_expression "omp_get_thread_num()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x1c) / iVar6" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) / iVar6" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x1c) % iVar6" identifier = (binary_expression "*(int *)(iVar2 + 0x1c) % iVar6" (pointer_expression "*(int *)(iVar2 + 0x1c)" * (cast_expression "(int *)(iVar2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }" if (parenthesized_expression "(iVar7 < iVar6)" ( (binary_expression "iVar7 < iVar6" identifier < identifier) )) (compound_statement "{\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }" { (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" identifier = (binary_expression "iVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) })) (expression_statement "iVar6 = iVar7 * iVar8 + iVar6;" (assignment_expression "iVar6 = iVar7 * iVar8 + iVar6" identifier = (binary_expression "iVar7 * iVar8 + iVar6" (binary_expression "iVar7 * iVar8" identifier * identifier) + identifier)) ;) (expression_statement "iVar8 = iVar8 + iVar6;" (assignment_expression "iVar8 = iVar8 + iVar6" identifier = (binary_expression "iVar8 + iVar6" identifier + identifier)) ;) (if_statement "if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }" if (parenthesized_expression "(iVar6 < iVar8)" ( (binary_expression "iVar6 < iVar8" identifier < identifier) )) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }" { (expression_statement "uVar3 = *(undefined4 *)(param_1 + 2);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 2)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 2)" * (cast_expression "(undefined4 *)(param_1 + 2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) ))))) ;) (expression_statement "dVar1 = *param_1;" (assignment_expression "dVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar4 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)((int)param_1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" * (cast_expression "(undefined4 *)((int)param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0xc)" ( (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 1);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 1)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 1)" * (cast_expression "(undefined4 *)(param_1 + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))))) ;) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);" do (compound_statement "{\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    }" { (if_statement "if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }" if (parenthesized_expression "(*(int *)((int)param_1 + 0x1c) != 0)" ( (binary_expression "*(int *)((int)param_1 + 0x1c) != 0" (pointer_expression "*(int *)((int)param_1 + 0x1c)" * (cast_expression "(int *)((int)param_1 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }" { (expression_statement "pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);" (assignment_expression "pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" identifier = (cast_expression "(double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" identifier (argument_list "(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" * (cast_expression "(undefined4 *)(iVar2 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (if_statement "if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }" if (parenthesized_expression "(pdVar9 != (double *)0x0)" ( (binary_expression "pdVar9 != (double *)0x0" identifier != (cast_expression "(double *)0x0" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }" { (if_statement "if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }" if (parenthesized_expression "(0 < *(int *)(iVar2 + 0x18))" ( (binary_expression "0 < *(int *)(iVar2 + 0x18)" number_literal < (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));" do (compound_statement "{\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            }" { (expression_statement "iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);" (assignment_expression "iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c)" identifier = (call_expression "GetMatrixElement(uVar5,iVar7,iVar6,&local_2c)" identifier (argument_list "(uVar5,iVar7,iVar6,&local_2c)" ( identifier , identifier , identifier , (pointer_expression "&local_2c" & identifier) )))) ;) (if_statement "if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }" if (parenthesized_expression "(iVar10 != 0)" ( (binary_expression "iVar10 != 0" identifier != number_literal) )) (compound_statement "{\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }" { (expression_statement "local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;" (assignment_expression "local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1" identifier = (binary_expression "(local_2c - **(double **)((int)param_1 + 0x14)) * dVar1" (parenthesized_expression "(local_2c - **(double **)((int)param_1 + 0x14))" ( (binary_expression "local_2c - **(double **)((int)param_1 + 0x14)" identifier - (pointer_expression "**(double **)((int)param_1 + 0x14)" * (pointer_expression "*(double **)((int)param_1 + 0x14)" * (cast_expression "(double **)((int)param_1 + 0x14)" ( (type_descriptor "double **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + 0x14)" ( (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))))) )) * identifier)) ;) (expression_statement "iVar10 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x298)" identifier = (pointer_expression "*(int *)(iVar2 + 0x298)" * (cast_expression "(int *)(iVar2 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x298)" ( (binary_expression "iVar2 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "*pdVar9 = local_2c;" (assignment_expression "*pdVar9 = local_2c" (pointer_expression "*pdVar9" * identifier) = identifier) ;) (expression_statement "pdVar9 = pdVar9 + iVar10;" (assignment_expression "pdVar9 = pdVar9 + iVar10" identifier = (binary_expression "pdVar9 + iVar10" identifier + identifier)) ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 < *(int *)(iVar2 + 0x18))" ( (binary_expression "iVar7 < *(int *)(iVar2 + 0x18)" identifier < (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) ))))) )) ;) })) (expression_statement "iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);" (assignment_expression "iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4)" identifier = (call_expression "SyncCacheViewAuthenticPixels(uVar3,uVar4)" identifier (argument_list "(uVar3,uVar4)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 != 0) goto LAB_000f908b;" if (parenthesized_expression "(iVar7 != 0)" ( (binary_expression "iVar7 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000f908b;" goto statement_identifier ;)) })) (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" * (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x1c)" ( (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (labeled_statement "LAB_000f908b:\n      iVar6 = iVar6 + 1;" statement_identifier : (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(iVar8 != iVar6)" ( (binary_expression "iVar8 != iVar6" identifier != identifier) )) ;) })) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_0029eab0();\n  }" { (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))))) )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000f8f50(double *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = *(int *)(param_1 + 3);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;\n  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;\n  if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }\n  iVar6 = iVar7 * iVar8 + iVar6;\n  iVar8 = iVar8 + iVar6;\n  if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000f8f50(double *param_1)" (identifier "FUN_000f8f50") (parameter_list "(double *param_1)" (( "(") (parameter_declaration "double *param_1" (primitive_type "double") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  double *pdVar9;\n  int iVar10;\n  int in_GS_OFFSET;\n  double local_2c;\n  int local_20;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0xf8f59;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = *(int *)(param_1 + 3);\n  iVar6 = omp_get_num_threads();\n  iVar7 = omp_get_thread_num();\n  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;\n  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;\n  if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }\n  iVar6 = iVar7 * iVar8 + iVar6;\n  iVar8 = iVar8 + iVar6;\n  if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }\n  return;\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (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 "double *pdVar9;" (primitive_type "double") (pointer_declarator "*pdVar9" (* "*") (identifier "pdVar9")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "double local_2c;" (primitive_type "double") (identifier "local_2c") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0xf8f59;" (assignment_expression "uStack_14 = 0xf8f59" (identifier "uStack_14") (= "=") (number_literal "0xf8f59")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 3);" (assignment_expression "iVar2 = *(int *)(param_1 + 3)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 3)" (* "*") (cast_expression "(int *)(param_1 + 3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "iVar6 = omp_get_num_threads();" (assignment_expression "iVar6 = omp_get_num_threads()" (identifier "iVar6") (= "=") (call_expression "omp_get_num_threads()" (identifier "omp_get_num_threads") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar7 = omp_get_thread_num();" (assignment_expression "iVar7 = omp_get_thread_num()" (identifier "iVar7") (= "=") (call_expression "omp_get_thread_num()" (identifier "omp_get_thread_num") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;" (assignment_expression "iVar8 = *(int *)(iVar2 + 0x1c) / iVar6" (identifier "iVar8") (= "=") (binary_expression "*(int *)(iVar2 + 0x1c) / iVar6" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (/ "/") (identifier "iVar6"))) (; ";")) (expression_statement "iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;" (assignment_expression "iVar6 = *(int *)(iVar2 + 0x1c) % iVar6" (identifier "iVar6") (= "=") (binary_expression "*(int *)(iVar2 + 0x1c) % iVar6" (pointer_expression "*(int *)(iVar2 + 0x1c)" (* "*") (cast_expression "(int *)(iVar2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (% "%") (identifier "iVar6"))) (; ";")) (if_statement "if (iVar7 < iVar6) {\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "(iVar7 < iVar6)" (( "(") (binary_expression "iVar7 < iVar6" (identifier "iVar7") (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n    iVar8 = iVar8 + 1;\n    iVar6 = 0;\n  }" ({ "{") (expression_statement "iVar8 = iVar8 + 1;" (assignment_expression "iVar8 = iVar8 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar8 + 1" (identifier "iVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar7 * iVar8 + iVar6;" (assignment_expression "iVar6 = iVar7 * iVar8 + iVar6" (identifier "iVar6") (= "=") (binary_expression "iVar7 * iVar8 + iVar6" (binary_expression "iVar7 * iVar8" (identifier "iVar7") (* "*") (identifier "iVar8")) (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "iVar8 = iVar8 + iVar6;" (assignment_expression "iVar8 = iVar8 + iVar6" (identifier "iVar8") (= "=") (binary_expression "iVar8 + iVar6" (identifier "iVar8") (+ "+") (identifier "iVar6"))) (; ";")) (if_statement "if (iVar6 < iVar8) {\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }" (if "if") (parenthesized_expression "(iVar6 < iVar8)" (( "(") (binary_expression "iVar6 < iVar8" (identifier "iVar6") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n    uVar3 = *(undefined4 *)(param_1 + 2);\n    dVar1 = *param_1;\n    uVar4 = *(undefined4 *)((int)param_1 + 0xc);\n    uVar5 = *(undefined4 *)(param_1 + 1);\n    do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);\n  }" ({ "{") (expression_statement "uVar3 = *(undefined4 *)(param_1 + 2);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 2)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 2)" (* "*") (cast_expression "(undefined4 *)(param_1 + 2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")"))))) (; ";")) (expression_statement "dVar1 = *param_1;" (assignment_expression "dVar1 = *param_1" (identifier "dVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)((int)param_1 + 0xc);" (assignment_expression "uVar4 = *(undefined4 *)((int)param_1 + 0xc)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)((int)param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0xc)" (( "(") (binary_expression "(int)param_1 + 0xc" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 1);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 1)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 1)" (* "*") (cast_expression "(undefined4 *)(param_1 + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))))) (; ";")) (do_statement "do {\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    } while (iVar8 != iVar6);" (do "do") (compound_statement "{\n      if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }\nLAB_000f908b:\n      iVar6 = iVar6 + 1;\n    }" ({ "{") (if_statement "if (*(int *)((int)param_1 + 0x1c) != 0) {\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }" (if "if") (parenthesized_expression "(*(int *)((int)param_1 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)((int)param_1 + 0x1c) != 0" (pointer_expression "*(int *)((int)param_1 + 0x1c)" (* "*") (cast_expression "(int *)((int)param_1 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x1c)" (( "(") (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);\n        if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }\n        *(undefined4 *)((int)param_1 + 0x1c) = 0;\n      }" ({ "{") (expression_statement "pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);" (assignment_expression "pdVar9 = (double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" (identifier "pdVar9") (= "=") (cast_expression "(double *)\n                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" (identifier "QueueCacheViewAuthenticPixels") (argument_list "(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4)" (( "(") (identifier "uVar3") (, ",") (number_literal "0") (, ",") (identifier "iVar6") (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "uVar4") () ")"))))) (; ";")) (if_statement "if (pdVar9 != (double *)0x0) {\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }" (if "if") (parenthesized_expression "(pdVar9 != (double *)0x0)" (( "(") (binary_expression "pdVar9 != (double *)0x0" (identifier "pdVar9") (!= "!=") (cast_expression "(double *)0x0" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }\n          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);\n          if (iVar7 != 0) goto LAB_000f908b;\n        }" ({ "{") (if_statement "if (0 < *(int *)(iVar2 + 0x18)) {\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }" (if "if") (parenthesized_expression "(0 < *(int *)(iVar2 + 0x18))" (( "(") (binary_expression "0 < *(int *)(iVar2 + 0x18)" (number_literal "0") (< "<") (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n            iVar7 = 0;\n            do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));\n          }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            } while (iVar7 < *(int *)(iVar2 + 0x18));" (do "do") (compound_statement "{\n              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);\n              if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }\n              iVar7 = iVar7 + 1;\n            }" ({ "{") (expression_statement "iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);" (assignment_expression "iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c)" (identifier "iVar10") (= "=") (call_expression "GetMatrixElement(uVar5,iVar7,iVar6,&local_2c)" (identifier "GetMatrixElement") (argument_list "(uVar5,iVar7,iVar6,&local_2c)" (( "(") (identifier "uVar5") (, ",") (identifier "iVar7") (, ",") (identifier "iVar6") (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) () ")")))) (; ";")) (if_statement "if (iVar10 != 0) {\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }" (if "if") (parenthesized_expression "(iVar10 != 0)" (( "(") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;\n                iVar10 = *(int *)(iVar2 + 0x298);\n                *pdVar9 = local_2c;\n                pdVar9 = pdVar9 + iVar10;\n              }" ({ "{") (expression_statement "local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;" (assignment_expression "local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1" (identifier "local_2c") (= "=") (binary_expression "(local_2c - **(double **)((int)param_1 + 0x14)) * dVar1" (parenthesized_expression "(local_2c - **(double **)((int)param_1 + 0x14))" (( "(") (binary_expression "local_2c - **(double **)((int)param_1 + 0x14)" (identifier "local_2c") (- "-") (pointer_expression "**(double **)((int)param_1 + 0x14)" (* "*") (pointer_expression "*(double **)((int)param_1 + 0x14)" (* "*") (cast_expression "(double **)((int)param_1 + 0x14)" (( "(") (type_descriptor "double **" (primitive_type "double") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + 0x14)" (( "(") (binary_expression "(int)param_1 + 0x14" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x14")) () ")")))))) () ")")) (* "*") (identifier "dVar1"))) (; ";")) (expression_statement "iVar10 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x298)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(iVar2 + 0x298)" (* "*") (cast_expression "(int *)(iVar2 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x298)" (( "(") (binary_expression "iVar2 + 0x298" (identifier "iVar2") (+ "+") (number_literal "0x298")) () ")"))))) (; ";")) (expression_statement "*pdVar9 = local_2c;" (assignment_expression "*pdVar9 = local_2c" (pointer_expression "*pdVar9" (* "*") (identifier "pdVar9")) (= "=") (identifier "local_2c")) (; ";")) (expression_statement "pdVar9 = pdVar9 + iVar10;" (assignment_expression "pdVar9 = pdVar9 + iVar10" (identifier "pdVar9") (= "=") (binary_expression "pdVar9 + iVar10" (identifier "pdVar9") (+ "+") (identifier "iVar10"))) (; ";")) (} "}"))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 < *(int *)(iVar2 + 0x18))" (( "(") (binary_expression "iVar7 < *(int *)(iVar2 + 0x18)" (identifier "iVar7") (< "<") (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);" (assignment_expression "iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4)" (identifier "iVar7") (= "=") (call_expression "SyncCacheViewAuthenticPixels(uVar3,uVar4)" (identifier "SyncCacheViewAuthenticPixels") (argument_list "(uVar3,uVar4)" (( "(") (identifier "uVar3") (, ",") (identifier "uVar4") () ")")))) (; ";")) (if_statement "if (iVar7 != 0) goto LAB_000f908b;" (if "if") (parenthesized_expression "(iVar7 != 0)" (( "(") (binary_expression "iVar7 != 0" (identifier "iVar7") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000f908b;" (goto "goto") (statement_identifier "LAB_000f908b") (; ";"))) (} "}"))) (expression_statement "*(undefined4 *)((int)param_1 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + 0x1c) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x1c)" (( "(") (binary_expression "(int)param_1 + 0x1c" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (labeled_statement "LAB_000f908b:\n      iVar6 = iVar6 + 1;" (statement_identifier "LAB_000f908b") (: ":") (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar8 != iVar6)" (( "(") (binary_expression "iVar8 != iVar6" (identifier "iVar8") (!= "!=") (identifier "iVar6")) () ")")) (; ";")) (} "}"))) (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_0029eab0();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_0029eab0();\n  }" ({ "{") (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* 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 */
/* DWARF original prototype: void MatrixToImage._omp_fn.0(anon_struct_32_7_d55ab48b * param_0) */

void __thiscall function_1(type_1 *this)

{
  double var_13;
  type_2 *pIVar2;
  type_3 *cache_view;
  type_4 *exception;
  type_5 *matrix_info;
  size_t var_14;
  int var_4;
  int var_5;
  int var_6;
  double *var_9;
  type_6 var_11;
  int var_1;
  double var_12;
  int var_16;
  type_7 uStack_14;
  
  uStack_14 = 0xf8f59;
  var_16 = *(int *)(var_1 + 0x14);
  pIVar2 = this->image;
  var_4 = var_2();
  var_5 = var_3();
  var_6 = (int)pIVar2->rows / var_4;
  var_4 = (int)pIVar2->rows % var_4;
  if (var_5 < var_4) {
    var_6 = var_6 + 1;
    var_4 = 0;
  }
  var_4 = var_5 * var_6 + var_4;
  var_6 = var_6 + var_4;
  if (var_4 < var_6) {
    cache_view = this->image_view;
    var_13 = this->scale_factor;
    exception = this->exception;
    matrix_info = this->matrix_info;
    do {
      if (this->status != var_7) {
        var_9 = var_8(cache_view,0,var_4,pIVar2->columns,1,exception);
        if (var_9 != (type_8 *)0x0) {
          if (0 < (int)pIVar2->columns) {
            var_5 = 0;
            do {
              var_11 = var_10(matrix_info,var_5,var_4,&var_12);
              if (var_11 != var_7) {
                var_12 = (var_12 - *this->min_value) * var_13;
                var_14 = pIVar2->number_channels;
                *var_9 = var_12;
                var_9 = var_9 + var_14;
              }
              var_5 = var_5 + 1;
            } while (var_5 < (int)pIVar2->columns);
          }
          var_11 = var_15(cache_view,exception);
          if (var_11 != var_7) goto LAB_000f908b;
        }
        this->status = var_7;
      }
LAB_000f908b:
      var_4 = var_4 + 1;
    } while (var_6 != var_4);
  }
  if (var_16 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_17();
  }
  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: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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 (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))))) (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)))))) (if_statement 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))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(double *param_1)

{
  double dVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  double *pdVar9;
  int iVar10;
  int in_GS_OFFSET;
  double local_2c;
  int local_20;
  undefined4 uStack_14;
  
  uStack_14 = 0xf8f59;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = *(int *)(param_1 + 3);
  iVar6 = omp_get_num_threads();
  iVar7 = omp_get_thread_num();
  iVar8 = *(int *)(iVar2 + 0x1c) / iVar6;
  iVar6 = *(int *)(iVar2 + 0x1c) % iVar6;
  if (iVar7 < iVar6) {
    iVar8 = iVar8 + 1;
    iVar6 = 0;
  }
  iVar6 = iVar7 * iVar8 + iVar6;
  iVar8 = iVar8 + iVar6;
  if (iVar6 < iVar8) {
    uVar3 = *(undefined4 *)(param_1 + 2);
    dVar1 = *param_1;
    uVar4 = *(undefined4 *)((int)param_1 + 0xc);
    uVar5 = *(undefined4 *)(param_1 + 1);
    do {
      if (*(int *)((int)param_1 + 0x1c) != 0) {
        pdVar9 = (double *)
                 QueueCacheViewAuthenticPixels(uVar3,0,iVar6,*(undefined4 *)(iVar2 + 0x18),1,uVar4);
        if (pdVar9 != (double *)0x0) {
          if (0 < *(int *)(iVar2 + 0x18)) {
            iVar7 = 0;
            do {
              iVar10 = GetMatrixElement(uVar5,iVar7,iVar6,&local_2c);
              if (iVar10 != 0) {
                local_2c = (local_2c - **(double **)((int)param_1 + 0x14)) * dVar1;
                iVar10 = *(int *)(iVar2 + 0x298);
                *pdVar9 = local_2c;
                pdVar9 = pdVar9 + iVar10;
              }
              iVar7 = iVar7 + 1;
            } while (iVar7 < *(int *)(iVar2 + 0x18));
          }
          iVar7 = SyncCacheViewAuthenticPixels(uVar3,uVar4);
          if (iVar7 != 0) goto LAB_000f908b;
        }
        *(undefined4 *)((int)param_1 + 0x1c) = 0;
      }
LAB_000f908b:
      iVar6 = iVar6 + 1;
    } while (iVar8 != iVar6);
  }
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_0029eab0();
  }
  return;
}

