
/* DWARF original prototype: void SeparateImage._omp_fn.1(anon_struct_32_8_27a977fd * param_0) */

void __thiscall SeparateImage__omp_fn_1(void *this)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined *puVar6;
  undefined4 *puVar7;
  int iVar8;
  uint uVar9;
  uint uVar10;
  uint *puVar11;
  undefined4 *puVar12;
  uint *puVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  undefined4 uVar18;
  int iVar19;
  uint uVar20;
  int *piVar21;
  int iVar22;
  int iVar23;
  int iVar24;
  
                    /* WARNING: Load size is inaccurate */
  iVar19 = *this;
  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();
  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();
  if (iVar2 == 0) {
    trap(7);
  }
  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;
  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;
  if (iVar3 < iVar2) {
    iVar24 = iVar24 + 1;
    iVar2 = 0;
  }
  iVar2 = iVar24 * iVar3 + iVar2;
  iVar24 = iVar24 + iVar2;
  if (iVar2 < iVar24) {
    uVar4 = *(undefined4 *)((int)this + 0x10);
    iVar3 = *(int *)((int)this + 0x14);
    uVar18 = *(undefined4 *)((int)this + 8);
    uVar5 = *(undefined4 *)((int)this + 0xc);
    uVar20 = *(uint *)((int)this + 4);
    puVar6 = PTR_LAB_003a88e0 + 0x3b40;
    do {
      if (*(int *)((int)this + 0x18) != 0) {
        puVar7 = (undefined4 *)
                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)
                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);
        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)
                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);
        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {
LAB_0005a98c:
          *(undefined4 *)((int)this + 0x18) = 0;
        }
        else {
          iVar23 = *(int *)(iVar19 + 0x18);
          iVar15 = 0;
          if (0 < iVar23) {
            iVar17 = *(int *)(iVar19 + 0x2c0);
            iVar16 = *(int *)(iVar3 + 0x2d0);
            iVar22 = *(int *)(iVar3 + 0x2c0);
            iVar14 = *(int *)(iVar16 + 4);
            do {
              if (iVar14 != 0) {
                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;
              }
              if (0 < iVar17) {
                puVar13 = *(uint **)(iVar19 + 0x2d0);
                puVar11 = puVar13;
                puVar12 = puVar7;
                do {
                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))
                     && (iVar14 != 0)) {
                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;
                  }
                  puVar11 = puVar11 + 3;
                  puVar12 = puVar12 + 1;
                } while (puVar13 + iVar17 * 3 != puVar11);
              }
              iVar15 = iVar15 + 1;
              puVar7 = puVar7 + iVar17;
              iVar8 = iVar8 + iVar22 * 4;
            } while (iVar15 != iVar23);
          }
          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);
          if (iVar8 == 0) {
            *(undefined4 *)((int)this + 0x18) = 0;
          }
          if (*(int *)(iVar19 + 0x328) != 0) {
            piVar21 = *(int **)((int)this + 0x1c);
            (*(code *)PTR_GOMP_atomic_start_003a92e4)();
            puVar1 = PTR_GOMP_atomic_end_003a9438;
            uVar9 = piVar21[1];
            uVar10 = uVar9 + 1;
            piVar21[1] = uVar10;
            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;
            (*(code *)puVar1)();
            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)
                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),
                               (*(undefined4 **)((int)this + 0x1c))[1],0,
                               *(undefined4 *)(iVar19 + 0x1c));
            if (iVar8 == 0) goto LAB_0005a98c;
          }
        }
      }
      iVar2 = iVar2 + 1;
    } while (iVar24 != iVar2);
  }
  return;
}



void FUN_0005a718(int *param_1)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined *puVar5;
  undefined4 *puVar6;
  int iVar7;
  uint uVar8;
  uint uVar9;
  uint *puVar10;
  undefined4 *puVar11;
  uint *puVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  uint uVar20;
  int *piVar21;
  int iVar22;
  int iVar23;
  int iVar24;
  
  iVar19 = *param_1;
  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();
  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();
  if (iVar2 == 0) {
    trap(7);
  }
  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;
  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;
  if (iVar3 < iVar2) {
    iVar24 = iVar24 + 1;
    iVar2 = 0;
  }
  iVar2 = iVar24 * iVar3 + iVar2;
  iVar24 = iVar24 + iVar2;
  if (iVar2 < iVar24) {
    iVar3 = param_1[4];
    iVar18 = param_1[5];
    iVar17 = param_1[2];
    iVar4 = param_1[3];
    uVar20 = param_1[1];
    puVar5 = PTR_LAB_003a88e0 + 0x3b40;
    do {
      if (param_1[6] != 0) {
        puVar6 = (undefined4 *)
                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)
                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);
        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)
                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);
        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {
LAB_0005a98c:
          param_1[6] = 0;
        }
        else {
          iVar23 = *(int *)(iVar19 + 0x18);
          iVar14 = 0;
          if (0 < iVar23) {
            iVar16 = *(int *)(iVar19 + 0x2c0);
            iVar15 = *(int *)(iVar18 + 0x2d0);
            iVar22 = *(int *)(iVar18 + 0x2c0);
            iVar13 = *(int *)(iVar15 + 4);
            do {
              if (iVar13 != 0) {
                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;
              }
              if (0 < iVar16) {
                puVar12 = *(uint **)(iVar19 + 0x2d0);
                puVar10 = puVar12;
                puVar11 = puVar6;
                do {
                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))
                     && (iVar13 != 0)) {
                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;
                  }
                  puVar10 = puVar10 + 3;
                  puVar11 = puVar11 + 1;
                } while (puVar12 + iVar16 * 3 != puVar10);
              }
              iVar14 = iVar14 + 1;
              puVar6 = puVar6 + iVar16;
              iVar7 = iVar7 + iVar22 * 4;
            } while (iVar14 != iVar23);
          }
          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);
          if (iVar7 == 0) {
            param_1[6] = 0;
          }
          if (*(int *)(iVar19 + 0x328) != 0) {
            piVar21 = (int *)param_1[7];
            (*(code *)PTR_GOMP_atomic_start_003a92e4)();
            puVar1 = PTR_GOMP_atomic_end_003a9438;
            uVar8 = piVar21[1];
            uVar9 = uVar8 + 1;
            piVar21[1] = uVar9;
            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;
            (*(code *)puVar1)();
            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)
                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]
                               ,0,*(undefined4 *)(iVar19 + 0x1c));
            if (iVar7 == 0) goto LAB_0005a98c;
          }
        }
      }
      iVar2 = iVar2 + 1;
    } while (iVar24 != iVar2);
  }
  return;
}


