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

void __thiscall ConnectedComponentsImage__omp_fn_0(anon_struct_20_5_f6ce3727 *this)

{
  double dVar1;
  Image *image;
  CCObjectInfo *pCVar2;
  ExceptionInfo *exception;
  size_t sVar3;
  int iVar4;
  int iVar5;
  size_t sVar6;
  PixelChannelMap *pPVar7;
  size_t sVar8;
  PixelTrait PVar9;
  int iVar10;
  char cVar11;
  CacheView *cache_view;
  int iVar12;
  int iVar13;
  int iVar14;
  double *pdVar15;
  int iVar16;
  int iVar17;
  int in_GS_OFFSET;
  int local_e8;
  Quantum *local_d8;
  int local_d4;
  int local_c0;
  uint local_a8;
  uint local_a4;
  CCObjectInfo *local_a0;
  uint local_98;
  uint local_7c;
  int local_4c;
  int local_48;
  double local_44 [4];
  undefined8 local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x1bf909;
  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);
  image = this->component_image;
  pCVar2 = this->object;
  exception = this->exception;
  cVar11 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_4c,&local_48);
  local_e8 = local_4c;
  iVar10 = local_48;
  do {
    if (cVar11 == '\0') {
      GOMP_loop_end_nowait();
      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail_local();
    }
    local_a0 = pCVar2 + local_e8;
    local_4c = local_e8;
    local_48 = iVar10;
    do {
      if (this->status != MagickFalse) {
        cache_view = AcquireAuthenticCacheView(image,exception);
        sVar3 = (local_a0->bounding_box).width;
        iVar4 = (local_a0->bounding_box).x;
        iVar5 = (local_a0->bounding_box).y;
        sVar6 = (local_a0->bounding_box).height;
        local_a8 = 0;
        local_98 = 0;
        local_a4 = 0;
        local_7c = 1;
        if (-2 < (int)sVar6) {
          local_c0 = -1;
          do {
            if (this->status != MagickFalse) {
              local_d8 = GetCacheViewVirtualPixels
                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);
              if (local_d8 == (Quantum *)0x0) {
                this->status = MagickFalse;
                break;
              }
              if (-2 < (int)sVar3) {
                local_d4 = -1;
                pPVar7 = image->channel_map;
                sVar8 = image->number_channels;
                PVar9 = pPVar7[5].traits;
LAB_001bfaf8:
                iVar17 = 0;
                iVar13 = 0;
                pdVar15 = local_44;
LAB_001bfb00:
                iVar12 = 0;
                iVar14 = iVar17;
                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;
                do {
                  dVar1 = local_d8[pPVar7[5].offset + iVar14];
                  iVar16 = (int)ROUND(dVar1);
                  while( true ) {
                    pdVar15[iVar12] = dVar1;
                    iVar14 = iVar14 + sVar8;
                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);
                    if (iVar12 == 1) {
                      pdVar15 = pdVar15 + 2;
                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;
                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;
                      if (iVar13 == 1) {
                        local_a4 = local_a4 + 1;
                      }
                      else if (iVar13 == 2) {
                        if ((local_e8 == (int)ROUND(local_44[0])) &&
                           (local_e8 == (int)ROUND(local_44[3]))) {
                          local_7c = local_7c + 1;
                        }
                        else if ((local_e8 == (int)ROUND(local_44[1])) &&
                                (local_e8 == (int)ROUND(local_44[2]))) {
                          local_7c = local_7c + 1;
                        }
                        else {
                          local_98 = local_98 + 1;
                        }
                      }
                      else {
                        local_a8 = local_a8 + (iVar13 == 3);
                      }
                      local_d4 = local_d4 + 1;
                      local_d8 = local_d8 + sVar8;
                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;
                      goto LAB_001bfaf8;
                    }
                    iVar12 = 1;
                    if (PVar9 != UndefinedPixelTrait) break;
LAB_001bfb75:
                    dVar1 = 0.0;
                    iVar16 = 0;
                  }
                } while( true );
              }
            }
joined_r0x001bfbdd:
            local_c0 = local_c0 + 1;
          } while (local_c0 <= (int)sVar6);
        }
        DestroyCacheView(cache_view);
        local_a0->metric[*this->n] =
             ROUND(((double)local_7c * _DAT_002b3ad0 +
                   (double)local_a8 * DAT_002a8028 +
                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);
      }
      local_e8 = local_e8 + 1;
      local_a0 = local_a0 + 1;
    } while (local_e8 < iVar10);
    cVar11 = GOMP_loop_dynamic_next(&local_4c,&local_48);
    local_e8 = local_4c;
    iVar10 = local_48;
  } while( true );
}



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

void FUN_001bf900(undefined4 *param_1)