lui gp,0x35
addiu gp,gp,0x6198
addu gp,gp,t9
addiu sp,sp,-0x58
lw t9,-0x6fa4(gp)
sw gp,0x18(sp)
sw ra,0x54(sp)
sw s8,0x50(sp)
sw s5,0x44(sp)
sw s4,0x40(sp)
or s4,a0,zero
sw s0,0x30(sp)
sw s7,0x4c(sp)
sw s6,0x48(sp)
sw s3,0x3c(sp)
sw s2,0x38(sp)
sw s1,0x34(sp)
jalr t9
_lw s5,0x0(a0)
lw gp,0x18(sp)
lw t9,-0x73a8(gp)
jalr t9
_or s8,v0,zero
lw s0,0x1c(s5)
lw gp,0x18(sp)
teq s8,zero
div s0,s8
mfhi s8
slt v1,v0,s8
beq v1,zero,0x0005a79c
_mflo s0
addiu s0,s0,0x1
or s8,zero,zero
mul v1,s0,v0
addu s8,v1,s8
addu s0,s0,s8
slt v0,s8,s0
beq v0,zero,0x0005a99c
_li s2,0x1
lw v0,0x10(s4)
lw s3,0x14(s4)
lw s1,0x8(s4)
sw v0,0x24(sp)
lw v0,0xc(s4)
lw s6,0x4(s4)
sw v0,0x28(sp)
lw v0,-0x7fd0(gp)
addiu v0,v0,0x3b40
sw v0,0x2c(sp)
lw v0,0x18(s4)
beq v0,zero,0x0005a990
_or a1,zero,zero
lw a3,0x18(s5)
lw t9,-0x7254(gp)
or a2,s8,zero
lw a0,0x28(sp)
sw s1,0x14(sp)
jalr t9
_sw s2,0x10(sp)
or a1,zero,zero
lw gp,0x18(sp)
or a2,s8,zero
lw a3,0x18(s3)
or s7,v0,zero
lw a0,0x24(sp)
sw s1,0x14(sp)
lw t9,-0x7c60(gp)
jalr t9
_sw s2,0x10(sp)
beq s7,zero,0x0005a98c
_lw gp,0x18(sp)
beq v0,zero,0x0005a98c
_nop
lw t9,0x18(s5)
blez t9,0x0005a900
_or t4,zero,zero
lw t6,0x2c0(s5)
lw t5,0x2d0(s3)
lw t8,0x2c0(s3)
sll t7,t6,0x1
sll ra,t6,0x2
addu t7,t7,t6
lw t1,0x4(t5)
sll t8,t8,0x2
sll t7,t7,0x2
beq t1,zero,0x0005a884
_nop
lw v1,0x8(t5)
sll v1,v1,0x2
addu v1,v0,v1
sw zero,0x0(v1)
blez t6,0x0005a8f0
_nop
lw a3,0x2d0(s5)
or a2,s7,zero
addu t0,a3,t7
or a1,a3,zero
lw a0,0x0(a1)
sll v1,a0,0x1
addu v1,v1,a0
sll v1,v1,0x2
addu v1,a3,v1
lw v1,0x4(v1)
beq v1,zero,0x0005a8e4
_srlv a0,s6,a0
andi a0,a0,0x1
beq a0,zero,0x0005a8e4
_nop
beq t1,zero,0x0005a8e4
_nop
lwc1 f0,0x0(a2)
lw v1,0x8(t5)
sll v1,v1,0x2
addu v1,v0,v1
swc1 f0,0x0(v1)
addiu a1,a1,0xc
bne t0,a1,0x0005a89c
_addiu a2,a2,0x4
addiu t4,t4,0x1
addu s7,s7,ra
bne t4,t9,0x0005a86c
_addu v0,v0,t8
lw t9,-0x73b8(gp)
or a1,s1,zero
jalr t9
_lw a0,0x24(sp)
bne v0,zero,0x0005a91c
_lw gp,0x18(sp)
sw zero,0x18(s4)
lw v0,0x328(s5)
beq v0,zero,0x0005a990
_lw t9,-0x75cc(gp)
jalr t9
_lw s7,0x1c(s4)
lw v0,0x4(s7)
lw gp,0x18(sp)
lw a0,0x0(s7)
addiu v1,v0,0x1
sltu v0,v1,v0
lw t9,-0x7478(gp)
addu v0,v0,a0
sw v1,0x4(s7)
jalr t9
_sw v0,0x0(s7)
or a0,s5,zero
lw v1,0x1c(s4)
lw gp,0x18(sp)
lw v0,0x1c(s5)
lw a1,0x2c(sp)
lw a3,0x4(v1)
lw t9,-0x7bfc(gp)
lw a2,0x0(v1)
sw v0,0x14(sp)
jalr t9
_sw zero,0x10(sp)
bne v0,zero,0x0005a990
_lw gp,0x18(sp)
sw zero,0x18(s4)
addiu s8,s8,0x1
bne s0,s8,0x0005a7dc
_nop
lw ra,0x54(sp)
lw s8,0x50(sp)
lw s7,0x4c(sp)
lw s6,0x48(sp)
lw s5,0x44(sp)
lw s4,0x40(sp)
lw s3,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x58
(translation_unit "void FUN_0005a718(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  uint *puVar10;\n  undefined4 *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n  iVar19 = *param_1;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0005a718(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  uint *puVar10;\n  undefined4 *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n  iVar19 = *param_1;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0005a718(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  uint *puVar10;\n  undefined4 *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n  iVar19 = *param_1;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "uint uVar20;" type_identifier identifier ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) (expression_statement "iVar19 = *param_1;" (assignment_expression "iVar19 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003a990c)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003a990c)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003a990c" * (cast_expression "(code *)PTR_omp_get_num_threads_003a990c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();" (assignment_expression "iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003a9508)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003a9508)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003a9508" * (cast_expression "(code *)PTR_omp_get_thread_num_003a9508" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;" (assignment_expression "iVar24 = *(int *)(iVar19 + 0x1c) / iVar2" identifier = (binary_expression "*(int *)(iVar19 + 0x1c) / iVar2" (pointer_expression "*(int *)(iVar19 + 0x1c)" * (cast_expression "(int *)(iVar19 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;" (assignment_expression "iVar2 = *(int *)(iVar19 + 0x1c) % iVar2" identifier = (binary_expression "*(int *)(iVar19 + 0x1c) % iVar2" (pointer_expression "*(int *)(iVar19 + 0x1c)" * (cast_expression "(int *)(iVar19 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }" if (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) (compound_statement "{\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }" { (expression_statement "iVar24 = iVar24 + 1;" (assignment_expression "iVar24 = iVar24 + 1" identifier = (binary_expression "iVar24 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "iVar2 = iVar24 * iVar3 + iVar2;" (assignment_expression "iVar2 = iVar24 * iVar3 + iVar2" identifier = (binary_expression "iVar24 * iVar3 + iVar2" (binary_expression "iVar24 * iVar3" identifier * identifier) + identifier)) ;) (expression_statement "iVar24 = iVar24 + iVar2;" (assignment_expression "iVar24 = iVar24 + iVar2" identifier = (binary_expression "iVar24 + iVar2" identifier + identifier)) ;) (if_statement "if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }" if (parenthesized_expression "(iVar2 < iVar24)" ( (binary_expression "iVar2 < iVar24" identifier < identifier) )) (compound_statement "{\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }" { (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = param_1[5];" (assignment_expression "iVar18 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar17 = param_1[2];" (assignment_expression "iVar17 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "uVar20 = param_1[1];" (assignment_expression "uVar20 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = PTR_LAB_003a88e0 + 0x3b40;" (assignment_expression "puVar5 = PTR_LAB_003a88e0 + 0x3b40" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3b40" identifier + number_literal)) ;) (do_statement "do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);" do (compound_statement "{\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    }" { (if_statement "if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }" if (parenthesized_expression "(param_1[6] != 0)" ( (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }" { (expression_statement "puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);" (assignment_expression "puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" identifier = (cast_expression "(undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003a965c" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003a965c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar19 + 0x18)" * (cast_expression "(undefined4 *)(iVar19 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x18)" ( (binary_expression "iVar19 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (expression_statement "iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);" (assignment_expression "iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" identifier = (call_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" (parenthesized_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)" ( (pointer_expression "*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50" * (cast_expression "(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar18 + 0x18)" * (cast_expression "(undefined4 *)(iVar18 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x18)" ( (binary_expression "iVar18 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" if (parenthesized_expression "((puVar6 == (undefined4 *)0x0) || (iVar7 == 0))" ( (binary_expression "(puVar6 == (undefined4 *)0x0) || (iVar7 == 0)" (parenthesized_expression "(puVar6 == (undefined4 *)0x0)" ( (binary_expression "puVar6 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_0005a98c:\n          param_1[6] = 0;\n        }" { (labeled_statement "LAB_0005a98c:\n          param_1[6] = 0;" statement_identifier : (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;)) }) (else_clause "else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" else (compound_statement "{\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" { (expression_statement "iVar23 = *(int *)(iVar19 + 0x18);" (assignment_expression "iVar23 = *(int *)(iVar19 + 0x18)" identifier = (pointer_expression "*(int *)(iVar19 + 0x18)" * (cast_expression "(int *)(iVar19 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x18)" ( (binary_expression "iVar19 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }" if (parenthesized_expression "(0 < iVar23)" ( (binary_expression "0 < iVar23" number_literal < identifier) )) (compound_statement "{\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }" { (expression_statement "iVar16 = *(int *)(iVar19 + 0x2c0);" (assignment_expression "iVar16 = *(int *)(iVar19 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar19 + 0x2c0)" * (cast_expression "(int *)(iVar19 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x2c0)" ( (binary_expression "iVar19 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = *(int *)(iVar18 + 0x2d0);" (assignment_expression "iVar15 = *(int *)(iVar18 + 0x2d0)" identifier = (pointer_expression "*(int *)(iVar18 + 0x2d0)" * (cast_expression "(int *)(iVar18 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x2d0)" ( (binary_expression "iVar18 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = *(int *)(iVar18 + 0x2c0);" (assignment_expression "iVar22 = *(int *)(iVar18 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar18 + 0x2c0)" * (cast_expression "(int *)(iVar18 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x2c0)" ( (binary_expression "iVar18 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar15 + 4);" (assignment_expression "iVar13 = *(int *)(iVar15 + 4)" identifier = (pointer_expression "*(int *)(iVar15 + 4)" * (cast_expression "(int *)(iVar15 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 4)" ( (binary_expression "iVar15 + 4" identifier + number_literal) ))))) ;) (do_statement "do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);" do (compound_statement "{\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            }" { (if_statement "if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }" { (expression_statement "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0" (pointer_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar15 + 8) * 4)" ( (binary_expression "iVar7 + *(int *)(iVar15 + 8) * 4" identifier + (binary_expression "*(int *)(iVar15 + 8) * 4" (pointer_expression "*(int *)(iVar15 + 8)" * (cast_expression "(int *)(iVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) )))) * number_literal)) )))) = number_literal) ;) })) (if_statement "if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }" if (parenthesized_expression "(0 < iVar16)" ( (binary_expression "0 < iVar16" number_literal < identifier) )) (compound_statement "{\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }" { (expression_statement "puVar12 = *(uint **)(iVar19 + 0x2d0);" (assignment_expression "puVar12 = *(uint **)(iVar19 + 0x2d0)" identifier = (pointer_expression "*(uint **)(iVar19 + 0x2d0)" * (cast_expression "(uint **)(iVar19 + 0x2d0)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar19 + 0x2d0)" ( (binary_expression "iVar19 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "puVar10 = puVar12;" (assignment_expression "puVar10 = puVar12" identifier = identifier) ;) (expression_statement "puVar11 = puVar6;" (assignment_expression "puVar11 = puVar6" identifier = identifier) ;) (do_statement "do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);" do (compound_statement "{\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                }" { (if_statement "if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }" if (parenthesized_expression "(((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0))" ( (binary_expression "((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)" (parenthesized_expression "((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))" ( (binary_expression "(puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0)" (parenthesized_expression "(puVar12[*puVar10 * 3 + 1] != 0)" ( (binary_expression "puVar12[*puVar10 * 3 + 1] != 0" (subscript_expression "puVar12[*puVar10 * 3 + 1]" identifier [ (binary_expression "*puVar10 * 3 + 1" (binary_expression "*puVar10 * 3" (pointer_expression "*puVar10" * identifier) * number_literal) + number_literal) ]) != number_literal) )) && (parenthesized_expression "((uVar20 >> (*puVar10 & 0x1f) & 1) != 0)" ( (binary_expression "(uVar20 >> (*puVar10 & 0x1f) & 1) != 0" (parenthesized_expression "(uVar20 >> (*puVar10 & 0x1f) & 1)" ( (binary_expression "uVar20 >> (*puVar10 & 0x1f) & 1" (binary_expression "uVar20 >> (*puVar10 & 0x1f)" identifier >> (parenthesized_expression "(*puVar10 & 0x1f)" ( (binary_expression "*puVar10 & 0x1f" (pointer_expression "*puVar10" * identifier) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }" { (expression_statement "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;" (assignment_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11" (pointer_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar15 + 8) * 4)" ( (binary_expression "iVar7 + *(int *)(iVar15 + 8) * 4" identifier + (binary_expression "*(int *)(iVar15 + 8) * 4" (pointer_expression "*(int *)(iVar15 + 8)" * (cast_expression "(int *)(iVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) })) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar12 + iVar16 * 3 != puVar10)" ( (binary_expression "puVar12 + iVar16 * 3 != puVar10" (binary_expression "puVar12 + iVar16 * 3" identifier + (binary_expression "iVar16 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = puVar6 + iVar16;" (assignment_expression "puVar6 = puVar6 + iVar16" identifier = (binary_expression "puVar6 + iVar16" identifier + identifier)) ;) (expression_statement "iVar7 = iVar7 + iVar22 * 4;" (assignment_expression "iVar7 = iVar7 + iVar22 * 4" identifier = (binary_expression "iVar7 + iVar22 * 4" identifier + (binary_expression "iVar22 * 4" identifier * number_literal))) ;) }) while (parenthesized_expression "(iVar14 != iVar23)" ( (binary_expression "iVar14 != iVar23" identifier != identifier) )) ;) })) (expression_statement "iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);" (assignment_expression "iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,iVar17)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n            param_1[6] = 0;\n          }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[6] = 0;\n          }" { (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }" if (parenthesized_expression "(*(int *)(iVar19 + 0x328) != 0)" ( (binary_expression "*(int *)(iVar19 + 0x328) != 0" (pointer_expression "*(int *)(iVar19 + 0x328)" * (cast_expression "(int *)(iVar19 + 0x328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x328)" ( (binary_expression "iVar19 + 0x328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }" { (expression_statement "piVar21 = (int *)param_1[7];" (assignment_expression "piVar21 = (int *)param_1[7]" identifier = (cast_expression "(int *)param_1[7]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_GOMP_atomic_start_003a92e4)();" (call_expression "(*(code *)PTR_GOMP_atomic_start_003a92e4)()" (parenthesized_expression "(*(code *)PTR_GOMP_atomic_start_003a92e4)" ( (pointer_expression "*(code *)PTR_GOMP_atomic_start_003a92e4" * (cast_expression "(code *)PTR_GOMP_atomic_start_003a92e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_GOMP_atomic_end_003a9438;" (assignment_expression "puVar1 = PTR_GOMP_atomic_end_003a9438" identifier = identifier) ;) (expression_statement "uVar8 = piVar21[1];" (assignment_expression "uVar8 = piVar21[1]" identifier = (subscript_expression "piVar21[1]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = uVar8 + 1;" (assignment_expression "uVar9 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "piVar21[1] = uVar9;" (assignment_expression "piVar21[1] = uVar9" (subscript_expression "piVar21[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar21 = (uint)(uVar9 < uVar8) + *piVar21;" (assignment_expression "*piVar21 = (uint)(uVar9 < uVar8) + *piVar21" (pointer_expression "*piVar21" * identifier) = (binary_expression "(uint)(uVar9 < uVar8) + *piVar21" (call_expression "(uint)(uVar9 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < uVar8)" ( (binary_expression "uVar9 < uVar8" identifier < identifier) ))) + (pointer_expression "*piVar21" * identifier))) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));" (assignment_expression "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" ( identifier , identifier , (pointer_expression "*(undefined4 *)param_1[7]" * (cast_expression "(undefined4 *)param_1[7]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) , (subscript_expression "((undefined4 *)param_1[7])[1]" (parenthesized_expression "((undefined4 *)param_1[7])" ( (cast_expression "(undefined4 *)param_1[7]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) )) [ number_literal ]) , number_literal , (pointer_expression "*(undefined4 *)(iVar19 + 0x1c)" * (cast_expression "(undefined4 *)(iVar19 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar7 == 0) goto LAB_0005a98c;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0005a98c;" goto statement_identifier ;)) })) }))) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar24 != iVar2)" ( (binary_expression "iVar24 != iVar2" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void SeparateImage._omp_fn.1(anon_struct_32_8_27a977fd * param_0) */\n\nvoid __thiscall SeparateImage__omp_fn_1(void *this)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  undefined4 *puVar12;\n  uint *puVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  undefined4 uVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar19 = *this;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar3 = *(int *)((int)this + 0x14);\n    uVar18 = *(undefined4 *)((int)this + 8);\n    uVar5 = *(undefined4 *)((int)this + 0xc);\n    uVar20 = *(uint *)((int)this + 4);\n    puVar6 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (*(int *)((int)this + 0x18) != 0) {\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall SeparateImage__omp_fn_1(void *this)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  undefined4 *puVar12;\n  uint *puVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  undefined4 uVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar19 = *this;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar3 = *(int *)((int)this + 0x14);\n    uVar18 = *(undefined4 *)((int)this + 8);\n    uVar5 = *(undefined4 *)((int)this + 0xc);\n    uVar20 = *(uint *)((int)this + 4);\n    puVar6 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (*(int *)((int)this + 0x18) != 0) {\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "SeparateImage__omp_fn_1(void *this)" identifier (parameter_list "(void *this)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined *puVar6;\n  undefined4 *puVar7;\n  int iVar8;\n  uint uVar9;\n  uint uVar10;\n  uint *puVar11;\n  undefined4 *puVar12;\n  uint *puVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  undefined4 uVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n                    /* WARNING: Load size is inaccurate */\n  iVar19 = *this;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar3 = *(int *)((int)this + 0x14);\n    uVar18 = *(undefined4 *)((int)this + 8);\n    uVar5 = *(undefined4 *)((int)this + 0xc);\n    uVar20 = *(uint *)((int)this + 4);\n    puVar6 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (*(int *)((int)this + 0x18) != 0) {\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "undefined4 *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "uint *puVar13;" type_identifier (pointer_declarator "*puVar13" * identifier) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "undefined4 uVar18;" type_identifier identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "uint uVar20;" type_identifier identifier ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) comment (expression_statement "iVar19 = *this;" (assignment_expression "iVar19 = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003a990c)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003a990c)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003a990c" * (cast_expression "(code *)PTR_omp_get_num_threads_003a990c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();" (assignment_expression "iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003a9508)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003a9508)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003a9508" * (cast_expression "(code *)PTR_omp_get_thread_num_003a9508" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;" (assignment_expression "iVar24 = *(int *)(iVar19 + 0x1c) / iVar2" identifier = (binary_expression "*(int *)(iVar19 + 0x1c) / iVar2" (pointer_expression "*(int *)(iVar19 + 0x1c)" * (cast_expression "(int *)(iVar19 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;" (assignment_expression "iVar2 = *(int *)(iVar19 + 0x1c) % iVar2" identifier = (binary_expression "*(int *)(iVar19 + 0x1c) % iVar2" (pointer_expression "*(int *)(iVar19 + 0x1c)" * (cast_expression "(int *)(iVar19 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }" if (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) (compound_statement "{\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }" { (expression_statement "iVar24 = iVar24 + 1;" (assignment_expression "iVar24 = iVar24 + 1" identifier = (binary_expression "iVar24 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "iVar2 = iVar24 * iVar3 + iVar2;" (assignment_expression "iVar2 = iVar24 * iVar3 + iVar2" identifier = (binary_expression "iVar24 * iVar3 + iVar2" (binary_expression "iVar24 * iVar3" identifier * identifier) + identifier)) ;) (expression_statement "iVar24 = iVar24 + iVar2;" (assignment_expression "iVar24 = iVar24 + iVar2" identifier = (binary_expression "iVar24 + iVar2" identifier + identifier)) ;) (if_statement "if (iVar2 < iVar24) {\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar3 = *(int *)((int)this + 0x14);\n    uVar18 = *(undefined4 *)((int)this + 8);\n    uVar5 = *(undefined4 *)((int)this + 0xc);\n    uVar20 = *(uint *)((int)this + 4);\n    puVar6 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (*(int *)((int)this + 0x18) != 0) {\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }" if (parenthesized_expression "(iVar2 < iVar24)" ( (binary_expression "iVar2 < iVar24" identifier < identifier) )) (compound_statement "{\n    uVar4 = *(undefined4 *)((int)this + 0x10);\n    iVar3 = *(int *)((int)this + 0x14);\n    uVar18 = *(undefined4 *)((int)this + 8);\n    uVar5 = *(undefined4 *)((int)this + 0xc);\n    uVar20 = *(uint *)((int)this + 4);\n    puVar6 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (*(int *)((int)this + 0x18) != 0) {\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }" { (expression_statement "uVar4 = *(undefined4 *)((int)this + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)((int)this + 0x10)" identifier = (pointer_expression "*(undefined4 *)((int)this + 0x10)" * (cast_expression "(undefined4 *)((int)this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x10)" ( (binary_expression "(int)this + 0x10" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)((int)this + 0x14);" (assignment_expression "iVar3 = *(int *)((int)this + 0x14)" identifier = (pointer_expression "*(int *)((int)this + 0x14)" * (cast_expression "(int *)((int)this + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x14)" ( (binary_expression "(int)this + 0x14" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar18 = *(undefined4 *)((int)this + 8);" (assignment_expression "uVar18 = *(undefined4 *)((int)this + 8)" identifier = (pointer_expression "*(undefined4 *)((int)this + 8)" * (cast_expression "(undefined4 *)((int)this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 8)" ( (binary_expression "(int)this + 8" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)((int)this + 0xc);" (assignment_expression "uVar5 = *(undefined4 *)((int)this + 0xc)" identifier = (pointer_expression "*(undefined4 *)((int)this + 0xc)" * (cast_expression "(undefined4 *)((int)this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0xc)" ( (binary_expression "(int)this + 0xc" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "uVar20 = *(uint *)((int)this + 4);" (assignment_expression "uVar20 = *(uint *)((int)this + 4)" identifier = (pointer_expression "*(uint *)((int)this + 4)" * (cast_expression "(uint *)((int)this + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 4)" ( (binary_expression "(int)this + 4" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "puVar6 = PTR_LAB_003a88e0 + 0x3b40;" (assignment_expression "puVar6 = PTR_LAB_003a88e0 + 0x3b40" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3b40" identifier + number_literal)) ;) (do_statement "do {\n      if (*(int *)((int)this + 0x18) != 0) {\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);" do (compound_statement "{\n      if (*(int *)((int)this + 0x18) != 0) {\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    }" { (if_statement "if (*(int *)((int)this + 0x18) != 0) {\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }" if (parenthesized_expression "(*(int *)((int)this + 0x18) != 0)" ( (binary_expression "*(int *)((int)this + 0x18) != 0" (pointer_expression "*(int *)((int)this + 0x18)" * (cast_expression "(int *)((int)this + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x18)" ( (binary_expression "(int)this + 0x18" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);\n        iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);\n        if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }\n      }" { (expression_statement "puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18);" (assignment_expression "puVar7 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18)" identifier = (cast_expression "(undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003a965c" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003a965c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,uVar18)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar19 + 0x18)" * (cast_expression "(undefined4 *)(iVar19 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x18)" ( (binary_expression "iVar19 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (expression_statement "iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18);" (assignment_expression "iVar8 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18)" identifier = (call_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18)" (parenthesized_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)" ( (pointer_expression "*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50" * (cast_expression "(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,0,iVar2,*(undefined4 *)(iVar3 + 0x18),1,uVar18)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x18)" * (cast_expression "(undefined4 *)(iVar3 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x18)" ( (binary_expression "iVar3 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((puVar7 == (undefined4 *)0x0) || (iVar8 == 0)) {\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }" if (parenthesized_expression "((puVar7 == (undefined4 *)0x0) || (iVar8 == 0))" ( (binary_expression "(puVar7 == (undefined4 *)0x0) || (iVar8 == 0)" (parenthesized_expression "(puVar7 == (undefined4 *)0x0)" ( (binary_expression "puVar7 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;\n        }" { (labeled_statement "LAB_0005a98c:\n          *(undefined4 *)((int)this + 0x18) = 0;" statement_identifier : (expression_statement "*(undefined4 *)((int)this + 0x18) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x18) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x18)" * (cast_expression "(undefined4 *)((int)this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x18)" ( (binary_expression "(int)this + 0x18" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;)) }) (else_clause "else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }" else (compound_statement "{\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar15 = 0;\n          if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }\n          iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);\n          if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }\n        }" { (expression_statement "iVar23 = *(int *)(iVar19 + 0x18);" (assignment_expression "iVar23 = *(int *)(iVar19 + 0x18)" identifier = (pointer_expression "*(int *)(iVar19 + 0x18)" * (cast_expression "(int *)(iVar19 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x18)" ( (binary_expression "iVar19 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar23) {\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }" if (parenthesized_expression "(0 < iVar23)" ( (binary_expression "0 < iVar23" number_literal < identifier) )) (compound_statement "{\n            iVar17 = *(int *)(iVar19 + 0x2c0);\n            iVar16 = *(int *)(iVar3 + 0x2d0);\n            iVar22 = *(int *)(iVar3 + 0x2c0);\n            iVar14 = *(int *)(iVar16 + 4);\n            do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);\n          }" { (expression_statement "iVar17 = *(int *)(iVar19 + 0x2c0);" (assignment_expression "iVar17 = *(int *)(iVar19 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar19 + 0x2c0)" * (cast_expression "(int *)(iVar19 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x2c0)" ( (binary_expression "iVar19 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar16 = *(int *)(iVar3 + 0x2d0);" (assignment_expression "iVar16 = *(int *)(iVar3 + 0x2d0)" identifier = (pointer_expression "*(int *)(iVar3 + 0x2d0)" * (cast_expression "(int *)(iVar3 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2d0)" ( (binary_expression "iVar3 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = *(int *)(iVar3 + 0x2c0);" (assignment_expression "iVar22 = *(int *)(iVar3 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar3 + 0x2c0)" * (cast_expression "(int *)(iVar3 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x2c0)" ( (binary_expression "iVar3 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = *(int *)(iVar16 + 4);" (assignment_expression "iVar14 = *(int *)(iVar16 + 4)" identifier = (pointer_expression "*(int *)(iVar16 + 4)" * (cast_expression "(int *)(iVar16 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar16 + 4)" ( (binary_expression "iVar16 + 4" identifier + number_literal) ))))) ;) (do_statement "do {\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            } while (iVar15 != iVar23);" do (compound_statement "{\n              if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }\n              if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }\n              iVar15 = iVar15 + 1;\n              puVar7 = puVar7 + iVar17;\n              iVar8 = iVar8 + iVar22 * 4;\n            }" { (if_statement "if (iVar14 != 0) {\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }" if (parenthesized_expression "(iVar14 != 0)" ( (binary_expression "iVar14 != 0" identifier != number_literal) )) (compound_statement "{\n                *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;\n              }" { (expression_statement "*(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = 0" (pointer_expression "*(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar16 + 8) * 4)" ( (binary_expression "iVar8 + *(int *)(iVar16 + 8) * 4" identifier + (binary_expression "*(int *)(iVar16 + 8) * 4" (pointer_expression "*(int *)(iVar16 + 8)" * (cast_expression "(int *)(iVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar16 + 8)" ( (binary_expression "iVar16 + 8" identifier + number_literal) )))) * number_literal)) )))) = number_literal) ;) })) (if_statement "if (0 < iVar17) {\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }" if (parenthesized_expression "(0 < iVar17)" ( (binary_expression "0 < iVar17" number_literal < identifier) )) (compound_statement "{\n                puVar13 = *(uint **)(iVar19 + 0x2d0);\n                puVar11 = puVar13;\n                puVar12 = puVar7;\n                do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);\n              }" { (expression_statement "puVar13 = *(uint **)(iVar19 + 0x2d0);" (assignment_expression "puVar13 = *(uint **)(iVar19 + 0x2d0)" identifier = (pointer_expression "*(uint **)(iVar19 + 0x2d0)" * (cast_expression "(uint **)(iVar19 + 0x2d0)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar19 + 0x2d0)" ( (binary_expression "iVar19 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "puVar11 = puVar13;" (assignment_expression "puVar11 = puVar13" identifier = identifier) ;) (expression_statement "puVar12 = puVar7;" (assignment_expression "puVar12 = puVar7" identifier = identifier) ;) (do_statement "do {\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                } while (puVar13 + iVar17 * 3 != puVar11);" do (compound_statement "{\n                  if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }\n                  puVar11 = puVar11 + 3;\n                  puVar12 = puVar12 + 1;\n                }" { (if_statement "if (((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)) {\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }" if (parenthesized_expression "(((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0))" ( (binary_expression "((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))\n                     && (iVar14 != 0)" (parenthesized_expression "((puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0))" ( (binary_expression "(puVar13[*puVar11 * 3 + 1] != 0) && ((uVar20 >> (*puVar11 & 0x1f) & 1) != 0)" (parenthesized_expression "(puVar13[*puVar11 * 3 + 1] != 0)" ( (binary_expression "puVar13[*puVar11 * 3 + 1] != 0" (subscript_expression "puVar13[*puVar11 * 3 + 1]" identifier [ (binary_expression "*puVar11 * 3 + 1" (binary_expression "*puVar11 * 3" (pointer_expression "*puVar11" * identifier) * number_literal) + number_literal) ]) != number_literal) )) && (parenthesized_expression "((uVar20 >> (*puVar11 & 0x1f) & 1) != 0)" ( (binary_expression "(uVar20 >> (*puVar11 & 0x1f) & 1) != 0" (parenthesized_expression "(uVar20 >> (*puVar11 & 0x1f) & 1)" ( (binary_expression "uVar20 >> (*puVar11 & 0x1f) & 1" (binary_expression "uVar20 >> (*puVar11 & 0x1f)" identifier >> (parenthesized_expression "(*puVar11 & 0x1f)" ( (binary_expression "*puVar11 & 0x1f" (pointer_expression "*puVar11" * identifier) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(iVar14 != 0)" ( (binary_expression "iVar14 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                    *(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;\n                  }" { (expression_statement "*(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12;" (assignment_expression "*(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4) = *puVar12" (pointer_expression "*(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar8 + *(int *)(iVar16 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar8 + *(int *)(iVar16 + 8) * 4)" ( (binary_expression "iVar8 + *(int *)(iVar16 + 8) * 4" identifier + (binary_expression "*(int *)(iVar16 + 8) * 4" (pointer_expression "*(int *)(iVar16 + 8)" * (cast_expression "(int *)(iVar16 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar16 + 8)" ( (binary_expression "iVar16 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar12" * identifier)) ;) })) (expression_statement "puVar11 = puVar11 + 3;" (assignment_expression "puVar11 = puVar11 + 3" identifier = (binary_expression "puVar11 + 3" identifier + number_literal)) ;) (expression_statement "puVar12 = puVar12 + 1;" (assignment_expression "puVar12 = puVar12 + 1" identifier = (binary_expression "puVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar13 + iVar17 * 3 != puVar11)" ( (binary_expression "puVar13 + iVar17 * 3 != puVar11" (binary_expression "puVar13 + iVar17 * 3" identifier + (binary_expression "iVar17 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "iVar15 = iVar15 + 1;" (assignment_expression "iVar15 = iVar15 + 1" identifier = (binary_expression "iVar15 + 1" identifier + number_literal)) ;) (expression_statement "puVar7 = puVar7 + iVar17;" (assignment_expression "puVar7 = puVar7 + iVar17" identifier = (binary_expression "puVar7 + iVar17" identifier + identifier)) ;) (expression_statement "iVar8 = iVar8 + iVar22 * 4;" (assignment_expression "iVar8 = iVar8 + iVar22 * 4" identifier = (binary_expression "iVar8 + iVar22 * 4" identifier + (binary_expression "iVar22 * 4" identifier * number_literal))) ;) }) while (parenthesized_expression "(iVar15 != iVar23)" ( (binary_expression "iVar15 != iVar23" identifier != identifier) )) ;) })) (expression_statement "iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);" (assignment_expression "iVar8 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar4,uVar18)" ( identifier , identifier )))) ;) (if_statement "if (iVar8 == 0) {\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (compound_statement "{\n            *(undefined4 *)((int)this + 0x18) = 0;\n          }" { (expression_statement "*(undefined4 *)((int)this + 0x18) = 0;" (assignment_expression "*(undefined4 *)((int)this + 0x18) = 0" (pointer_expression "*(undefined4 *)((int)this + 0x18)" * (cast_expression "(undefined4 *)((int)this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)this + 0x18)" ( (binary_expression "(int)this + 0x18" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) })) (if_statement "if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }" if (parenthesized_expression "(*(int *)(iVar19 + 0x328) != 0)" ( (binary_expression "*(int *)(iVar19 + 0x328) != 0" (pointer_expression "*(int *)(iVar19 + 0x328)" * (cast_expression "(int *)(iVar19 + 0x328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x328)" ( (binary_expression "iVar19 + 0x328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            piVar21 = *(int **)((int)this + 0x1c);\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar9 = piVar21[1];\n            uVar10 = uVar9 + 1;\n            piVar21[1] = uVar10;\n            *piVar21 = (uint)(uVar10 < uVar9) + *piVar21;\n            (*(code *)puVar1)();\n            iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));\n            if (iVar8 == 0) goto LAB_0005a98c;\n          }" { (expression_statement "piVar21 = *(int **)((int)this + 0x1c);" (assignment_expression "piVar21 = *(int **)((int)this + 0x1c)" identifier = (pointer_expression "*(int **)((int)this + 0x1c)" * (cast_expression "(int **)((int)this + 0x1c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 0x1c)" ( (binary_expression "(int)this + 0x1c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_GOMP_atomic_start_003a92e4)();" (call_expression "(*(code *)PTR_GOMP_atomic_start_003a92e4)()" (parenthesized_expression "(*(code *)PTR_GOMP_atomic_start_003a92e4)" ( (pointer_expression "*(code *)PTR_GOMP_atomic_start_003a92e4" * (cast_expression "(code *)PTR_GOMP_atomic_start_003a92e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_GOMP_atomic_end_003a9438;" (assignment_expression "puVar1 = PTR_GOMP_atomic_end_003a9438" identifier = identifier) ;) (expression_statement "uVar9 = piVar21[1];" (assignment_expression "uVar9 = piVar21[1]" identifier = (subscript_expression "piVar21[1]" identifier [ number_literal ])) ;) (expression_statement "uVar10 = uVar9 + 1;" (assignment_expression "uVar10 = uVar9 + 1" identifier = (binary_expression "uVar9 + 1" identifier + number_literal)) ;) (expression_statement "piVar21[1] = uVar10;" (assignment_expression "piVar21[1] = uVar10" (subscript_expression "piVar21[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar21 = (uint)(uVar10 < uVar9) + *piVar21;" (assignment_expression "*piVar21 = (uint)(uVar10 < uVar9) + *piVar21" (pointer_expression "*piVar21" * identifier) = (binary_expression "(uint)(uVar10 < uVar9) + *piVar21" (call_expression "(uint)(uVar10 < uVar9)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar10 < uVar9)" ( (binary_expression "uVar10 < uVar9" identifier < identifier) ))) + (pointer_expression "*piVar21" * identifier))) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c));" (assignment_expression "iVar8 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar19,puVar6,**(undefined4 **)((int)this + 0x1c),\n                               (*(undefined4 **)((int)this + 0x1c))[1],0,\n                               *(undefined4 *)(iVar19 + 0x1c))" ( identifier , identifier , (pointer_expression "**(undefined4 **)((int)this + 0x1c)" * (pointer_expression "*(undefined4 **)((int)this + 0x1c)" * (cast_expression "(undefined4 **)((int)this + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 0x1c)" ( (binary_expression "(int)this + 0x1c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) , (subscript_expression "(*(undefined4 **)((int)this + 0x1c))[1]" (parenthesized_expression "(*(undefined4 **)((int)this + 0x1c))" ( (pointer_expression "*(undefined4 **)((int)this + 0x1c)" * (cast_expression "(undefined4 **)((int)this + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)this + 0x1c)" ( (binary_expression "(int)this + 0x1c" (cast_expression "(int)this" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) )) [ number_literal ]) , number_literal , (pointer_expression "*(undefined4 *)(iVar19 + 0x1c)" * (cast_expression "(undefined4 *)(iVar19 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar8 == 0) goto LAB_0005a98c;" if (parenthesized_expression "(iVar8 == 0)" ( (binary_expression "iVar8 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0005a98c;" goto statement_identifier ;)) })) }))) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar24 != iVar2)" ( (binary_expression "iVar24 != iVar2" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005a718(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  uint *puVar10;\n  undefined4 *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n  iVar19 = *param_1;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0005a718(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  uint *puVar10;\n  undefined4 *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n  iVar19 = *param_1;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0005a718(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  uint *puVar10;\n  undefined4 *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n  iVar19 = *param_1;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "undefined4 *puVar11;" type_identifier (pointer_declarator "*puVar11" * identifier) ;) (declaration "uint *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "uint uVar20;" type_identifier identifier ;) (declaration "int *piVar21;" primitive_type (pointer_declarator "*piVar21" * identifier) ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "int iVar24;" primitive_type identifier ;) (expression_statement "iVar19 = *param_1;" (assignment_expression "iVar19 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)()" identifier = (call_expression "(*(code *)PTR_omp_get_num_threads_003a990c)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003a990c)" ( (pointer_expression "*(code *)PTR_omp_get_num_threads_003a990c" * (cast_expression "(code *)PTR_omp_get_num_threads_003a990c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();" (assignment_expression "iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)()" identifier = (call_expression "(*(code *)PTR_omp_get_thread_num_003a9508)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003a9508)" ( (pointer_expression "*(code *)PTR_omp_get_thread_num_003a9508" * (cast_expression "(code *)PTR_omp_get_thread_num_003a9508" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (if_statement "if (iVar2 == 0) {\n    trap(7);\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    trap(7);\n  }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;" (assignment_expression "iVar24 = *(int *)(iVar19 + 0x1c) / iVar2" identifier = (binary_expression "*(int *)(iVar19 + 0x1c) / iVar2" (pointer_expression "*(int *)(iVar19 + 0x1c)" * (cast_expression "(int *)(iVar19 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) / identifier)) ;) (expression_statement "iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;" (assignment_expression "iVar2 = *(int *)(iVar19 + 0x1c) % iVar2" identifier = (binary_expression "*(int *)(iVar19 + 0x1c) % iVar2" (pointer_expression "*(int *)(iVar19 + 0x1c)" * (cast_expression "(int *)(iVar19 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) % identifier)) ;) (if_statement "if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }" if (parenthesized_expression "(iVar3 < iVar2)" ( (binary_expression "iVar3 < iVar2" identifier < identifier) )) (compound_statement "{\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }" { (expression_statement "iVar24 = iVar24 + 1;" (assignment_expression "iVar24 = iVar24 + 1" identifier = (binary_expression "iVar24 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) })) (expression_statement "iVar2 = iVar24 * iVar3 + iVar2;" (assignment_expression "iVar2 = iVar24 * iVar3 + iVar2" identifier = (binary_expression "iVar24 * iVar3 + iVar2" (binary_expression "iVar24 * iVar3" identifier * identifier) + identifier)) ;) (expression_statement "iVar24 = iVar24 + iVar2;" (assignment_expression "iVar24 = iVar24 + iVar2" identifier = (binary_expression "iVar24 + iVar2" identifier + identifier)) ;) (if_statement "if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }" if (parenthesized_expression "(iVar2 < iVar24)" ( (binary_expression "iVar2 < iVar24" identifier < identifier) )) (compound_statement "{\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }" { (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" identifier = (subscript_expression "param_1[4]" identifier [ number_literal ])) ;) (expression_statement "iVar18 = param_1[5];" (assignment_expression "iVar18 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "iVar17 = param_1[2];" (assignment_expression "iVar17 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" identifier = (subscript_expression "param_1[3]" identifier [ number_literal ])) ;) (expression_statement "uVar20 = param_1[1];" (assignment_expression "uVar20 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar5 = PTR_LAB_003a88e0 + 0x3b40;" (assignment_expression "puVar5 = PTR_LAB_003a88e0 + 0x3b40" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3b40" identifier + number_literal)) ;) (do_statement "do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);" do (compound_statement "{\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    }" { (if_statement "if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }" if (parenthesized_expression "(param_1[6] != 0)" ( (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }" { (expression_statement "puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);" (assignment_expression "puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" identifier = (cast_expression "(undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)" ( (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003a965c" * (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003a965c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar19 + 0x18)" * (cast_expression "(undefined4 *)(iVar19 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x18)" ( (binary_expression "iVar19 + 0x18" identifier + number_literal) )))) , number_literal , identifier ))))) ;) (expression_statement "iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);" (assignment_expression "iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" identifier = (call_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" (parenthesized_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)" ( (pointer_expression "*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50" * (cast_expression "(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" ( identifier , number_literal , identifier , (pointer_expression "*(undefined4 *)(iVar18 + 0x18)" * (cast_expression "(undefined4 *)(iVar18 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x18)" ( (binary_expression "iVar18 + 0x18" identifier + number_literal) )))) , number_literal , identifier )))) ;) (if_statement "if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" if (parenthesized_expression "((puVar6 == (undefined4 *)0x0) || (iVar7 == 0))" ( (binary_expression "(puVar6 == (undefined4 *)0x0) || (iVar7 == 0)" (parenthesized_expression "(puVar6 == (undefined4 *)0x0)" ( (binary_expression "puVar6 == (undefined4 *)0x0" identifier == (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) ))) )) (compound_statement "{\nLAB_0005a98c:\n          param_1[6] = 0;\n        }" { (labeled_statement "LAB_0005a98c:\n          param_1[6] = 0;" statement_identifier : (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;)) }) (else_clause "else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" else (compound_statement "{\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" { (expression_statement "iVar23 = *(int *)(iVar19 + 0x18);" (assignment_expression "iVar23 = *(int *)(iVar19 + 0x18)" identifier = (pointer_expression "*(int *)(iVar19 + 0x18)" * (cast_expression "(int *)(iVar19 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x18)" ( (binary_expression "iVar19 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }" if (parenthesized_expression "(0 < iVar23)" ( (binary_expression "0 < iVar23" number_literal < identifier) )) (compound_statement "{\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }" { (expression_statement "iVar16 = *(int *)(iVar19 + 0x2c0);" (assignment_expression "iVar16 = *(int *)(iVar19 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar19 + 0x2c0)" * (cast_expression "(int *)(iVar19 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x2c0)" ( (binary_expression "iVar19 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar15 = *(int *)(iVar18 + 0x2d0);" (assignment_expression "iVar15 = *(int *)(iVar18 + 0x2d0)" identifier = (pointer_expression "*(int *)(iVar18 + 0x2d0)" * (cast_expression "(int *)(iVar18 + 0x2d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x2d0)" ( (binary_expression "iVar18 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = *(int *)(iVar18 + 0x2c0);" (assignment_expression "iVar22 = *(int *)(iVar18 + 0x2c0)" identifier = (pointer_expression "*(int *)(iVar18 + 0x2c0)" * (cast_expression "(int *)(iVar18 + 0x2c0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + 0x2c0)" ( (binary_expression "iVar18 + 0x2c0" identifier + number_literal) ))))) ;) (expression_statement "iVar13 = *(int *)(iVar15 + 4);" (assignment_expression "iVar13 = *(int *)(iVar15 + 4)" identifier = (pointer_expression "*(int *)(iVar15 + 4)" * (cast_expression "(int *)(iVar15 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 4)" ( (binary_expression "iVar15 + 4" identifier + number_literal) ))))) ;) (do_statement "do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);" do (compound_statement "{\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            }" { (if_statement "if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }" { (expression_statement "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0" (pointer_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar15 + 8) * 4)" ( (binary_expression "iVar7 + *(int *)(iVar15 + 8) * 4" identifier + (binary_expression "*(int *)(iVar15 + 8) * 4" (pointer_expression "*(int *)(iVar15 + 8)" * (cast_expression "(int *)(iVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) )))) * number_literal)) )))) = number_literal) ;) })) (if_statement "if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }" if (parenthesized_expression "(0 < iVar16)" ( (binary_expression "0 < iVar16" number_literal < identifier) )) (compound_statement "{\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }" { (expression_statement "puVar12 = *(uint **)(iVar19 + 0x2d0);" (assignment_expression "puVar12 = *(uint **)(iVar19 + 0x2d0)" identifier = (pointer_expression "*(uint **)(iVar19 + 0x2d0)" * (cast_expression "(uint **)(iVar19 + 0x2d0)" ( (type_descriptor "uint **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar19 + 0x2d0)" ( (binary_expression "iVar19 + 0x2d0" identifier + number_literal) ))))) ;) (expression_statement "puVar10 = puVar12;" (assignment_expression "puVar10 = puVar12" identifier = identifier) ;) (expression_statement "puVar11 = puVar6;" (assignment_expression "puVar11 = puVar6" identifier = identifier) ;) (do_statement "do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);" do (compound_statement "{\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                }" { (if_statement "if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }" if (parenthesized_expression "(((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0))" ( (binary_expression "((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)" (parenthesized_expression "((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))" ( (binary_expression "(puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0)" (parenthesized_expression "(puVar12[*puVar10 * 3 + 1] != 0)" ( (binary_expression "puVar12[*puVar10 * 3 + 1] != 0" (subscript_expression "puVar12[*puVar10 * 3 + 1]" identifier [ (binary_expression "*puVar10 * 3 + 1" (binary_expression "*puVar10 * 3" (pointer_expression "*puVar10" * identifier) * number_literal) + number_literal) ]) != number_literal) )) && (parenthesized_expression "((uVar20 >> (*puVar10 & 0x1f) & 1) != 0)" ( (binary_expression "(uVar20 >> (*puVar10 & 0x1f) & 1) != 0" (parenthesized_expression "(uVar20 >> (*puVar10 & 0x1f) & 1)" ( (binary_expression "uVar20 >> (*puVar10 & 0x1f) & 1" (binary_expression "uVar20 >> (*puVar10 & 0x1f)" identifier >> (parenthesized_expression "(*puVar10 & 0x1f)" ( (binary_expression "*puVar10 & 0x1f" (pointer_expression "*puVar10" * identifier) & number_literal) ))) & number_literal) )) != number_literal) ))) )) && (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }" { (expression_statement "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;" (assignment_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11" (pointer_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" * (cast_expression "(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + *(int *)(iVar15 + 8) * 4)" ( (binary_expression "iVar7 + *(int *)(iVar15 + 8) * 4" identifier + (binary_expression "*(int *)(iVar15 + 8) * 4" (pointer_expression "*(int *)(iVar15 + 8)" * (cast_expression "(int *)(iVar15 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar15 + 8)" ( (binary_expression "iVar15 + 8" identifier + number_literal) )))) * number_literal)) )))) = (pointer_expression "*puVar11" * identifier)) ;) })) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" identifier = (binary_expression "puVar10 + 3" identifier + number_literal)) ;) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" identifier = (binary_expression "puVar11 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar12 + iVar16 * 3 != puVar10)" ( (binary_expression "puVar12 + iVar16 * 3 != puVar10" (binary_expression "puVar12 + iVar16 * 3" identifier + (binary_expression "iVar16 * 3" identifier * number_literal)) != identifier) )) ;) })) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "puVar6 = puVar6 + iVar16;" (assignment_expression "puVar6 = puVar6 + iVar16" identifier = (binary_expression "puVar6 + iVar16" identifier + identifier)) ;) (expression_statement "iVar7 = iVar7 + iVar22 * 4;" (assignment_expression "iVar7 = iVar7 + iVar22 * 4" identifier = (binary_expression "iVar7 + iVar22 * 4" identifier + (binary_expression "iVar22 * 4" identifier * number_literal))) ;) }) while (parenthesized_expression "(iVar14 != iVar23)" ( (binary_expression "iVar14 != iVar23" identifier != identifier) )) ;) })) (expression_statement "iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);" (assignment_expression "iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17)" identifier = (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)" ( (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" * (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,iVar17)" ( identifier , identifier )))) ;) (if_statement "if (iVar7 == 0) {\n            param_1[6] = 0;\n          }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n            param_1[6] = 0;\n          }" { (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) })) (if_statement "if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }" if (parenthesized_expression "(*(int *)(iVar19 + 0x328) != 0)" ( (binary_expression "*(int *)(iVar19 + 0x328) != 0" (pointer_expression "*(int *)(iVar19 + 0x328)" * (cast_expression "(int *)(iVar19 + 0x328)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x328)" ( (binary_expression "iVar19 + 0x328" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }" { (expression_statement "piVar21 = (int *)param_1[7];" (assignment_expression "piVar21 = (int *)param_1[7]" identifier = (cast_expression "(int *)param_1[7]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_GOMP_atomic_start_003a92e4)();" (call_expression "(*(code *)PTR_GOMP_atomic_start_003a92e4)()" (parenthesized_expression "(*(code *)PTR_GOMP_atomic_start_003a92e4)" ( (pointer_expression "*(code *)PTR_GOMP_atomic_start_003a92e4" * (cast_expression "(code *)PTR_GOMP_atomic_start_003a92e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "puVar1 = PTR_GOMP_atomic_end_003a9438;" (assignment_expression "puVar1 = PTR_GOMP_atomic_end_003a9438" identifier = identifier) ;) (expression_statement "uVar8 = piVar21[1];" (assignment_expression "uVar8 = piVar21[1]" identifier = (subscript_expression "piVar21[1]" identifier [ number_literal ])) ;) (expression_statement "uVar9 = uVar8 + 1;" (assignment_expression "uVar9 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "piVar21[1] = uVar9;" (assignment_expression "piVar21[1] = uVar9" (subscript_expression "piVar21[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*piVar21 = (uint)(uVar9 < uVar8) + *piVar21;" (assignment_expression "*piVar21 = (uint)(uVar9 < uVar8) + *piVar21" (pointer_expression "*piVar21" * identifier) = (binary_expression "(uint)(uVar9 < uVar8) + *piVar21" (call_expression "(uint)(uVar9 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar9 < uVar8)" ( (binary_expression "uVar9 < uVar8" identifier < identifier) ))) + (pointer_expression "*piVar21" * identifier))) ;) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));" (assignment_expression "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" ( identifier , identifier , (pointer_expression "*(undefined4 *)param_1[7]" * (cast_expression "(undefined4 *)param_1[7]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ]))) , (subscript_expression "((undefined4 *)param_1[7])[1]" (parenthesized_expression "((undefined4 *)param_1[7])" ( (cast_expression "(undefined4 *)param_1[7]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[7]" identifier [ number_literal ])) )) [ number_literal ]) , number_literal , (pointer_expression "*(undefined4 *)(iVar19 + 0x1c)" * (cast_expression "(undefined4 *)(iVar19 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar19 + 0x1c)" ( (binary_expression "iVar19 + 0x1c" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar7 == 0) goto LAB_0005a98c;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0005a98c;" goto statement_identifier ;)) })) }))) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar24 != iVar2)" ( (binary_expression "iVar24 != iVar2" identifier != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) / IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) % IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (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 = (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) ))))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression (binary_expression (pointer_expression * IDENT) * LIT) + LIT) ]) != LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT >> (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) ))) & LIT) )) != LIT) ))) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (pointer_expression * IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (pointer_expression * IDENT))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) , (subscript_expression (parenthesized_expression ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )) [ LIT ]) , LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) }))) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0005a718(int *param_1)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  uint *puVar10;\n  undefined4 *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n  iVar19 = *param_1;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005a718(int *param_1)" (identifier "FUN_0005a718") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  undefined *puVar5;\n  undefined4 *puVar6;\n  int iVar7;\n  uint uVar8;\n  uint uVar9;\n  uint *puVar10;\n  undefined4 *puVar11;\n  uint *puVar12;\n  int iVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  int iVar18;\n  int iVar19;\n  uint uVar20;\n  int *piVar21;\n  int iVar22;\n  int iVar23;\n  int iVar24;\n  \n  iVar19 = *param_1;\n  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();\n  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();\n  if (iVar2 == 0) {\n    trap(7);\n  }\n  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;\n  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;\n  if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }\n  iVar2 = iVar24 * iVar3 + iVar2;\n  iVar24 = iVar24 + iVar2;\n  if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "undefined4 *puVar6;" (type_identifier "undefined4") (pointer_declarator "*puVar6" (* "*") (identifier "puVar6")) (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint *puVar10;" (type_identifier "uint") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "undefined4 *puVar11;" (type_identifier "undefined4") (pointer_declarator "*puVar11" (* "*") (identifier "puVar11")) (; ";")) (declaration "uint *puVar12;" (type_identifier "uint") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "int iVar14;" (primitive_type "int") (identifier "iVar14") (; ";")) (declaration "int iVar15;" (primitive_type "int") (identifier "iVar15") (; ";")) (declaration "int iVar16;" (primitive_type "int") (identifier "iVar16") (; ";")) (declaration "int iVar17;" (primitive_type "int") (identifier "iVar17") (; ";")) (declaration "int iVar18;" (primitive_type "int") (identifier "iVar18") (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "uint uVar20;" (type_identifier "uint") (identifier "uVar20") (; ";")) (declaration "int *piVar21;" (primitive_type "int") (pointer_declarator "*piVar21" (* "*") (identifier "piVar21")) (; ";")) (declaration "int iVar22;" (primitive_type "int") (identifier "iVar22") (; ";")) (declaration "int iVar23;" (primitive_type "int") (identifier "iVar23") (; ";")) (declaration "int iVar24;" (primitive_type "int") (identifier "iVar24") (; ";")) (expression_statement "iVar19 = *param_1;" (assignment_expression "iVar19 = *param_1" (identifier "iVar19") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();" (assignment_expression "iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)()" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_omp_get_num_threads_003a990c)()" (parenthesized_expression "(*(code *)PTR_omp_get_num_threads_003a990c)" (( "(") (pointer_expression "*(code *)PTR_omp_get_num_threads_003a990c" (* "*") (cast_expression "(code *)PTR_omp_get_num_threads_003a990c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_omp_get_num_threads_003a990c"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();" (assignment_expression "iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)()" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_omp_get_thread_num_003a9508)()" (parenthesized_expression "(*(code *)PTR_omp_get_thread_num_003a9508)" (( "(") (pointer_expression "*(code *)PTR_omp_get_thread_num_003a9508" (* "*") (cast_expression "(code *)PTR_omp_get_thread_num_003a9508" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_omp_get_thread_num_003a9508"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    trap(7);\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    trap(7);\n  }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;" (assignment_expression "iVar24 = *(int *)(iVar19 + 0x1c) / iVar2" (identifier "iVar24") (= "=") (binary_expression "*(int *)(iVar19 + 0x1c) / iVar2" (pointer_expression "*(int *)(iVar19 + 0x1c)" (* "*") (cast_expression "(int *)(iVar19 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + 0x1c)" (( "(") (binary_expression "iVar19 + 0x1c" (identifier "iVar19") (+ "+") (number_literal "0x1c")) () ")")))) (/ "/") (identifier "iVar2"))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;" (assignment_expression "iVar2 = *(int *)(iVar19 + 0x1c) % iVar2" (identifier "iVar2") (= "=") (binary_expression "*(int *)(iVar19 + 0x1c) % iVar2" (pointer_expression "*(int *)(iVar19 + 0x1c)" (* "*") (cast_expression "(int *)(iVar19 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + 0x1c)" (( "(") (binary_expression "iVar19 + 0x1c" (identifier "iVar19") (+ "+") (number_literal "0x1c")) () ")")))) (% "%") (identifier "iVar2"))) (; ";")) (if_statement "if (iVar3 < iVar2) {\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }" (if "if") (parenthesized_expression "(iVar3 < iVar2)" (( "(") (binary_expression "iVar3 < iVar2" (identifier "iVar3") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n    iVar24 = iVar24 + 1;\n    iVar2 = 0;\n  }" ({ "{") (expression_statement "iVar24 = iVar24 + 1;" (assignment_expression "iVar24 = iVar24 + 1" (identifier "iVar24") (= "=") (binary_expression "iVar24 + 1" (identifier "iVar24") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar24 * iVar3 + iVar2;" (assignment_expression "iVar2 = iVar24 * iVar3 + iVar2" (identifier "iVar2") (= "=") (binary_expression "iVar24 * iVar3 + iVar2" (binary_expression "iVar24 * iVar3" (identifier "iVar24") (* "*") (identifier "iVar3")) (+ "+") (identifier "iVar2"))) (; ";")) (expression_statement "iVar24 = iVar24 + iVar2;" (assignment_expression "iVar24 = iVar24 + iVar2" (identifier "iVar24") (= "=") (binary_expression "iVar24 + iVar2" (identifier "iVar24") (+ "+") (identifier "iVar2"))) (; ";")) (if_statement "if (iVar2 < iVar24) {\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }" (if "if") (parenthesized_expression "(iVar2 < iVar24)" (( "(") (binary_expression "iVar2 < iVar24" (identifier "iVar2") (< "<") (identifier "iVar24")) () ")")) (compound_statement "{\n    iVar3 = param_1[4];\n    iVar18 = param_1[5];\n    iVar17 = param_1[2];\n    iVar4 = param_1[3];\n    uVar20 = param_1[1];\n    puVar5 = PTR_LAB_003a88e0 + 0x3b40;\n    do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);\n  }" ({ "{") (expression_statement "iVar3 = param_1[4];" (assignment_expression "iVar3 = param_1[4]" (identifier "iVar3") (= "=") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "iVar18 = param_1[5];" (assignment_expression "iVar18 = param_1[5]" (identifier "iVar18") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar17 = param_1[2];" (assignment_expression "iVar17 = param_1[2]" (identifier "iVar17") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar4 = param_1[3];" (assignment_expression "iVar4 = param_1[3]" (identifier "iVar4") (= "=") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "uVar20 = param_1[1];" (assignment_expression "uVar20 = param_1[1]" (identifier "uVar20") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar5 = PTR_LAB_003a88e0 + 0x3b40;" (assignment_expression "puVar5 = PTR_LAB_003a88e0 + 0x3b40" (identifier "puVar5") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3b40" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3b40"))) (; ";")) (do_statement "do {\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    } while (iVar24 != iVar2);" (do "do") (compound_statement "{\n      if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }\n      iVar2 = iVar2 + 1;\n    }" ({ "{") (if_statement "if (param_1[6] != 0) {\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }" (if "if") (parenthesized_expression "(param_1[6] != 0)" (( "(") (binary_expression "param_1[6] != 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);\n        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);\n        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }\n      }" ({ "{") (expression_statement "puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);" (assignment_expression "puVar6 = (undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" (identifier "puVar6") (= "=") (cast_expression "(undefined4 *)\n                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)\n                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" (parenthesized_expression "(*(code *)PTR_GetCacheViewVirtualPixels_003a965c)" (( "(") (pointer_expression "*(code *)PTR_GetCacheViewVirtualPixels_003a965c" (* "*") (cast_expression "(code *)PTR_GetCacheViewVirtualPixels_003a965c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetCacheViewVirtualPixels_003a965c"))) () ")")) (argument_list "(iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17)" (( "(") (identifier "iVar4") (, ",") (number_literal "0") (, ",") (identifier "iVar2") (, ",") (pointer_expression "*(undefined4 *)(iVar19 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar19 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + 0x18)" (( "(") (binary_expression "iVar19 + 0x18" (identifier "iVar19") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "iVar17") () ")"))))) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);" (assignment_expression "iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)\n                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" (parenthesized_expression "(*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)" (( "(") (pointer_expression "*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50" (* "*") (cast_expression "(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_QueueCacheViewAuthenticPixels_003a8c50"))) () ")")) (argument_list "(iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17)" (( "(") (identifier "iVar3") (, ",") (number_literal "0") (, ",") (identifier "iVar2") (, ",") (pointer_expression "*(undefined4 *)(iVar18 + 0x18)" (* "*") (cast_expression "(undefined4 *)(iVar18 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar18 + 0x18)" (( "(") (binary_expression "iVar18 + 0x18" (identifier "iVar18") (+ "+") (number_literal "0x18")) () ")")))) (, ",") (number_literal "1") (, ",") (identifier "iVar17") () ")")))) (; ";")) (if_statement "if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {\nLAB_0005a98c:\n          param_1[6] = 0;\n        }\n        else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" (if "if") (parenthesized_expression "((puVar6 == (undefined4 *)0x0) || (iVar7 == 0))" (( "(") (binary_expression "(puVar6 == (undefined4 *)0x0) || (iVar7 == 0)" (parenthesized_expression "(puVar6 == (undefined4 *)0x0)" (( "(") (binary_expression "puVar6 == (undefined4 *)0x0" (identifier "puVar6") (== "==") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\nLAB_0005a98c:\n          param_1[6] = 0;\n        }" ({ "{") (labeled_statement "LAB_0005a98c:\n          param_1[6] = 0;" (statement_identifier "LAB_0005a98c") (: ":") (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" (else "else") (compound_statement "{\n          iVar23 = *(int *)(iVar19 + 0x18);\n          iVar14 = 0;\n          if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }\n          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);\n          if (iVar7 == 0) {\n            param_1[6] = 0;\n          }\n          if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }\n        }" ({ "{") (expression_statement "iVar23 = *(int *)(iVar19 + 0x18);" (assignment_expression "iVar23 = *(int *)(iVar19 + 0x18)" (identifier "iVar23") (= "=") (pointer_expression "*(int *)(iVar19 + 0x18)" (* "*") (cast_expression "(int *)(iVar19 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + 0x18)" (( "(") (binary_expression "iVar19 + 0x18" (identifier "iVar19") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" (identifier "iVar14") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar23) {\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }" (if "if") (parenthesized_expression "(0 < iVar23)" (( "(") (binary_expression "0 < iVar23" (number_literal "0") (< "<") (identifier "iVar23")) () ")")) (compound_statement "{\n            iVar16 = *(int *)(iVar19 + 0x2c0);\n            iVar15 = *(int *)(iVar18 + 0x2d0);\n            iVar22 = *(int *)(iVar18 + 0x2c0);\n            iVar13 = *(int *)(iVar15 + 4);\n            do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);\n          }" ({ "{") (expression_statement "iVar16 = *(int *)(iVar19 + 0x2c0);" (assignment_expression "iVar16 = *(int *)(iVar19 + 0x2c0)" (identifier "iVar16") (= "=") (pointer_expression "*(int *)(iVar19 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar19 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + 0x2c0)" (( "(") (binary_expression "iVar19 + 0x2c0" (identifier "iVar19") (+ "+") (number_literal "0x2c0")) () ")"))))) (; ";")) (expression_statement "iVar15 = *(int *)(iVar18 + 0x2d0);" (assignment_expression "iVar15 = *(int *)(iVar18 + 0x2d0)" (identifier "iVar15") (= "=") (pointer_expression "*(int *)(iVar18 + 0x2d0)" (* "*") (cast_expression "(int *)(iVar18 + 0x2d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar18 + 0x2d0)" (( "(") (binary_expression "iVar18 + 0x2d0" (identifier "iVar18") (+ "+") (number_literal "0x2d0")) () ")"))))) (; ";")) (expression_statement "iVar22 = *(int *)(iVar18 + 0x2c0);" (assignment_expression "iVar22 = *(int *)(iVar18 + 0x2c0)" (identifier "iVar22") (= "=") (pointer_expression "*(int *)(iVar18 + 0x2c0)" (* "*") (cast_expression "(int *)(iVar18 + 0x2c0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar18 + 0x2c0)" (( "(") (binary_expression "iVar18 + 0x2c0" (identifier "iVar18") (+ "+") (number_literal "0x2c0")) () ")"))))) (; ";")) (expression_statement "iVar13 = *(int *)(iVar15 + 4);" (assignment_expression "iVar13 = *(int *)(iVar15 + 4)" (identifier "iVar13") (= "=") (pointer_expression "*(int *)(iVar15 + 4)" (* "*") (cast_expression "(int *)(iVar15 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 4)" (( "(") (binary_expression "iVar15 + 4" (identifier "iVar15") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (do_statement "do {\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            } while (iVar14 != iVar23);" (do "do") (compound_statement "{\n              if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }\n              if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }\n              iVar14 = iVar14 + 1;\n              puVar6 = puVar6 + iVar16;\n              iVar7 = iVar7 + iVar22 * 4;\n            }" ({ "{") (if_statement "if (iVar13 != 0) {\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }" (if "if") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;\n              }" ({ "{") (expression_statement "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;" (assignment_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0" (pointer_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" (* "*") (cast_expression "(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *(int *)(iVar15 + 8) * 4)" (( "(") (binary_expression "iVar7 + *(int *)(iVar15 + 8) * 4" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar15 + 8) * 4" (pointer_expression "*(int *)(iVar15 + 8)" (* "*") (cast_expression "(int *)(iVar15 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 8)" (( "(") (binary_expression "iVar15 + 8" (identifier "iVar15") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (0 < iVar16) {\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }" (if "if") (parenthesized_expression "(0 < iVar16)" (( "(") (binary_expression "0 < iVar16" (number_literal "0") (< "<") (identifier "iVar16")) () ")")) (compound_statement "{\n                puVar12 = *(uint **)(iVar19 + 0x2d0);\n                puVar10 = puVar12;\n                puVar11 = puVar6;\n                do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);\n              }" ({ "{") (expression_statement "puVar12 = *(uint **)(iVar19 + 0x2d0);" (assignment_expression "puVar12 = *(uint **)(iVar19 + 0x2d0)" (identifier "puVar12") (= "=") (pointer_expression "*(uint **)(iVar19 + 0x2d0)" (* "*") (cast_expression "(uint **)(iVar19 + 0x2d0)" (( "(") (type_descriptor "uint **" (type_identifier "uint") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar19 + 0x2d0)" (( "(") (binary_expression "iVar19 + 0x2d0" (identifier "iVar19") (+ "+") (number_literal "0x2d0")) () ")"))))) (; ";")) (expression_statement "puVar10 = puVar12;" (assignment_expression "puVar10 = puVar12" (identifier "puVar10") (= "=") (identifier "puVar12")) (; ";")) (expression_statement "puVar11 = puVar6;" (assignment_expression "puVar11 = puVar6" (identifier "puVar11") (= "=") (identifier "puVar6")) (; ";")) (do_statement "do {\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                } while (puVar12 + iVar16 * 3 != puVar10);" (do "do") (compound_statement "{\n                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }\n                  puVar10 = puVar10 + 3;\n                  puVar11 = puVar11 + 1;\n                }" ({ "{") (if_statement "if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)) {\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }" (if "if") (parenthesized_expression "(((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0))" (( "(") (binary_expression "((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))\n                     && (iVar13 != 0)" (parenthesized_expression "((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))" (( "(") (binary_expression "(puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0)" (parenthesized_expression "(puVar12[*puVar10 * 3 + 1] != 0)" (( "(") (binary_expression "puVar12[*puVar10 * 3 + 1] != 0" (subscript_expression "puVar12[*puVar10 * 3 + 1]" (identifier "puVar12") ([ "[") (binary_expression "*puVar10 * 3 + 1" (binary_expression "*puVar10 * 3" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (* "*") (number_literal "3")) (+ "+") (number_literal "1")) (] "]")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uVar20 >> (*puVar10 & 0x1f) & 1) != 0)" (( "(") (binary_expression "(uVar20 >> (*puVar10 & 0x1f) & 1) != 0" (parenthesized_expression "(uVar20 >> (*puVar10 & 0x1f) & 1)" (( "(") (binary_expression "uVar20 >> (*puVar10 & 0x1f) & 1" (binary_expression "uVar20 >> (*puVar10 & 0x1f)" (identifier "uVar20") (>> ">>") (parenthesized_expression "(*puVar10 & 0x1f)" (( "(") (binary_expression "*puVar10 & 0x1f" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;\n                  }" ({ "{") (expression_statement "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;" (assignment_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11" (pointer_expression "*(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" (* "*") (cast_expression "(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + *(int *)(iVar15 + 8) * 4)" (( "(") (binary_expression "iVar7 + *(int *)(iVar15 + 8) * 4" (identifier "iVar7") (+ "+") (binary_expression "*(int *)(iVar15 + 8) * 4" (pointer_expression "*(int *)(iVar15 + 8)" (* "*") (cast_expression "(int *)(iVar15 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar15 + 8)" (( "(") (binary_expression "iVar15 + 8" (identifier "iVar15") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (pointer_expression "*puVar11" (* "*") (identifier "puVar11"))) (; ";")) (} "}"))) (expression_statement "puVar10 = puVar10 + 3;" (assignment_expression "puVar10 = puVar10 + 3" (identifier "puVar10") (= "=") (binary_expression "puVar10 + 3" (identifier "puVar10") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "puVar11 = puVar11 + 1;" (assignment_expression "puVar11 = puVar11 + 1" (identifier "puVar11") (= "=") (binary_expression "puVar11 + 1" (identifier "puVar11") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar12 + iVar16 * 3 != puVar10)" (( "(") (binary_expression "puVar12 + iVar16 * 3 != puVar10" (binary_expression "puVar12 + iVar16 * 3" (identifier "puVar12") (+ "+") (binary_expression "iVar16 * 3" (identifier "iVar16") (* "*") (number_literal "3"))) (!= "!=") (identifier "puVar10")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" (identifier "iVar14") (= "=") (binary_expression "iVar14 + 1" (identifier "iVar14") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar6 = puVar6 + iVar16;" (assignment_expression "puVar6 = puVar6 + iVar16" (identifier "puVar6") (= "=") (binary_expression "puVar6 + iVar16" (identifier "puVar6") (+ "+") (identifier "iVar16"))) (; ";")) (expression_statement "iVar7 = iVar7 + iVar22 * 4;" (assignment_expression "iVar7 = iVar7 + iVar22 * 4" (identifier "iVar7") (= "=") (binary_expression "iVar7 + iVar22 * 4" (identifier "iVar7") (+ "+") (binary_expression "iVar22 * 4" (identifier "iVar22") (* "*") (number_literal "4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar14 != iVar23)" (( "(") (binary_expression "iVar14 != iVar23" (identifier "iVar14") (!= "!=") (identifier "iVar23")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);" (assignment_expression "iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17)" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17)" (parenthesized_expression "(*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)" (( "(") (pointer_expression "*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" (* "*") (cast_expression "(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SyncCacheViewAuthenticPixels_003a94f8"))) () ")")) (argument_list "(iVar3,iVar17)" (( "(") (identifier "iVar3") (, ",") (identifier "iVar17") () ")")))) (; ";")) (if_statement "if (iVar7 == 0) {\n            param_1[6] = 0;\n          }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            param_1[6] = 0;\n          }" ({ "{") (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (*(int *)(iVar19 + 0x328) != 0) {\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }" (if "if") (parenthesized_expression "(*(int *)(iVar19 + 0x328) != 0)" (( "(") (binary_expression "*(int *)(iVar19 + 0x328) != 0" (pointer_expression "*(int *)(iVar19 + 0x328)" (* "*") (cast_expression "(int *)(iVar19 + 0x328)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + 0x328)" (( "(") (binary_expression "iVar19 + 0x328" (identifier "iVar19") (+ "+") (number_literal "0x328")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            piVar21 = (int *)param_1[7];\n            (*(code *)PTR_GOMP_atomic_start_003a92e4)();\n            puVar1 = PTR_GOMP_atomic_end_003a9438;\n            uVar8 = piVar21[1];\n            uVar9 = uVar8 + 1;\n            piVar21[1] = uVar9;\n            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;\n            (*(code *)puVar1)();\n            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));\n            if (iVar7 == 0) goto LAB_0005a98c;\n          }" ({ "{") (expression_statement "piVar21 = (int *)param_1[7];" (assignment_expression "piVar21 = (int *)param_1[7]" (identifier "piVar21") (= "=") (cast_expression "(int *)param_1[7]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")))) (; ";")) (expression_statement "(*(code *)PTR_GOMP_atomic_start_003a92e4)();" (call_expression "(*(code *)PTR_GOMP_atomic_start_003a92e4)()" (parenthesized_expression "(*(code *)PTR_GOMP_atomic_start_003a92e4)" (( "(") (pointer_expression "*(code *)PTR_GOMP_atomic_start_003a92e4" (* "*") (cast_expression "(code *)PTR_GOMP_atomic_start_003a92e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GOMP_atomic_start_003a92e4"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_GOMP_atomic_end_003a9438;" (assignment_expression "puVar1 = PTR_GOMP_atomic_end_003a9438" (identifier "puVar1") (= "=") (identifier "PTR_GOMP_atomic_end_003a9438")) (; ";")) (expression_statement "uVar8 = piVar21[1];" (assignment_expression "uVar8 = piVar21[1]" (identifier "uVar8") (= "=") (subscript_expression "piVar21[1]" (identifier "piVar21") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar9 = uVar8 + 1;" (assignment_expression "uVar9 = uVar8 + 1" (identifier "uVar9") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "piVar21[1] = uVar9;" (assignment_expression "piVar21[1] = uVar9" (subscript_expression "piVar21[1]" (identifier "piVar21") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uVar9")) (; ";")) (expression_statement "*piVar21 = (uint)(uVar9 < uVar8) + *piVar21;" (assignment_expression "*piVar21 = (uint)(uVar9 < uVar8) + *piVar21" (pointer_expression "*piVar21" (* "*") (identifier "piVar21")) (= "=") (binary_expression "(uint)(uVar9 < uVar8) + *piVar21" (call_expression "(uint)(uVar9 < uVar8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar9 < uVar8)" (( "(") (binary_expression "uVar9 < uVar8" (identifier "uVar9") (< "<") (identifier "uVar8")) () ")"))) (+ "+") (pointer_expression "*piVar21" (* "*") (identifier "piVar21")))) (; ";")) (expression_statement "(*(code *)puVar1)();" (call_expression "(*(code *)puVar1)()" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c));" (assignment_expression "iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" (identifier "iVar7") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" (( "(") (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" (* "*") (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProgress_003a8cb4"))) () ")")) (argument_list "(iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]\n                               ,0,*(undefined4 *)(iVar19 + 0x1c))" (( "(") (identifier "iVar19") (, ",") (identifier "puVar5") (, ",") (pointer_expression "*(undefined4 *)param_1[7]" (* "*") (cast_expression "(undefined4 *)param_1[7]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")))) (, ",") (subscript_expression "((undefined4 *)param_1[7])[1]" (parenthesized_expression "((undefined4 *)param_1[7])" (( "(") (cast_expression "(undefined4 *)param_1[7]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]"))) () ")")) ([ "[") (number_literal "1") (] "]")) (, ",") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar19 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(iVar19 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar19 + 0x1c)" (( "(") (binary_expression "iVar19 + 0x1c" (identifier "iVar19") (+ "+") (number_literal "0x1c")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar7 == 0) goto LAB_0005a98c;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0005a98c;" (goto "goto") (statement_identifier "LAB_0005a98c") (; ";"))) (} "}"))) (} "}")))) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar24 != iVar2)" (( "(") (binary_expression "iVar24 != iVar2" (identifier "iVar24") (!= "!=") (identifier "iVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void SeparateImage._omp_fn.1(anon_struct_32_8_27a977fd * param_0) */

void __thiscall function_1(void *this)

{
  type_1 *puVar1;
  int var_1;
  int var_4;
  type_2 uVar4;
  type_2 uVar5;
  type_1 *puVar6;
  type_2 *var_7;
  int var_8;
  type_3 var_19;
  type_3 var_20;
  type_3 *var_14;
  type_2 *var_15;
  type_3 *var_16;
  int var_11;
  int var_17;
  int var_10;
  int var_12;
  type_2 uVar18;
  int var_3;
  type_3 var_13;
  int *piVar21;
  int var_18;
  int var_9;
  int var_5;
  
                    /* WARNING: Load size is inaccurate */
  var_3 = *this;
  var_1 = (*(type_4 *)PTR_omp_get_num_threads_003a990c)();
  var_4 = (*(type_4 *)PTR_omp_get_thread_num_003a9508)();
  if (var_1 == 0) {
    var_2(7);
  }
  var_5 = *(int *)(var_3 + 0x1c) / var_1;
  var_1 = *(int *)(var_3 + 0x1c) % var_1;
  if (var_4 < var_1) {
    var_5 = var_5 + 1;
    var_1 = 0;
  }
  var_1 = var_5 * var_4 + var_1;
  var_5 = var_5 + var_1;
  if (var_1 < var_5) {
    uVar4 = *(type_2 *)((int)this + 0x10);
    var_4 = *(int *)((int)this + 0x14);
    uVar18 = *(type_2 *)((int)this + 8);
    uVar5 = *(type_2 *)((int)this + 0xc);
    var_13 = *(type_3 *)((int)this + 4);
    puVar6 = var_6 + 0x3b40;
    do {
      if (*(int *)((int)this + 0x18) != 0) {
        var_7 = (type_2 *)
                 (*(type_4 *)PTR_GetCacheViewVirtualPixels_003a965c)
                           (uVar5,0,var_1,*(type_2 *)(var_3 + 0x18),1,uVar18);
        var_8 = (*(type_4 *)PTR_QueueCacheViewAuthenticPixels_003a8c50)
                          (uVar4,0,var_1,*(type_2 *)(var_4 + 0x18),1,uVar18);
        if ((var_7 == (type_2 *)0x0) || (var_8 == 0)) {
LAB_0005a98c:
          *(type_2 *)((int)this + 0x18) = 0;
        }
        else {
          var_9 = *(int *)(var_3 + 0x18);
          var_17 = 0;
          if (0 < var_9) {
            var_12 = *(int *)(var_3 + 0x2c0);
            var_10 = *(int *)(var_4 + 0x2d0);
            var_18 = *(int *)(var_4 + 0x2c0);
            var_11 = *(int *)(var_10 + 4);
            do {
              if (var_11 != 0) {
                *(type_2 *)(var_8 + *(int *)(var_10 + 8) * 4) = 0;
              }
              if (0 < var_12) {
                var_16 = *(type_3 **)(var_3 + 0x2d0);
                var_14 = var_16;
                var_15 = var_7;
                do {
                  if (((var_16[*var_14 * 3 + 1] != 0) && ((var_13 >> (*var_14 & 0x1f) & 1) != 0))
                     && (var_11 != 0)) {
                    *(type_2 *)(var_8 + *(int *)(var_10 + 8) * 4) = *var_15;
                  }
                  var_14 = var_14 + 3;
                  var_15 = var_15 + 1;
                } while (var_16 + var_12 * 3 != var_14);
              }
              var_17 = var_17 + 1;
              var_7 = var_7 + var_12;
              var_8 = var_8 + var_18 * 4;
            } while (var_17 != var_9);
          }
          var_8 = (*(type_4 *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(uVar4,uVar18);
          if (var_8 == 0) {
            *(type_2 *)((int)this + 0x18) = 0;
          }
          if (*(int *)(var_3 + 0x328) != 0) {
            piVar21 = *(int **)((int)this + 0x1c);
            (*(type_4 *)PTR_GOMP_atomic_start_003a92e4)();
            puVar1 = PTR_GOMP_atomic_end_003a9438;
            var_19 = piVar21[1];
            var_20 = var_19 + 1;
            piVar21[1] = var_20;
            *piVar21 = (type_3)(var_20 < var_19) + *piVar21;
            (*(type_4 *)puVar1)();
            var_8 = (*(type_4 *)PTR_SetImageProgress_003a8cb4)
                              (var_3,puVar6,**(type_2 **)((int)this + 0x1c),
                               (*(type_2 **)((int)this + 0x1c))[1],0,
                               *(type_2 *)(var_3 + 0x1c));
            if (var_8 == 0) goto LAB_0005a98c;
          }
        }
      }
      var_1 = var_1 + 1;
    } while (var_5 != var_1);
  }
  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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (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)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (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))))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) 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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) right: (number_literal))) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) (subscript_expression argument: (parenthesized_expression (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) index: (number_literal)) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (return_statement))))

void MASKED(int *param_1)

{
  undefined *puVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  undefined *puVar5;
  undefined4 *puVar6;
  int iVar7;
  uint uVar8;
  uint uVar9;
  uint *puVar10;
  undefined4 *puVar11;
  uint *puVar12;
  int iVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  int iVar18;
  int iVar19;
  uint uVar20;
  int *piVar21;
  int iVar22;
  int iVar23;
  int iVar24;
  
  iVar19 = *param_1;
  iVar2 = (*(code *)PTR_omp_get_num_threads_003a990c)();
  iVar3 = (*(code *)PTR_omp_get_thread_num_003a9508)();
  if (iVar2 == 0) {
    trap(7);
  }
  iVar24 = *(int *)(iVar19 + 0x1c) / iVar2;
  iVar2 = *(int *)(iVar19 + 0x1c) % iVar2;
  if (iVar3 < iVar2) {
    iVar24 = iVar24 + 1;
    iVar2 = 0;
  }
  iVar2 = iVar24 * iVar3 + iVar2;
  iVar24 = iVar24 + iVar2;
  if (iVar2 < iVar24) {
    iVar3 = param_1[4];
    iVar18 = param_1[5];
    iVar17 = param_1[2];
    iVar4 = param_1[3];
    uVar20 = param_1[1];
    puVar5 = PTR_LAB_003a88e0 + 0x3b40;
    do {
      if (param_1[6] != 0) {
        puVar6 = (undefined4 *)
                 (*(code *)PTR_GetCacheViewVirtualPixels_003a965c)
                           (iVar4,0,iVar2,*(undefined4 *)(iVar19 + 0x18),1,iVar17);
        iVar7 = (*(code *)PTR_QueueCacheViewAuthenticPixels_003a8c50)
                          (iVar3,0,iVar2,*(undefined4 *)(iVar18 + 0x18),1,iVar17);
        if ((puVar6 == (undefined4 *)0x0) || (iVar7 == 0)) {
LAB_0005a98c:
          param_1[6] = 0;
        }
        else {
          iVar23 = *(int *)(iVar19 + 0x18);
          iVar14 = 0;
          if (0 < iVar23) {
            iVar16 = *(int *)(iVar19 + 0x2c0);
            iVar15 = *(int *)(iVar18 + 0x2d0);
            iVar22 = *(int *)(iVar18 + 0x2c0);
            iVar13 = *(int *)(iVar15 + 4);
            do {
              if (iVar13 != 0) {
                *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = 0;
              }
              if (0 < iVar16) {
                puVar12 = *(uint **)(iVar19 + 0x2d0);
                puVar10 = puVar12;
                puVar11 = puVar6;
                do {
                  if (((puVar12[*puVar10 * 3 + 1] != 0) && ((uVar20 >> (*puVar10 & 0x1f) & 1) != 0))
                     && (iVar13 != 0)) {
                    *(undefined4 *)(iVar7 + *(int *)(iVar15 + 8) * 4) = *puVar11;
                  }
                  puVar10 = puVar10 + 3;
                  puVar11 = puVar11 + 1;
                } while (puVar12 + iVar16 * 3 != puVar10);
              }
              iVar14 = iVar14 + 1;
              puVar6 = puVar6 + iVar16;
              iVar7 = iVar7 + iVar22 * 4;
            } while (iVar14 != iVar23);
          }
          iVar7 = (*(code *)PTR_SyncCacheViewAuthenticPixels_003a94f8)(iVar3,iVar17);
          if (iVar7 == 0) {
            param_1[6] = 0;
          }
          if (*(int *)(iVar19 + 0x328) != 0) {
            piVar21 = (int *)param_1[7];
            (*(code *)PTR_GOMP_atomic_start_003a92e4)();
            puVar1 = PTR_GOMP_atomic_end_003a9438;
            uVar8 = piVar21[1];
            uVar9 = uVar8 + 1;
            piVar21[1] = uVar9;
            *piVar21 = (uint)(uVar9 < uVar8) + *piVar21;
            (*(code *)puVar1)();
            iVar7 = (*(code *)PTR_SetImageProgress_003a8cb4)
                              (iVar19,puVar5,*(undefined4 *)param_1[7],((undefined4 *)param_1[7])[1]
                               ,0,*(undefined4 *)(iVar19 + 0x1c));
            if (iVar7 == 0) goto LAB_0005a98c;
          }
        }
      }
      iVar2 = iVar2 + 1;
    } while (iVar24 != iVar2);
  }
  return;
}