{
  double dVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  char cVar13;
  undefined4 uVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  double *pdVar18;
  int iVar19;
  int iVar20;
  int in_GS_OFFSET;
  int local_e8;
  int local_d8;
  int local_d4;
  int local_c0;
  uint local_a8;
  uint local_a4;
  int local_a0;
  uint local_98;
  uint local_7c;
  int local_4c;
  int local_48;
  double local_44 [4];
  undefined8 local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x1bf909;
  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = param_1[2];
  iVar3 = param_1[1];
  uVar4 = *param_1;
  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);
  local_e8 = local_4c;
  iVar12 = local_48;
  do {
    if (cVar13 == '\0') {
      GOMP_loop_end_nowait();
      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      FUN_0029eab0();
    }
    local_a0 = local_e8 * 0x108 + iVar3;
    local_4c = local_e8;
    local_48 = iVar12;
    do {
      if (param_1[4] != 0) {
        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);
        iVar5 = *(int *)(local_a0 + 4);
        iVar6 = *(int *)(local_a0 + 0xc);
        iVar7 = *(int *)(local_a0 + 0x10);
        iVar8 = *(int *)(local_a0 + 8);
        local_a8 = 0;
        local_98 = 0;
        local_a4 = 0;
        local_7c = 1;
        if (-2 < iVar8) {
          local_c0 = -1;
          do {
            if (param_1[4] != 0) {
              local_d8 = GetCacheViewVirtualPixels
                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);
              if (local_d8 == 0) {
                param_1[4] = 0;
                break;
              }
              if (-2 < iVar5) {
                local_d4 = -1;
                iVar9 = *(int *)(iVar2 + 0x2a8);
                iVar10 = *(int *)(iVar2 + 0x298);
                iVar11 = *(int *)(iVar9 + 0x40);
LAB_001bfaf8:
                iVar20 = 0;
                iVar16 = 0;
                pdVar18 = local_44;
LAB_001bfb00:
                iVar15 = 0;
                iVar17 = iVar20;
                if (iVar11 == 0) goto LAB_001bfb75;
                do {
                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);
                  iVar19 = (int)ROUND(dVar1);
                  while( true ) {
                    pdVar18[iVar15] = dVar1;
                    iVar17 = iVar17 + iVar10;
                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);
                    if (iVar15 == 1) {
                      pdVar18 = pdVar18 + 2;
                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;
                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;
                      if (iVar16 == 1) {
                        local_a4 = local_a4 + 1;
                      }
                      else if (iVar16 == 2) {
                        if ((local_e8 == (int)ROUND(local_44[0])) &&
                           (local_e8 == (int)ROUND(local_44[3]))) {
                          local_7c = local_7c + 1;
                        }
                        else if ((local_e8 == (int)ROUND(local_44[1])) &&
                                (local_e8 == (int)ROUND(local_44[2]))) {
                          local_7c = local_7c + 1;
                        }
                        else {
                          local_98 = local_98 + 1;
                        }
                      }
                      else {
                        local_a8 = local_a8 + (iVar16 == 3);
                      }
                      local_d4 = local_d4 + 1;
                      local_d8 = local_d8 + iVar10 * 8;
                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;
                      goto LAB_001bfaf8;
                    }
                    iVar15 = 1;
                    if (iVar11 != 0) break;
LAB_001bfb75:
                    dVar1 = 0.0;
                    iVar19 = 0;
                  }
                } while( true );
              }
            }
joined_r0x001bfbdd:
            local_c0 = local_c0 + 1;
          } while (local_c0 <= iVar8);
        }
        DestroyCacheView(uVar14);
        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =
             ROUND(((double)local_7c * _DAT_002b3ad0 +
                   (double)local_a8 * DAT_002a8028 +
                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);
      }
      local_e8 = local_e8 + 1;
      local_a0 = local_a0 + 0x108;
    } while (local_e8 < iVar12);
    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);
    local_e8 = local_4c;
    iVar12 = local_48;
  } while( true );
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x2196f7
SUB ESP,0xe4
MOV ESI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0xd4],ESI
XOR ESI,ESI
MOV EAX,dword ptr [ESP + 0xf8]
MOV dword ptr [ESP + 0x44],EAX
MOV ESI,dword ptr [EAX + 0x8]
MOV EDX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP + 0x24],EBX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x70],ESI
MOV dword ptr [ESP + 0x7c],EDX
MOV dword ptr [ESP + 0x60],EAX
LEA EAX,[ESP + 0xac]
MOV dword ptr [ESP + 0x84],EAX
PUSH EAX
LEA EAX,[ESP + 0xac]
MOV dword ptr [ESP + 0x84],EAX
PUSH EAX
PUSH 0x1
PUSH 0x1
PUSH dword ptr [ESI + 0x24]
PUSH 0x0
CALL 0x000336c0
ADD ESP,0x20
TEST AL,AL
JZ 0x001bfde0
MOV EAX,dword ptr [ESP + 0xa0]
MOV ESI,dword ptr [ESP + 0xa4]
MOV dword ptr [ESP + 0x4],EAX
IMUL EAX,EAX,0x108
ADD EAX,dword ptr [ESP + 0x74]
MOV dword ptr [ESP + 0x6c],ESI
MOV dword ptr [ESP + 0x4c],EAX
JMP 0x001bf9c3
ADD dword ptr [ESP + 0x4],0x1
ADD dword ptr [ESP + 0x4c],0x108
MOV EAX,dword ptr [ESP + 0x4]
CMP dword ptr [ESP + 0x6c],EAX
JLE 0x001bfdbb
MOV EAX,dword ptr [ESP + 0x3c]
MOV EDX,dword ptr [EAX + 0x10]
TEST EDX,EDX
JZ 0x001bf9a8
SUB ESP,0x8
PUSH dword ptr [ESP + 0x60]
PUSH dword ptr [ESP + 0x74]
MOV EBX,dword ptr [ESP + 0x2c]
CALL 0x00032fa0
MOV dword ptr [ESP + 0x60],EAX
MOV EAX,dword ptr [ESP + 0x5c]
MOV EDX,dword ptr [EAX + 0x4]
MOV ESI,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x6c],EDX
MOV EDX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0x8]
MOV dword ptr [ESP + 0x70],ESI
MOV dword ptr [ESP + 0x74],EDX
MOV dword ptr [ESP + 0x50],EAX
ADD ESP,0x10
CMP EAX,-0x1
MOV dword ptr [ESP + 0x44],0x0
MOV dword ptr [ESP + 0x54],0x0
MOV dword ptr [ESP + 0x48],0x0
MOV dword ptr [ESP + 0x70],0x1
JL 0x001bfbe8
MOV dword ptr [ESP + 0x2c],0xffffffff
JMP 0x001bfa53
ADD dword ptr [ESP + 0x2c],0x1
MOV EAX,dword ptr [ESP + 0x2c]
CMP dword ptr [ESP + 0x40],EAX
JL 0x001bfbe8
MOV EAX,dword ptr [ESP + 0x3c]
MOV EAX,dword ptr [EAX + 0x10]
TEST EAX,EAX
JZ 0x001bfa40
MOV EDI,dword ptr [ESP + 0x5c]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x60]
PUSH 0x2
LEA ESI,[EDI + 0x2]
PUSH ESI
MOV EAX,dword ptr [ESP + 0x40]
ADD EAX,dword ptr [ESP + 0x78]
PUSH EAX
MOV EAX,dword ptr [ESP + 0x78]
SUB EAX,0x1
PUSH EAX
PUSH dword ptr [ESP + 0x6c]
MOV EBX,dword ptr [ESP + 0x3c]
CALL 0x00031280
MOV dword ptr [ESP + 0x34],EAX
ADD ESP,0x20
TEST EAX,EAX
JZ 0x001bfe04
CMP EDI,-0x1
MOV EAX,EDI
JL 0x001bfa40
MOV EDX,dword ptr [ESP + 0x68]
ADD EAX,0x1
MOV dword ptr [ESP + 0x18],0xffffffff
MOV dword ptr [ESP + 0x34],EAX
LEA EAX,[ESP + 0xa8]
MOV dword ptr [ESP + 0x38],EAX
LEA EAX,[ESP + 0xc8]
MOV dword ptr [ESP + 0x28],EAX
MOV ECX,dword ptr [EDX + 0x2a8]
MOV EDX,dword ptr [EDX + 0x298]
MOV dword ptr [ESP + 0x20],ECX
MOV EBP,dword ptr [ECX + 0x40]
IMUL ESI,EDX
LEA ECX,[EDX*0x8 + 0x0]
MOV dword ptr [ESP + 0x8],EDX
MOV dword ptr [ESP + 0x30],ECX
MOV dword ptr [ESP + 0x24],ESI
LEA ESI,[ESI]
MOV EBX,dword ptr [ESP + 0x38]
XOR EDI,EDI
XOR ECX,ECX
MOV EDX,EDI
XOR EAX,EAX
MOV ESI,EBX
MOV dword ptr [ESP + 0x10],EDI
TEST EBP,EBP
JZ 0x001bfb75
MOV EDI,dword ptr [ESP + 0x20]
MOV EBX,dword ptr [EDI + 0x44]
MOV EDI,dword ptr [ESP + 0x14]
ADD EBX,EDX
FLD qword ptr [EDI + EBX*0x8]
FNSTCW word ptr [ESP + 0x86]
MOVZX EBX,word ptr [ESP + 0x86]
OR BH,0xc
MOV word ptr [ESP + 0x84],BX
FLDCW word ptr [ESP + 0x84]
FIST dword ptr [ESP + 0x80]
FLDCW word ptr [ESP + 0x86]
MOV EBX,dword ptr [ESP + 0x80]
CMP dword ptr [ESP + 0x4],EBX
FSTP qword ptr [ESI + EAX*0x8]
SETZ BL
ADD EDX,dword ptr [ESP + 0x8]
MOVZX EBX,BL
ADD ECX,EBX
CMP EAX,0x1
JZ 0x001bfb80
MOV EAX,0x1
TEST EBP,EBP
JNZ 0x001bfb0e
FLDZ
XOR EBX,EBX
JMP 0x001bfb54
MOV EBX,ESI
MOV EDI,dword ptr [ESP + 0x10]
ADD EBX,0x10
ADD EDI,dword ptr [ESP + 0x24]
CMP EBX,dword ptr [ESP + 0x28]
JNZ 0x001bfb00
CMP ECX,0x1
JZ 0x001bfcc0
CMP ECX,0x2
JZ 0x001bfcd0
XOR EAX,EAX
CMP ECX,0x3
SETZ AL
ADD dword ptr [ESP + 0x44],EAX
MOV ESI,dword ptr [ESP + 0x30]
ADD dword ptr [ESP + 0x18],0x1
ADD dword ptr [ESP + 0x14],ESI
MOV EAX,dword ptr [ESP + 0x18]
CMP EAX,dword ptr [ESP + 0x34]
JNZ 0x001bfaf8
ADD dword ptr [ESP + 0x2c],0x1
MOV EAX,dword ptr [ESP + 0x2c]
CMP dword ptr [ESP + 0x40],EAX
JGE 0x001bfa53
NOP
LEA ESI,[ESI]
SUB ESP,0xc
PUSH dword ptr [ESP + 0x5c]
MOV ESI,dword ptr [ESP + 0x2c]
MOV EBX,ESI
CALL 0x00032f30
MOV EDX,dword ptr [ESP + 0x58]
MOV dword ptr [ESP + 0x1c],0x0
MOV EAX,dword ptr [ESP + 0x4c]
MOV dword ptr [ESP + 0x18],EDX
MOV EDX,dword ptr [ESP + 0x64]
FILD qword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x1c],0x0
FLD qword ptr [ESI + 0xffecf028]
FMUL ST1
MOV EAX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP + 0x18],EDX
MOV EDX,dword ptr [ESP + 0x54]
FILD qword ptr [ESP + 0x18]
MOV dword ptr [ESP + 0x1c],0x0
FADDP ST2,ST0
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0x18],EDX
FILD qword ptr [ESP + 0x18]
FMULP
MOV EDX,dword ptr [ESP + 0x80]
MOV dword ptr [ESP + 0x1c],0x0
MOV dword ptr [ESP + 0x18],EDX
FADDP
FILD qword ptr [ESP + 0x18]
FMUL qword ptr [ESI + 0xffedaad0]
FADDP
FSUB dword ptr [ESI + 0xffec6124]
FNSTCW word ptr [ESP + 0xac]
MOVZX EDX,word ptr [ESP + 0xac]
AND EDX,0xf3ff
OR EDX,0x800
MOV word ptr [ESP + 0xae],DX
FLDCW word ptr [ESP + 0xae]
FRNDINT
FLDCW word ptr [ESP + 0xac]
MOV ESI,dword ptr [ESP + 0x5c]
ADD ESP,0x10
FSTP qword ptr [ESI + EAX*0x8 + 0x88]
JMP 0x001bf9a8
ADD dword ptr [ESP + 0x48],0x1
JMP 0x001bfbb5
FNSTCW word ptr [ESP + 0x86]
FLD qword ptr [ESP + 0xa8]
MOVZX EAX,word ptr [ESP + 0x86]
OR AH,0xc
MOV word ptr [ESP + 0x84],AX
FLDCW word ptr [ESP + 0x84]
FISTP dword ptr [ESP + 0x80]
FLDCW word ptr [ESP + 0x86]
MOV EAX,dword ptr [ESP + 0x80]
CMP dword ptr [ESP + 0x4],EAX
JZ 0x001bfd50
FLD qword ptr [ESP + 0xb0]
FLDCW word ptr [ESP + 0x84]
FISTP dword ptr [ESP + 0x80]
FLDCW word ptr [ESP + 0x86]
MOV EAX,dword ptr [ESP + 0x80]
CMP dword ptr [ESP + 0x4],EAX
JZ 0x001bfd88
ADD dword ptr [ESP + 0x54],0x1
JMP 0x001bfbb5
FLD qword ptr [ESP + 0xc0]
FLDCW word ptr [ESP + 0x84]
FISTP dword ptr [ESP + 0x80]
FLDCW word ptr [ESP + 0x86]
MOV EAX,dword ptr [ESP + 0x80]
CMP dword ptr [ESP + 0x4],EAX
JNZ 0x001bfd13
ADD dword ptr [ESP + 0x70],0x1
JMP 0x001bfbb5
FLD qword ptr [ESP + 0xb8]
FLDCW word ptr [ESP + 0x84]
FISTP dword ptr [ESP + 0x80]
FLDCW word ptr [ESP + 0x86]
MOV EAX,dword ptr [ESP + 0x80]
CMP dword ptr [ESP + 0x4],EAX
JNZ 0x001bfd3c
ADD dword ptr [ESP + 0x70],0x1
JMP 0x001bfbb5
SUB ESP,0x8
PUSH dword ptr [ESP + 0x84]
PUSH dword ptr [ESP + 0x84]
MOV EBX,dword ptr [ESP + 0x2c]
CALL 0x00031760
ADD ESP,0x10
TEST AL,AL
JNZ 0x001bf97f
MOV EBX,dword ptr [ESP + 0x1c]
CALL 0x00033790
MOV EAX,dword ptr [ESP + 0xcc]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x001bfe14
ADD ESP,0xdc
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x3c]
MOV dword ptr [EAX + 0x10],0x0
JMP 0x001bfbe8
CALL 0x0029eab0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n\nvoid FUN_001bf900(undefined4 *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  char cVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  double *pdVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  int local_e8;\n  int local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  int local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = param_1[2];\n  iVar3 = param_1[1];\n  uVar4 = *param_1;\n  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar12 = local_48;\n  do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );\n}\n\n" comment comment (function_definition "void FUN_001bf900(undefined4 *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  char cVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  double *pdVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  int local_e8;\n  int local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  int local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = param_1[2];\n  iVar3 = param_1[1];\n  uVar4 = *param_1;\n  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar12 = local_48;\n  do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );\n}" primitive_type (function_declarator "FUN_001bf900(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  char cVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  double *pdVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  int local_e8;\n  int local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  int local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = param_1[2];\n  iVar3 = param_1[1];\n  uVar4 = *param_1;\n  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar12 = local_48;\n  do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char cVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "double *pdVar18;" primitive_type (pointer_declarator "*pdVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_e8;" primitive_type identifier ;) (declaration "int local_d8;" primitive_type identifier ;) (declaration "int local_d4;" primitive_type identifier ;) (declaration "int local_c0;" primitive_type identifier ;) (declaration "uint local_a8;" type_identifier identifier ;) (declaration "uint local_a4;" type_identifier identifier ;) (declaration "int local_a0;" primitive_type identifier ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "uint local_7c;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "double local_44 [4];" primitive_type (array_declarator "local_44 [4]" identifier [ number_literal ]) ;) (declaration "undefined8 local_24;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bf909;" (assignment_expression "uStack_14 = 0x1bf909" identifier = number_literal) ;) (expression_statement "local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14)" (field_expression "local_24._4_4_" identifier . field_identifier) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);" (assignment_expression "cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" identifier (argument_list "(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" ( number_literal , (pointer_expression "*(undefined4 *)(iVar2 + 0x24)" * (cast_expression "(undefined4 *)(iVar2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&local_4c" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "local_e8 = local_4c;" (assignment_expression "local_e8 = local_4c" identifier = identifier) ;) (expression_statement "iVar12 = local_48;" (assignment_expression "iVar12 = local_48" identifier = identifier) ;) (do_statement "do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );" do (compound_statement "{\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  }" { (if_statement "if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }" if (parenthesized_expression "(cVar13 == '\0')" ( (binary_expression "cVar13 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      FUN_0029eab0();\n    }" { (expression_statement "GOMP_loop_end_nowait();" (call_expression "GOMP_loop_end_nowait()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }" if (parenthesized_expression "(local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)" (field_expression "local_24._4_4_" identifier . field_identifier) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) comment (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_a0 = local_e8 * 0x108 + iVar3;" (assignment_expression "local_a0 = local_e8 * 0x108 + iVar3" identifier = (binary_expression "local_e8 * 0x108 + iVar3" (binary_expression "local_e8 * 0x108" identifier * number_literal) + identifier)) ;) (expression_statement "local_4c = local_e8;" (assignment_expression "local_4c = local_e8" identifier = identifier) ;) (expression_statement "local_48 = iVar12;" (assignment_expression "local_48 = iVar12" identifier = identifier) ;) (do_statement "do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);" do (compound_statement "{\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    }" { (if_statement "if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }" { (expression_statement "uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);" (assignment_expression "uVar14 = AcquireAuthenticCacheView(iVar2,uVar4)" identifier = (call_expression "AcquireAuthenticCacheView(iVar2,uVar4)" identifier (argument_list "(iVar2,uVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = *(int *)(local_a0 + 4);" (assignment_expression "iVar5 = *(int *)(local_a0 + 4)" identifier = (pointer_expression "*(int *)(local_a0 + 4)" * (cast_expression "(int *)(local_a0 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 4)" ( (binary_expression "local_a0 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(local_a0 + 0xc);" (assignment_expression "iVar6 = *(int *)(local_a0 + 0xc)" identifier = (pointer_expression "*(int *)(local_a0 + 0xc)" * (cast_expression "(int *)(local_a0 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 0xc)" ( (binary_expression "local_a0 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(local_a0 + 0x10);" (assignment_expression "iVar7 = *(int *)(local_a0 + 0x10)" identifier = (pointer_expression "*(int *)(local_a0 + 0x10)" * (cast_expression "(int *)(local_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 0x10)" ( (binary_expression "local_a0 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(local_a0 + 8);" (assignment_expression "iVar8 = *(int *)(local_a0 + 8)" identifier = (pointer_expression "*(int *)(local_a0 + 8)" * (cast_expression "(int *)(local_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 8)" ( (binary_expression "local_a0 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (expression_statement "local_a4 = 0;" (assignment_expression "local_a4 = 0" identifier = number_literal) ;) (expression_statement "local_7c = 1;" (assignment_expression "local_7c = 1" identifier = number_literal) ;) (if_statement "if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }" if (parenthesized_expression "(-2 < iVar8)" ( (binary_expression "-2 < iVar8" number_literal < identifier) )) (compound_statement "{\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }" { (expression_statement "local_c0 = -1;" (assignment_expression "local_c0 = -1" identifier = number_literal) ;) (do_statement "do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);" do (compound_statement "{\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          }" { (if_statement "if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }" { (expression_statement "local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);" (assignment_expression "local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" identifier = (call_expression "GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" identifier (argument_list "(uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" ( identifier , (binary_expression "iVar6 + -1" identifier + number_literal) , (binary_expression "local_c0 + iVar7" identifier + identifier) , (binary_expression "iVar5 + 2" identifier + number_literal) , number_literal , identifier )))) ;) (if_statement "if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }" if (parenthesized_expression "(local_d8 == 0)" ( (binary_expression "local_d8 == 0" identifier == number_literal) )) (compound_statement "{\n                param_1[4] = 0;\n                break;\n              }" { (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (break_statement "break;" break ;) })) (if_statement "if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }" if (parenthesized_expression "(-2 < iVar5)" ( (binary_expression "-2 < iVar5" number_literal < identifier) )) (compound_statement "{\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }" { (expression_statement "local_d4 = -1;" (assignment_expression "local_d4 = -1" identifier = number_literal) ;) (expression_statement "iVar9 = *(int *)(iVar2 + 0x2a8);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x298)" identifier = (pointer_expression "*(int *)(iVar2 + 0x298)" * (cast_expression "(int *)(iVar2 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x298)" ( (binary_expression "iVar2 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar9 + 0x40);" (assignment_expression "iVar11 = *(int *)(iVar9 + 0x40)" identifier = (pointer_expression "*(int *)(iVar9 + 0x40)" * (cast_expression "(int *)(iVar9 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x40)" ( (binary_expression "iVar9 + 0x40" identifier + number_literal) ))))) ;) (labeled_statement "LAB_001bfaf8:\n                iVar20 = 0;" statement_identifier : (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;)) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "pdVar18 = local_44;" (assignment_expression "pdVar18 = local_44" identifier = identifier) ;) (labeled_statement "LAB_001bfb00:\n                iVar15 = 0;" statement_identifier : (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;)) (expression_statement "iVar17 = iVar20;" (assignment_expression "iVar17 = iVar20" identifier = identifier) ;) (if_statement "if (iVar11 == 0) goto LAB_001bfb75;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001bfb75;" goto statement_identifier ;)) (do_statement "do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );" do (compound_statement "{\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                }" { (expression_statement "dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);" (assignment_expression "dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" identifier = (pointer_expression "*(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" * (cast_expression "(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" ( (binary_expression "local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8" identifier + (binary_expression "(*(int *)(iVar9 + 0x44) + iVar17) * 8" (parenthesized_expression "(*(int *)(iVar9 + 0x44) + iVar17)" ( (binary_expression "*(int *)(iVar9 + 0x44) + iVar17" (pointer_expression "*(int *)(iVar9 + 0x44)" * (cast_expression "(int *)(iVar9 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) )))) + identifier) )) * number_literal)) ))))) ;) (expression_statement "iVar19 = (int)ROUND(dVar1);" (assignment_expression "iVar19 = (int)ROUND(dVar1)" identifier = (cast_expression "(int)ROUND(dVar1)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier ))))) ;) (while_statement "while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }" { (expression_statement "pdVar18[iVar15] = dVar1;" (assignment_expression "pdVar18[iVar15] = dVar1" (subscript_expression "pdVar18[iVar15]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" identifier = (binary_expression "iVar17 + iVar10" identifier + identifier)) ;) (expression_statement "iVar16 = iVar16 + (uint)(local_e8 == iVar19);" (assignment_expression "iVar16 = iVar16 + (uint)(local_e8 == iVar19)" identifier = (binary_expression "iVar16 + (uint)(local_e8 == iVar19)" identifier + (call_expression "(uint)(local_e8 == iVar19)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_e8 == iVar19)" ( (binary_expression "local_e8 == iVar19" identifier == identifier) ))))) ;) (if_statement "if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }" if (parenthesized_expression "(iVar15 == 1)" ( (binary_expression "iVar15 == 1" identifier == number_literal) )) (compound_statement "{\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }" { (expression_statement "pdVar18 = pdVar18 + 2;" (assignment_expression "pdVar18 = pdVar18 + 2" identifier = (binary_expression "pdVar18 + 2" identifier + number_literal)) ;) (expression_statement "iVar20 = iVar20 + (iVar5 + 2) * iVar10;" (assignment_expression "iVar20 = iVar20 + (iVar5 + 2) * iVar10" identifier = (binary_expression "iVar20 + (iVar5 + 2) * iVar10" identifier + (binary_expression "(iVar5 + 2) * iVar10" (parenthesized_expression "(iVar5 + 2)" ( (binary_expression "iVar5 + 2" identifier + number_literal) )) * identifier))) ;) (if_statement "if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;" if (parenthesized_expression "(pdVar18 != (double *)&local_24)" ( (binary_expression "pdVar18 != (double *)&local_24" identifier != (cast_expression "(double *)&local_24" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier))) )) (goto_statement "goto LAB_001bfb00;" goto statement_identifier ;)) (if_statement "if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" if (parenthesized_expression "(iVar16 == 1)" ( (binary_expression "iVar16 == 1" identifier == number_literal) )) (compound_statement "{\n                        local_a4 = local_a4 + 1;\n                      }" { (expression_statement "local_a4 = local_a4 + 1;" (assignment_expression "local_a4 = local_a4 + 1" identifier = (binary_expression "local_a4 + 1" identifier + number_literal)) ;) }) (else_clause "else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" else (if_statement "if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" if (parenthesized_expression "(iVar16 == 2)" ( (binary_expression "iVar16 == 2" identifier == number_literal) )) (compound_statement "{\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }" { (if_statement "if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" if (parenthesized_expression "((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3])))" ( (binary_expression "(local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))" (parenthesized_expression "(local_e8 == (int)ROUND(local_44[0]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[0])" identifier == (cast_expression "(int)ROUND(local_44[0])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[0])" identifier (argument_list "(local_44[0])" ( (subscript_expression "local_44[0]" identifier [ number_literal ]) ))))) )) && (parenthesized_expression "(local_e8 == (int)ROUND(local_44[3]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[3])" identifier == (cast_expression "(int)ROUND(local_44[3])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[3])" identifier (argument_list "(local_44[3])" ( (subscript_expression "local_44[3]" identifier [ number_literal ]) ))))) ))) )) (compound_statement "{\n                          local_7c = local_7c + 1;\n                        }" { (expression_statement "local_7c = local_7c + 1;" (assignment_expression "local_7c = local_7c + 1" identifier = (binary_expression "local_7c + 1" identifier + number_literal)) ;) }) (else_clause "else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" else (if_statement "if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" if (parenthesized_expression "((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2])))" ( (binary_expression "(local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))" (parenthesized_expression "(local_e8 == (int)ROUND(local_44[1]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[1])" identifier == (cast_expression "(int)ROUND(local_44[1])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[1])" identifier (argument_list "(local_44[1])" ( (subscript_expression "local_44[1]" identifier [ number_literal ]) ))))) )) && (parenthesized_expression "(local_e8 == (int)ROUND(local_44[2]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[2])" identifier == (cast_expression "(int)ROUND(local_44[2])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[2])" identifier (argument_list "(local_44[2])" ( (subscript_expression "local_44[2]" identifier [ number_literal ]) ))))) ))) )) (compound_statement "{\n                          local_7c = local_7c + 1;\n                        }" { (expression_statement "local_7c = local_7c + 1;" (assignment_expression "local_7c = local_7c + 1" identifier = (binary_expression "local_7c + 1" identifier + number_literal)) ;) }) (else_clause "else {\n                          local_98 = local_98 + 1;\n                        }" else (compound_statement "{\n                          local_98 = local_98 + 1;\n                        }" { (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) }))))) }) (else_clause "else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" else (compound_statement "{\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" { (expression_statement "local_a8 = local_a8 + (iVar16 == 3);" (assignment_expression "local_a8 = local_a8 + (iVar16 == 3)" identifier = (binary_expression "local_a8 + (iVar16 == 3)" identifier + (parenthesized_expression "(iVar16 == 3)" ( (binary_expression "iVar16 == 3" identifier == number_literal) )))) ;) }))))) (expression_statement "local_d4 = local_d4 + 1;" (assignment_expression "local_d4 = local_d4 + 1" identifier = (binary_expression "local_d4 + 1" identifier + number_literal)) ;) (expression_statement "local_d8 = local_d8 + iVar10 * 8;" (assignment_expression "local_d8 = local_d8 + iVar10 * 8" identifier = (binary_expression "local_d8 + iVar10 * 8" identifier + (binary_expression "iVar10 * 8" identifier * number_literal))) ;) (if_statement "if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;" if (parenthesized_expression "(local_d4 == iVar5 + 1)" ( (binary_expression "local_d4 == iVar5 + 1" identifier == (binary_expression "iVar5 + 1" identifier + number_literal)) )) (goto_statement "goto joined_r0x001bfbdd;" goto statement_identifier ;)) (goto_statement "goto LAB_001bfaf8;" goto statement_identifier ;) })) (expression_statement "iVar15 = 1;" (assignment_expression "iVar15 = 1" identifier = number_literal) ;) (if_statement "if (iVar11 != 0) break;" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_001bfb75:\n                    dVar1 = 0.0;" statement_identifier : (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" identifier = number_literal) ;)) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (labeled_statement "joined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;" statement_identifier : (expression_statement "local_c0 = local_c0 + 1;" (assignment_expression "local_c0 = local_c0 + 1" identifier = (binary_expression "local_c0 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(local_c0 <= iVar8)" ( (binary_expression "local_c0 <= iVar8" identifier <= identifier) )) ;) })) (expression_statement "DestroyCacheView(uVar14);" (call_expression "DestroyCacheView(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);" (assignment_expression "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" (pointer_expression "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8)" * (cast_expression "(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 0x88 + *(int *)param_1[3] * 8)" ( (binary_expression "local_a0 + 0x88 + *(int *)param_1[3] * 8" (binary_expression "local_a0 + 0x88" identifier + number_literal) + (binary_expression "*(int *)param_1[3] * 8" (pointer_expression "*(int *)param_1[3]" * (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) * number_literal)) )))) = (call_expression "ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" identifier (argument_list "(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" ( (binary_expression "((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124" (parenthesized_expression "((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028)" ( (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028" (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98" (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028" (binary_expression "(double)local_7c * _DAT_002b3ad0" (cast_expression "(double)local_7c" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) + (binary_expression "(double)local_a8 * DAT_002a8028" (cast_expression "(double)local_a8" ( (type_descriptor "double" primitive_type) ) identifier) * identifier)) + (cast_expression "(double)local_98" ( (type_descriptor "double" primitive_type) ) identifier)) + (binary_expression "(double)local_a4 * DAT_002a8028" (cast_expression "(double)local_a4" ( (type_descriptor "double" primitive_type) ) identifier) * identifier)) )) - (cast_expression "(double)DAT_0029f124" ( (type_descriptor "double" primitive_type) ) identifier)) )))) ;) })) (expression_statement "local_e8 = local_e8 + 1;" (assignment_expression "local_e8 = local_e8 + 1" identifier = (binary_expression "local_e8 + 1" identifier + number_literal)) ;) (expression_statement "local_a0 = local_a0 + 0x108;" (assignment_expression "local_a0 = local_a0 + 0x108" identifier = (binary_expression "local_a0 + 0x108" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_e8 < iVar12)" ( (binary_expression "local_e8 < iVar12" identifier < identifier) )) ;) (expression_statement "cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);" (assignment_expression "cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_next(&local_4c,&local_48)" identifier (argument_list "(&local_4c,&local_48)" ( (pointer_expression "&local_4c" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "local_e8 = local_4c;" (assignment_expression "local_e8 = local_4c" identifier = identifier) ;) (expression_statement "iVar12 = local_48;" (assignment_expression "iVar12 = local_48" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* DWARF original prototype: void ConnectedComponentsImage._omp_fn.0(anon_struct_20_5_f6ce3727 *\n   param_0) */\n\nvoid __thiscall ConnectedComponentsImage__omp_fn_0(anon_struct_20_5_f6ce3727 *this)\n\n{\n  double dVar1;\n  Image *image;\n  CCObjectInfo *pCVar2;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  int iVar4;\n  int iVar5;\n  size_t sVar6;\n  PixelChannelMap *pPVar7;\n  size_t sVar8;\n  PixelTrait PVar9;\n  int iVar10;\n  char cVar11;\n  CacheView *cache_view;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  double *pdVar15;\n  int iVar16;\n  int iVar17;\n  int in_GS_OFFSET;\n  int local_e8;\n  Quantum *local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  CCObjectInfo *local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  image = this->component_image;\n  pCVar2 = this->object;\n  exception = this->exception;\n  cVar11 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar10 = local_48;\n  do {\n    if (cVar11 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    local_a0 = pCVar2 + local_e8;\n    local_4c = local_e8;\n    local_48 = iVar10;\n    do {\n      if (this->status != MagickFalse) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 1;\n    } while (local_e8 < iVar10);\n    cVar11 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar10 = local_48;\n  } while( true );\n}\n\n" comment comment comment comment comment comment comment comment (function_definition "void __thiscall ConnectedComponentsImage__omp_fn_0(anon_struct_20_5_f6ce3727 *this)\n\n{\n  double dVar1;\n  Image *image;\n  CCObjectInfo *pCVar2;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  int iVar4;\n  int iVar5;\n  size_t sVar6;\n  PixelChannelMap *pPVar7;\n  size_t sVar8;\n  PixelTrait PVar9;\n  int iVar10;\n  char cVar11;\n  CacheView *cache_view;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  double *pdVar15;\n  int iVar16;\n  int iVar17;\n  int in_GS_OFFSET;\n  int local_e8;\n  Quantum *local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  CCObjectInfo *local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  image = this->component_image;\n  pCVar2 = this->object;\n  exception = this->exception;\n  cVar11 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar10 = local_48;\n  do {\n    if (cVar11 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    local_a0 = pCVar2 + local_e8;\n    local_4c = local_e8;\n    local_48 = iVar10;\n    do {\n      if (this->status != MagickFalse) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 1;\n    } while (local_e8 < iVar10);\n    cVar11 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar10 = local_48;\n  } while( true );\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "ConnectedComponentsImage__omp_fn_0(anon_struct_20_5_f6ce3727 *this)" identifier (parameter_list "(anon_struct_20_5_f6ce3727 *this)" ( (parameter_declaration "anon_struct_20_5_f6ce3727 *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  Image *image;\n  CCObjectInfo *pCVar2;\n  ExceptionInfo *exception;\n  size_t sVar3;\n  int iVar4;\n  int iVar5;\n  size_t sVar6;\n  PixelChannelMap *pPVar7;\n  size_t sVar8;\n  PixelTrait PVar9;\n  int iVar10;\n  char cVar11;\n  CacheView *cache_view;\n  int iVar12;\n  int iVar13;\n  int iVar14;\n  double *pdVar15;\n  int iVar16;\n  int iVar17;\n  int in_GS_OFFSET;\n  int local_e8;\n  Quantum *local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  CCObjectInfo *local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  image = this->component_image;\n  pCVar2 = this->object;\n  exception = this->exception;\n  cVar11 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar10 = local_48;\n  do {\n    if (cVar11 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    local_a0 = pCVar2 + local_e8;\n    local_4c = local_e8;\n    local_48 = iVar10;\n    do {\n      if (this->status != MagickFalse) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 1;\n    } while (local_e8 < iVar10);\n    cVar11 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar10 = local_48;\n  } while( true );\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "CCObjectInfo *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "size_t sVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "size_t sVar6;" primitive_type identifier ;) (declaration "PixelChannelMap *pPVar7;" type_identifier (pointer_declarator "*pPVar7" * identifier) ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "PixelTrait PVar9;" type_identifier identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "char cVar11;" primitive_type identifier ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "double *pdVar15;" primitive_type (pointer_declarator "*pdVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_e8;" primitive_type identifier ;) (declaration "Quantum *local_d8;" type_identifier (pointer_declarator "*local_d8" * identifier) ;) (declaration "int local_d4;" primitive_type identifier ;) (declaration "int local_c0;" primitive_type identifier ;) (declaration "uint local_a8;" type_identifier identifier ;) (declaration "uint local_a4;" type_identifier identifier ;) (declaration "CCObjectInfo *local_a0;" type_identifier (pointer_declarator "*local_a0" * identifier) ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "uint local_7c;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "double local_44 [4];" primitive_type (array_declarator "local_44 [4]" identifier [ number_literal ]) ;) (declaration "undefined8 local_24;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bf909;" (assignment_expression "uStack_14 = 0x1bf909" identifier = number_literal) ;) (expression_statement "local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14)" (field_expression "local_24._4_4_" identifier . field_identifier) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "image = this->component_image;" (assignment_expression "image = this->component_image" identifier = (field_expression "this->component_image" identifier -> field_identifier)) ;) (expression_statement "pCVar2 = this->object;" (assignment_expression "pCVar2 = this->object" identifier = (field_expression "this->object" identifier -> field_identifier)) ;) (expression_statement "exception = this->exception;" (assignment_expression "exception = this->exception" identifier = (field_expression "this->exception" identifier -> field_identifier)) ;) (expression_statement "cVar11 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_4c,&local_48);" (assignment_expression "cVar11 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_4c,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_start(0,image->colors,1,1,&local_4c,&local_48)" identifier (argument_list "(0,image->colors,1,1,&local_4c,&local_48)" ( number_literal , (field_expression "image->colors" identifier -> field_identifier) , number_literal , number_literal , (pointer_expression "&local_4c" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "local_e8 = local_4c;" (assignment_expression "local_e8 = local_4c" identifier = identifier) ;) (expression_statement "iVar10 = local_48;" (assignment_expression "iVar10 = local_48" identifier = identifier) ;) (do_statement "do {\n    if (cVar11 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    local_a0 = pCVar2 + local_e8;\n    local_4c = local_e8;\n    local_48 = iVar10;\n    do {\n      if (this->status != MagickFalse) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 1;\n    } while (local_e8 < iVar10);\n    cVar11 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar10 = local_48;\n  } while( true );" do (compound_statement "{\n    if (cVar11 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }\n    local_a0 = pCVar2 + local_e8;\n    local_4c = local_e8;\n    local_48 = iVar10;\n    do {\n      if (this->status != MagickFalse) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 1;\n    } while (local_e8 < iVar10);\n    cVar11 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar10 = local_48;\n  }" { (if_statement "if (cVar11 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" if (parenthesized_expression "(cVar11 == '\0')" ( (binary_expression "cVar11 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail_local();\n    }" { (expression_statement "GOMP_loop_end_nowait();" (call_expression "GOMP_loop_end_nowait()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }" if (parenthesized_expression "(local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)" (field_expression "local_24._4_4_" identifier . field_identifier) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_a0 = pCVar2 + local_e8;" (assignment_expression "local_a0 = pCVar2 + local_e8" identifier = (binary_expression "pCVar2 + local_e8" identifier + identifier)) ;) (expression_statement "local_4c = local_e8;" (assignment_expression "local_4c = local_e8" identifier = identifier) ;) (expression_statement "local_48 = iVar10;" (assignment_expression "local_48 = iVar10" identifier = identifier) ;) (do_statement "do {\n      if (this->status != MagickFalse) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 1;\n    } while (local_e8 < iVar10);" do (compound_statement "{\n      if (this->status != MagickFalse) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 1;\n    }" { (if_statement "if (this->status != MagickFalse) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }" if (parenthesized_expression "(this->status != MagickFalse)" ( (binary_expression "this->status != MagickFalse" (field_expression "this->status" identifier -> field_identifier) != identifier) )) (compound_statement "{\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        sVar3 = (local_a0->bounding_box).width;\n        iVar4 = (local_a0->bounding_box).x;\n        iVar5 = (local_a0->bounding_box).y;\n        sVar6 = (local_a0->bounding_box).height;\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }\n        DestroyCacheView(cache_view);\n        local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }" { (expression_statement "cache_view = AcquireAuthenticCacheView(image,exception);" (assignment_expression "cache_view = AcquireAuthenticCacheView(image,exception)" identifier = (call_expression "AcquireAuthenticCacheView(image,exception)" identifier (argument_list "(image,exception)" ( identifier , identifier )))) ;) (expression_statement "sVar3 = (local_a0->bounding_box).width;" (assignment_expression "sVar3 = (local_a0->bounding_box).width" identifier = (field_expression "(local_a0->bounding_box).width" (parenthesized_expression "(local_a0->bounding_box)" ( (field_expression "local_a0->bounding_box" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar4 = (local_a0->bounding_box).x;" (assignment_expression "iVar4 = (local_a0->bounding_box).x" identifier = (field_expression "(local_a0->bounding_box).x" (parenthesized_expression "(local_a0->bounding_box)" ( (field_expression "local_a0->bounding_box" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "iVar5 = (local_a0->bounding_box).y;" (assignment_expression "iVar5 = (local_a0->bounding_box).y" identifier = (field_expression "(local_a0->bounding_box).y" (parenthesized_expression "(local_a0->bounding_box)" ( (field_expression "local_a0->bounding_box" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "sVar6 = (local_a0->bounding_box).height;" (assignment_expression "sVar6 = (local_a0->bounding_box).height" identifier = (field_expression "(local_a0->bounding_box).height" (parenthesized_expression "(local_a0->bounding_box)" ( (field_expression "local_a0->bounding_box" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (expression_statement "local_a4 = 0;" (assignment_expression "local_a4 = 0" identifier = number_literal) ;) (expression_statement "local_7c = 1;" (assignment_expression "local_7c = 1" identifier = number_literal) ;) (if_statement "if (-2 < (int)sVar6) {\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }" if (parenthesized_expression "(-2 < (int)sVar6)" ( (binary_expression "-2 < (int)sVar6" number_literal < (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n          local_c0 = -1;\n          do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);\n        }" { (expression_statement "local_c0 = -1;" (assignment_expression "local_c0 = -1" identifier = number_literal) ;) (do_statement "do {\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= (int)sVar6);" do (compound_statement "{\n            if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          }" { (if_statement "if (this->status != MagickFalse) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }" if (parenthesized_expression "(this->status != MagickFalse)" ( (binary_expression "this->status != MagickFalse" (field_expression "this->status" identifier -> field_identifier) != identifier) )) (compound_statement "{\n              local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);\n              if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }\n              if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }\n            }" { (expression_statement "local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception);" (assignment_expression "local_d8 = GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception)" identifier = (call_expression "GetCacheViewVirtualPixels\n                                   (cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception)" identifier (argument_list "(cache_view,iVar4 + -1,local_c0 + iVar5,sVar3 + 2,2,exception)" ( identifier , (binary_expression "iVar4 + -1" identifier + number_literal) , (binary_expression "local_c0 + iVar5" identifier + identifier) , (binary_expression "sVar3 + 2" identifier + number_literal) , number_literal , identifier )))) ;) (if_statement "if (local_d8 == (Quantum *)0x0) {\n                this->status = MagickFalse;\n                break;\n              }" if (parenthesized_expression "(local_d8 == (Quantum *)0x0)" ( (binary_expression "local_d8 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                this->status = MagickFalse;\n                break;\n              }" { (expression_statement "this->status = MagickFalse;" (assignment_expression "this->status = MagickFalse" (field_expression "this->status" identifier -> field_identifier) = identifier) ;) (break_statement "break;" break ;) })) (if_statement "if (-2 < (int)sVar3) {\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }" if (parenthesized_expression "(-2 < (int)sVar3)" ( (binary_expression "-2 < (int)sVar3" number_literal < (cast_expression "(int)sVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                local_d4 = -1;\n                pPVar7 = image->channel_map;\n                sVar8 = image->number_channels;\n                PVar9 = pPVar7[5].traits;\nLAB_001bfaf8:\n                iVar17 = 0;\n                iVar13 = 0;\n                pdVar15 = local_44;\nLAB_001bfb00:\n                iVar12 = 0;\n                iVar14 = iVar17;\n                if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;\n                do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );\n              }" { (expression_statement "local_d4 = -1;" (assignment_expression "local_d4 = -1" identifier = number_literal) ;) (expression_statement "pPVar7 = image->channel_map;" (assignment_expression "pPVar7 = image->channel_map" identifier = (field_expression "image->channel_map" identifier -> field_identifier)) ;) (expression_statement "sVar8 = image->number_channels;" (assignment_expression "sVar8 = image->number_channels" identifier = (field_expression "image->number_channels" identifier -> field_identifier)) ;) (expression_statement "PVar9 = pPVar7[5].traits;" (assignment_expression "PVar9 = pPVar7[5].traits" identifier = (field_expression "pPVar7[5].traits" (subscript_expression "pPVar7[5]" identifier [ number_literal ]) . field_identifier)) ;) (labeled_statement "LAB_001bfaf8:\n                iVar17 = 0;" statement_identifier : (expression_statement "iVar17 = 0;" (assignment_expression "iVar17 = 0" identifier = number_literal) ;)) (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "pdVar15 = local_44;" (assignment_expression "pdVar15 = local_44" identifier = identifier) ;) (labeled_statement "LAB_001bfb00:\n                iVar12 = 0;" statement_identifier : (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;)) (expression_statement "iVar14 = iVar17;" (assignment_expression "iVar14 = iVar17" identifier = identifier) ;) (if_statement "if (PVar9 == UndefinedPixelTrait) goto LAB_001bfb75;" if (parenthesized_expression "(PVar9 == UndefinedPixelTrait)" ( (binary_expression "PVar9 == UndefinedPixelTrait" identifier == identifier) )) (goto_statement "goto LAB_001bfb75;" goto statement_identifier ;)) (do_statement "do {\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                } while( true );" do (compound_statement "{\n                  dVar1 = local_d8[pPVar7[5].offset + iVar14];\n                  iVar16 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }\n                }" { (expression_statement "dVar1 = local_d8[pPVar7[5].offset + iVar14];" (assignment_expression "dVar1 = local_d8[pPVar7[5].offset + iVar14]" identifier = (subscript_expression "local_d8[pPVar7[5].offset + iVar14]" identifier [ (binary_expression "pPVar7[5].offset + iVar14" (field_expression "pPVar7[5].offset" (subscript_expression "pPVar7[5]" identifier [ number_literal ]) . field_identifier) + identifier) ])) ;) (expression_statement "iVar16 = (int)ROUND(dVar1);" (assignment_expression "iVar16 = (int)ROUND(dVar1)" identifier = (cast_expression "(int)ROUND(dVar1)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier ))))) ;) (while_statement "while( true ) {\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                    pdVar15[iVar12] = dVar1;\n                    iVar14 = iVar14 + sVar8;\n                    iVar13 = iVar13 + (uint)(local_e8 == iVar16);\n                    if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar12 = 1;\n                    if (PVar9 != UndefinedPixelTrait) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar16 = 0;\n                  }" { (expression_statement "pdVar15[iVar12] = dVar1;" (assignment_expression "pdVar15[iVar12] = dVar1" (subscript_expression "pdVar15[iVar12]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar14 = iVar14 + sVar8;" (assignment_expression "iVar14 = iVar14 + sVar8" identifier = (binary_expression "iVar14 + sVar8" identifier + identifier)) ;) (expression_statement "iVar13 = iVar13 + (uint)(local_e8 == iVar16);" (assignment_expression "iVar13 = iVar13 + (uint)(local_e8 == iVar16)" identifier = (binary_expression "iVar13 + (uint)(local_e8 == iVar16)" identifier + (call_expression "(uint)(local_e8 == iVar16)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_e8 == iVar16)" ( (binary_expression "local_e8 == iVar16" identifier == identifier) ))))) ;) (if_statement "if (iVar12 == 1) {\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }" if (parenthesized_expression "(iVar12 == 1)" ( (binary_expression "iVar12 == 1" identifier == number_literal) )) (compound_statement "{\n                      pdVar15 = pdVar15 + 2;\n                      iVar17 = iVar17 + (sVar3 + 2) * sVar8;\n                      if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + sVar8;\n                      if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }" { (expression_statement "pdVar15 = pdVar15 + 2;" (assignment_expression "pdVar15 = pdVar15 + 2" identifier = (binary_expression "pdVar15 + 2" identifier + number_literal)) ;) (expression_statement "iVar17 = iVar17 + (sVar3 + 2) * sVar8;" (assignment_expression "iVar17 = iVar17 + (sVar3 + 2) * sVar8" identifier = (binary_expression "iVar17 + (sVar3 + 2) * sVar8" identifier + (binary_expression "(sVar3 + 2) * sVar8" (parenthesized_expression "(sVar3 + 2)" ( (binary_expression "sVar3 + 2" identifier + number_literal) )) * identifier))) ;) (if_statement "if (pdVar15 != (double *)&local_24) goto LAB_001bfb00;" if (parenthesized_expression "(pdVar15 != (double *)&local_24)" ( (binary_expression "pdVar15 != (double *)&local_24" identifier != (cast_expression "(double *)&local_24" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier))) )) (goto_statement "goto LAB_001bfb00;" goto statement_identifier ;)) (if_statement "if (iVar13 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }" if (parenthesized_expression "(iVar13 == 1)" ( (binary_expression "iVar13 == 1" identifier == number_literal) )) (compound_statement "{\n                        local_a4 = local_a4 + 1;\n                      }" { (expression_statement "local_a4 = local_a4 + 1;" (assignment_expression "local_a4 = local_a4 + 1" identifier = (binary_expression "local_a4 + 1" identifier + number_literal)) ;) }) (else_clause "else if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }" else (if_statement "if (iVar13 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }" if (parenthesized_expression "(iVar13 == 2)" ( (binary_expression "iVar13 == 2" identifier == number_literal) )) (compound_statement "{\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }" { (if_statement "if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" if (parenthesized_expression "((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3])))" ( (binary_expression "(local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))" (parenthesized_expression "(local_e8 == (int)ROUND(local_44[0]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[0])" identifier == (cast_expression "(int)ROUND(local_44[0])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[0])" identifier (argument_list "(local_44[0])" ( (subscript_expression "local_44[0]" identifier [ number_literal ]) ))))) )) && (parenthesized_expression "(local_e8 == (int)ROUND(local_44[3]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[3])" identifier == (cast_expression "(int)ROUND(local_44[3])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[3])" identifier (argument_list "(local_44[3])" ( (subscript_expression "local_44[3]" identifier [ number_literal ]) ))))) ))) )) (compound_statement "{\n                          local_7c = local_7c + 1;\n                        }" { (expression_statement "local_7c = local_7c + 1;" (assignment_expression "local_7c = local_7c + 1" identifier = (binary_expression "local_7c + 1" identifier + number_literal)) ;) }) (else_clause "else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" else (if_statement "if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" if (parenthesized_expression "((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2])))" ( (binary_expression "(local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))" (parenthesized_expression "(local_e8 == (int)ROUND(local_44[1]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[1])" identifier == (cast_expression "(int)ROUND(local_44[1])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[1])" identifier (argument_list "(local_44[1])" ( (subscript_expression "local_44[1]" identifier [ number_literal ]) ))))) )) && (parenthesized_expression "(local_e8 == (int)ROUND(local_44[2]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[2])" identifier == (cast_expression "(int)ROUND(local_44[2])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[2])" identifier (argument_list "(local_44[2])" ( (subscript_expression "local_44[2]" identifier [ number_literal ]) ))))) ))) )) (compound_statement "{\n                          local_7c = local_7c + 1;\n                        }" { (expression_statement "local_7c = local_7c + 1;" (assignment_expression "local_7c = local_7c + 1" identifier = (binary_expression "local_7c + 1" identifier + number_literal)) ;) }) (else_clause "else {\n                          local_98 = local_98 + 1;\n                        }" else (compound_statement "{\n                          local_98 = local_98 + 1;\n                        }" { (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) }))))) }) (else_clause "else {\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }" else (compound_statement "{\n                        local_a8 = local_a8 + (iVar13 == 3);\n                      }" { (expression_statement "local_a8 = local_a8 + (iVar13 == 3);" (assignment_expression "local_a8 = local_a8 + (iVar13 == 3)" identifier = (binary_expression "local_a8 + (iVar13 == 3)" identifier + (parenthesized_expression "(iVar13 == 3)" ( (binary_expression "iVar13 == 3" identifier == number_literal) )))) ;) }))))) (expression_statement "local_d4 = local_d4 + 1;" (assignment_expression "local_d4 = local_d4 + 1" identifier = (binary_expression "local_d4 + 1" identifier + number_literal)) ;) (expression_statement "local_d8 = local_d8 + sVar8;" (assignment_expression "local_d8 = local_d8 + sVar8" identifier = (binary_expression "local_d8 + sVar8" identifier + identifier)) ;) (if_statement "if (local_d4 == sVar3 + 1) goto joined_r0x001bfbdd;" if (parenthesized_expression "(local_d4 == sVar3 + 1)" ( (binary_expression "local_d4 == sVar3 + 1" identifier == (binary_expression "sVar3 + 1" identifier + number_literal)) )) (goto_statement "goto joined_r0x001bfbdd;" goto statement_identifier ;)) (goto_statement "goto LAB_001bfaf8;" goto statement_identifier ;) })) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (if_statement "if (PVar9 != UndefinedPixelTrait) break;" if (parenthesized_expression "(PVar9 != UndefinedPixelTrait)" ( (binary_expression "PVar9 != UndefinedPixelTrait" identifier != identifier) )) (break_statement "break;" break ;)) (labeled_statement "LAB_001bfb75:\n                    dVar1 = 0.0;" statement_identifier : (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" identifier = number_literal) ;)) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (labeled_statement "joined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;" statement_identifier : (expression_statement "local_c0 = local_c0 + 1;" (assignment_expression "local_c0 = local_c0 + 1" identifier = (binary_expression "local_c0 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(local_c0 <= (int)sVar6)" ( (binary_expression "local_c0 <= (int)sVar6" identifier <= (cast_expression "(int)sVar6" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "DestroyCacheView(cache_view);" (call_expression "DestroyCacheView(cache_view)" identifier (argument_list "(cache_view)" ( identifier ))) ;) (expression_statement "local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);" (assignment_expression "local_a0->metric[*this->n] =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" (subscript_expression "local_a0->metric[*this->n]" (field_expression "local_a0->metric" identifier -> field_identifier) [ (pointer_expression "*this->n" * (field_expression "this->n" identifier -> field_identifier)) ]) = (call_expression "ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" identifier (argument_list "(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" ( (binary_expression "((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124" (parenthesized_expression "((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028)" ( (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028" (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98" (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028" (binary_expression "(double)local_7c * _DAT_002b3ad0" (cast_expression "(double)local_7c" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) + (binary_expression "(double)local_a8 * DAT_002a8028" (cast_expression "(double)local_a8" ( (type_descriptor "double" primitive_type) ) identifier) * identifier)) + (cast_expression "(double)local_98" ( (type_descriptor "double" primitive_type) ) identifier)) + (binary_expression "(double)local_a4 * DAT_002a8028" (cast_expression "(double)local_a4" ( (type_descriptor "double" primitive_type) ) identifier) * identifier)) )) - (cast_expression "(double)DAT_0029f124" ( (type_descriptor "double" primitive_type) ) identifier)) )))) ;) })) (expression_statement "local_e8 = local_e8 + 1;" (assignment_expression "local_e8 = local_e8 + 1" identifier = (binary_expression "local_e8 + 1" identifier + number_literal)) ;) (expression_statement "local_a0 = local_a0 + 1;" (assignment_expression "local_a0 = local_a0 + 1" identifier = (binary_expression "local_a0 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_e8 < iVar10)" ( (binary_expression "local_e8 < iVar10" identifier < identifier) )) ;) (expression_statement "cVar11 = GOMP_loop_dynamic_next(&local_4c,&local_48);" (assignment_expression "cVar11 = GOMP_loop_dynamic_next(&local_4c,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_next(&local_4c,&local_48)" identifier (argument_list "(&local_4c,&local_48)" ( (pointer_expression "&local_4c" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "local_e8 = local_4c;" (assignment_expression "local_e8 = local_4c" identifier = identifier) ;) (expression_statement "iVar10 = local_48;" (assignment_expression "iVar10 = local_48" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_001bf900(undefined4 *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  char cVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  double *pdVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  int local_e8;\n  int local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  int local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = param_1[2];\n  iVar3 = param_1[1];\n  uVar4 = *param_1;\n  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar12 = local_48;\n  do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );\n}\n\n" (function_definition "void FUN_001bf900(undefined4 *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  char cVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  double *pdVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  int local_e8;\n  int local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  int local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = param_1[2];\n  iVar3 = param_1[1];\n  uVar4 = *param_1;\n  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar12 = local_48;\n  do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );\n}" primitive_type (function_declarator "FUN_001bf900(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  char cVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  double *pdVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  int local_e8;\n  int local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  int local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = param_1[2];\n  iVar3 = param_1[1];\n  uVar4 = *param_1;\n  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar12 = local_48;\n  do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );\n}" { (declaration "double dVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "char cVar13;" primitive_type identifier ;) (declaration "undefined4 uVar14;" type_identifier identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int iVar17;" primitive_type identifier ;) (declaration "double *pdVar18;" primitive_type (pointer_declarator "*pdVar18" * identifier) ;) (declaration "int iVar19;" primitive_type identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_e8;" primitive_type identifier ;) (declaration "int local_d8;" primitive_type identifier ;) (declaration "int local_d4;" primitive_type identifier ;) (declaration "int local_c0;" primitive_type identifier ;) (declaration "uint local_a8;" type_identifier identifier ;) (declaration "uint local_a4;" type_identifier identifier ;) (declaration "int local_a0;" primitive_type identifier ;) (declaration "uint local_98;" type_identifier identifier ;) (declaration "uint local_7c;" type_identifier identifier ;) (declaration "int local_4c;" primitive_type identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "double local_44 [4];" primitive_type (array_declarator "local_44 [4]" identifier [ number_literal ]) ;) (declaration "undefined8 local_24;" type_identifier identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x1bf909;" (assignment_expression "uStack_14 = 0x1bf909" identifier = number_literal) ;) (expression_statement "local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14)" (field_expression "local_24._4_4_" identifier . field_identifier) = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);" (assignment_expression "cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" identifier (argument_list "(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" ( number_literal , (pointer_expression "*(undefined4 *)(iVar2 + 0x24)" * (cast_expression "(undefined4 *)(iVar2 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x24)" ( (binary_expression "iVar2 + 0x24" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&local_4c" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "local_e8 = local_4c;" (assignment_expression "local_e8 = local_4c" identifier = identifier) ;) (expression_statement "iVar12 = local_48;" (assignment_expression "iVar12 = local_48" identifier = identifier) ;) (do_statement "do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );" do (compound_statement "{\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  }" { (if_statement "if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }" if (parenthesized_expression "(cVar13 == '\0')" ( (binary_expression "cVar13 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }" { (expression_statement "GOMP_loop_end_nowait();" (call_expression "GOMP_loop_end_nowait()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }" if (parenthesized_expression "(local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)" (field_expression "local_24._4_4_" identifier . field_identifier) == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_a0 = local_e8 * 0x108 + iVar3;" (assignment_expression "local_a0 = local_e8 * 0x108 + iVar3" identifier = (binary_expression "local_e8 * 0x108 + iVar3" (binary_expression "local_e8 * 0x108" identifier * number_literal) + identifier)) ;) (expression_statement "local_4c = local_e8;" (assignment_expression "local_4c = local_e8" identifier = identifier) ;) (expression_statement "local_48 = iVar12;" (assignment_expression "local_48 = iVar12" identifier = identifier) ;) (do_statement "do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);" do (compound_statement "{\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    }" { (if_statement "if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }" { (expression_statement "uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);" (assignment_expression "uVar14 = AcquireAuthenticCacheView(iVar2,uVar4)" identifier = (call_expression "AcquireAuthenticCacheView(iVar2,uVar4)" identifier (argument_list "(iVar2,uVar4)" ( identifier , identifier )))) ;) (expression_statement "iVar5 = *(int *)(local_a0 + 4);" (assignment_expression "iVar5 = *(int *)(local_a0 + 4)" identifier = (pointer_expression "*(int *)(local_a0 + 4)" * (cast_expression "(int *)(local_a0 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 4)" ( (binary_expression "local_a0 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar6 = *(int *)(local_a0 + 0xc);" (assignment_expression "iVar6 = *(int *)(local_a0 + 0xc)" identifier = (pointer_expression "*(int *)(local_a0 + 0xc)" * (cast_expression "(int *)(local_a0 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 0xc)" ( (binary_expression "local_a0 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = *(int *)(local_a0 + 0x10);" (assignment_expression "iVar7 = *(int *)(local_a0 + 0x10)" identifier = (pointer_expression "*(int *)(local_a0 + 0x10)" * (cast_expression "(int *)(local_a0 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 0x10)" ( (binary_expression "local_a0 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "iVar8 = *(int *)(local_a0 + 8);" (assignment_expression "iVar8 = *(int *)(local_a0 + 8)" identifier = (pointer_expression "*(int *)(local_a0 + 8)" * (cast_expression "(int *)(local_a0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 8)" ( (binary_expression "local_a0 + 8" identifier + number_literal) ))))) ;) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" identifier = number_literal) ;) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" identifier = number_literal) ;) (expression_statement "local_a4 = 0;" (assignment_expression "local_a4 = 0" identifier = number_literal) ;) (expression_statement "local_7c = 1;" (assignment_expression "local_7c = 1" identifier = number_literal) ;) (if_statement "if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }" if (parenthesized_expression "(-2 < iVar8)" ( (binary_expression "-2 < iVar8" number_literal < identifier) )) (compound_statement "{\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }" { (expression_statement "local_c0 = -1;" (assignment_expression "local_c0 = -1" identifier = number_literal) ;) (do_statement "do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);" do (compound_statement "{\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          }" { (if_statement "if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }" if (parenthesized_expression "(param_1[4] != 0)" ( (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }" { (expression_statement "local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);" (assignment_expression "local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" identifier = (call_expression "GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" identifier (argument_list "(uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" ( identifier , (binary_expression "iVar6 + -1" identifier + number_literal) , (binary_expression "local_c0 + iVar7" identifier + identifier) , (binary_expression "iVar5 + 2" identifier + number_literal) , number_literal , identifier )))) ;) (if_statement "if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }" if (parenthesized_expression "(local_d8 == 0)" ( (binary_expression "local_d8 == 0" identifier == number_literal) )) (compound_statement "{\n                param_1[4] = 0;\n                break;\n              }" { (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (break_statement "break;" break ;) })) (if_statement "if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }" if (parenthesized_expression "(-2 < iVar5)" ( (binary_expression "-2 < iVar5" number_literal < identifier) )) (compound_statement "{\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }" { (expression_statement "local_d4 = -1;" (assignment_expression "local_d4 = -1" identifier = number_literal) ;) (expression_statement "iVar9 = *(int *)(iVar2 + 0x2a8);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x2a8)" identifier = (pointer_expression "*(int *)(iVar2 + 0x2a8)" * (cast_expression "(int *)(iVar2 + 0x2a8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x2a8)" ( (binary_expression "iVar2 + 0x2a8" identifier + number_literal) ))))) ;) (expression_statement "iVar10 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x298)" identifier = (pointer_expression "*(int *)(iVar2 + 0x298)" * (cast_expression "(int *)(iVar2 + 0x298)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x298)" ( (binary_expression "iVar2 + 0x298" identifier + number_literal) ))))) ;) (expression_statement "iVar11 = *(int *)(iVar9 + 0x40);" (assignment_expression "iVar11 = *(int *)(iVar9 + 0x40)" identifier = (pointer_expression "*(int *)(iVar9 + 0x40)" * (cast_expression "(int *)(iVar9 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x40)" ( (binary_expression "iVar9 + 0x40" identifier + number_literal) ))))) ;) (labeled_statement "LAB_001bfaf8:\n                iVar20 = 0;" statement_identifier : (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" identifier = number_literal) ;)) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "pdVar18 = local_44;" (assignment_expression "pdVar18 = local_44" identifier = identifier) ;) (labeled_statement "LAB_001bfb00:\n                iVar15 = 0;" statement_identifier : (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;)) (expression_statement "iVar17 = iVar20;" (assignment_expression "iVar17 = iVar20" identifier = identifier) ;) (if_statement "if (iVar11 == 0) goto LAB_001bfb75;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_001bfb75;" goto statement_identifier ;)) (do_statement "do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );" do (compound_statement "{\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                }" { (expression_statement "dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);" (assignment_expression "dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" identifier = (pointer_expression "*(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" * (cast_expression "(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" ( (binary_expression "local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8" identifier + (binary_expression "(*(int *)(iVar9 + 0x44) + iVar17) * 8" (parenthesized_expression "(*(int *)(iVar9 + 0x44) + iVar17)" ( (binary_expression "*(int *)(iVar9 + 0x44) + iVar17" (pointer_expression "*(int *)(iVar9 + 0x44)" * (cast_expression "(int *)(iVar9 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) )))) + identifier) )) * number_literal)) ))))) ;) (expression_statement "iVar19 = (int)ROUND(dVar1);" (assignment_expression "iVar19 = (int)ROUND(dVar1)" identifier = (cast_expression "(int)ROUND(dVar1)" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(dVar1)" identifier (argument_list "(dVar1)" ( identifier ))))) ;) (while_statement "while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }" { (expression_statement "pdVar18[iVar15] = dVar1;" (assignment_expression "pdVar18[iVar15] = dVar1" (subscript_expression "pdVar18[iVar15]" identifier [ identifier ]) = identifier) ;) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" identifier = (binary_expression "iVar17 + iVar10" identifier + identifier)) ;) (expression_statement "iVar16 = iVar16 + (uint)(local_e8 == iVar19);" (assignment_expression "iVar16 = iVar16 + (uint)(local_e8 == iVar19)" identifier = (binary_expression "iVar16 + (uint)(local_e8 == iVar19)" identifier + (call_expression "(uint)(local_e8 == iVar19)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_e8 == iVar19)" ( (binary_expression "local_e8 == iVar19" identifier == identifier) ))))) ;) (if_statement "if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }" if (parenthesized_expression "(iVar15 == 1)" ( (binary_expression "iVar15 == 1" identifier == number_literal) )) (compound_statement "{\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }" { (expression_statement "pdVar18 = pdVar18 + 2;" (assignment_expression "pdVar18 = pdVar18 + 2" identifier = (binary_expression "pdVar18 + 2" identifier + number_literal)) ;) (expression_statement "iVar20 = iVar20 + (iVar5 + 2) * iVar10;" (assignment_expression "iVar20 = iVar20 + (iVar5 + 2) * iVar10" identifier = (binary_expression "iVar20 + (iVar5 + 2) * iVar10" identifier + (binary_expression "(iVar5 + 2) * iVar10" (parenthesized_expression "(iVar5 + 2)" ( (binary_expression "iVar5 + 2" identifier + number_literal) )) * identifier))) ;) (if_statement "if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;" if (parenthesized_expression "(pdVar18 != (double *)&local_24)" ( (binary_expression "pdVar18 != (double *)&local_24" identifier != (cast_expression "(double *)&local_24" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_24" & identifier))) )) (goto_statement "goto LAB_001bfb00;" goto statement_identifier ;)) (if_statement "if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" if (parenthesized_expression "(iVar16 == 1)" ( (binary_expression "iVar16 == 1" identifier == number_literal) )) (compound_statement "{\n                        local_a4 = local_a4 + 1;\n                      }" { (expression_statement "local_a4 = local_a4 + 1;" (assignment_expression "local_a4 = local_a4 + 1" identifier = (binary_expression "local_a4 + 1" identifier + number_literal)) ;) }) (else_clause "else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" else (if_statement "if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" if (parenthesized_expression "(iVar16 == 2)" ( (binary_expression "iVar16 == 2" identifier == number_literal) )) (compound_statement "{\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }" { (if_statement "if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" if (parenthesized_expression "((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3])))" ( (binary_expression "(local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))" (parenthesized_expression "(local_e8 == (int)ROUND(local_44[0]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[0])" identifier == (cast_expression "(int)ROUND(local_44[0])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[0])" identifier (argument_list "(local_44[0])" ( (subscript_expression "local_44[0]" identifier [ number_literal ]) ))))) )) && (parenthesized_expression "(local_e8 == (int)ROUND(local_44[3]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[3])" identifier == (cast_expression "(int)ROUND(local_44[3])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[3])" identifier (argument_list "(local_44[3])" ( (subscript_expression "local_44[3]" identifier [ number_literal ]) ))))) ))) )) (compound_statement "{\n                          local_7c = local_7c + 1;\n                        }" { (expression_statement "local_7c = local_7c + 1;" (assignment_expression "local_7c = local_7c + 1" identifier = (binary_expression "local_7c + 1" identifier + number_literal)) ;) }) (else_clause "else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" else (if_statement "if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" if (parenthesized_expression "((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2])))" ( (binary_expression "(local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))" (parenthesized_expression "(local_e8 == (int)ROUND(local_44[1]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[1])" identifier == (cast_expression "(int)ROUND(local_44[1])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[1])" identifier (argument_list "(local_44[1])" ( (subscript_expression "local_44[1]" identifier [ number_literal ]) ))))) )) && (parenthesized_expression "(local_e8 == (int)ROUND(local_44[2]))" ( (binary_expression "local_e8 == (int)ROUND(local_44[2])" identifier == (cast_expression "(int)ROUND(local_44[2])" ( (type_descriptor "int" primitive_type) ) (call_expression "ROUND(local_44[2])" identifier (argument_list "(local_44[2])" ( (subscript_expression "local_44[2]" identifier [ number_literal ]) ))))) ))) )) (compound_statement "{\n                          local_7c = local_7c + 1;\n                        }" { (expression_statement "local_7c = local_7c + 1;" (assignment_expression "local_7c = local_7c + 1" identifier = (binary_expression "local_7c + 1" identifier + number_literal)) ;) }) (else_clause "else {\n                          local_98 = local_98 + 1;\n                        }" else (compound_statement "{\n                          local_98 = local_98 + 1;\n                        }" { (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" identifier = (binary_expression "local_98 + 1" identifier + number_literal)) ;) }))))) }) (else_clause "else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" else (compound_statement "{\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" { (expression_statement "local_a8 = local_a8 + (iVar16 == 3);" (assignment_expression "local_a8 = local_a8 + (iVar16 == 3)" identifier = (binary_expression "local_a8 + (iVar16 == 3)" identifier + (parenthesized_expression "(iVar16 == 3)" ( (binary_expression "iVar16 == 3" identifier == number_literal) )))) ;) }))))) (expression_statement "local_d4 = local_d4 + 1;" (assignment_expression "local_d4 = local_d4 + 1" identifier = (binary_expression "local_d4 + 1" identifier + number_literal)) ;) (expression_statement "local_d8 = local_d8 + iVar10 * 8;" (assignment_expression "local_d8 = local_d8 + iVar10 * 8" identifier = (binary_expression "local_d8 + iVar10 * 8" identifier + (binary_expression "iVar10 * 8" identifier * number_literal))) ;) (if_statement "if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;" if (parenthesized_expression "(local_d4 == iVar5 + 1)" ( (binary_expression "local_d4 == iVar5 + 1" identifier == (binary_expression "iVar5 + 1" identifier + number_literal)) )) (goto_statement "goto joined_r0x001bfbdd;" goto statement_identifier ;)) (goto_statement "goto LAB_001bfaf8;" goto statement_identifier ;) })) (expression_statement "iVar15 = 1;" (assignment_expression "iVar15 = 1" identifier = number_literal) ;) (if_statement "if (iVar11 != 0) break;" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (labeled_statement "LAB_001bfb75:\n                    dVar1 = 0.0;" statement_identifier : (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" identifier = number_literal) ;)) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" identifier = number_literal) ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) })) (labeled_statement "joined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;" statement_identifier : (expression_statement "local_c0 = local_c0 + 1;" (assignment_expression "local_c0 = local_c0 + 1" identifier = (binary_expression "local_c0 + 1" identifier + number_literal)) ;)) }) while (parenthesized_expression "(local_c0 <= iVar8)" ( (binary_expression "local_c0 <= iVar8" identifier <= identifier) )) ;) })) (expression_statement "DestroyCacheView(uVar14);" (call_expression "DestroyCacheView(uVar14)" identifier (argument_list "(uVar14)" ( identifier ))) ;) (expression_statement "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);" (assignment_expression "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" (pointer_expression "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8)" * (cast_expression "(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_a0 + 0x88 + *(int *)param_1[3] * 8)" ( (binary_expression "local_a0 + 0x88 + *(int *)param_1[3] * 8" (binary_expression "local_a0 + 0x88" identifier + number_literal) + (binary_expression "*(int *)param_1[3] * 8" (pointer_expression "*(int *)param_1[3]" * (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) * number_literal)) )))) = (call_expression "ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" identifier (argument_list "(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" ( (binary_expression "((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124" (parenthesized_expression "((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028)" ( (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028" (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98" (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028" (binary_expression "(double)local_7c * _DAT_002b3ad0" (cast_expression "(double)local_7c" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) + (binary_expression "(double)local_a8 * DAT_002a8028" (cast_expression "(double)local_a8" ( (type_descriptor "double" primitive_type) ) identifier) * identifier)) + (cast_expression "(double)local_98" ( (type_descriptor "double" primitive_type) ) identifier)) + (binary_expression "(double)local_a4 * DAT_002a8028" (cast_expression "(double)local_a4" ( (type_descriptor "double" primitive_type) ) identifier) * identifier)) )) - (cast_expression "(double)DAT_0029f124" ( (type_descriptor "double" primitive_type) ) identifier)) )))) ;) })) (expression_statement "local_e8 = local_e8 + 1;" (assignment_expression "local_e8 = local_e8 + 1" identifier = (binary_expression "local_e8 + 1" identifier + number_literal)) ;) (expression_statement "local_a0 = local_a0 + 0x108;" (assignment_expression "local_a0 = local_a0 + 0x108" identifier = (binary_expression "local_a0 + 0x108" identifier + number_literal)) ;) }) while (parenthesized_expression "(local_e8 < iVar12)" ( (binary_expression "local_e8 < iVar12" identifier < identifier) )) ;) (expression_statement "cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);" (assignment_expression "cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_next(&local_4c,&local_48)" identifier (argument_list "(&local_4c,&local_48)" ( (pointer_expression "&local_4c" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "local_e8 = local_4c;" (assignment_expression "local_e8 = local_4c" identifier = identifier) ;) (expression_statement "iVar12 = local_48;" (assignment_expression "iVar12 = local_48" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_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 = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + IDENT) , (binary_expression IDENT + LIT) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (break_statement break ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT) )) * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))))) )) && (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))))) )) && (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT == LIT) )))) ;) }))))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) })) }) while (parenthesized_expression ( BOOL )) ;) })) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) }) while (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) * LIT)) )))) = (call_expression IDENT (argument_list ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT)) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT)) )) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "void FUN_001bf900(undefined4 *param_1)\n\n{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  char cVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  double *pdVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  int local_e8;\n  int local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  int local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = param_1[2];\n  iVar3 = param_1[1];\n  uVar4 = *param_1;\n  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar12 = local_48;\n  do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_001bf900(undefined4 *param_1)" (identifier "FUN_001bf900") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  double dVar1;\n  int iVar2;\n  int iVar3;\n  undefined4 uVar4;\n  int iVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int iVar10;\n  int iVar11;\n  int iVar12;\n  char cVar13;\n  undefined4 uVar14;\n  int iVar15;\n  int iVar16;\n  int iVar17;\n  double *pdVar18;\n  int iVar19;\n  int iVar20;\n  int in_GS_OFFSET;\n  int local_e8;\n  int local_d8;\n  int local_d4;\n  int local_c0;\n  uint local_a8;\n  uint local_a4;\n  int local_a0;\n  uint local_98;\n  uint local_7c;\n  int local_4c;\n  int local_48;\n  double local_44 [4];\n  undefined8 local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x1bf909;\n  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = param_1[2];\n  iVar3 = param_1[1];\n  uVar4 = *param_1;\n  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);\n  local_e8 = local_4c;\n  iVar12 = local_48;\n  do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );\n}" ({ "{") (declaration "double dVar1;" (primitive_type "double") (identifier "dVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "char cVar13;" (primitive_type "char") (identifier "cVar13") (; ";")) (declaration "undefined4 uVar14;" (type_identifier "undefined4") (identifier "uVar14") (; ";")) (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 "double *pdVar18;" (primitive_type "double") (pointer_declarator "*pdVar18" (* "*") (identifier "pdVar18")) (; ";")) (declaration "int iVar19;" (primitive_type "int") (identifier "iVar19") (; ";")) (declaration "int iVar20;" (primitive_type "int") (identifier "iVar20") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_e8;" (primitive_type "int") (identifier "local_e8") (; ";")) (declaration "int local_d8;" (primitive_type "int") (identifier "local_d8") (; ";")) (declaration "int local_d4;" (primitive_type "int") (identifier "local_d4") (; ";")) (declaration "int local_c0;" (primitive_type "int") (identifier "local_c0") (; ";")) (declaration "uint local_a8;" (type_identifier "uint") (identifier "local_a8") (; ";")) (declaration "uint local_a4;" (type_identifier "uint") (identifier "local_a4") (; ";")) (declaration "int local_a0;" (primitive_type "int") (identifier "local_a0") (; ";")) (declaration "uint local_98;" (type_identifier "uint") (identifier "local_98") (; ";")) (declaration "uint local_7c;" (type_identifier "uint") (identifier "local_7c") (; ";")) (declaration "int local_4c;" (primitive_type "int") (identifier "local_4c") (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "double local_44 [4];" (primitive_type "double") (array_declarator "local_44 [4]" (identifier "local_44") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined8 local_24;" (type_identifier "undefined8") (identifier "local_24") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x1bf909;" (assignment_expression "uStack_14 = 0x1bf909" (identifier "uStack_14") (= "=") (number_literal "0x1bf909")) (; ";")) (expression_statement "local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14)" (field_expression "local_24._4_4_" (identifier "local_24") (. ".") (field_identifier "_4_4_")) (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar2 = param_1[2];" (assignment_expression "iVar2 = param_1[2]" (identifier "iVar2") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar3 = param_1[1];" (assignment_expression "iVar3 = param_1[1]" (identifier "iVar3") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar4 = *param_1;" (assignment_expression "uVar4 = *param_1" (identifier "uVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);" (assignment_expression "cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" (identifier "cVar13") (= "=") (call_expression "GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" (identifier "GOMP_loop_dynamic_start") (argument_list "(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48)" (( "(") (number_literal "0") (, ",") (pointer_expression "*(undefined4 *)(iVar2 + 0x24)" (* "*") (cast_expression "(undefined4 *)(iVar2 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x24)" (( "(") (binary_expression "iVar2 + 0x24" (identifier "iVar2") (+ "+") (number_literal "0x24")) () ")")))) (, ",") (number_literal "1") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (expression_statement "local_e8 = local_4c;" (assignment_expression "local_e8 = local_4c" (identifier "local_e8") (= "=") (identifier "local_4c")) (; ";")) (expression_statement "iVar12 = local_48;" (assignment_expression "iVar12 = local_48" (identifier "iVar12") (= "=") (identifier "local_48")) (; ";")) (do_statement "do {\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  } while( true );" (do "do") (compound_statement "{\n    if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }\n    local_a0 = local_e8 * 0x108 + iVar3;\n    local_4c = local_e8;\n    local_48 = iVar12;\n    do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);\n    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);\n    local_e8 = local_4c;\n    iVar12 = local_48;\n  }" ({ "{") (if_statement "if (cVar13 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }" (if "if") (parenthesized_expression "(cVar13 == '\0')" (( "(") (binary_expression "cVar13 == '\0'" (identifier "cVar13") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      GOMP_loop_end_nowait();\n      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }\n                    \n      FUN_0029eab0();\n    }" ({ "{") (expression_statement "GOMP_loop_end_nowait();" (call_expression "GOMP_loop_end_nowait()" (identifier "GOMP_loop_end_nowait") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {\n        return;\n      }" (if "if") (parenthesized_expression "(local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)" (field_expression "local_24._4_4_" (identifier "local_24") (. ".") (field_identifier "_4_4_")) (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0029eab0();" (call_expression "FUN_0029eab0()" (identifier "FUN_0029eab0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "local_a0 = local_e8 * 0x108 + iVar3;" (assignment_expression "local_a0 = local_e8 * 0x108 + iVar3" (identifier "local_a0") (= "=") (binary_expression "local_e8 * 0x108 + iVar3" (binary_expression "local_e8 * 0x108" (identifier "local_e8") (* "*") (number_literal "0x108")) (+ "+") (identifier "iVar3"))) (; ";")) (expression_statement "local_4c = local_e8;" (assignment_expression "local_4c = local_e8" (identifier "local_4c") (= "=") (identifier "local_e8")) (; ";")) (expression_statement "local_48 = iVar12;" (assignment_expression "local_48 = iVar12" (identifier "local_48") (= "=") (identifier "iVar12")) (; ";")) (do_statement "do {\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    } while (local_e8 < iVar12);" (do "do") (compound_statement "{\n      if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }\n      local_e8 = local_e8 + 1;\n      local_a0 = local_a0 + 0x108;\n    }" ({ "{") (if_statement "if (param_1[4] != 0) {\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }" (if "if") (parenthesized_expression "(param_1[4] != 0)" (( "(") (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);\n        iVar5 = *(int *)(local_a0 + 4);\n        iVar6 = *(int *)(local_a0 + 0xc);\n        iVar7 = *(int *)(local_a0 + 0x10);\n        iVar8 = *(int *)(local_a0 + 8);\n        local_a8 = 0;\n        local_98 = 0;\n        local_a4 = 0;\n        local_7c = 1;\n        if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }\n        DestroyCacheView(uVar14);\n        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);\n      }" ({ "{") (expression_statement "uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);" (assignment_expression "uVar14 = AcquireAuthenticCacheView(iVar2,uVar4)" (identifier "uVar14") (= "=") (call_expression "AcquireAuthenticCacheView(iVar2,uVar4)" (identifier "AcquireAuthenticCacheView") (argument_list "(iVar2,uVar4)" (( "(") (identifier "iVar2") (, ",") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "iVar5 = *(int *)(local_a0 + 4);" (assignment_expression "iVar5 = *(int *)(local_a0 + 4)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(local_a0 + 4)" (* "*") (cast_expression "(int *)(local_a0 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_a0 + 4)" (( "(") (binary_expression "local_a0 + 4" (identifier "local_a0") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar6 = *(int *)(local_a0 + 0xc);" (assignment_expression "iVar6 = *(int *)(local_a0 + 0xc)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(local_a0 + 0xc)" (* "*") (cast_expression "(int *)(local_a0 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_a0 + 0xc)" (( "(") (binary_expression "local_a0 + 0xc" (identifier "local_a0") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "iVar7 = *(int *)(local_a0 + 0x10);" (assignment_expression "iVar7 = *(int *)(local_a0 + 0x10)" (identifier "iVar7") (= "=") (pointer_expression "*(int *)(local_a0 + 0x10)" (* "*") (cast_expression "(int *)(local_a0 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_a0 + 0x10)" (( "(") (binary_expression "local_a0 + 0x10" (identifier "local_a0") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "iVar8 = *(int *)(local_a0 + 8);" (assignment_expression "iVar8 = *(int *)(local_a0 + 8)" (identifier "iVar8") (= "=") (pointer_expression "*(int *)(local_a0 + 8)" (* "*") (cast_expression "(int *)(local_a0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_a0 + 8)" (( "(") (binary_expression "local_a0 + 8" (identifier "local_a0") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "local_a8 = 0;" (assignment_expression "local_a8 = 0" (identifier "local_a8") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_98 = 0;" (assignment_expression "local_98 = 0" (identifier "local_98") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_a4 = 0;" (assignment_expression "local_a4 = 0" (identifier "local_a4") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_7c = 1;" (assignment_expression "local_7c = 1" (identifier "local_7c") (= "=") (number_literal "1")) (; ";")) (if_statement "if (-2 < iVar8) {\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }" (if "if") (parenthesized_expression "(-2 < iVar8)" (( "(") (binary_expression "-2 < iVar8" (number_literal "-2") (< "<") (identifier "iVar8")) () ")")) (compound_statement "{\n          local_c0 = -1;\n          do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);\n        }" ({ "{") (expression_statement "local_c0 = -1;" (assignment_expression "local_c0 = -1" (identifier "local_c0") (= "=") (number_literal "-1")) (; ";")) (do_statement "do {\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          } while (local_c0 <= iVar8);" (do "do") (compound_statement "{\n            if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }\njoined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;\n          }" ({ "{") (if_statement "if (param_1[4] != 0) {\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }" (if "if") (parenthesized_expression "(param_1[4] != 0)" (( "(") (binary_expression "param_1[4] != 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);\n              if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }\n              if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }\n            }" ({ "{") (expression_statement "local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);" (assignment_expression "local_d8 = GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" (identifier "local_d8") (= "=") (call_expression "GetCacheViewVirtualPixels\n                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" (identifier "GetCacheViewVirtualPixels") (argument_list "(uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4)" (( "(") (identifier "uVar14") (, ",") (binary_expression "iVar6 + -1" (identifier "iVar6") (+ "+") (number_literal "-1")) (, ",") (binary_expression "local_c0 + iVar7" (identifier "local_c0") (+ "+") (identifier "iVar7")) (, ",") (binary_expression "iVar5 + 2" (identifier "iVar5") (+ "+") (number_literal "2")) (, ",") (number_literal "2") (, ",") (identifier "uVar4") () ")")))) (; ";")) (if_statement "if (local_d8 == 0) {\n                param_1[4] = 0;\n                break;\n              }" (if "if") (parenthesized_expression "(local_d8 == 0)" (( "(") (binary_expression "local_d8 == 0" (identifier "local_d8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                param_1[4] = 0;\n                break;\n              }" ({ "{") (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if (-2 < iVar5) {\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }" (if "if") (parenthesized_expression "(-2 < iVar5)" (( "(") (binary_expression "-2 < iVar5" (number_literal "-2") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n                local_d4 = -1;\n                iVar9 = *(int *)(iVar2 + 0x2a8);\n                iVar10 = *(int *)(iVar2 + 0x298);\n                iVar11 = *(int *)(iVar9 + 0x40);\nLAB_001bfaf8:\n                iVar20 = 0;\n                iVar16 = 0;\n                pdVar18 = local_44;\nLAB_001bfb00:\n                iVar15 = 0;\n                iVar17 = iVar20;\n                if (iVar11 == 0) goto LAB_001bfb75;\n                do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );\n              }" ({ "{") (expression_statement "local_d4 = -1;" (assignment_expression "local_d4 = -1" (identifier "local_d4") (= "=") (number_literal "-1")) (; ";")) (expression_statement "iVar9 = *(int *)(iVar2 + 0x2a8);" (assignment_expression "iVar9 = *(int *)(iVar2 + 0x2a8)" (identifier "iVar9") (= "=") (pointer_expression "*(int *)(iVar2 + 0x2a8)" (* "*") (cast_expression "(int *)(iVar2 + 0x2a8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x2a8)" (( "(") (binary_expression "iVar2 + 0x2a8" (identifier "iVar2") (+ "+") (number_literal "0x2a8")) () ")"))))) (; ";")) (expression_statement "iVar10 = *(int *)(iVar2 + 0x298);" (assignment_expression "iVar10 = *(int *)(iVar2 + 0x298)" (identifier "iVar10") (= "=") (pointer_expression "*(int *)(iVar2 + 0x298)" (* "*") (cast_expression "(int *)(iVar2 + 0x298)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x298)" (( "(") (binary_expression "iVar2 + 0x298" (identifier "iVar2") (+ "+") (number_literal "0x298")) () ")"))))) (; ";")) (expression_statement "iVar11 = *(int *)(iVar9 + 0x40);" (assignment_expression "iVar11 = *(int *)(iVar9 + 0x40)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar9 + 0x40)" (* "*") (cast_expression "(int *)(iVar9 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x40)" (( "(") (binary_expression "iVar9 + 0x40" (identifier "iVar9") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (labeled_statement "LAB_001bfaf8:\n                iVar20 = 0;" (statement_identifier "LAB_001bfaf8") (: ":") (expression_statement "iVar20 = 0;" (assignment_expression "iVar20 = 0" (identifier "iVar20") (= "=") (number_literal "0")) (; ";"))) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" (identifier "iVar16") (= "=") (number_literal "0")) (; ";")) (expression_statement "pdVar18 = local_44;" (assignment_expression "pdVar18 = local_44" (identifier "pdVar18") (= "=") (identifier "local_44")) (; ";")) (labeled_statement "LAB_001bfb00:\n                iVar15 = 0;" (statement_identifier "LAB_001bfb00") (: ":") (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" (identifier "iVar15") (= "=") (number_literal "0")) (; ";"))) (expression_statement "iVar17 = iVar20;" (assignment_expression "iVar17 = iVar20" (identifier "iVar17") (= "=") (identifier "iVar20")) (; ";")) (if_statement "if (iVar11 == 0) goto LAB_001bfb75;" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_001bfb75;" (goto "goto") (statement_identifier "LAB_001bfb75") (; ";"))) (do_statement "do {\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                } while( true );" (do "do") (compound_statement "{\n                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);\n                  iVar19 = (int)ROUND(dVar1);\n                  while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }\n                }" ({ "{") (expression_statement "dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);" (assignment_expression "dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" (identifier "dVar1") (= "=") (pointer_expression "*(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" (* "*") (cast_expression "(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8)" (( "(") (binary_expression "local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8" (identifier "local_d8") (+ "+") (binary_expression "(*(int *)(iVar9 + 0x44) + iVar17) * 8" (parenthesized_expression "(*(int *)(iVar9 + 0x44) + iVar17)" (( "(") (binary_expression "*(int *)(iVar9 + 0x44) + iVar17" (pointer_expression "*(int *)(iVar9 + 0x44)" (* "*") (cast_expression "(int *)(iVar9 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x44)" (( "(") (binary_expression "iVar9 + 0x44" (identifier "iVar9") (+ "+") (number_literal "0x44")) () ")")))) (+ "+") (identifier "iVar17")) () ")")) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (expression_statement "iVar19 = (int)ROUND(dVar1);" (assignment_expression "iVar19 = (int)ROUND(dVar1)" (identifier "iVar19") (= "=") (cast_expression "(int)ROUND(dVar1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "ROUND(dVar1)" (identifier "ROUND") (argument_list "(dVar1)" (( "(") (identifier "dVar1") () ")"))))) (; ";")) (while_statement "while( true ) {\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n                    pdVar18[iVar15] = dVar1;\n                    iVar17 = iVar17 + iVar10;\n                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);\n                    if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }\n                    iVar15 = 1;\n                    if (iVar11 != 0) break;\nLAB_001bfb75:\n                    dVar1 = 0.0;\n                    iVar19 = 0;\n                  }" ({ "{") (expression_statement "pdVar18[iVar15] = dVar1;" (assignment_expression "pdVar18[iVar15] = dVar1" (subscript_expression "pdVar18[iVar15]" (identifier "pdVar18") ([ "[") (identifier "iVar15") (] "]")) (= "=") (identifier "dVar1")) (; ";")) (expression_statement "iVar17 = iVar17 + iVar10;" (assignment_expression "iVar17 = iVar17 + iVar10" (identifier "iVar17") (= "=") (binary_expression "iVar17 + iVar10" (identifier "iVar17") (+ "+") (identifier "iVar10"))) (; ";")) (expression_statement "iVar16 = iVar16 + (uint)(local_e8 == iVar19);" (assignment_expression "iVar16 = iVar16 + (uint)(local_e8 == iVar19)" (identifier "iVar16") (= "=") (binary_expression "iVar16 + (uint)(local_e8 == iVar19)" (identifier "iVar16") (+ "+") (call_expression "(uint)(local_e8 == iVar19)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_e8 == iVar19)" (( "(") (binary_expression "local_e8 == iVar19" (identifier "local_e8") (== "==") (identifier "iVar19")) () ")"))))) (; ";")) (if_statement "if (iVar15 == 1) {\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }" (if "if") (parenthesized_expression "(iVar15 == 1)" (( "(") (binary_expression "iVar15 == 1" (identifier "iVar15") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                      pdVar18 = pdVar18 + 2;\n                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;\n                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;\n                      if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }\n                      local_d4 = local_d4 + 1;\n                      local_d8 = local_d8 + iVar10 * 8;\n                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;\n                      goto LAB_001bfaf8;\n                    }" ({ "{") (expression_statement "pdVar18 = pdVar18 + 2;" (assignment_expression "pdVar18 = pdVar18 + 2" (identifier "pdVar18") (= "=") (binary_expression "pdVar18 + 2" (identifier "pdVar18") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar20 = iVar20 + (iVar5 + 2) * iVar10;" (assignment_expression "iVar20 = iVar20 + (iVar5 + 2) * iVar10" (identifier "iVar20") (= "=") (binary_expression "iVar20 + (iVar5 + 2) * iVar10" (identifier "iVar20") (+ "+") (binary_expression "(iVar5 + 2) * iVar10" (parenthesized_expression "(iVar5 + 2)" (( "(") (binary_expression "iVar5 + 2" (identifier "iVar5") (+ "+") (number_literal "2")) () ")")) (* "*") (identifier "iVar10")))) (; ";")) (if_statement "if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;" (if "if") (parenthesized_expression "(pdVar18 != (double *)&local_24)" (( "(") (binary_expression "pdVar18 != (double *)&local_24" (identifier "pdVar18") (!= "!=") (cast_expression "(double *)&local_24" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_24" (& "&") (identifier "local_24")))) () ")")) (goto_statement "goto LAB_001bfb00;" (goto "goto") (statement_identifier "LAB_001bfb00") (; ";"))) (if_statement "if (iVar16 == 1) {\n                        local_a4 = local_a4 + 1;\n                      }\n                      else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" (if "if") (parenthesized_expression "(iVar16 == 1)" (( "(") (binary_expression "iVar16 == 1" (identifier "iVar16") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                        local_a4 = local_a4 + 1;\n                      }" ({ "{") (expression_statement "local_a4 = local_a4 + 1;" (assignment_expression "local_a4 = local_a4 + 1" (identifier "local_a4") (= "=") (binary_expression "local_a4 + 1" (identifier "local_a4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" (else "else") (if_statement "if (iVar16 == 2) {\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }\n                      else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" (if "if") (parenthesized_expression "(iVar16 == 2)" (( "(") (binary_expression "iVar16 == 2" (identifier "iVar16") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n                        if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }\n                      }" ({ "{") (if_statement "if ((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" (if "if") (parenthesized_expression "((local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3])))" (( "(") (binary_expression "(local_e8 == (int)ROUND(local_44[0])) &&\n                           (local_e8 == (int)ROUND(local_44[3]))" (parenthesized_expression "(local_e8 == (int)ROUND(local_44[0]))" (( "(") (binary_expression "local_e8 == (int)ROUND(local_44[0])" (identifier "local_e8") (== "==") (cast_expression "(int)ROUND(local_44[0])" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "ROUND(local_44[0])" (identifier "ROUND") (argument_list "(local_44[0])" (( "(") (subscript_expression "local_44[0]" (identifier "local_44") ([ "[") (number_literal "0") (] "]")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(local_e8 == (int)ROUND(local_44[3]))" (( "(") (binary_expression "local_e8 == (int)ROUND(local_44[3])" (identifier "local_e8") (== "==") (cast_expression "(int)ROUND(local_44[3])" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "ROUND(local_44[3])" (identifier "ROUND") (argument_list "(local_44[3])" (( "(") (subscript_expression "local_44[3]" (identifier "local_44") ([ "[") (number_literal "3") (] "]")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n                          local_7c = local_7c + 1;\n                        }" ({ "{") (expression_statement "local_7c = local_7c + 1;" (assignment_expression "local_7c = local_7c + 1" (identifier "local_7c") (= "=") (binary_expression "local_7c + 1" (identifier "local_7c") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" (else "else") (if_statement "if ((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))) {\n                          local_7c = local_7c + 1;\n                        }\n                        else {\n                          local_98 = local_98 + 1;\n                        }" (if "if") (parenthesized_expression "((local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2])))" (( "(") (binary_expression "(local_e8 == (int)ROUND(local_44[1])) &&\n                                (local_e8 == (int)ROUND(local_44[2]))" (parenthesized_expression "(local_e8 == (int)ROUND(local_44[1]))" (( "(") (binary_expression "local_e8 == (int)ROUND(local_44[1])" (identifier "local_e8") (== "==") (cast_expression "(int)ROUND(local_44[1])" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "ROUND(local_44[1])" (identifier "ROUND") (argument_list "(local_44[1])" (( "(") (subscript_expression "local_44[1]" (identifier "local_44") ([ "[") (number_literal "1") (] "]")) () ")"))))) () ")")) (&& "&&") (parenthesized_expression "(local_e8 == (int)ROUND(local_44[2]))" (( "(") (binary_expression "local_e8 == (int)ROUND(local_44[2])" (identifier "local_e8") (== "==") (cast_expression "(int)ROUND(local_44[2])" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (call_expression "ROUND(local_44[2])" (identifier "ROUND") (argument_list "(local_44[2])" (( "(") (subscript_expression "local_44[2]" (identifier "local_44") ([ "[") (number_literal "2") (] "]")) () ")"))))) () ")"))) () ")")) (compound_statement "{\n                          local_7c = local_7c + 1;\n                        }" ({ "{") (expression_statement "local_7c = local_7c + 1;" (assignment_expression "local_7c = local_7c + 1" (identifier "local_7c") (= "=") (binary_expression "local_7c + 1" (identifier "local_7c") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n                          local_98 = local_98 + 1;\n                        }" (else "else") (compound_statement "{\n                          local_98 = local_98 + 1;\n                        }" ({ "{") (expression_statement "local_98 = local_98 + 1;" (assignment_expression "local_98 = local_98 + 1" (identifier "local_98") (= "=") (binary_expression "local_98 + 1" (identifier "local_98") (+ "+") (number_literal "1"))) (; ";")) (} "}")))))) (} "}")) (else_clause "else {\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" (else "else") (compound_statement "{\n                        local_a8 = local_a8 + (iVar16 == 3);\n                      }" ({ "{") (expression_statement "local_a8 = local_a8 + (iVar16 == 3);" (assignment_expression "local_a8 = local_a8 + (iVar16 == 3)" (identifier "local_a8") (= "=") (binary_expression "local_a8 + (iVar16 == 3)" (identifier "local_a8") (+ "+") (parenthesized_expression "(iVar16 == 3)" (( "(") (binary_expression "iVar16 == 3" (identifier "iVar16") (== "==") (number_literal "3")) () ")")))) (; ";")) (} "}")))))) (expression_statement "local_d4 = local_d4 + 1;" (assignment_expression "local_d4 = local_d4 + 1" (identifier "local_d4") (= "=") (binary_expression "local_d4 + 1" (identifier "local_d4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_d8 = local_d8 + iVar10 * 8;" (assignment_expression "local_d8 = local_d8 + iVar10 * 8" (identifier "local_d8") (= "=") (binary_expression "local_d8 + iVar10 * 8" (identifier "local_d8") (+ "+") (binary_expression "iVar10 * 8" (identifier "iVar10") (* "*") (number_literal "8")))) (; ";")) (if_statement "if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;" (if "if") (parenthesized_expression "(local_d4 == iVar5 + 1)" (( "(") (binary_expression "local_d4 == iVar5 + 1" (identifier "local_d4") (== "==") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) () ")")) (goto_statement "goto joined_r0x001bfbdd;" (goto "goto") (statement_identifier "joined_r0x001bfbdd") (; ";"))) (goto_statement "goto LAB_001bfaf8;" (goto "goto") (statement_identifier "LAB_001bfaf8") (; ";")) (} "}"))) (expression_statement "iVar15 = 1;" (assignment_expression "iVar15 = 1" (identifier "iVar15") (= "=") (number_literal "1")) (; ";")) (if_statement "if (iVar11 != 0) break;" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (labeled_statement "LAB_001bfb75:\n                    dVar1 = 0.0;" (statement_identifier "LAB_001bfb75") (: ":") (expression_statement "dVar1 = 0.0;" (assignment_expression "dVar1 = 0.0" (identifier "dVar1") (= "=") (number_literal "0.0")) (; ";"))) (expression_statement "iVar19 = 0;" (assignment_expression "iVar19 = 0" (identifier "iVar19") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (} "}"))) (labeled_statement "joined_r0x001bfbdd:\n            local_c0 = local_c0 + 1;" (statement_identifier "joined_r0x001bfbdd") (: ":") (expression_statement "local_c0 = local_c0 + 1;" (assignment_expression "local_c0 = local_c0 + 1" (identifier "local_c0") (= "=") (binary_expression "local_c0 + 1" (identifier "local_c0") (+ "+") (number_literal "1"))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "(local_c0 <= iVar8)" (( "(") (binary_expression "local_c0 <= iVar8" (identifier "local_c0") (<= "<=") (identifier "iVar8")) () ")")) (; ";")) (} "}"))) (expression_statement "DestroyCacheView(uVar14);" (call_expression "DestroyCacheView(uVar14)" (identifier "DestroyCacheView") (argument_list "(uVar14)" (( "(") (identifier "uVar14") () ")"))) (; ";")) (expression_statement "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);" (assignment_expression "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =\n             ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" (pointer_expression "*(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8)" (* "*") (cast_expression "(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_a0 + 0x88 + *(int *)param_1[3] * 8)" (( "(") (binary_expression "local_a0 + 0x88 + *(int *)param_1[3] * 8" (binary_expression "local_a0 + 0x88" (identifier "local_a0") (+ "+") (number_literal "0x88")) (+ "+") (binary_expression "*(int *)param_1[3] * 8" (pointer_expression "*(int *)param_1[3]" (* "*") (cast_expression "(int *)param_1[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (* "*") (number_literal "8"))) () ")")))) (= "=") (call_expression "ROUND(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" (identifier "ROUND") (argument_list "(((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124)" (( "(") (binary_expression "((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124" (parenthesized_expression "((double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028)" (( "(") (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98 + (double)local_a4 * DAT_002a8028" (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028 +\n                   (double)local_98" (binary_expression "(double)local_7c * _DAT_002b3ad0 +\n                   (double)local_a8 * DAT_002a8028" (binary_expression "(double)local_7c * _DAT_002b3ad0" (cast_expression "(double)local_7c" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_7c")) (* "*") (identifier "_DAT_002b3ad0")) (+ "+") (binary_expression "(double)local_a8 * DAT_002a8028" (cast_expression "(double)local_a8" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_a8")) (* "*") (identifier "DAT_002a8028"))) (+ "+") (cast_expression "(double)local_98" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_98"))) (+ "+") (binary_expression "(double)local_a4 * DAT_002a8028" (cast_expression "(double)local_a4" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_a4")) (* "*") (identifier "DAT_002a8028"))) () ")")) (- "-") (cast_expression "(double)DAT_0029f124" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "DAT_0029f124"))) () ")")))) (; ";")) (} "}"))) (expression_statement "local_e8 = local_e8 + 1;" (assignment_expression "local_e8 = local_e8 + 1" (identifier "local_e8") (= "=") (binary_expression "local_e8 + 1" (identifier "local_e8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_a0 = local_a0 + 0x108;" (assignment_expression "local_a0 = local_a0 + 0x108" (identifier "local_a0") (= "=") (binary_expression "local_a0 + 0x108" (identifier "local_a0") (+ "+") (number_literal "0x108"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_e8 < iVar12)" (( "(") (binary_expression "local_e8 < iVar12" (identifier "local_e8") (< "<") (identifier "iVar12")) () ")")) (; ";")) (expression_statement "cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);" (assignment_expression "cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48)" (identifier "cVar13") (= "=") (call_expression "GOMP_loop_dynamic_next(&local_4c,&local_48)" (identifier "GOMP_loop_dynamic_next") (argument_list "(&local_4c,&local_48)" (( "(") (pointer_expression "&local_4c" (& "&") (identifier "local_4c")) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (expression_statement "local_e8 = local_4c;" (assignment_expression "local_e8 = local_4c" (identifier "local_e8") (= "=") (identifier "local_4c")) (; ";")) (expression_statement "iVar12 = local_48;" (assignment_expression "iVar12 = local_48" (identifier "iVar12") (= "=") (identifier "local_48")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

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

void __thiscall function_1(type_1 *this)

{
  double dVar1;
  type_2 *image;
  type_3 *var_6;
  type_4 *exception;
  size_t var_14;
  int var_11;
  int var_13;
  size_t sVar6;
  type_5 *pPVar7;
  size_t var_20;
  type_6 var_16;
  int var_35;
  char var_3;
  type_7 *cache_view;
  int var_23;
  int var_21;
  int var_18;
  double *var_24;
  int var_22;
  int var_25;
  int var_1;
  int var_7;
  type_8 *var_15;
  int var_30;
  int var_12;
  type_9 var_29;
  type_9 var_26;
  type_3 *var_34;
  type_9 var_28;
  type_9 var_27;
  int local_4c;
  int local_48;
  double local_44 [4];
  type_10 local_24;
  type_11 uStack_14;
  
  uStack_14 = 0x1bf909;
  local_24._4_4_ = *(int *)(var_1 + 0x14);
  image = this->component_image;
  var_6 = this->object;
  exception = this->exception;
  var_3 = var_2(0,image->colors,1,1,&local_4c,&local_48);
  var_7 = local_4c;
  var_35 = local_48;
  do {
    if (var_3 == '\0') {
      var_4();
      if (local_24._4_4_ == *(int *)(var_1 + 0x14)) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      var_5();
    }
    var_34 = var_6 + var_7;
    local_4c = var_7;
    local_48 = var_35;
    do {
      if (this->status != var_8) {
        cache_view = var_9(image,exception);
        var_14 = (var_34->bounding_box).width;
        var_11 = (var_34->bounding_box).x;
        var_13 = (var_34->bounding_box).y;
        sVar6 = (var_34->bounding_box).height;
        var_29 = 0;
        var_28 = 0;
        var_26 = 0;
        var_27 = 1;
        if (-2 < (int)sVar6) {
          var_12 = -1;
          do {
            if (this->status != var_8) {
              var_15 = var_10
                                   (cache_view,var_11 + -1,var_12 + var_13,var_14 + 2,2,exception);
              if (var_15 == (type_8 *)0x0) {
                this->status = var_8;
                break;
              }
              if (-2 < (int)var_14) {
                var_30 = -1;
                pPVar7 = image->channel_map;
                var_20 = image->number_channels;
                var_16 = pPVar7[5].traits;
LAB_001bfaf8:
                var_25 = 0;
                var_21 = 0;
                var_24 = local_44;
LAB_001bfb00:
                var_23 = 0;
                var_18 = var_25;
                if (var_16 == var_17) goto LAB_001bfb75;
                do {
                  dVar1 = var_15[pPVar7[5].offset + var_18];
                  var_22 = (int)var_19(dVar1);
                  while( true ) {
                    var_24[var_23] = dVar1;
                    var_18 = var_18 + var_20;
                    var_21 = var_21 + (type_9)(var_7 == var_22);
                    if (var_23 == 1) {
                      var_24 = var_24 + 2;
                      var_25 = var_25 + (var_14 + 2) * var_20;
                      if (var_24 != (double *)&local_24) goto LAB_001bfb00;
                      if (var_21 == 1) {
                        var_26 = var_26 + 1;
                      }
                      else if (var_21 == 2) {
                        if ((var_7 == (int)var_19(local_44[0])) &&
                           (var_7 == (int)var_19(local_44[3]))) {
                          var_27 = var_27 + 1;
                        }
                        else if ((var_7 == (int)var_19(local_44[1])) &&
                                (var_7 == (int)var_19(local_44[2]))) {
                          var_27 = var_27 + 1;
                        }
                        else {
                          var_28 = var_28 + 1;
                        }
                      }
                      else {
                        var_29 = var_29 + (var_21 == 3);
                      }
                      var_30 = var_30 + 1;
                      var_15 = var_15 + var_20;
                      if (var_30 == var_14 + 1) goto joined_r0x001bfbdd;
                      goto LAB_001bfaf8;
                    }
                    var_23 = 1;
                    if (var_16 != var_17) break;
LAB_001bfb75:
                    dVar1 = 0.0;
                    var_22 = 0;
                  }
                } while( true );
              }
            }
joined_r0x001bfbdd:
            var_12 = var_12 + 1;
          } while (var_12 <= (int)sVar6);
        }
        var_31(cache_view);
        var_34->metric[*this->n] =
             var_19(((double)var_27 * var_32 +
                   (double)var_29 * var_33 +
                   (double)var_28 + (double)var_26 * var_33) - (double)DAT_0029f124);
      }
      var_7 = var_7 + 1;
      var_34 = var_34 + 1;
    } while (var_7 < var_35);
    var_3 = var_36(&local_4c,&local_48);
    var_7 = local_4c;
    var_35 = local_48;
  } while( true );
}


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

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

void MASKED(undefined4 *param_1)

{
  double dVar1;
  int iVar2;
  int iVar3;
  undefined4 uVar4;
  int iVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int iVar10;
  int iVar11;
  int iVar12;
  char cVar13;
  undefined4 uVar14;
  int iVar15;
  int iVar16;
  int iVar17;
  double *pdVar18;
  int iVar19;
  int iVar20;
  int in_GS_OFFSET;
  int local_e8;
  int local_d8;
  int local_d4;
  int local_c0;
  uint local_a8;
  uint local_a4;
  int local_a0;
  uint local_98;
  uint local_7c;
  int local_4c;
  int local_48;
  double local_44 [4];
  undefined8 local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x1bf909;
  local_24._4_4_ = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = param_1[2];
  iVar3 = param_1[1];
  uVar4 = *param_1;
  cVar13 = GOMP_loop_dynamic_start(0,*(undefined4 *)(iVar2 + 0x24),1,1,&local_4c,&local_48);
  local_e8 = local_4c;
  iVar12 = local_48;
  do {
    if (cVar13 == '\0') {
      GOMP_loop_end_nowait();
      if (local_24._4_4_ == *(int *)(in_GS_OFFSET + 0x14)) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      FUN_0029eab0();
    }
    local_a0 = local_e8 * 0x108 + iVar3;
    local_4c = local_e8;
    local_48 = iVar12;
    do {
      if (param_1[4] != 0) {
        uVar14 = AcquireAuthenticCacheView(iVar2,uVar4);
        iVar5 = *(int *)(local_a0 + 4);
        iVar6 = *(int *)(local_a0 + 0xc);
        iVar7 = *(int *)(local_a0 + 0x10);
        iVar8 = *(int *)(local_a0 + 8);
        local_a8 = 0;
        local_98 = 0;
        local_a4 = 0;
        local_7c = 1;
        if (-2 < iVar8) {
          local_c0 = -1;
          do {
            if (param_1[4] != 0) {
              local_d8 = GetCacheViewVirtualPixels
                                   (uVar14,iVar6 + -1,local_c0 + iVar7,iVar5 + 2,2,uVar4);
              if (local_d8 == 0) {
                param_1[4] = 0;
                break;
              }
              if (-2 < iVar5) {
                local_d4 = -1;
                iVar9 = *(int *)(iVar2 + 0x2a8);
                iVar10 = *(int *)(iVar2 + 0x298);
                iVar11 = *(int *)(iVar9 + 0x40);
LAB_001bfaf8:
                iVar20 = 0;
                iVar16 = 0;
                pdVar18 = local_44;
LAB_001bfb00:
                iVar15 = 0;
                iVar17 = iVar20;
                if (iVar11 == 0) goto LAB_001bfb75;
                do {
                  dVar1 = *(double *)(local_d8 + (*(int *)(iVar9 + 0x44) + iVar17) * 8);
                  iVar19 = (int)ROUND(dVar1);
                  while( true ) {
                    pdVar18[iVar15] = dVar1;
                    iVar17 = iVar17 + iVar10;
                    iVar16 = iVar16 + (uint)(local_e8 == iVar19);
                    if (iVar15 == 1) {
                      pdVar18 = pdVar18 + 2;
                      iVar20 = iVar20 + (iVar5 + 2) * iVar10;
                      if (pdVar18 != (double *)&local_24) goto LAB_001bfb00;
                      if (iVar16 == 1) {
                        local_a4 = local_a4 + 1;
                      }
                      else if (iVar16 == 2) {
                        if ((local_e8 == (int)ROUND(local_44[0])) &&
                           (local_e8 == (int)ROUND(local_44[3]))) {
                          local_7c = local_7c + 1;
                        }
                        else if ((local_e8 == (int)ROUND(local_44[1])) &&
                                (local_e8 == (int)ROUND(local_44[2]))) {
                          local_7c = local_7c + 1;
                        }
                        else {
                          local_98 = local_98 + 1;
                        }
                      }
                      else {
                        local_a8 = local_a8 + (iVar16 == 3);
                      }
                      local_d4 = local_d4 + 1;
                      local_d8 = local_d8 + iVar10 * 8;
                      if (local_d4 == iVar5 + 1) goto joined_r0x001bfbdd;
                      goto LAB_001bfaf8;
                    }
                    iVar15 = 1;
                    if (iVar11 != 0) break;
LAB_001bfb75:
                    dVar1 = 0.0;
                    iVar19 = 0;
                  }
                } while( true );
              }
            }
joined_r0x001bfbdd:
            local_c0 = local_c0 + 1;
          } while (local_c0 <= iVar8);
        }
        DestroyCacheView(uVar14);
        *(double *)(local_a0 + 0x88 + *(int *)param_1[3] * 8) =
             ROUND(((double)local_7c * _DAT_002b3ad0 +
                   (double)local_a8 * DAT_002a8028 +
                   (double)local_98 + (double)local_a4 * DAT_002a8028) - (double)DAT_0029f124);
      }
      local_e8 = local_e8 + 1;
      local_a0 = local_a0 + 0x108;
    } while (local_e8 < iVar12);
    cVar13 = GOMP_loop_dynamic_next(&local_4c,&local_48);
    local_e8 = local_4c;
    iVar12 = local_48;
  } while( true );
}

