
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void ConnectedComponentsImage._omp_fn.4(anon_struct_40_5_58eec50f *
   param_0) */

void __thiscall ConnectedComponentsImage__omp_fn_4(void *this)

{
  Image *image;
  long lVar1;
  ExceptionInfo *exception;
  size_t columns;
  ssize_t x;
  long lVar2;
  long lVar3;
  long lVar4;
  char cVar5;
  char cVar6;
  CacheView *cache_view;
  Quantum *pQVar7;
  size_t sVar8;
  long lVar9;
  long lVar10;
  long in_FS_OFFSET;
  Quantum QVar11;
  double dVar12;
  double dVar13;
  double dVar14;
  double dVar15;
  double local_d0;
  double local_c8;
  double local_c0;
  double local_b8;
  double local_a8;
  long local_88;
  double local_78;
  long local_50;
  long local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  image = *(Image **)((long)this + 0x10);
  lVar1 = *(long *)((long)this + 8);
                    /* WARNING: Load size is inaccurate */
  exception = *this;
  cVar5 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_50,&local_48);
  lVar10 = local_50;
  lVar4 = local_48;
  cVar6 = cVar5;
  do {
    if (cVar6 == '\0') {
      GOMP_loop_end_nowait();
      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail();
    }
    local_88 = lVar1 + lVar10 * 0x128;
    local_50 = lVar10;
    local_48 = lVar4;
    do {
      if (*(int *)((long)this + 0x20) != 0) {
        cache_view = AcquireAuthenticCacheView(image,exception);
        columns = *(size_t *)(local_88 + 8);
        x = *(ssize_t *)(local_88 + 0x18);
        lVar2 = *(long *)(local_88 + 0x20);
        lVar3 = *(long *)(local_88 + 0x10);
        if (lVar3 < 1) {
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_78 = DAT_003f9608;
LAB_002f310b:
          local_78 = local_78 / DAT_003f9600;
        }
        else {
          lVar9 = 0;
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_d0 = 0.0;
          do {
            if (*(int *)((long)this + 0x20) != 0) {
              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);
              if (pQVar7 == (Quantum *)0x0) {
                *(undefined4 *)((long)this + 0x20) = 0;
                break;
              }
              if (0 < (long)columns) {
                sVar8 = 0;
                do {
                  QVar11 = 0.0;
                  if (image->channel_map[5].traits != UndefinedPixelTrait) {
                    QVar11 = pQVar7[image->channel_map[5].offset];
                  }
                  if (lVar10 == (long)QVar11) {
                    local_d0 = local_d0 + DAT_003f9608;
                    local_c0 = local_c0 + (double)(long)sVar8;
                    local_c8 = (double)lVar9 + local_c8;
                  }
                  pQVar7 = pQVar7 + image->number_channels;
                  sVar8 = sVar8 + 1;
                } while (sVar8 != columns);
              }
            }
            lVar9 = lVar9 + 1;
          } while (lVar9 != lVar3);
          local_78 = DAT_003f9c68;
          if (0.0 <= local_d0) {
            local_78 = DAT_003f9608;
          }
          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;
          local_78 = DAT_003f9608 / local_d0;
        }
        dVar14 = local_c0 * local_78;
        dVar15 = local_c8 * local_78;
        cVar6 = cVar5;
        if (lVar3 < 1) {
          DestroyCacheView(cache_view);
          dVar14 = (local_78 + local_78) * 0.0;
          local_c0 = SQRT(dVar14);
          local_c8 = 0.0;
          local_d0 = 0.0;
          if (dVar14 < 0.0) {
            local_a8 = 0.0;
            goto LAB_002f3622;
          }
        }
        else {
          lVar9 = 0;
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_d0 = 0.0;
          do {
            if (*(int *)((long)this + 0x20) != 0) {
              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);
              if (pQVar7 == (Quantum *)0x0) {
                *(undefined4 *)((long)this + 0x20) = 0;
                break;
              }
              if (0 < (long)columns) {
                sVar8 = 0;
                do {
                  QVar11 = 0.0;
                  if (image->channel_map[5].traits != UndefinedPixelTrait) {
                    QVar11 = pQVar7[image->channel_map[5].offset];
                  }
                  if (lVar10 == (long)QVar11) {
                    dVar13 = (double)(long)sVar8 - dVar14;
                    dVar12 = (double)lVar9 - dVar15;
                    local_c8 = dVar13 * dVar12 + local_c8;
                    local_c0 = dVar13 * dVar13 + local_c0;
                    local_d0 = dVar12 * dVar12 + local_d0;
                  }
                  pQVar7 = pQVar7 + image->number_channels;
                  sVar8 = sVar8 + 1;
                } while (sVar8 != columns);
              }
            }
            lVar9 = lVar9 + 1;
          } while (lVar9 != lVar3);
          DestroyCacheView(cache_view);
          dVar14 = local_d0 + local_c0;
          local_a8 = local_c8 * DAT_004067c0 * local_c8 +
                     (local_c0 - local_d0) * (local_c0 - local_d0);
          local_c8 = SQRT(local_a8);
          local_d0 = dVar14;
          if (local_a8 < 0.0) {
            sqrt(local_a8);
            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);
            local_c0 = SQRT(dVar14);
            if (dVar14 < 0.0) {
              cVar6 = '\0';
              goto LAB_002f3622;
            }
          }
          else {
            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);
            local_c0 = SQRT(dVar14);
            if (0.0 <= dVar14) goto LAB_002f3314;
LAB_002f3622:
            sqrt(dVar14);
            if (cVar6 != '\0') goto LAB_002f3314;
          }
          sqrt(local_a8);
        }
LAB_002f3314:
        local_b8 = local_78 + local_78;
        local_b8 = (local_d0 - local_c8) * local_b8;
        if (local_b8 < 0.0) {
          sqrt(local_b8);
        }
        dVar14 = DAT_003fa390;
        if (DAT_003f9600 <= local_c0 * local_c0) {
          dVar14 = DAT_003f9608 / (local_c0 * local_c0);
        }
        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);
        lVar2 = **(long **)((long)this + 0x18);
        if (dVar14 < 0.0) {
          sqrt(dVar14);
        }
        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);
      }
      lVar10 = lVar10 + 1;
      local_88 = local_88 + 0x128;
    } while (lVar10 < lVar4);
    cVar6 = GOMP_loop_dynamic_next(&local_50,&local_48);
    lVar10 = local_50;
    lVar4 = local_48;
  } while( true );
}



void FUN_002f302d(undefined8 *param_1)

{
  long lVar1;
  long lVar2;
  undefined8 uVar3;
  long lVar4;
  undefined8 uVar5;
  long lVar6;
  long lVar7;
  long lVar8;
  char cVar9;
  char cVar10;
  undefined8 uVar11;
  long lVar12;
  long lVar13;
  long lVar14;
  long lVar15;
  long in_FS_OFFSET;
  float fVar16;
  double dVar17;
  double dVar18;
  double dVar19;
  double dVar20;
  double local_d0;
  double local_c8;
  double local_c0;
  double local_b8;
  double local_a8;
  long local_88;
  double local_78;
  long local_50;
  long local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  lVar1 = param_1[2];
  lVar2 = param_1[1];
  uVar3 = *param_1;
  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);
  lVar15 = local_50;
  lVar8 = local_48;
  cVar10 = cVar9;
  do {
    if (cVar10 == '\0') {
      GOMP_loop_end_nowait();
      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail();
    }
    local_88 = lVar2 + lVar15 * 0x128;
    local_50 = lVar15;
    local_48 = lVar8;
    do {
      if (*(int *)(param_1 + 4) != 0) {
        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);
        lVar4 = *(long *)(local_88 + 8);
        uVar5 = *(undefined8 *)(local_88 + 0x18);
        lVar6 = *(long *)(local_88 + 0x20);
        lVar7 = *(long *)(local_88 + 0x10);
        if (lVar7 < 1) {
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_78 = DAT_003f9608;
LAB_002f310b:
          local_78 = local_78 / DAT_003f9600;
        }
        else {
          lVar14 = 0;
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_d0 = 0.0;
          do {
            if (*(int *)(param_1 + 4) != 0) {
              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);
              if (lVar12 == 0) {
                *(undefined4 *)(param_1 + 4) = 0;
                break;
              }
              if (0 < lVar4) {
                lVar13 = 0;
                do {
                  fVar16 = 0.0;
                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {
                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);
                  }
                  if (lVar15 == (long)fVar16) {
                    local_d0 = local_d0 + DAT_003f9608;
                    local_c0 = local_c0 + (double)lVar13;
                    local_c8 = (double)lVar14 + local_c8;
                  }
                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;
                  lVar13 = lVar13 + 1;
                } while (lVar13 != lVar4);
              }
            }
            lVar14 = lVar14 + 1;
          } while (lVar14 != lVar7);
          local_78 = DAT_003f9c68;
          if (0.0 <= local_d0) {
            local_78 = DAT_003f9608;
          }
          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;
          local_78 = DAT_003f9608 / local_d0;
        }
        dVar19 = local_c0 * local_78;
        dVar20 = local_c8 * local_78;
        cVar10 = cVar9;
        if (lVar7 < 1) {
          DestroyCacheView(uVar11);
          dVar19 = (local_78 + local_78) * 0.0;
          local_c0 = SQRT(dVar19);
          local_c8 = 0.0;
          local_d0 = 0.0;
          if (dVar19 < 0.0) {
            local_a8 = 0.0;
            goto LAB_002f3622;
          }
        }
        else {
          lVar14 = 0;
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_d0 = 0.0;
          do {
            if (*(int *)(param_1 + 4) != 0) {
              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);
              if (lVar12 == 0) {
                *(undefined4 *)(param_1 + 4) = 0;
                break;
              }
              if (0 < lVar4) {
                lVar13 = 0;
                do {
                  fVar16 = 0.0;
                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {
                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);
                  }
                  if (lVar15 == (long)fVar16) {
                    dVar18 = (double)lVar13 - dVar19;
                    dVar17 = (double)lVar14 - dVar20;
                    local_c8 = dVar18 * dVar17 + local_c8;
                    local_c0 = dVar18 * dVar18 + local_c0;
                    local_d0 = dVar17 * dVar17 + local_d0;
                  }
                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;
                  lVar13 = lVar13 + 1;
                } while (lVar13 != lVar4);
              }
            }
            lVar14 = lVar14 + 1;
          } while (lVar14 != lVar7);
          DestroyCacheView(uVar11);
          dVar19 = local_d0 + local_c0;
          local_a8 = local_c8 * DAT_004067c0 * local_c8 +
                     (local_c0 - local_d0) * (local_c0 - local_d0);
          local_c8 = SQRT(local_a8);
          local_d0 = dVar19;
          if (local_a8 < 0.0) {
            sqrt(local_a8);
            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);
            local_c0 = SQRT(dVar19);
            if (dVar19 < 0.0) {
              cVar10 = '\0';
              goto LAB_002f3622;
            }
          }
          else {
            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);
            local_c0 = SQRT(dVar19);
            if (0.0 <= dVar19) goto LAB_002f3314;
LAB_002f3622:
            sqrt(dVar19);
            if (cVar10 != '\0') goto LAB_002f3314;
          }
          sqrt(local_a8);
        }
LAB_002f3314:
        local_b8 = local_78 + local_78;
        local_b8 = (local_d0 - local_c8) * local_b8;
        if (local_b8 < 0.0) {
          sqrt(local_b8);
        }
        dVar19 = DAT_003fa390;
        if (DAT_003f9600 <= local_c0 * local_c0) {
          dVar19 = DAT_003f9608 / (local_c0 * local_c0);
        }
        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);
        lVar4 = *(long *)param_1[3];
        if (dVar19 < 0.0) {
          sqrt(dVar19);
        }
        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);
      }
      lVar15 = lVar15 + 1;
      local_88 = local_88 + 0x128;
    } while (lVar15 < lVar8);
    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);
    lVar15 = local_50;
    lVar8 = local_48;
  } while( true );
}


PUSH R15
PUSH R14
PUSH R13
PUSH R12
PUSH RBP
PUSH RBX
SUB RSP,0xa8
MOV R15,RDI
MOV RAX,qword ptr FS:[0x28]
MOV qword ptr [RSP + 0x98],RAX
XOR EAX,EAX
MOV R12,qword ptr [RDI + 0x10]
MOV RAX,qword ptr [RDI + 0x8]
MOV qword ptr [RSP + 0x70],RAX
MOV RAX,qword ptr [RDI]
MOV qword ptr [RSP + 0x28],RAX
MOV RSI,qword ptr [R12 + 0x38]
LEA R9,[RSP + 0x90]
LEA R8,[RSP + 0x88]
MOV ECX,0x1
MOV EDX,0x1
MOV EDI,0x0
CALL 0x0014d5b0
MOV byte ptr [RSP + 0x7f],AL
TEST AL,AL
JZ 0x002f359f
MOV RBP,R12
MOV R14,R15
JMP 0x002f30c3
LEA RSI,[RSP + 0x90]
LEA RDI,[RSP + 0x88]
CALL 0x0014aeb0
TEST AL,AL
JZ 0x002f359f
MOV R15,qword ptr [RSP + 0x88]
MOV RAX,qword ptr [RSP + 0x90]
MOV qword ptr [RSP + 0x58],RAX
LEA RAX,[R15 + R15*0x8]
LEA RAX,[R15 + RAX*0x4]
MOV RDI,qword ptr [RSP + 0x70]
LEA RAX,[RDI + RAX*0x8]
MOV qword ptr [RSP + 0x50],RAX
JMP 0x002f33c7
PXOR XMM3,XMM3
MOVSD qword ptr [RSP + 0x18],XMM3
MOVSD qword ptr [RSP + 0x10],XMM3
MOVSD XMM0,qword ptr [0x003f9608]
DIVSD XMM0,qword ptr [0x003f9600]
MOVSD qword ptr [RSP + 0x60],XMM0
JMP 0x002f3554
MOVSD XMM0,qword ptr [0x003f9c68]
JMP 0x002f3526
MOVAPD XMM0,XMM1
CALL 0x0014d650
MOVSD XMM0,qword ptr [RSP + 0x8]
ADDSD XMM0,qword ptr [RSP + 0x10]
MULSD XMM0,qword ptr [RSP + 0x20]
SQRTSD XMM6,XMM0
MOVSD qword ptr [RSP + 0x18],XMM6
PXOR XMM1,XMM1
UCOMISD XMM1,XMM0
JA 0x002f316a
MOVSD XMM0,qword ptr [RSP + 0x30]
CALL 0x0014d650
JMP 0x002f3314
MOV EBX,0x0
JMP 0x002f3622
CALL 0x0014d650
JMP 0x002f333e
CALL 0x0014d650
JMP 0x002f33a2
ADD RBX,0x1
CMP RBX,R13
JZ 0x002f3276
CMP dword ptr [R14 + 0x20],0x0
JZ 0x002f3188
MOV RAX,qword ptr [RSP + 0x38]
LEA RDX,[RBX + RAX*0x1]
MOV R9,qword ptr [RSP + 0x28]
MOV R8D,0x1
MOV RCX,R12
MOV RSI,qword ptr [RSP + 0x30]
MOV RDI,qword ptr [RSP + 0x20]
CALL 0x0014a9a0
TEST RAX,RAX
JZ 0x002f326e
MOV RDI,R12
TEST R12,R12
JLE 0x002f3188
MOV R9,qword ptr [RBP + 0x360]
MOV R8D,dword ptr [R9 + 0x54]
MOV RSI,qword ptr [RBP + 0x340]
SHL RSI,0x2
MOV ECX,0x0
JMP 0x002f3206
CVTTSS2SI RDX,XMM0
CMP R15,RDX
JZ 0x002f321a
ADD RAX,RSI
ADD RCX,0x1
CMP RCX,RDI
JZ 0x002f3188
PXOR XMM0,XMM0
TEST R8D,R8D
JZ 0x002f31f0
MOV RDX,qword ptr [R9 + 0x58]
MOVSS XMM0,dword ptr [RAX + RDX*0x4]
JMP 0x002f31f0
PXOR XMM1,XMM1
CVTSI2SD XMM1,RCX
SUBSD XMM1,qword ptr [RSP + 0x40]
PXOR XMM0,XMM0
CVTSI2SD XMM0,RBX
SUBSD XMM0,qword ptr [RSP + 0x48]
MOVAPD XMM2,XMM1
MULSD XMM2,XMM0
ADDSD XMM2,qword ptr [RSP + 0x10]
MOVSD qword ptr [RSP + 0x10],XMM2
MULSD XMM1,XMM1
ADDSD XMM1,qword ptr [RSP + 0x18]
MOVSD qword ptr [RSP + 0x18],XMM1
MULSD XMM0,XMM0
ADDSD XMM0,qword ptr [RSP + 0x8]
MOVSD qword ptr [RSP + 0x8],XMM0
JMP 0x002f31fa
MOV dword ptr [R14 + 0x20],0x0
MOV RDI,qword ptr [RSP + 0x20]
CALL 0x0014cc70
MOVSD XMM7,qword ptr [RSP + 0x60]
ADDSD XMM7,XMM7
MOVSD qword ptr [RSP + 0x20],XMM7
MOVSD XMM3,qword ptr [RSP + 0x8]
MOVAPD XMM7,XMM3
MOVSD XMM0,qword ptr [RSP + 0x18]
ADDSD XMM7,XMM0
MOVSD qword ptr [RSP + 0x8],XMM7
SUBSD XMM0,XMM3
MOVSD XMM6,qword ptr [RSP + 0x10]
MOVAPD XMM1,XMM6
MULSD XMM1,qword ptr [0x004067c0]
MULSD XMM1,XMM6
MULSD XMM0,XMM0
ADDSD XMM1,XMM0
MOVSD qword ptr [RSP + 0x30],XMM1
SQRTSD XMM4,XMM1
MOVSD qword ptr [RSP + 0x10],XMM4
PXOR XMM0,XMM0
UCOMISD XMM0,XMM1
JA 0x002f312b
MOVSD XMM0,qword ptr [RSP + 0x8]
ADDSD XMM0,qword ptr [RSP + 0x10]
MULSD XMM0,qword ptr [RSP + 0x20]
SQRTSD XMM7,XMM0
MOVSD qword ptr [RSP + 0x18],XMM7
PXOR XMM1,XMM1
UCOMISD XMM1,XMM0
JA 0x002f3634
MOVSD XMM0,qword ptr [RSP + 0x8]
SUBSD XMM0,qword ptr [RSP + 0x10]
MULSD XMM0,qword ptr [RSP + 0x20]
SQRTSD XMM5,XMM0
MOVSD qword ptr [RSP + 0x8],XMM5
PXOR XMM1,XMM1
UCOMISD XMM1,XMM0
JA 0x002f3174
MOVSD XMM1,qword ptr [RSP + 0x8]
MULSD XMM1,XMM1
MOVSD XMM2,qword ptr [RSP + 0x18]
MULSD XMM2,XMM2
MOVSD XMM0,qword ptr [0x003fa390]
UCOMISD XMM2,qword ptr [0x003f9600]
JC 0x002f3370
MOVSD XMM0,qword ptr [0x003f9608]
DIVSD XMM0,XMM2
MULSD XMM0,XMM1
MOVSD XMM1,qword ptr [0x003f9608]
SUBSD XMM1,XMM0
MOVAPD XMM0,XMM1
MOV RAX,qword ptr [R14 + 0x18]
MOV RBX,qword ptr [RAX]
SQRTSD XMM4,XMM1
MOVQ R12,XMM4
PXOR XMM1,XMM1
UCOMISD XMM1,XMM0
JA 0x002f317e
MOV RAX,qword ptr [RSP + 0x68]
MOV qword ptr [RAX + RBX*0x8 + 0xa8],R12
ADD R15,0x1
ADD qword ptr [RSP + 0x50],0x128
CMP qword ptr [RSP + 0x58],R15
JLE 0x002f30a6
CMP dword ptr [R14 + 0x20],0x0
JZ 0x002f33af
MOV RSI,qword ptr [RSP + 0x28]
MOV RDI,RBP
CALL 0x0014cd50
MOV qword ptr [RSP + 0x20],RAX
MOV RAX,qword ptr [RSP + 0x50]
MOV qword ptr [RSP + 0x68],RAX
MOV R12,qword ptr [RAX + 0x8]
MOV RDI,qword ptr [RAX + 0x18]
MOV qword ptr [RSP + 0x30],RDI
MOV RDI,qword ptr [RAX + 0x20]
MOV qword ptr [RSP + 0x38],RDI
MOV R13,qword ptr [RAX + 0x10]
TEST R13,R13
JLE 0x002f30f3
MOV EBX,0x0
PXOR XMM3,XMM3
MOVSD qword ptr [RSP + 0x18],XMM3
MOVSD qword ptr [RSP + 0x10],XMM3
MOVSD qword ptr [RSP + 0x8],XMM3
JMP 0x002f346b
CVTTSS2SI RDX,XMM0
CMP R15,RDX
JZ 0x002f34cb
ADD RAX,RSI
ADD RCX,0x1
CMP RCX,RDI
JZ 0x002f3458
PXOR XMM0,XMM0
TEST R8D,R8D
JZ 0x002f342a
MOV RDX,qword ptr [R9 + 0x58]
MOVSS XMM0,dword ptr [RAX + RDX*0x4]
JMP 0x002f342a
MOVSD qword ptr [RSP + 0x18],XMM1
ADD RBX,0x1
CMP RBX,R13
JZ 0x002f350e
CMP dword ptr [R14 + 0x20],0x0
JZ 0x002f345e
MOV RAX,qword ptr [RSP + 0x38]
LEA RDX,[RBX + RAX*0x1]
MOV R9,qword ptr [RSP + 0x28]
MOV R8D,0x1
MOV RCX,R12
MOV RSI,qword ptr [RSP + 0x30]
MOV RDI,qword ptr [RSP + 0x20]
CALL 0x0014a9a0
TEST RAX,RAX
JZ 0x002f3506
MOV RDI,R12
TEST R12,R12
JLE 0x002f345e
MOV R9,qword ptr [RBP + 0x360]
MOV R8D,dword ptr [R9 + 0x54]
MOV RSI,qword ptr [RBP + 0x340]
SHL RSI,0x2
MOV ECX,0x0
MOVSD XMM1,qword ptr [RSP + 0x18]
JMP 0x002f3444
MOVSD XMM3,qword ptr [RSP + 0x8]
ADDSD XMM3,qword ptr [0x003f9608]
MOVSD qword ptr [RSP + 0x8],XMM3
PXOR XMM0,XMM0
CVTSI2SD XMM0,RCX
ADDSD XMM1,XMM0
PXOR XMM0,XMM0
CVTSI2SD XMM0,RBX
ADDSD XMM0,qword ptr [RSP + 0x10]
MOVSD qword ptr [RSP + 0x10],XMM0
JMP 0x002f3438
MOV dword ptr [R14 + 0x20],0x0
PXOR XMM0,XMM0
UCOMISD XMM0,qword ptr [RSP + 0x8]
JA 0x002f311e
MOVSD XMM0,qword ptr [0x003f9608]
MOVSD XMM4,qword ptr [RSP + 0x8]
MOVAPD XMM1,XMM4
MULSD XMM1,XMM0
UCOMISD XMM1,qword ptr [0x003f9600]
JC 0x002f310b
MOVSD XMM0,qword ptr [0x003f9608]
DIVSD XMM0,XMM4
MOVSD qword ptr [RSP + 0x60],XMM0
MOVSD XMM5,qword ptr [RSP + 0x18]
MOVSD XMM6,qword ptr [RSP + 0x60]
MULSD XMM5,XMM6
MOVSD qword ptr [RSP + 0x40],XMM5
MOVSD XMM5,qword ptr [RSP + 0x10]
MULSD XMM5,XMM6
MOVSD qword ptr [RSP + 0x48],XMM5
TEST R13,R13
JLE 0x002f35cd
MOV EBX,0x0
PXOR XMM7,XMM7
MOVSD qword ptr [RSP + 0x18],XMM7
MOVSD qword ptr [RSP + 0x10],XMM7
MOVSD qword ptr [RSP + 0x8],XMM7
JMP 0x002f3195
CALL 0x0014d6a0
MOV RAX,qword ptr [RSP + 0x98]
XOR RAX,qword ptr FS:[0x28]
JNZ 0x002f363b
ADD RSP,0xa8
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,qword ptr [RSP + 0x20]
CALL 0x0014cc70
MOVSD XMM3,qword ptr [RSP + 0x60]
ADDSD XMM3,XMM3
MOVSD qword ptr [RSP + 0x20],XMM3
PXOR XMM1,XMM1
MOVAPD XMM0,XMM3
MULSD XMM0,XMM1
SQRTSD XMM3,XMM0
MOVSD qword ptr [RSP + 0x18],XMM3
MOVSD qword ptr [RSP + 0x10],XMM1
MOVSD qword ptr [RSP + 0x8],XMM1
UCOMISD XMM1,XMM0
JBE 0x002f3314
MOVZX EBX,byte ptr [RSP + 0x7f]
PXOR XMM3,XMM3
MOVSD qword ptr [RSP + 0x30],XMM3
CALL 0x0014d650
TEST BL,BL
JNZ 0x002f3314
JMP 0x002f315a
MOVZX EBX,byte ptr [RSP + 0x7f]
JMP 0x002f3622
CALL 0x0014c5c0
(translation_unit "void FUN_002f302d(undefined8 *param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  char cVar9;\n  char cVar10;\n  undefined8 uVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  lVar1 = param_1[2];\n  lVar2 = param_1[1];\n  uVar3 = *param_1;\n  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);\n  lVar15 = local_50;\n  lVar8 = local_48;\n  cVar10 = cVar9;\n  do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );\n}\n\n" (function_definition "void FUN_002f302d(undefined8 *param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  char cVar9;\n  char cVar10;\n  undefined8 uVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  lVar1 = param_1[2];\n  lVar2 = param_1[1];\n  uVar3 = *param_1;\n  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);\n  lVar15 = local_50;\n  lVar8 = local_48;\n  cVar10 = cVar9;\n  do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );\n}" primitive_type (function_declarator "FUN_002f302d(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  char cVar9;\n  char cVar10;\n  undefined8 uVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  lVar1 = param_1[2];\n  lVar2 = param_1[1];\n  uVar3 = *param_1;\n  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);\n  lVar15 = local_50;\n  lVar8 = local_48;\n  cVar10 = cVar9;\n  do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar9;" primitive_type identifier ;) (declaration "char cVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "float fVar16;" primitive_type identifier ;) (declaration "double dVar17;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "double local_d0;" primitive_type identifier ;) (declaration "double local_c8;" primitive_type identifier ;) (declaration "double local_c0;" primitive_type identifier ;) (declaration "double local_b8;" primitive_type identifier ;) (declaration "double local_a8;" primitive_type identifier ;) (declaration "long local_88;" (sized_type_specifier "long" long) identifier ;) (declaration "double local_78;" primitive_type identifier ;) (declaration "long local_50;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_48;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "lVar1 = param_1[2];" (assignment_expression "lVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "lVar2 = param_1[1];" (assignment_expression "lVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);" (assignment_expression "cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" identifier (argument_list "(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" ( number_literal , (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" * (cast_expression "(undefined8 *)(lVar1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "lVar15 = local_50;" (assignment_expression "lVar15 = local_50" identifier = identifier) ;) (expression_statement "lVar8 = local_48;" (assignment_expression "lVar8 = local_48" identifier = identifier) ;) (expression_statement "cVar10 = cVar9;" (assignment_expression "cVar10 = cVar9" identifier = identifier) ;) (do_statement "do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );" do (compound_statement "{\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  }" { (if_statement "if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }" if (parenthesized_expression "(cVar10 == '\0')" ( (binary_expression "cVar10 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }" { (expression_statement "GOMP_loop_end_nowait();" (call_expression "GOMP_loop_end_nowait()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_88 = lVar2 + lVar15 * 0x128;" (assignment_expression "local_88 = lVar2 + lVar15 * 0x128" identifier = (binary_expression "lVar2 + lVar15 * 0x128" identifier + (binary_expression "lVar15 * 0x128" identifier * number_literal))) ;) (expression_statement "local_50 = lVar15;" (assignment_expression "local_50 = lVar15" identifier = identifier) ;) (expression_statement "local_48 = lVar8;" (assignment_expression "local_48 = lVar8" identifier = identifier) ;) (do_statement "do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);" do (compound_statement "{\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    }" { (if_statement "if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }" { (expression_statement "uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);" (assignment_expression "uVar11 = AcquireAuthenticCacheView(lVar1,uVar3)" identifier = (call_expression "AcquireAuthenticCacheView(lVar1,uVar3)" identifier (argument_list "(lVar1,uVar3)" ( identifier , identifier )))) ;) (expression_statement "lVar4 = *(long *)(local_88 + 8);" (assignment_expression "lVar4 = *(long *)(local_88 + 8)" identifier = (pointer_expression "*(long *)(local_88 + 8)" * (cast_expression "(long *)(local_88 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 8)" ( (binary_expression "local_88 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined8 *)(local_88 + 0x18);" (assignment_expression "uVar5 = *(undefined8 *)(local_88 + 0x18)" identifier = (pointer_expression "*(undefined8 *)(local_88 + 0x18)" * (cast_expression "(undefined8 *)(local_88 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x18)" ( (binary_expression "local_88 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "lVar6 = *(long *)(local_88 + 0x20);" (assignment_expression "lVar6 = *(long *)(local_88 + 0x20)" identifier = (pointer_expression "*(long *)(local_88 + 0x20)" * (cast_expression "(long *)(local_88 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x20)" ( (binary_expression "local_88 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "lVar7 = *(long *)(local_88 + 0x10);" (assignment_expression "lVar7 = *(long *)(local_88 + 0x10)" identifier = (pointer_expression "*(long *)(local_88 + 0x10)" * (cast_expression "(long *)(local_88 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x10)" ( (binary_expression "local_88 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" if (parenthesized_expression "(lVar7 < 1)" ( (binary_expression "lVar7 < 1" identifier < number_literal) )) (compound_statement "{\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }" { (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_78 = DAT_003f9608;" (assignment_expression "local_78 = DAT_003f9608" identifier = identifier) ;) (labeled_statement "LAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;" statement_identifier : (expression_statement "local_78 = local_78 / DAT_003f9600;" (assignment_expression "local_78 = local_78 / DAT_003f9600" identifier = (binary_expression "local_78 / DAT_003f9600" identifier / identifier)) ;)) }) (else_clause "else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" else (compound_statement "{\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" { (expression_statement "lVar14 = 0;" (assignment_expression "lVar14 = 0" identifier = number_literal) ;) (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (do_statement "do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);" do (compound_statement "{\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          }" { (if_statement "if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" { (expression_statement "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);" (assignment_expression "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" identifier (argument_list "(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" ( identifier , identifier , (binary_expression "lVar14 + lVar6" identifier + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (break_statement "break;" break ;) })) (if_statement "if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" if (parenthesized_expression "(0 < lVar4)" ( (binary_expression "0 < lVar4" number_literal < identifier) )) (compound_statement "{\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" { (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);" do (compound_statement "{\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                }" { (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" identifier = number_literal) ;) (if_statement "if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" if (parenthesized_expression "(*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0)" ( (binary_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0" (pointer_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54)" * (cast_expression "(int *)(*(long *)(lVar1 + 0x360) + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x54)" ( (binary_expression "*(long *)(lVar1 + 0x360) + 0x54" (pointer_expression "*(long *)(lVar1 + 0x360)" * (cast_expression "(long *)(lVar1 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x360)" ( (binary_expression "lVar1 + 0x360" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" { (expression_statement "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);" (assignment_expression "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" identifier = (pointer_expression "*(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" * (cast_expression "(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" ( (binary_expression "lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" identifier + (binary_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" (pointer_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58)" * (cast_expression "(long *)(*(long *)(lVar1 + 0x360) + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x58)" ( (binary_expression "*(long *)(lVar1 + 0x360) + 0x58" (pointer_expression "*(long *)(lVar1 + 0x360)" * (cast_expression "(long *)(lVar1 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x360)" ( (binary_expression "lVar1 + 0x360" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) })) (if_statement "if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }" if (parenthesized_expression "(lVar15 == (long)fVar16)" ( (binary_expression "lVar15 == (long)fVar16" identifier == (cast_expression "(long)fVar16" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }" { (expression_statement "local_d0 = local_d0 + DAT_003f9608;" (assignment_expression "local_d0 = local_d0 + DAT_003f9608" identifier = (binary_expression "local_d0 + DAT_003f9608" identifier + identifier)) ;) (expression_statement "local_c0 = local_c0 + (double)lVar13;" (assignment_expression "local_c0 = local_c0 + (double)lVar13" identifier = (binary_expression "local_c0 + (double)lVar13" identifier + (cast_expression "(double)lVar13" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "local_c8 = (double)lVar14 + local_c8;" (assignment_expression "local_c8 = (double)lVar14 + local_c8" identifier = (binary_expression "(double)lVar14 + local_c8" (cast_expression "(double)lVar14" ( (type_descriptor "double" primitive_type) ) identifier) + identifier)) ;) })) (expression_statement "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;" (assignment_expression "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4" identifier = (binary_expression "lVar12 + *(long *)(lVar1 + 0x340) * 4" identifier + (binary_expression "*(long *)(lVar1 + 0x340) * 4" (pointer_expression "*(long *)(lVar1 + 0x340)" * (cast_expression "(long *)(lVar1 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x340)" ( (binary_expression "lVar1 + 0x340" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar13 != lVar4)" ( (binary_expression "lVar13 != lVar4" identifier != identifier) )) ;) })) })) (expression_statement "lVar14 = lVar14 + 1;" (assignment_expression "lVar14 = lVar14 + 1" identifier = (binary_expression "lVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 != lVar7)" ( (binary_expression "lVar14 != lVar7" identifier != identifier) )) ;) (expression_statement "local_78 = DAT_003f9c68;" (assignment_expression "local_78 = DAT_003f9c68" identifier = identifier) ;) (if_statement "if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }" if (parenthesized_expression "(0.0 <= local_d0)" ( (binary_expression "0.0 <= local_d0" number_literal <= identifier) )) (compound_statement "{\n            local_78 = DAT_003f9608;\n          }" { (expression_statement "local_78 = DAT_003f9608;" (assignment_expression "local_78 = DAT_003f9608" identifier = identifier) ;) })) (if_statement "if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;" if (parenthesized_expression "(local_d0 * local_78 < DAT_003f9600)" ( (binary_expression "local_d0 * local_78 < DAT_003f9600" (binary_expression "local_d0 * local_78" identifier * identifier) < identifier) )) (goto_statement "goto LAB_002f310b;" goto statement_identifier ;)) (expression_statement "local_78 = DAT_003f9608 / local_d0;" (assignment_expression "local_78 = DAT_003f9608 / local_d0" identifier = (binary_expression "DAT_003f9608 / local_d0" identifier / identifier)) ;) }))) (expression_statement "dVar19 = local_c0 * local_78;" (assignment_expression "dVar19 = local_c0 * local_78" identifier = (binary_expression "local_c0 * local_78" identifier * identifier)) ;) (expression_statement "dVar20 = local_c8 * local_78;" (assignment_expression "dVar20 = local_c8 * local_78" identifier = (binary_expression "local_c8 * local_78" identifier * identifier)) ;) (expression_statement "cVar10 = cVar9;" (assignment_expression "cVar10 = cVar9" identifier = identifier) ;) (if_statement "if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" if (parenthesized_expression "(lVar7 < 1)" ( (binary_expression "lVar7 < 1" identifier < number_literal) )) (compound_statement "{\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }" { (expression_statement "DestroyCacheView(uVar11);" (call_expression "DestroyCacheView(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "dVar19 = (local_78 + local_78) * 0.0;" (assignment_expression "dVar19 = (local_78 + local_78) * 0.0" identifier = (binary_expression "(local_78 + local_78) * 0.0" (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )) * number_literal)) ;) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" identifier = (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier )))) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (if_statement "if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }" { (expression_statement "local_a8 = 0.0;" (assignment_expression "local_a8 = 0.0" identifier = number_literal) ;) (goto_statement "goto LAB_002f3622;" goto statement_identifier ;) })) }) (else_clause "else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" else (compound_statement "{\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" { (expression_statement "lVar14 = 0;" (assignment_expression "lVar14 = 0" identifier = number_literal) ;) (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (do_statement "do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);" do (compound_statement "{\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          }" { (if_statement "if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" { (expression_statement "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);" (assignment_expression "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" identifier (argument_list "(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" ( identifier , identifier , (binary_expression "lVar14 + lVar6" identifier + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (break_statement "break;" break ;) })) (if_statement "if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" if (parenthesized_expression "(0 < lVar4)" ( (binary_expression "0 < lVar4" number_literal < identifier) )) (compound_statement "{\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" { (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);" do (compound_statement "{\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                }" { (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" identifier = number_literal) ;) (if_statement "if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" if (parenthesized_expression "(*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0)" ( (binary_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0" (pointer_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54)" * (cast_expression "(int *)(*(long *)(lVar1 + 0x360) + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x54)" ( (binary_expression "*(long *)(lVar1 + 0x360) + 0x54" (pointer_expression "*(long *)(lVar1 + 0x360)" * (cast_expression "(long *)(lVar1 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x360)" ( (binary_expression "lVar1 + 0x360" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" { (expression_statement "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);" (assignment_expression "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" identifier = (pointer_expression "*(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" * (cast_expression "(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" ( (binary_expression "lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" identifier + (binary_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" (pointer_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58)" * (cast_expression "(long *)(*(long *)(lVar1 + 0x360) + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x58)" ( (binary_expression "*(long *)(lVar1 + 0x360) + 0x58" (pointer_expression "*(long *)(lVar1 + 0x360)" * (cast_expression "(long *)(lVar1 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x360)" ( (binary_expression "lVar1 + 0x360" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) })) (if_statement "if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }" if (parenthesized_expression "(lVar15 == (long)fVar16)" ( (binary_expression "lVar15 == (long)fVar16" identifier == (cast_expression "(long)fVar16" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }" { (expression_statement "dVar18 = (double)lVar13 - dVar19;" (assignment_expression "dVar18 = (double)lVar13 - dVar19" identifier = (binary_expression "(double)lVar13 - dVar19" (cast_expression "(double)lVar13" ( (type_descriptor "double" primitive_type) ) identifier) - identifier)) ;) (expression_statement "dVar17 = (double)lVar14 - dVar20;" (assignment_expression "dVar17 = (double)lVar14 - dVar20" identifier = (binary_expression "(double)lVar14 - dVar20" (cast_expression "(double)lVar14" ( (type_descriptor "double" primitive_type) ) identifier) - identifier)) ;) (expression_statement "local_c8 = dVar18 * dVar17 + local_c8;" (assignment_expression "local_c8 = dVar18 * dVar17 + local_c8" identifier = (binary_expression "dVar18 * dVar17 + local_c8" (binary_expression "dVar18 * dVar17" identifier * identifier) + identifier)) ;) (expression_statement "local_c0 = dVar18 * dVar18 + local_c0;" (assignment_expression "local_c0 = dVar18 * dVar18 + local_c0" identifier = (binary_expression "dVar18 * dVar18 + local_c0" (binary_expression "dVar18 * dVar18" identifier * identifier) + identifier)) ;) (expression_statement "local_d0 = dVar17 * dVar17 + local_d0;" (assignment_expression "local_d0 = dVar17 * dVar17 + local_d0" identifier = (binary_expression "dVar17 * dVar17 + local_d0" (binary_expression "dVar17 * dVar17" identifier * identifier) + identifier)) ;) })) (expression_statement "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;" (assignment_expression "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4" identifier = (binary_expression "lVar12 + *(long *)(lVar1 + 0x340) * 4" identifier + (binary_expression "*(long *)(lVar1 + 0x340) * 4" (pointer_expression "*(long *)(lVar1 + 0x340)" * (cast_expression "(long *)(lVar1 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x340)" ( (binary_expression "lVar1 + 0x340" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar13 != lVar4)" ( (binary_expression "lVar13 != lVar4" identifier != identifier) )) ;) })) })) (expression_statement "lVar14 = lVar14 + 1;" (assignment_expression "lVar14 = lVar14 + 1" identifier = (binary_expression "lVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 != lVar7)" ( (binary_expression "lVar14 != lVar7" identifier != identifier) )) ;) (expression_statement "DestroyCacheView(uVar11);" (call_expression "DestroyCacheView(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "dVar19 = local_d0 + local_c0;" (assignment_expression "dVar19 = local_d0 + local_c0" identifier = (binary_expression "local_d0 + local_c0" identifier + identifier)) ;) (expression_statement "local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);" (assignment_expression "local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0)" identifier = (binary_expression "local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0)" (binary_expression "local_c8 * DAT_004067c0 * local_c8" (binary_expression "local_c8 * DAT_004067c0" identifier * identifier) * identifier) + (binary_expression "(local_c0 - local_d0) * (local_c0 - local_d0)" (parenthesized_expression "(local_c0 - local_d0)" ( (binary_expression "local_c0 - local_d0" identifier - identifier) )) * (parenthesized_expression "(local_c0 - local_d0)" ( (binary_expression "local_c0 - local_d0" identifier - identifier) ))))) ;) (expression_statement "local_c8 = SQRT(local_a8);" (assignment_expression "local_c8 = SQRT(local_a8)" identifier = (call_expression "SQRT(local_a8)" identifier (argument_list "(local_a8)" ( identifier )))) ;) (expression_statement "local_d0 = dVar19;" (assignment_expression "local_d0 = dVar19" identifier = identifier) ;) (if_statement "if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" if (parenthesized_expression "(local_a8 < 0.0)" ( (binary_expression "local_a8 < 0.0" identifier < number_literal) )) (compound_statement "{\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }" { (expression_statement "sqrt(local_a8);" (call_expression "sqrt(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) (expression_statement "dVar19 = (dVar19 + local_c8) * (local_78 + local_78);" (assignment_expression "dVar19 = (dVar19 + local_c8) * (local_78 + local_78)" identifier = (binary_expression "(dVar19 + local_c8) * (local_78 + local_78)" (parenthesized_expression "(dVar19 + local_c8)" ( (binary_expression "dVar19 + local_c8" identifier + identifier) )) * (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )))) ;) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" identifier = (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier )))) ;) (if_statement "if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }" { (expression_statement "cVar10 = '\0';" (assignment_expression "cVar10 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (goto_statement "goto LAB_002f3622;" goto statement_identifier ;) })) }) (else_clause "else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" else (compound_statement "{\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" { (expression_statement "dVar19 = (dVar19 + local_c8) * (local_78 + local_78);" (assignment_expression "dVar19 = (dVar19 + local_c8) * (local_78 + local_78)" identifier = (binary_expression "(dVar19 + local_c8) * (local_78 + local_78)" (parenthesized_expression "(dVar19 + local_c8)" ( (binary_expression "dVar19 + local_c8" identifier + identifier) )) * (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )))) ;) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" identifier = (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier )))) ;) (if_statement "if (0.0 <= dVar19) goto LAB_002f3314;" if (parenthesized_expression "(0.0 <= dVar19)" ( (binary_expression "0.0 <= dVar19" number_literal <= identifier) )) (goto_statement "goto LAB_002f3314;" goto statement_identifier ;)) (labeled_statement "LAB_002f3622:\n            sqrt(dVar19);" statement_identifier : (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))) ;)) (if_statement "if (cVar10 != '\0') goto LAB_002f3314;" if (parenthesized_expression "(cVar10 != '\0')" ( (binary_expression "cVar10 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002f3314;" goto statement_identifier ;)) }))) (expression_statement "sqrt(local_a8);" (call_expression "sqrt(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) }))) (labeled_statement "LAB_002f3314:\n        local_b8 = local_78 + local_78;" statement_identifier : (expression_statement "local_b8 = local_78 + local_78;" (assignment_expression "local_b8 = local_78 + local_78" identifier = (binary_expression "local_78 + local_78" identifier + identifier)) ;)) (expression_statement "local_b8 = (local_d0 - local_c8) * local_b8;" (assignment_expression "local_b8 = (local_d0 - local_c8) * local_b8" identifier = (binary_expression "(local_d0 - local_c8) * local_b8" (parenthesized_expression "(local_d0 - local_c8)" ( (binary_expression "local_d0 - local_c8" identifier - identifier) )) * identifier)) ;) (if_statement "if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }" if (parenthesized_expression "(local_b8 < 0.0)" ( (binary_expression "local_b8 < 0.0" identifier < number_literal) )) (compound_statement "{\n          sqrt(local_b8);\n        }" { (expression_statement "sqrt(local_b8);" (call_expression "sqrt(local_b8)" identifier (argument_list "(local_b8)" ( identifier ))) ;) })) (expression_statement "dVar19 = DAT_003fa390;" (assignment_expression "dVar19 = DAT_003fa390" identifier = identifier) ;) (if_statement "if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }" if (parenthesized_expression "(DAT_003f9600 <= local_c0 * local_c0)" ( (binary_expression "DAT_003f9600 <= local_c0 * local_c0" identifier <= (binary_expression "local_c0 * local_c0" identifier * identifier)) )) (compound_statement "{\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }" { (expression_statement "dVar19 = DAT_003f9608 / (local_c0 * local_c0);" (assignment_expression "dVar19 = DAT_003f9608 / (local_c0 * local_c0)" identifier = (binary_expression "DAT_003f9608 / (local_c0 * local_c0)" identifier / (parenthesized_expression "(local_c0 * local_c0)" ( (binary_expression "local_c0 * local_c0" identifier * identifier) )))) ;) })) (expression_statement "dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);" (assignment_expression "dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8)" identifier = (binary_expression "DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8)" identifier - (binary_expression "dVar19 * SQRT(local_b8) * SQRT(local_b8)" (binary_expression "dVar19 * SQRT(local_b8)" identifier * (call_expression "SQRT(local_b8)" identifier (argument_list "(local_b8)" ( identifier )))) * (call_expression "SQRT(local_b8)" identifier (argument_list "(local_b8)" ( identifier )))))) ;) (expression_statement "lVar4 = *(long *)param_1[3];" (assignment_expression "lVar4 = *(long *)param_1[3]" identifier = (pointer_expression "*(long *)param_1[3]" * (cast_expression "(long *)param_1[3]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ])))) ;) (if_statement "if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n          sqrt(dVar19);\n        }" { (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))) ;) })) (expression_statement "*(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);" (assignment_expression "*(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19)" (pointer_expression "*(double *)(local_88 + 0xa8 + lVar4 * 8)" * (cast_expression "(double *)(local_88 + 0xa8 + lVar4 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0xa8 + lVar4 * 8)" ( (binary_expression "local_88 + 0xa8 + lVar4 * 8" (binary_expression "local_88 + 0xa8" identifier + number_literal) + (binary_expression "lVar4 * 8" identifier * number_literal)) )))) = (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier )))) ;) })) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" identifier = (binary_expression "lVar15 + 1" identifier + number_literal)) ;) (expression_statement "local_88 = local_88 + 0x128;" (assignment_expression "local_88 = local_88 + 0x128" identifier = (binary_expression "local_88 + 0x128" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar15 < lVar8)" ( (binary_expression "lVar15 < lVar8" identifier < identifier) )) ;) (expression_statement "cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);" (assignment_expression "cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_next(&local_50,&local_48)" identifier (argument_list "(&local_50,&local_48)" ( (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "lVar15 = local_50;" (assignment_expression "lVar15 = local_50" identifier = identifier) ;) (expression_statement "lVar8 = local_48;" (assignment_expression "lVar8 = local_48" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n/* DWARF original prototype: void ConnectedComponentsImage._omp_fn.4(anon_struct_40_5_58eec50f *\n   param_0) */\n\nvoid __thiscall ConnectedComponentsImage__omp_fn_4(void *this)\n\n{\n  Image *image;\n  long lVar1;\n  ExceptionInfo *exception;\n  size_t columns;\n  ssize_t x;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  char cVar5;\n  char cVar6;\n  CacheView *cache_view;\n  Quantum *pQVar7;\n  size_t sVar8;\n  long lVar9;\n  long lVar10;\n  long in_FS_OFFSET;\n  Quantum QVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  double dVar15;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  image = *(Image **)((long)this + 0x10);\n  lVar1 = *(long *)((long)this + 8);\n                    /* WARNING: Load size is inaccurate */\n  exception = *this;\n  cVar5 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_50,&local_48);\n  lVar10 = local_50;\n  lVar4 = local_48;\n  cVar6 = cVar5;\n  do {\n    if (cVar6 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar1 + lVar10 * 0x128;\n    local_50 = lVar10;\n    local_48 = lVar4;\n    do {\n      if (*(int *)((long)this + 0x20) != 0) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\n      }\n      lVar10 = lVar10 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar10 < lVar4);\n    cVar6 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar10 = local_50;\n    lVar4 = local_48;\n  } while( true );\n}\n\n" comment comment comment comment comment comment (function_definition "void __thiscall ConnectedComponentsImage__omp_fn_4(void *this)\n\n{\n  Image *image;\n  long lVar1;\n  ExceptionInfo *exception;\n  size_t columns;\n  ssize_t x;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  char cVar5;\n  char cVar6;\n  CacheView *cache_view;\n  Quantum *pQVar7;\n  size_t sVar8;\n  long lVar9;\n  long lVar10;\n  long in_FS_OFFSET;\n  Quantum QVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  double dVar15;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  image = *(Image **)((long)this + 0x10);\n  lVar1 = *(long *)((long)this + 8);\n                    /* WARNING: Load size is inaccurate */\n  exception = *this;\n  cVar5 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_50,&local_48);\n  lVar10 = local_50;\n  lVar4 = local_48;\n  cVar6 = cVar5;\n  do {\n    if (cVar6 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar1 + lVar10 * 0x128;\n    local_50 = lVar10;\n    local_48 = lVar4;\n    do {\n      if (*(int *)((long)this + 0x20) != 0) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\n      }\n      lVar10 = lVar10 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar10 < lVar4);\n    cVar6 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar10 = local_50;\n    lVar4 = local_48;\n  } while( true );\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (function_declarator "ConnectedComponentsImage__omp_fn_4(void *this)" identifier (parameter_list "(void *this)" ( (parameter_declaration "void *this" primitive_type (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Image *image;\n  long lVar1;\n  ExceptionInfo *exception;\n  size_t columns;\n  ssize_t x;\n  long lVar2;\n  long lVar3;\n  long lVar4;\n  char cVar5;\n  char cVar6;\n  CacheView *cache_view;\n  Quantum *pQVar7;\n  size_t sVar8;\n  long lVar9;\n  long lVar10;\n  long in_FS_OFFSET;\n  Quantum QVar11;\n  double dVar12;\n  double dVar13;\n  double dVar14;\n  double dVar15;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  image = *(Image **)((long)this + 0x10);\n  lVar1 = *(long *)((long)this + 8);\n                    /* WARNING: Load size is inaccurate */\n  exception = *this;\n  cVar5 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_50,&local_48);\n  lVar10 = local_50;\n  lVar4 = local_48;\n  cVar6 = cVar5;\n  do {\n    if (cVar6 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar1 + lVar10 * 0x128;\n    local_50 = lVar10;\n    local_48 = lVar4;\n    do {\n      if (*(int *)((long)this + 0x20) != 0) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\n      }\n      lVar10 = lVar10 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar10 < lVar4);\n    cVar6 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar10 = local_50;\n    lVar4 = local_48;\n  } while( true );\n}" { (declaration "Image *image;" type_identifier (pointer_declarator "*image" * identifier) ;) (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "ExceptionInfo *exception;" type_identifier (pointer_declarator "*exception" * identifier) ;) (declaration "size_t columns;" primitive_type identifier ;) (declaration "ssize_t x;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "char cVar6;" primitive_type identifier ;) (declaration "CacheView *cache_view;" type_identifier (pointer_declarator "*cache_view" * identifier) ;) (declaration "Quantum *pQVar7;" type_identifier (pointer_declarator "*pQVar7" * identifier) ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "Quantum QVar11;" type_identifier identifier ;) (declaration "double dVar12;" primitive_type identifier ;) (declaration "double dVar13;" primitive_type identifier ;) (declaration "double dVar14;" primitive_type identifier ;) (declaration "double dVar15;" primitive_type identifier ;) (declaration "double local_d0;" primitive_type identifier ;) (declaration "double local_c8;" primitive_type identifier ;) (declaration "double local_c0;" primitive_type identifier ;) (declaration "double local_b8;" primitive_type identifier ;) (declaration "double local_a8;" primitive_type identifier ;) (declaration "long local_88;" (sized_type_specifier "long" long) identifier ;) (declaration "double local_78;" primitive_type identifier ;) (declaration "long local_50;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_48;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "image = *(Image **)((long)this + 0x10);" (assignment_expression "image = *(Image **)((long)this + 0x10)" identifier = (pointer_expression "*(Image **)((long)this + 0x10)" * (cast_expression "(Image **)((long)this + 0x10)" ( (type_descriptor "Image **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x10)" ( (binary_expression "(long)this + 0x10" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) (expression_statement "lVar1 = *(long *)((long)this + 8);" (assignment_expression "lVar1 = *(long *)((long)this + 8)" identifier = (pointer_expression "*(long *)((long)this + 8)" * (cast_expression "(long *)((long)this + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 8)" ( (binary_expression "(long)this + 8" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) ))))) ;) comment (expression_statement "exception = *this;" (assignment_expression "exception = *this" identifier = (pointer_expression "*this" * identifier)) ;) (expression_statement "cVar5 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_50,&local_48);" (assignment_expression "cVar5 = GOMP_loop_dynamic_start(0,image->colors,1,1,&local_50,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_start(0,image->colors,1,1,&local_50,&local_48)" identifier (argument_list "(0,image->colors,1,1,&local_50,&local_48)" ( number_literal , (field_expression "image->colors" identifier -> field_identifier) , number_literal , number_literal , (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "lVar10 = local_50;" (assignment_expression "lVar10 = local_50" identifier = identifier) ;) (expression_statement "lVar4 = local_48;" (assignment_expression "lVar4 = local_48" identifier = identifier) ;) (expression_statement "cVar6 = cVar5;" (assignment_expression "cVar6 = cVar5" identifier = identifier) ;) (do_statement "do {\n    if (cVar6 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar1 + lVar10 * 0x128;\n    local_50 = lVar10;\n    local_48 = lVar4;\n    do {\n      if (*(int *)((long)this + 0x20) != 0) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\n      }\n      lVar10 = lVar10 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar10 < lVar4);\n    cVar6 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar10 = local_50;\n    lVar4 = local_48;\n  } while( true );" do (compound_statement "{\n    if (cVar6 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }\n    local_88 = lVar1 + lVar10 * 0x128;\n    local_50 = lVar10;\n    local_48 = lVar4;\n    do {\n      if (*(int *)((long)this + 0x20) != 0) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\n      }\n      lVar10 = lVar10 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar10 < lVar4);\n    cVar6 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar10 = local_50;\n    lVar4 = local_48;\n  }" { (if_statement "if (cVar6 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }" if (parenthesized_expression "(cVar6 == '\0')" ( (binary_expression "cVar6 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    /* WARNING: Subroutine does not return */\n      __stack_chk_fail();\n    }" { (expression_statement "GOMP_loop_end_nowait();" (call_expression "GOMP_loop_end_nowait()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) comment (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_88 = lVar1 + lVar10 * 0x128;" (assignment_expression "local_88 = lVar1 + lVar10 * 0x128" identifier = (binary_expression "lVar1 + lVar10 * 0x128" identifier + (binary_expression "lVar10 * 0x128" identifier * number_literal))) ;) (expression_statement "local_50 = lVar10;" (assignment_expression "local_50 = lVar10" identifier = identifier) ;) (expression_statement "local_48 = lVar4;" (assignment_expression "local_48 = lVar4" identifier = identifier) ;) (do_statement "do {\n      if (*(int *)((long)this + 0x20) != 0) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\n      }\n      lVar10 = lVar10 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar10 < lVar4);" do (compound_statement "{\n      if (*(int *)((long)this + 0x20) != 0) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\n      }\n      lVar10 = lVar10 + 1;\n      local_88 = local_88 + 0x128;\n    }" { (if_statement "if (*(int *)((long)this + 0x20) != 0) {\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\n      }" if (parenthesized_expression "(*(int *)((long)this + 0x20) != 0)" ( (binary_expression "*(int *)((long)this + 0x20) != 0" (pointer_expression "*(int *)((long)this + 0x20)" * (cast_expression "(int *)((long)this + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x20)" ( (binary_expression "(long)this + 0x20" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n        cache_view = AcquireAuthenticCacheView(image,exception);\n        columns = *(size_t *)(local_88 + 8);\n        x = *(ssize_t *)(local_88 + 0x18);\n        lVar2 = *(long *)(local_88 + 0x20);\n        lVar3 = *(long *)(local_88 + 0x10);\n        if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar14 = local_c0 * local_78;\n        dVar15 = local_c8 * local_78;\n        cVar6 = cVar5;\n        if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar14 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);\n        lVar2 = **(long **)((long)this + 0x18);\n        if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }\n        *(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);\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 "columns = *(size_t *)(local_88 + 8);" (assignment_expression "columns = *(size_t *)(local_88 + 8)" identifier = (pointer_expression "*(size_t *)(local_88 + 8)" * (cast_expression "(size_t *)(local_88 + 8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 8)" ( (binary_expression "local_88 + 8" identifier + number_literal) ))))) ;) (expression_statement "x = *(ssize_t *)(local_88 + 0x18);" (assignment_expression "x = *(ssize_t *)(local_88 + 0x18)" identifier = (pointer_expression "*(ssize_t *)(local_88 + 0x18)" * (cast_expression "(ssize_t *)(local_88 + 0x18)" ( (type_descriptor "ssize_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x18)" ( (binary_expression "local_88 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "lVar2 = *(long *)(local_88 + 0x20);" (assignment_expression "lVar2 = *(long *)(local_88 + 0x20)" identifier = (pointer_expression "*(long *)(local_88 + 0x20)" * (cast_expression "(long *)(local_88 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x20)" ( (binary_expression "local_88 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "lVar3 = *(long *)(local_88 + 0x10);" (assignment_expression "lVar3 = *(long *)(local_88 + 0x10)" identifier = (pointer_expression "*(long *)(local_88 + 0x10)" * (cast_expression "(long *)(local_88 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x10)" ( (binary_expression "local_88 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar3 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" if (parenthesized_expression "(lVar3 < 1)" ( (binary_expression "lVar3 < 1" identifier < number_literal) )) (compound_statement "{\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }" { (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_78 = DAT_003f9608;" (assignment_expression "local_78 = DAT_003f9608" identifier = identifier) ;) (labeled_statement "LAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;" statement_identifier : (expression_statement "local_78 = local_78 / DAT_003f9600;" (assignment_expression "local_78 = local_78 / DAT_003f9600" identifier = (binary_expression "local_78 / DAT_003f9600" identifier / identifier)) ;)) }) (else_clause "else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" else (compound_statement "{\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" { (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (do_statement "do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);" do (compound_statement "{\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          }" { (if_statement "if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }" if (parenthesized_expression "(*(int *)((long)this + 0x20) != 0)" ( (binary_expression "*(int *)((long)this + 0x20) != 0" (pointer_expression "*(int *)((long)this + 0x20)" * (cast_expression "(int *)((long)this + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x20)" ( (binary_expression "(long)this + 0x20" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }" { (expression_statement "pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);" (assignment_expression "pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception)" identifier = (call_expression "GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception)" identifier (argument_list "(cache_view,x,lVar9 + lVar2,columns,1,exception)" ( identifier , identifier , (binary_expression "lVar9 + lVar2" identifier + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }" if (parenthesized_expression "(pQVar7 == (Quantum *)0x0)" ( (binary_expression "pQVar7 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }" { (expression_statement "*(undefined4 *)((long)this + 0x20) = 0;" (assignment_expression "*(undefined4 *)((long)this + 0x20) = 0" (pointer_expression "*(undefined4 *)((long)this + 0x20)" * (cast_expression "(undefined4 *)((long)this + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x20)" ( (binary_expression "(long)this + 0x20" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (break_statement "break;" break ;) })) (if_statement "if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }" if (parenthesized_expression "(0 < (long)columns)" ( (binary_expression "0 < (long)columns" number_literal < (cast_expression "(long)columns" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }" { (expression_statement "sVar8 = 0;" (assignment_expression "sVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);" do (compound_statement "{\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                }" { (expression_statement "QVar11 = 0.0;" (assignment_expression "QVar11 = 0.0" identifier = number_literal) ;) (if_statement "if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }" if (parenthesized_expression "(image->channel_map[5].traits != UndefinedPixelTrait)" ( (binary_expression "image->channel_map[5].traits != UndefinedPixelTrait" (field_expression "image->channel_map[5].traits" (subscript_expression "image->channel_map[5]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }" { (expression_statement "QVar11 = pQVar7[image->channel_map[5].offset];" (assignment_expression "QVar11 = pQVar7[image->channel_map[5].offset]" identifier = (subscript_expression "pQVar7[image->channel_map[5].offset]" identifier [ (field_expression "image->channel_map[5].offset" (subscript_expression "image->channel_map[5]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ])) ;) })) (if_statement "if (lVar10 == (long)QVar11) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }" if (parenthesized_expression "(lVar10 == (long)QVar11)" ( (binary_expression "lVar10 == (long)QVar11" identifier == (cast_expression "(long)QVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)(long)sVar8;\n                    local_c8 = (double)lVar9 + local_c8;\n                  }" { (expression_statement "local_d0 = local_d0 + DAT_003f9608;" (assignment_expression "local_d0 = local_d0 + DAT_003f9608" identifier = (binary_expression "local_d0 + DAT_003f9608" identifier + identifier)) ;) (expression_statement "local_c0 = local_c0 + (double)(long)sVar8;" (assignment_expression "local_c0 = local_c0 + (double)(long)sVar8" identifier = (binary_expression "local_c0 + (double)(long)sVar8" identifier + (cast_expression "(double)(long)sVar8" ( (type_descriptor "double" primitive_type) ) (cast_expression "(long)sVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)))) ;) (expression_statement "local_c8 = (double)lVar9 + local_c8;" (assignment_expression "local_c8 = (double)lVar9 + local_c8" identifier = (binary_expression "(double)lVar9 + local_c8" (cast_expression "(double)lVar9" ( (type_descriptor "double" primitive_type) ) identifier) + identifier)) ;) })) (expression_statement "pQVar7 = pQVar7 + image->number_channels;" (assignment_expression "pQVar7 = pQVar7 + image->number_channels" identifier = (binary_expression "pQVar7 + image->number_channels" identifier + (field_expression "image->number_channels" identifier -> field_identifier))) ;) (expression_statement "sVar8 = sVar8 + 1;" (assignment_expression "sVar8 = sVar8 + 1" identifier = (binary_expression "sVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(sVar8 != columns)" ( (binary_expression "sVar8 != columns" identifier != identifier) )) ;) })) })) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar9 != lVar3)" ( (binary_expression "lVar9 != lVar3" identifier != identifier) )) ;) (expression_statement "local_78 = DAT_003f9c68;" (assignment_expression "local_78 = DAT_003f9c68" identifier = identifier) ;) (if_statement "if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }" if (parenthesized_expression "(0.0 <= local_d0)" ( (binary_expression "0.0 <= local_d0" number_literal <= identifier) )) (compound_statement "{\n            local_78 = DAT_003f9608;\n          }" { (expression_statement "local_78 = DAT_003f9608;" (assignment_expression "local_78 = DAT_003f9608" identifier = identifier) ;) })) (if_statement "if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;" if (parenthesized_expression "(local_d0 * local_78 < DAT_003f9600)" ( (binary_expression "local_d0 * local_78 < DAT_003f9600" (binary_expression "local_d0 * local_78" identifier * identifier) < identifier) )) (goto_statement "goto LAB_002f310b;" goto statement_identifier ;)) (expression_statement "local_78 = DAT_003f9608 / local_d0;" (assignment_expression "local_78 = DAT_003f9608 / local_d0" identifier = (binary_expression "DAT_003f9608 / local_d0" identifier / identifier)) ;) }))) (expression_statement "dVar14 = local_c0 * local_78;" (assignment_expression "dVar14 = local_c0 * local_78" identifier = (binary_expression "local_c0 * local_78" identifier * identifier)) ;) (expression_statement "dVar15 = local_c8 * local_78;" (assignment_expression "dVar15 = local_c8 * local_78" identifier = (binary_expression "local_c8 * local_78" identifier * identifier)) ;) (expression_statement "cVar6 = cVar5;" (assignment_expression "cVar6 = cVar5" identifier = identifier) ;) (if_statement "if (lVar3 < 1) {\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" if (parenthesized_expression "(lVar3 < 1)" ( (binary_expression "lVar3 < 1" identifier < number_literal) )) (compound_statement "{\n          DestroyCacheView(cache_view);\n          dVar14 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar14);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }" { (expression_statement "DestroyCacheView(cache_view);" (call_expression "DestroyCacheView(cache_view)" identifier (argument_list "(cache_view)" ( identifier ))) ;) (expression_statement "dVar14 = (local_78 + local_78) * 0.0;" (assignment_expression "dVar14 = (local_78 + local_78) * 0.0" identifier = (binary_expression "(local_78 + local_78) * 0.0" (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )) * number_literal)) ;) (expression_statement "local_c0 = SQRT(dVar14);" (assignment_expression "local_c0 = SQRT(dVar14)" identifier = (call_expression "SQRT(dVar14)" identifier (argument_list "(dVar14)" ( identifier )))) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (if_statement "if (dVar14 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }" if (parenthesized_expression "(dVar14 < 0.0)" ( (binary_expression "dVar14 < 0.0" identifier < number_literal) )) (compound_statement "{\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }" { (expression_statement "local_a8 = 0.0;" (assignment_expression "local_a8 = 0.0" identifier = number_literal) ;) (goto_statement "goto LAB_002f3622;" goto statement_identifier ;) })) }) (else_clause "else {\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" else (compound_statement "{\n          lVar9 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);\n          DestroyCacheView(cache_view);\n          dVar14 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar14;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" { (expression_statement "lVar9 = 0;" (assignment_expression "lVar9 = 0" identifier = number_literal) ;) (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (do_statement "do {\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          } while (lVar9 != lVar3);" do (compound_statement "{\n            if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }\n            lVar9 = lVar9 + 1;\n          }" { (if_statement "if (*(int *)((long)this + 0x20) != 0) {\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }" if (parenthesized_expression "(*(int *)((long)this + 0x20) != 0)" ( (binary_expression "*(int *)((long)this + 0x20) != 0" (pointer_expression "*(int *)((long)this + 0x20)" * (cast_expression "(int *)((long)this + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x20)" ( (binary_expression "(long)this + 0x20" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n              pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);\n              if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }\n              if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }\n            }" { (expression_statement "pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception);" (assignment_expression "pQVar7 = GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception)" identifier = (call_expression "GetCacheViewVirtualPixels(cache_view,x,lVar9 + lVar2,columns,1,exception)" identifier (argument_list "(cache_view,x,lVar9 + lVar2,columns,1,exception)" ( identifier , identifier , (binary_expression "lVar9 + lVar2" identifier + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if (pQVar7 == (Quantum *)0x0) {\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }" if (parenthesized_expression "(pQVar7 == (Quantum *)0x0)" ( (binary_expression "pQVar7 == (Quantum *)0x0" identifier == (cast_expression "(Quantum *)0x0" ( (type_descriptor "Quantum *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                *(undefined4 *)((long)this + 0x20) = 0;\n                break;\n              }" { (expression_statement "*(undefined4 *)((long)this + 0x20) = 0;" (assignment_expression "*(undefined4 *)((long)this + 0x20) = 0" (pointer_expression "*(undefined4 *)((long)this + 0x20)" * (cast_expression "(undefined4 *)((long)this + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)this + 0x20)" ( (binary_expression "(long)this + 0x20" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (break_statement "break;" break ;) })) (if_statement "if (0 < (long)columns) {\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }" if (parenthesized_expression "(0 < (long)columns)" ( (binary_expression "0 < (long)columns" number_literal < (cast_expression "(long)columns" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                sVar8 = 0;\n                do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);\n              }" { (expression_statement "sVar8 = 0;" (assignment_expression "sVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                } while (sVar8 != columns);" do (compound_statement "{\n                  QVar11 = 0.0;\n                  if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }\n                  if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }\n                  pQVar7 = pQVar7 + image->number_channels;\n                  sVar8 = sVar8 + 1;\n                }" { (expression_statement "QVar11 = 0.0;" (assignment_expression "QVar11 = 0.0" identifier = number_literal) ;) (if_statement "if (image->channel_map[5].traits != UndefinedPixelTrait) {\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }" if (parenthesized_expression "(image->channel_map[5].traits != UndefinedPixelTrait)" ( (binary_expression "image->channel_map[5].traits != UndefinedPixelTrait" (field_expression "image->channel_map[5].traits" (subscript_expression "image->channel_map[5]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                    QVar11 = pQVar7[image->channel_map[5].offset];\n                  }" { (expression_statement "QVar11 = pQVar7[image->channel_map[5].offset];" (assignment_expression "QVar11 = pQVar7[image->channel_map[5].offset]" identifier = (subscript_expression "pQVar7[image->channel_map[5].offset]" identifier [ (field_expression "image->channel_map[5].offset" (subscript_expression "image->channel_map[5]" (field_expression "image->channel_map" identifier -> field_identifier) [ number_literal ]) . field_identifier) ])) ;) })) (if_statement "if (lVar10 == (long)QVar11) {\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }" if (parenthesized_expression "(lVar10 == (long)QVar11)" ( (binary_expression "lVar10 == (long)QVar11" identifier == (cast_expression "(long)QVar11" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                    dVar13 = (double)(long)sVar8 - dVar14;\n                    dVar12 = (double)lVar9 - dVar15;\n                    local_c8 = dVar13 * dVar12 + local_c8;\n                    local_c0 = dVar13 * dVar13 + local_c0;\n                    local_d0 = dVar12 * dVar12 + local_d0;\n                  }" { (expression_statement "dVar13 = (double)(long)sVar8 - dVar14;" (assignment_expression "dVar13 = (double)(long)sVar8 - dVar14" identifier = (binary_expression "(double)(long)sVar8 - dVar14" (cast_expression "(double)(long)sVar8" ( (type_descriptor "double" primitive_type) ) (cast_expression "(long)sVar8" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) - identifier)) ;) (expression_statement "dVar12 = (double)lVar9 - dVar15;" (assignment_expression "dVar12 = (double)lVar9 - dVar15" identifier = (binary_expression "(double)lVar9 - dVar15" (cast_expression "(double)lVar9" ( (type_descriptor "double" primitive_type) ) identifier) - identifier)) ;) (expression_statement "local_c8 = dVar13 * dVar12 + local_c8;" (assignment_expression "local_c8 = dVar13 * dVar12 + local_c8" identifier = (binary_expression "dVar13 * dVar12 + local_c8" (binary_expression "dVar13 * dVar12" identifier * identifier) + identifier)) ;) (expression_statement "local_c0 = dVar13 * dVar13 + local_c0;" (assignment_expression "local_c0 = dVar13 * dVar13 + local_c0" identifier = (binary_expression "dVar13 * dVar13 + local_c0" (binary_expression "dVar13 * dVar13" identifier * identifier) + identifier)) ;) (expression_statement "local_d0 = dVar12 * dVar12 + local_d0;" (assignment_expression "local_d0 = dVar12 * dVar12 + local_d0" identifier = (binary_expression "dVar12 * dVar12 + local_d0" (binary_expression "dVar12 * dVar12" identifier * identifier) + identifier)) ;) })) (expression_statement "pQVar7 = pQVar7 + image->number_channels;" (assignment_expression "pQVar7 = pQVar7 + image->number_channels" identifier = (binary_expression "pQVar7 + image->number_channels" identifier + (field_expression "image->number_channels" identifier -> field_identifier))) ;) (expression_statement "sVar8 = sVar8 + 1;" (assignment_expression "sVar8 = sVar8 + 1" identifier = (binary_expression "sVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(sVar8 != columns)" ( (binary_expression "sVar8 != columns" identifier != identifier) )) ;) })) })) (expression_statement "lVar9 = lVar9 + 1;" (assignment_expression "lVar9 = lVar9 + 1" identifier = (binary_expression "lVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar9 != lVar3)" ( (binary_expression "lVar9 != lVar3" identifier != identifier) )) ;) (expression_statement "DestroyCacheView(cache_view);" (call_expression "DestroyCacheView(cache_view)" identifier (argument_list "(cache_view)" ( identifier ))) ;) (expression_statement "dVar14 = local_d0 + local_c0;" (assignment_expression "dVar14 = local_d0 + local_c0" identifier = (binary_expression "local_d0 + local_c0" identifier + identifier)) ;) (expression_statement "local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);" (assignment_expression "local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0)" identifier = (binary_expression "local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0)" (binary_expression "local_c8 * DAT_004067c0 * local_c8" (binary_expression "local_c8 * DAT_004067c0" identifier * identifier) * identifier) + (binary_expression "(local_c0 - local_d0) * (local_c0 - local_d0)" (parenthesized_expression "(local_c0 - local_d0)" ( (binary_expression "local_c0 - local_d0" identifier - identifier) )) * (parenthesized_expression "(local_c0 - local_d0)" ( (binary_expression "local_c0 - local_d0" identifier - identifier) ))))) ;) (expression_statement "local_c8 = SQRT(local_a8);" (assignment_expression "local_c8 = SQRT(local_a8)" identifier = (call_expression "SQRT(local_a8)" identifier (argument_list "(local_a8)" ( identifier )))) ;) (expression_statement "local_d0 = dVar14;" (assignment_expression "local_d0 = dVar14" identifier = identifier) ;) (if_statement "if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }" if (parenthesized_expression "(local_a8 < 0.0)" ( (binary_expression "local_a8 < 0.0" identifier < number_literal) )) (compound_statement "{\n            sqrt(local_a8);\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }\n          }" { (expression_statement "sqrt(local_a8);" (call_expression "sqrt(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) (expression_statement "dVar14 = (dVar14 + local_c8) * (local_78 + local_78);" (assignment_expression "dVar14 = (dVar14 + local_c8) * (local_78 + local_78)" identifier = (binary_expression "(dVar14 + local_c8) * (local_78 + local_78)" (parenthesized_expression "(dVar14 + local_c8)" ( (binary_expression "dVar14 + local_c8" identifier + identifier) )) * (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )))) ;) (expression_statement "local_c0 = SQRT(dVar14);" (assignment_expression "local_c0 = SQRT(dVar14)" identifier = (call_expression "SQRT(dVar14)" identifier (argument_list "(dVar14)" ( identifier )))) ;) (if_statement "if (dVar14 < 0.0) {\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }" if (parenthesized_expression "(dVar14 < 0.0)" ( (binary_expression "dVar14 < 0.0" identifier < number_literal) )) (compound_statement "{\n              cVar6 = '\0';\n              goto LAB_002f3622;\n            }" { (expression_statement "cVar6 = '\0';" (assignment_expression "cVar6 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (goto_statement "goto LAB_002f3622;" goto statement_identifier ;) })) }) (else_clause "else {\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }" else (compound_statement "{\n            dVar14 = (dVar14 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar14);\n            if (0.0 <= dVar14) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar14);\n            if (cVar6 != '\0') goto LAB_002f3314;\n          }" { (expression_statement "dVar14 = (dVar14 + local_c8) * (local_78 + local_78);" (assignment_expression "dVar14 = (dVar14 + local_c8) * (local_78 + local_78)" identifier = (binary_expression "(dVar14 + local_c8) * (local_78 + local_78)" (parenthesized_expression "(dVar14 + local_c8)" ( (binary_expression "dVar14 + local_c8" identifier + identifier) )) * (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )))) ;) (expression_statement "local_c0 = SQRT(dVar14);" (assignment_expression "local_c0 = SQRT(dVar14)" identifier = (call_expression "SQRT(dVar14)" identifier (argument_list "(dVar14)" ( identifier )))) ;) (if_statement "if (0.0 <= dVar14) goto LAB_002f3314;" if (parenthesized_expression "(0.0 <= dVar14)" ( (binary_expression "0.0 <= dVar14" number_literal <= identifier) )) (goto_statement "goto LAB_002f3314;" goto statement_identifier ;)) (labeled_statement "LAB_002f3622:\n            sqrt(dVar14);" statement_identifier : (expression_statement "sqrt(dVar14);" (call_expression "sqrt(dVar14)" identifier (argument_list "(dVar14)" ( identifier ))) ;)) (if_statement "if (cVar6 != '\0') goto LAB_002f3314;" if (parenthesized_expression "(cVar6 != '\0')" ( (binary_expression "cVar6 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002f3314;" goto statement_identifier ;)) }))) (expression_statement "sqrt(local_a8);" (call_expression "sqrt(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) }))) (labeled_statement "LAB_002f3314:\n        local_b8 = local_78 + local_78;" statement_identifier : (expression_statement "local_b8 = local_78 + local_78;" (assignment_expression "local_b8 = local_78 + local_78" identifier = (binary_expression "local_78 + local_78" identifier + identifier)) ;)) (expression_statement "local_b8 = (local_d0 - local_c8) * local_b8;" (assignment_expression "local_b8 = (local_d0 - local_c8) * local_b8" identifier = (binary_expression "(local_d0 - local_c8) * local_b8" (parenthesized_expression "(local_d0 - local_c8)" ( (binary_expression "local_d0 - local_c8" identifier - identifier) )) * identifier)) ;) (if_statement "if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }" if (parenthesized_expression "(local_b8 < 0.0)" ( (binary_expression "local_b8 < 0.0" identifier < number_literal) )) (compound_statement "{\n          sqrt(local_b8);\n        }" { (expression_statement "sqrt(local_b8);" (call_expression "sqrt(local_b8)" identifier (argument_list "(local_b8)" ( identifier ))) ;) })) (expression_statement "dVar14 = DAT_003fa390;" (assignment_expression "dVar14 = DAT_003fa390" identifier = identifier) ;) (if_statement "if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }" if (parenthesized_expression "(DAT_003f9600 <= local_c0 * local_c0)" ( (binary_expression "DAT_003f9600 <= local_c0 * local_c0" identifier <= (binary_expression "local_c0 * local_c0" identifier * identifier)) )) (compound_statement "{\n          dVar14 = DAT_003f9608 / (local_c0 * local_c0);\n        }" { (expression_statement "dVar14 = DAT_003f9608 / (local_c0 * local_c0);" (assignment_expression "dVar14 = DAT_003f9608 / (local_c0 * local_c0)" identifier = (binary_expression "DAT_003f9608 / (local_c0 * local_c0)" identifier / (parenthesized_expression "(local_c0 * local_c0)" ( (binary_expression "local_c0 * local_c0" identifier * identifier) )))) ;) })) (expression_statement "dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8);" (assignment_expression "dVar14 = DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8)" identifier = (binary_expression "DAT_003f9608 - dVar14 * SQRT(local_b8) * SQRT(local_b8)" identifier - (binary_expression "dVar14 * SQRT(local_b8) * SQRT(local_b8)" (binary_expression "dVar14 * SQRT(local_b8)" identifier * (call_expression "SQRT(local_b8)" identifier (argument_list "(local_b8)" ( identifier )))) * (call_expression "SQRT(local_b8)" identifier (argument_list "(local_b8)" ( identifier )))))) ;) (expression_statement "lVar2 = **(long **)((long)this + 0x18);" (assignment_expression "lVar2 = **(long **)((long)this + 0x18)" identifier = (pointer_expression "**(long **)((long)this + 0x18)" * (pointer_expression "*(long **)((long)this + 0x18)" * (cast_expression "(long **)((long)this + 0x18)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)this + 0x18)" ( (binary_expression "(long)this + 0x18" (cast_expression "(long)this" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))))) ;) (if_statement "if (dVar14 < 0.0) {\n          sqrt(dVar14);\n        }" if (parenthesized_expression "(dVar14 < 0.0)" ( (binary_expression "dVar14 < 0.0" identifier < number_literal) )) (compound_statement "{\n          sqrt(dVar14);\n        }" { (expression_statement "sqrt(dVar14);" (call_expression "sqrt(dVar14)" identifier (argument_list "(dVar14)" ( identifier ))) ;) })) (expression_statement "*(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14);" (assignment_expression "*(double *)(local_88 + 0xa8 + lVar2 * 8) = SQRT(dVar14)" (pointer_expression "*(double *)(local_88 + 0xa8 + lVar2 * 8)" * (cast_expression "(double *)(local_88 + 0xa8 + lVar2 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0xa8 + lVar2 * 8)" ( (binary_expression "local_88 + 0xa8 + lVar2 * 8" (binary_expression "local_88 + 0xa8" identifier + number_literal) + (binary_expression "lVar2 * 8" identifier * number_literal)) )))) = (call_expression "SQRT(dVar14)" identifier (argument_list "(dVar14)" ( identifier )))) ;) })) (expression_statement "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" identifier = (binary_expression "lVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_88 = local_88 + 0x128;" (assignment_expression "local_88 = local_88 + 0x128" identifier = (binary_expression "local_88 + 0x128" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar10 < lVar4)" ( (binary_expression "lVar10 < lVar4" identifier < identifier) )) ;) (expression_statement "cVar6 = GOMP_loop_dynamic_next(&local_50,&local_48);" (assignment_expression "cVar6 = GOMP_loop_dynamic_next(&local_50,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_next(&local_50,&local_48)" identifier (argument_list "(&local_50,&local_48)" ( (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "lVar10 = local_50;" (assignment_expression "lVar10 = local_50" identifier = identifier) ;) (expression_statement "lVar4 = local_48;" (assignment_expression "lVar4 = local_48" identifier = identifier) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "void FUN_002f302d(undefined8 *param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  char cVar9;\n  char cVar10;\n  undefined8 uVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  lVar1 = param_1[2];\n  lVar2 = param_1[1];\n  uVar3 = *param_1;\n  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);\n  lVar15 = local_50;\n  lVar8 = local_48;\n  cVar10 = cVar9;\n  do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );\n}\n\n" (function_definition "void FUN_002f302d(undefined8 *param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  char cVar9;\n  char cVar10;\n  undefined8 uVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  lVar1 = param_1[2];\n  lVar2 = param_1[1];\n  uVar3 = *param_1;\n  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);\n  lVar15 = local_50;\n  lVar8 = local_48;\n  cVar10 = cVar9;\n  do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );\n}" primitive_type (function_declarator "FUN_002f302d(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  char cVar9;\n  char cVar10;\n  undefined8 uVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  lVar1 = param_1[2];\n  lVar2 = param_1[1];\n  uVar3 = *param_1;\n  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);\n  lVar15 = local_50;\n  lVar8 = local_48;\n  cVar10 = cVar9;\n  do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined8 uVar5;" type_identifier identifier ;) (declaration "long lVar6;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar9;" primitive_type identifier ;) (declaration "char cVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar14;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar15;" (sized_type_specifier "long" long) identifier ;) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" long) identifier ;) (declaration "float fVar16;" primitive_type identifier ;) (declaration "double dVar17;" primitive_type identifier ;) (declaration "double dVar18;" primitive_type identifier ;) (declaration "double dVar19;" primitive_type identifier ;) (declaration "double dVar20;" primitive_type identifier ;) (declaration "double local_d0;" primitive_type identifier ;) (declaration "double local_c8;" primitive_type identifier ;) (declaration "double local_c0;" primitive_type identifier ;) (declaration "double local_b8;" primitive_type identifier ;) (declaration "double local_a8;" primitive_type identifier ;) (declaration "long local_88;" (sized_type_specifier "long" long) identifier ;) (declaration "double local_78;" primitive_type identifier ;) (declaration "long local_50;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_48;" (sized_type_specifier "long" long) identifier ;) (declaration "long local_40;" (sized_type_specifier "long" long) identifier ;) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" identifier = (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) ;) (expression_statement "lVar1 = param_1[2];" (assignment_expression "lVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "lVar2 = param_1[1];" (assignment_expression "lVar2 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);" (assignment_expression "cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" identifier (argument_list "(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" ( number_literal , (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" * (cast_expression "(undefined8 *)(lVar1 + 0x38)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x38)" ( (binary_expression "lVar1 + 0x38" identifier + number_literal) )))) , number_literal , number_literal , (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "lVar15 = local_50;" (assignment_expression "lVar15 = local_50" identifier = identifier) ;) (expression_statement "lVar8 = local_48;" (assignment_expression "lVar8 = local_48" identifier = identifier) ;) (expression_statement "cVar10 = cVar9;" (assignment_expression "cVar10 = cVar9" identifier = identifier) ;) (do_statement "do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );" do (compound_statement "{\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  }" { (if_statement "if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }" if (parenthesized_expression "(cVar10 == '\0')" ( (binary_expression "cVar10 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }" { (expression_statement "GOMP_loop_end_nowait();" (call_expression "GOMP_loop_end_nowait()" identifier (argument_list "()" ( ))) ;) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }" if (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" ( (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" identifier == (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" * (cast_expression "(long *)(in_FS_OFFSET + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_FS_OFFSET + 0x28)" ( (binary_expression "in_FS_OFFSET + 0x28" identifier + number_literal) ))))) )) (compound_statement "{\n        return;\n      }" { (return_statement "return;" return ;) })) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "local_88 = lVar2 + lVar15 * 0x128;" (assignment_expression "local_88 = lVar2 + lVar15 * 0x128" identifier = (binary_expression "lVar2 + lVar15 * 0x128" identifier + (binary_expression "lVar15 * 0x128" identifier * number_literal))) ;) (expression_statement "local_50 = lVar15;" (assignment_expression "local_50 = lVar15" identifier = identifier) ;) (expression_statement "local_48 = lVar8;" (assignment_expression "local_48 = lVar8" identifier = identifier) ;) (do_statement "do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);" do (compound_statement "{\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    }" { (if_statement "if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }" { (expression_statement "uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);" (assignment_expression "uVar11 = AcquireAuthenticCacheView(lVar1,uVar3)" identifier = (call_expression "AcquireAuthenticCacheView(lVar1,uVar3)" identifier (argument_list "(lVar1,uVar3)" ( identifier , identifier )))) ;) (expression_statement "lVar4 = *(long *)(local_88 + 8);" (assignment_expression "lVar4 = *(long *)(local_88 + 8)" identifier = (pointer_expression "*(long *)(local_88 + 8)" * (cast_expression "(long *)(local_88 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 8)" ( (binary_expression "local_88 + 8" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined8 *)(local_88 + 0x18);" (assignment_expression "uVar5 = *(undefined8 *)(local_88 + 0x18)" identifier = (pointer_expression "*(undefined8 *)(local_88 + 0x18)" * (cast_expression "(undefined8 *)(local_88 + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x18)" ( (binary_expression "local_88 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "lVar6 = *(long *)(local_88 + 0x20);" (assignment_expression "lVar6 = *(long *)(local_88 + 0x20)" identifier = (pointer_expression "*(long *)(local_88 + 0x20)" * (cast_expression "(long *)(local_88 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x20)" ( (binary_expression "local_88 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "lVar7 = *(long *)(local_88 + 0x10);" (assignment_expression "lVar7 = *(long *)(local_88 + 0x10)" identifier = (pointer_expression "*(long *)(local_88 + 0x10)" * (cast_expression "(long *)(local_88 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0x10)" ( (binary_expression "local_88 + 0x10" identifier + number_literal) ))))) ;) (if_statement "if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" if (parenthesized_expression "(lVar7 < 1)" ( (binary_expression "lVar7 < 1" identifier < number_literal) )) (compound_statement "{\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }" { (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_78 = DAT_003f9608;" (assignment_expression "local_78 = DAT_003f9608" identifier = identifier) ;) (labeled_statement "LAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;" statement_identifier : (expression_statement "local_78 = local_78 / DAT_003f9600;" (assignment_expression "local_78 = local_78 / DAT_003f9600" identifier = (binary_expression "local_78 / DAT_003f9600" identifier / identifier)) ;)) }) (else_clause "else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" else (compound_statement "{\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" { (expression_statement "lVar14 = 0;" (assignment_expression "lVar14 = 0" identifier = number_literal) ;) (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (do_statement "do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);" do (compound_statement "{\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          }" { (if_statement "if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" { (expression_statement "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);" (assignment_expression "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" identifier (argument_list "(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" ( identifier , identifier , (binary_expression "lVar14 + lVar6" identifier + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (break_statement "break;" break ;) })) (if_statement "if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" if (parenthesized_expression "(0 < lVar4)" ( (binary_expression "0 < lVar4" number_literal < identifier) )) (compound_statement "{\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" { (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);" do (compound_statement "{\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                }" { (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" identifier = number_literal) ;) (if_statement "if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" if (parenthesized_expression "(*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0)" ( (binary_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0" (pointer_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54)" * (cast_expression "(int *)(*(long *)(lVar1 + 0x360) + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x54)" ( (binary_expression "*(long *)(lVar1 + 0x360) + 0x54" (pointer_expression "*(long *)(lVar1 + 0x360)" * (cast_expression "(long *)(lVar1 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x360)" ( (binary_expression "lVar1 + 0x360" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" { (expression_statement "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);" (assignment_expression "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" identifier = (pointer_expression "*(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" * (cast_expression "(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" ( (binary_expression "lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" identifier + (binary_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" (pointer_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58)" * (cast_expression "(long *)(*(long *)(lVar1 + 0x360) + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x58)" ( (binary_expression "*(long *)(lVar1 + 0x360) + 0x58" (pointer_expression "*(long *)(lVar1 + 0x360)" * (cast_expression "(long *)(lVar1 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x360)" ( (binary_expression "lVar1 + 0x360" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) })) (if_statement "if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }" if (parenthesized_expression "(lVar15 == (long)fVar16)" ( (binary_expression "lVar15 == (long)fVar16" identifier == (cast_expression "(long)fVar16" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }" { (expression_statement "local_d0 = local_d0 + DAT_003f9608;" (assignment_expression "local_d0 = local_d0 + DAT_003f9608" identifier = (binary_expression "local_d0 + DAT_003f9608" identifier + identifier)) ;) (expression_statement "local_c0 = local_c0 + (double)lVar13;" (assignment_expression "local_c0 = local_c0 + (double)lVar13" identifier = (binary_expression "local_c0 + (double)lVar13" identifier + (cast_expression "(double)lVar13" ( (type_descriptor "double" primitive_type) ) identifier))) ;) (expression_statement "local_c8 = (double)lVar14 + local_c8;" (assignment_expression "local_c8 = (double)lVar14 + local_c8" identifier = (binary_expression "(double)lVar14 + local_c8" (cast_expression "(double)lVar14" ( (type_descriptor "double" primitive_type) ) identifier) + identifier)) ;) })) (expression_statement "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;" (assignment_expression "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4" identifier = (binary_expression "lVar12 + *(long *)(lVar1 + 0x340) * 4" identifier + (binary_expression "*(long *)(lVar1 + 0x340) * 4" (pointer_expression "*(long *)(lVar1 + 0x340)" * (cast_expression "(long *)(lVar1 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x340)" ( (binary_expression "lVar1 + 0x340" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar13 != lVar4)" ( (binary_expression "lVar13 != lVar4" identifier != identifier) )) ;) })) })) (expression_statement "lVar14 = lVar14 + 1;" (assignment_expression "lVar14 = lVar14 + 1" identifier = (binary_expression "lVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 != lVar7)" ( (binary_expression "lVar14 != lVar7" identifier != identifier) )) ;) (expression_statement "local_78 = DAT_003f9c68;" (assignment_expression "local_78 = DAT_003f9c68" identifier = identifier) ;) (if_statement "if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }" if (parenthesized_expression "(0.0 <= local_d0)" ( (binary_expression "0.0 <= local_d0" number_literal <= identifier) )) (compound_statement "{\n            local_78 = DAT_003f9608;\n          }" { (expression_statement "local_78 = DAT_003f9608;" (assignment_expression "local_78 = DAT_003f9608" identifier = identifier) ;) })) (if_statement "if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;" if (parenthesized_expression "(local_d0 * local_78 < DAT_003f9600)" ( (binary_expression "local_d0 * local_78 < DAT_003f9600" (binary_expression "local_d0 * local_78" identifier * identifier) < identifier) )) (goto_statement "goto LAB_002f310b;" goto statement_identifier ;)) (expression_statement "local_78 = DAT_003f9608 / local_d0;" (assignment_expression "local_78 = DAT_003f9608 / local_d0" identifier = (binary_expression "DAT_003f9608 / local_d0" identifier / identifier)) ;) }))) (expression_statement "dVar19 = local_c0 * local_78;" (assignment_expression "dVar19 = local_c0 * local_78" identifier = (binary_expression "local_c0 * local_78" identifier * identifier)) ;) (expression_statement "dVar20 = local_c8 * local_78;" (assignment_expression "dVar20 = local_c8 * local_78" identifier = (binary_expression "local_c8 * local_78" identifier * identifier)) ;) (expression_statement "cVar10 = cVar9;" (assignment_expression "cVar10 = cVar9" identifier = identifier) ;) (if_statement "if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" if (parenthesized_expression "(lVar7 < 1)" ( (binary_expression "lVar7 < 1" identifier < number_literal) )) (compound_statement "{\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }" { (expression_statement "DestroyCacheView(uVar11);" (call_expression "DestroyCacheView(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "dVar19 = (local_78 + local_78) * 0.0;" (assignment_expression "dVar19 = (local_78 + local_78) * 0.0" identifier = (binary_expression "(local_78 + local_78) * 0.0" (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )) * number_literal)) ;) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" identifier = (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier )))) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (if_statement "if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }" { (expression_statement "local_a8 = 0.0;" (assignment_expression "local_a8 = 0.0" identifier = number_literal) ;) (goto_statement "goto LAB_002f3622;" goto statement_identifier ;) })) }) (else_clause "else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" else (compound_statement "{\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" { (expression_statement "lVar14 = 0;" (assignment_expression "lVar14 = 0" identifier = number_literal) ;) (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" identifier = number_literal) ;) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" identifier = number_literal) ;) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" identifier = number_literal) ;) (do_statement "do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);" do (compound_statement "{\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          }" { (if_statement "if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" if (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" ( (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" { (expression_statement "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);" (assignment_expression "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" identifier = (call_expression "GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" identifier (argument_list "(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" ( identifier , identifier , (binary_expression "lVar14 + lVar6" identifier + identifier) , identifier , number_literal , identifier )))) ;) (if_statement "if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (compound_statement "{\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" { (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (break_statement "break;" break ;) })) (if_statement "if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" if (parenthesized_expression "(0 < lVar4)" ( (binary_expression "0 < lVar4" number_literal < identifier) )) (compound_statement "{\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" { (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);" do (compound_statement "{\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                }" { (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" identifier = number_literal) ;) (if_statement "if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" if (parenthesized_expression "(*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0)" ( (binary_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0" (pointer_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54)" * (cast_expression "(int *)(*(long *)(lVar1 + 0x360) + 0x54)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x54)" ( (binary_expression "*(long *)(lVar1 + 0x360) + 0x54" (pointer_expression "*(long *)(lVar1 + 0x360)" * (cast_expression "(long *)(lVar1 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x360)" ( (binary_expression "lVar1 + 0x360" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" { (expression_statement "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);" (assignment_expression "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" identifier = (pointer_expression "*(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" * (cast_expression "(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" ( (binary_expression "lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" identifier + (binary_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" (pointer_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58)" * (cast_expression "(long *)(*(long *)(lVar1 + 0x360) + 0x58)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x58)" ( (binary_expression "*(long *)(lVar1 + 0x360) + 0x58" (pointer_expression "*(long *)(lVar1 + 0x360)" * (cast_expression "(long *)(lVar1 + 0x360)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x360)" ( (binary_expression "lVar1 + 0x360" identifier + number_literal) )))) + number_literal) )))) * number_literal)) ))))) ;) })) (if_statement "if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }" if (parenthesized_expression "(lVar15 == (long)fVar16)" ( (binary_expression "lVar15 == (long)fVar16" identifier == (cast_expression "(long)fVar16" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )) (compound_statement "{\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }" { (expression_statement "dVar18 = (double)lVar13 - dVar19;" (assignment_expression "dVar18 = (double)lVar13 - dVar19" identifier = (binary_expression "(double)lVar13 - dVar19" (cast_expression "(double)lVar13" ( (type_descriptor "double" primitive_type) ) identifier) - identifier)) ;) (expression_statement "dVar17 = (double)lVar14 - dVar20;" (assignment_expression "dVar17 = (double)lVar14 - dVar20" identifier = (binary_expression "(double)lVar14 - dVar20" (cast_expression "(double)lVar14" ( (type_descriptor "double" primitive_type) ) identifier) - identifier)) ;) (expression_statement "local_c8 = dVar18 * dVar17 + local_c8;" (assignment_expression "local_c8 = dVar18 * dVar17 + local_c8" identifier = (binary_expression "dVar18 * dVar17 + local_c8" (binary_expression "dVar18 * dVar17" identifier * identifier) + identifier)) ;) (expression_statement "local_c0 = dVar18 * dVar18 + local_c0;" (assignment_expression "local_c0 = dVar18 * dVar18 + local_c0" identifier = (binary_expression "dVar18 * dVar18 + local_c0" (binary_expression "dVar18 * dVar18" identifier * identifier) + identifier)) ;) (expression_statement "local_d0 = dVar17 * dVar17 + local_d0;" (assignment_expression "local_d0 = dVar17 * dVar17 + local_d0" identifier = (binary_expression "dVar17 * dVar17 + local_d0" (binary_expression "dVar17 * dVar17" identifier * identifier) + identifier)) ;) })) (expression_statement "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;" (assignment_expression "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4" identifier = (binary_expression "lVar12 + *(long *)(lVar1 + 0x340) * 4" identifier + (binary_expression "*(long *)(lVar1 + 0x340) * 4" (pointer_expression "*(long *)(lVar1 + 0x340)" * (cast_expression "(long *)(lVar1 + 0x340)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + 0x340)" ( (binary_expression "lVar1 + 0x340" identifier + number_literal) )))) * number_literal))) ;) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" identifier = (binary_expression "lVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar13 != lVar4)" ( (binary_expression "lVar13 != lVar4" identifier != identifier) )) ;) })) })) (expression_statement "lVar14 = lVar14 + 1;" (assignment_expression "lVar14 = lVar14 + 1" identifier = (binary_expression "lVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar14 != lVar7)" ( (binary_expression "lVar14 != lVar7" identifier != identifier) )) ;) (expression_statement "DestroyCacheView(uVar11);" (call_expression "DestroyCacheView(uVar11)" identifier (argument_list "(uVar11)" ( identifier ))) ;) (expression_statement "dVar19 = local_d0 + local_c0;" (assignment_expression "dVar19 = local_d0 + local_c0" identifier = (binary_expression "local_d0 + local_c0" identifier + identifier)) ;) (expression_statement "local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);" (assignment_expression "local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0)" identifier = (binary_expression "local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0)" (binary_expression "local_c8 * DAT_004067c0 * local_c8" (binary_expression "local_c8 * DAT_004067c0" identifier * identifier) * identifier) + (binary_expression "(local_c0 - local_d0) * (local_c0 - local_d0)" (parenthesized_expression "(local_c0 - local_d0)" ( (binary_expression "local_c0 - local_d0" identifier - identifier) )) * (parenthesized_expression "(local_c0 - local_d0)" ( (binary_expression "local_c0 - local_d0" identifier - identifier) ))))) ;) (expression_statement "local_c8 = SQRT(local_a8);" (assignment_expression "local_c8 = SQRT(local_a8)" identifier = (call_expression "SQRT(local_a8)" identifier (argument_list "(local_a8)" ( identifier )))) ;) (expression_statement "local_d0 = dVar19;" (assignment_expression "local_d0 = dVar19" identifier = identifier) ;) (if_statement "if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" if (parenthesized_expression "(local_a8 < 0.0)" ( (binary_expression "local_a8 < 0.0" identifier < number_literal) )) (compound_statement "{\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }" { (expression_statement "sqrt(local_a8);" (call_expression "sqrt(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) (expression_statement "dVar19 = (dVar19 + local_c8) * (local_78 + local_78);" (assignment_expression "dVar19 = (dVar19 + local_c8) * (local_78 + local_78)" identifier = (binary_expression "(dVar19 + local_c8) * (local_78 + local_78)" (parenthesized_expression "(dVar19 + local_c8)" ( (binary_expression "dVar19 + local_c8" identifier + identifier) )) * (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )))) ;) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" identifier = (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier )))) ;) (if_statement "if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }" { (expression_statement "cVar10 = '\0';" (assignment_expression "cVar10 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (goto_statement "goto LAB_002f3622;" goto statement_identifier ;) })) }) (else_clause "else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" else (compound_statement "{\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" { (expression_statement "dVar19 = (dVar19 + local_c8) * (local_78 + local_78);" (assignment_expression "dVar19 = (dVar19 + local_c8) * (local_78 + local_78)" identifier = (binary_expression "(dVar19 + local_c8) * (local_78 + local_78)" (parenthesized_expression "(dVar19 + local_c8)" ( (binary_expression "dVar19 + local_c8" identifier + identifier) )) * (parenthesized_expression "(local_78 + local_78)" ( (binary_expression "local_78 + local_78" identifier + identifier) )))) ;) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" identifier = (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier )))) ;) (if_statement "if (0.0 <= dVar19) goto LAB_002f3314;" if (parenthesized_expression "(0.0 <= dVar19)" ( (binary_expression "0.0 <= dVar19" number_literal <= identifier) )) (goto_statement "goto LAB_002f3314;" goto statement_identifier ;)) (labeled_statement "LAB_002f3622:\n            sqrt(dVar19);" statement_identifier : (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))) ;)) (if_statement "if (cVar10 != '\0') goto LAB_002f3314;" if (parenthesized_expression "(cVar10 != '\0')" ( (binary_expression "cVar10 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002f3314;" goto statement_identifier ;)) }))) (expression_statement "sqrt(local_a8);" (call_expression "sqrt(local_a8)" identifier (argument_list "(local_a8)" ( identifier ))) ;) }))) (labeled_statement "LAB_002f3314:\n        local_b8 = local_78 + local_78;" statement_identifier : (expression_statement "local_b8 = local_78 + local_78;" (assignment_expression "local_b8 = local_78 + local_78" identifier = (binary_expression "local_78 + local_78" identifier + identifier)) ;)) (expression_statement "local_b8 = (local_d0 - local_c8) * local_b8;" (assignment_expression "local_b8 = (local_d0 - local_c8) * local_b8" identifier = (binary_expression "(local_d0 - local_c8) * local_b8" (parenthesized_expression "(local_d0 - local_c8)" ( (binary_expression "local_d0 - local_c8" identifier - identifier) )) * identifier)) ;) (if_statement "if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }" if (parenthesized_expression "(local_b8 < 0.0)" ( (binary_expression "local_b8 < 0.0" identifier < number_literal) )) (compound_statement "{\n          sqrt(local_b8);\n        }" { (expression_statement "sqrt(local_b8);" (call_expression "sqrt(local_b8)" identifier (argument_list "(local_b8)" ( identifier ))) ;) })) (expression_statement "dVar19 = DAT_003fa390;" (assignment_expression "dVar19 = DAT_003fa390" identifier = identifier) ;) (if_statement "if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }" if (parenthesized_expression "(DAT_003f9600 <= local_c0 * local_c0)" ( (binary_expression "DAT_003f9600 <= local_c0 * local_c0" identifier <= (binary_expression "local_c0 * local_c0" identifier * identifier)) )) (compound_statement "{\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }" { (expression_statement "dVar19 = DAT_003f9608 / (local_c0 * local_c0);" (assignment_expression "dVar19 = DAT_003f9608 / (local_c0 * local_c0)" identifier = (binary_expression "DAT_003f9608 / (local_c0 * local_c0)" identifier / (parenthesized_expression "(local_c0 * local_c0)" ( (binary_expression "local_c0 * local_c0" identifier * identifier) )))) ;) })) (expression_statement "dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);" (assignment_expression "dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8)" identifier = (binary_expression "DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8)" identifier - (binary_expression "dVar19 * SQRT(local_b8) * SQRT(local_b8)" (binary_expression "dVar19 * SQRT(local_b8)" identifier * (call_expression "SQRT(local_b8)" identifier (argument_list "(local_b8)" ( identifier )))) * (call_expression "SQRT(local_b8)" identifier (argument_list "(local_b8)" ( identifier )))))) ;) (expression_statement "lVar4 = *(long *)param_1[3];" (assignment_expression "lVar4 = *(long *)param_1[3]" identifier = (pointer_expression "*(long *)param_1[3]" * (cast_expression "(long *)param_1[3]" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ])))) ;) (if_statement "if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }" if (parenthesized_expression "(dVar19 < 0.0)" ( (binary_expression "dVar19 < 0.0" identifier < number_literal) )) (compound_statement "{\n          sqrt(dVar19);\n        }" { (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" identifier (argument_list "(dVar19)" ( identifier ))) ;) })) (expression_statement "*(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);" (assignment_expression "*(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19)" (pointer_expression "*(double *)(local_88 + 0xa8 + lVar4 * 8)" * (cast_expression "(double *)(local_88 + 0xa8 + lVar4 * 8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_88 + 0xa8 + lVar4 * 8)" ( (binary_expression "local_88 + 0xa8 + lVar4 * 8" (binary_expression "local_88 + 0xa8" identifier + number_literal) + (binary_expression "lVar4 * 8" identifier * number_literal)) )))) = (call_expression "SQRT(dVar19)" identifier (argument_list "(dVar19)" ( identifier )))) ;) })) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" identifier = (binary_expression "lVar15 + 1" identifier + number_literal)) ;) (expression_statement "local_88 = local_88 + 0x128;" (assignment_expression "local_88 = local_88 + 0x128" identifier = (binary_expression "local_88 + 0x128" identifier + number_literal)) ;) }) while (parenthesized_expression "(lVar15 < lVar8)" ( (binary_expression "lVar15 < lVar8" identifier < identifier) )) ;) (expression_statement "cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);" (assignment_expression "cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48)" identifier = (call_expression "GOMP_loop_dynamic_next(&local_50,&local_48)" identifier (argument_list "(&local_50,&local_48)" ( (pointer_expression "&local_50" & identifier) , (pointer_expression "&local_48" & identifier) )))) ;) (expression_statement "lVar15 = local_50;" (assignment_expression "lVar15 = local_50" identifier = identifier) ;) (expression_statement "lVar8 = local_48;" (assignment_expression "lVar8 = 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 (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) 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 (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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) ;) (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 IDENT == (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 (sized_type_specifier long) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (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 = (binary_expression IDENT / IDENT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + IDENT) , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (break_statement break ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT * IDENT) < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT / IDENT)) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT + IDENT) , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (break_statement break ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) * LIT)) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + IDENT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) })) (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 IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (binary_expression IDENT * IDENT) * IDENT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) * (parenthesized_expression ( (binary_expression IDENT - IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) * (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT <= IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression IDENT * IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT / (parenthesized_expression ( (binary_expression IDENT * IDENT) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - (binary_expression (binary_expression IDENT * (call_expression IDENT (argument_list ( IDENT )))) * (call_expression IDENT (argument_list ( IDENT )))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (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 IDENT * LIT)) )))) = (call_expression IDENT (argument_list ( 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_002f302d(undefined8 *param_1)\n\n{\n  long lVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  char cVar9;\n  char cVar10;\n  undefined8 uVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  lVar1 = param_1[2];\n  lVar2 = param_1[1];\n  uVar3 = *param_1;\n  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);\n  lVar15 = local_50;\n  lVar8 = local_48;\n  cVar10 = cVar9;\n  do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );\n}" (primitive_type "void") (function_declarator "FUN_002f302d(undefined8 *param_1)" (identifier "FUN_002f302d") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  long lVar1;\n  long lVar2;\n  undefined8 uVar3;\n  long lVar4;\n  undefined8 uVar5;\n  long lVar6;\n  long lVar7;\n  long lVar8;\n  char cVar9;\n  char cVar10;\n  undefined8 uVar11;\n  long lVar12;\n  long lVar13;\n  long lVar14;\n  long lVar15;\n  long in_FS_OFFSET;\n  float fVar16;\n  double dVar17;\n  double dVar18;\n  double dVar19;\n  double dVar20;\n  double local_d0;\n  double local_c8;\n  double local_c0;\n  double local_b8;\n  double local_a8;\n  long local_88;\n  double local_78;\n  long local_50;\n  long local_48;\n  long local_40;\n  \n  local_40 = *(long *)(in_FS_OFFSET + 0x28);\n  lVar1 = param_1[2];\n  lVar2 = param_1[1];\n  uVar3 = *param_1;\n  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);\n  lVar15 = local_50;\n  lVar8 = local_48;\n  cVar10 = cVar9;\n  do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "undefined8 uVar5;" (type_identifier "undefined8") (identifier "uVar5") (; ";")) (declaration "long lVar6;" (sized_type_specifier "long" (long "long")) (identifier "lVar6") (; ";")) (declaration "long lVar7;" (sized_type_specifier "long" (long "long")) (identifier "lVar7") (; ";")) (declaration "long lVar8;" (sized_type_specifier "long" (long "long")) (identifier "lVar8") (; ";")) (declaration "char cVar9;" (primitive_type "char") (identifier "cVar9") (; ";")) (declaration "char cVar10;" (primitive_type "char") (identifier "cVar10") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "long lVar12;" (sized_type_specifier "long" (long "long")) (identifier "lVar12") (; ";")) (declaration "long lVar13;" (sized_type_specifier "long" (long "long")) (identifier "lVar13") (; ";")) (declaration "long lVar14;" (sized_type_specifier "long" (long "long")) (identifier "lVar14") (; ";")) (declaration "long lVar15;" (sized_type_specifier "long" (long "long")) (identifier "lVar15") (; ";")) (declaration "long in_FS_OFFSET;" (sized_type_specifier "long" (long "long")) (identifier "in_FS_OFFSET") (; ";")) (declaration "float fVar16;" (primitive_type "float") (identifier "fVar16") (; ";")) (declaration "double dVar17;" (primitive_type "double") (identifier "dVar17") (; ";")) (declaration "double dVar18;" (primitive_type "double") (identifier "dVar18") (; ";")) (declaration "double dVar19;" (primitive_type "double") (identifier "dVar19") (; ";")) (declaration "double dVar20;" (primitive_type "double") (identifier "dVar20") (; ";")) (declaration "double local_d0;" (primitive_type "double") (identifier "local_d0") (; ";")) (declaration "double local_c8;" (primitive_type "double") (identifier "local_c8") (; ";")) (declaration "double local_c0;" (primitive_type "double") (identifier "local_c0") (; ";")) (declaration "double local_b8;" (primitive_type "double") (identifier "local_b8") (; ";")) (declaration "double local_a8;" (primitive_type "double") (identifier "local_a8") (; ";")) (declaration "long local_88;" (sized_type_specifier "long" (long "long")) (identifier "local_88") (; ";")) (declaration "double local_78;" (primitive_type "double") (identifier "local_78") (; ";")) (declaration "long local_50;" (sized_type_specifier "long" (long "long")) (identifier "local_50") (; ";")) (declaration "long local_48;" (sized_type_specifier "long" (long "long")) (identifier "local_48") (; ";")) (declaration "long local_40;" (sized_type_specifier "long" (long "long")) (identifier "local_40") (; ";")) (expression_statement "local_40 = *(long *)(in_FS_OFFSET + 0x28);" (assignment_expression "local_40 = *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (= "=") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "lVar1 = param_1[2];" (assignment_expression "lVar1 = param_1[2]" (identifier "lVar1") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "lVar2 = param_1[1];" (assignment_expression "lVar2 = param_1[1]" (identifier "lVar2") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "uVar3 = *param_1;" (assignment_expression "uVar3 = *param_1" (identifier "uVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);" (assignment_expression "cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" (identifier "cVar9") (= "=") (call_expression "GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" (identifier "GOMP_loop_dynamic_start") (argument_list "(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48)" (( "(") (number_literal "0") (, ",") (pointer_expression "*(undefined8 *)(lVar1 + 0x38)" (* "*") (cast_expression "(undefined8 *)(lVar1 + 0x38)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x38)" (( "(") (binary_expression "lVar1 + 0x38" (identifier "lVar1") (+ "+") (number_literal "0x38")) () ")")))) (, ",") (number_literal "1") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_50" (& "&") (identifier "local_50")) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (expression_statement "lVar15 = local_50;" (assignment_expression "lVar15 = local_50" (identifier "lVar15") (= "=") (identifier "local_50")) (; ";")) (expression_statement "lVar8 = local_48;" (assignment_expression "lVar8 = local_48" (identifier "lVar8") (= "=") (identifier "local_48")) (; ";")) (expression_statement "cVar10 = cVar9;" (assignment_expression "cVar10 = cVar9" (identifier "cVar10") (= "=") (identifier "cVar9")) (; ";")) (do_statement "do {\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  } while( true );" (do "do") (compound_statement "{\n    if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }\n    local_88 = lVar2 + lVar15 * 0x128;\n    local_50 = lVar15;\n    local_48 = lVar8;\n    do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);\n    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);\n    lVar15 = local_50;\n    lVar8 = local_48;\n  }" ({ "{") (if_statement "if (cVar10 == '\0') {\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }" (if "if") (parenthesized_expression "(cVar10 == '\0')" (( "(") (binary_expression "cVar10 == '\0'" (identifier "cVar10") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      GOMP_loop_end_nowait();\n      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }\n                    \n      __stack_chk_fail();\n    }" ({ "{") (expression_statement "GOMP_loop_end_nowait();" (call_expression "GOMP_loop_end_nowait()" (identifier "GOMP_loop_end_nowait") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {\n        return;\n      }" (if "if") (parenthesized_expression "(local_40 == *(long *)(in_FS_OFFSET + 0x28))" (( "(") (binary_expression "local_40 == *(long *)(in_FS_OFFSET + 0x28)" (identifier "local_40") (== "==") (pointer_expression "*(long *)(in_FS_OFFSET + 0x28)" (* "*") (cast_expression "(long *)(in_FS_OFFSET + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_FS_OFFSET + 0x28)" (( "(") (binary_expression "in_FS_OFFSET + 0x28" (identifier "in_FS_OFFSET") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (compound_statement "{\n        return;\n      }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "__stack_chk_fail();" (call_expression "__stack_chk_fail()" (identifier "__stack_chk_fail") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "local_88 = lVar2 + lVar15 * 0x128;" (assignment_expression "local_88 = lVar2 + lVar15 * 0x128" (identifier "local_88") (= "=") (binary_expression "lVar2 + lVar15 * 0x128" (identifier "lVar2") (+ "+") (binary_expression "lVar15 * 0x128" (identifier "lVar15") (* "*") (number_literal "0x128")))) (; ";")) (expression_statement "local_50 = lVar15;" (assignment_expression "local_50 = lVar15" (identifier "local_50") (= "=") (identifier "lVar15")) (; ";")) (expression_statement "local_48 = lVar8;" (assignment_expression "local_48 = lVar8" (identifier "local_48") (= "=") (identifier "lVar8")) (; ";")) (do_statement "do {\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    } while (lVar15 < lVar8);" (do "do") (compound_statement "{\n      if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }\n      lVar15 = lVar15 + 1;\n      local_88 = local_88 + 0x128;\n    }" ({ "{") (if_statement "if (*(int *)(param_1 + 4) != 0) {\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);\n        lVar4 = *(long *)(local_88 + 8);\n        uVar5 = *(undefined8 *)(local_88 + 0x18);\n        lVar6 = *(long *)(local_88 + 0x20);\n        lVar7 = *(long *)(local_88 + 0x10);\n        if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }\n        dVar19 = local_c0 * local_78;\n        dVar20 = local_c8 * local_78;\n        cVar10 = cVar9;\n        if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }\nLAB_002f3314:\n        local_b8 = local_78 + local_78;\n        local_b8 = (local_d0 - local_c8) * local_b8;\n        if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }\n        dVar19 = DAT_003fa390;\n        if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }\n        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);\n        lVar4 = *(long *)param_1[3];\n        if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }\n        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);\n      }" ({ "{") (expression_statement "uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);" (assignment_expression "uVar11 = AcquireAuthenticCacheView(lVar1,uVar3)" (identifier "uVar11") (= "=") (call_expression "AcquireAuthenticCacheView(lVar1,uVar3)" (identifier "AcquireAuthenticCacheView") (argument_list "(lVar1,uVar3)" (( "(") (identifier "lVar1") (, ",") (identifier "uVar3") () ")")))) (; ";")) (expression_statement "lVar4 = *(long *)(local_88 + 8);" (assignment_expression "lVar4 = *(long *)(local_88 + 8)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(local_88 + 8)" (* "*") (cast_expression "(long *)(local_88 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_88 + 8)" (( "(") (binary_expression "local_88 + 8" (identifier "local_88") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined8 *)(local_88 + 0x18);" (assignment_expression "uVar5 = *(undefined8 *)(local_88 + 0x18)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined8 *)(local_88 + 0x18)" (* "*") (cast_expression "(undefined8 *)(local_88 + 0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_88 + 0x18)" (( "(") (binary_expression "local_88 + 0x18" (identifier "local_88") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "lVar6 = *(long *)(local_88 + 0x20);" (assignment_expression "lVar6 = *(long *)(local_88 + 0x20)" (identifier "lVar6") (= "=") (pointer_expression "*(long *)(local_88 + 0x20)" (* "*") (cast_expression "(long *)(local_88 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_88 + 0x20)" (( "(") (binary_expression "local_88 + 0x20" (identifier "local_88") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "lVar7 = *(long *)(local_88 + 0x10);" (assignment_expression "lVar7 = *(long *)(local_88 + 0x10)" (identifier "lVar7") (= "=") (pointer_expression "*(long *)(local_88 + 0x10)" (* "*") (cast_expression "(long *)(local_88 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_88 + 0x10)" (( "(") (binary_expression "local_88 + 0x10" (identifier "local_88") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (lVar7 < 1) {\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" (if "if") (parenthesized_expression "(lVar7 < 1)" (( "(") (binary_expression "lVar7 < 1" (identifier "lVar7") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_78 = DAT_003f9608;\nLAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;\n        }" ({ "{") (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" (identifier "local_c0") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" (identifier "local_c8") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "local_78 = DAT_003f9608;" (assignment_expression "local_78 = DAT_003f9608" (identifier "local_78") (= "=") (identifier "DAT_003f9608")) (; ";")) (labeled_statement "LAB_002f310b:\n          local_78 = local_78 / DAT_003f9600;" (statement_identifier "LAB_002f310b") (: ":") (expression_statement "local_78 = local_78 / DAT_003f9600;" (assignment_expression "local_78 = local_78 / DAT_003f9600" (identifier "local_78") (= "=") (binary_expression "local_78 / DAT_003f9600" (identifier "local_78") (/ "/") (identifier "DAT_003f9600"))) (; ";"))) (} "}")) (else_clause "else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" (else "else") (compound_statement "{\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          local_78 = DAT_003f9c68;\n          if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }\n          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;\n          local_78 = DAT_003f9608 / local_d0;\n        }" ({ "{") (expression_statement "lVar14 = 0;" (assignment_expression "lVar14 = 0" (identifier "lVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" (identifier "local_c0") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" (identifier "local_c8") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" (identifier "local_d0") (= "=") (number_literal "0.0")) (; ";")) (do_statement "do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);" (do "do") (compound_statement "{\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          }" ({ "{") (if_statement "if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" ({ "{") (expression_statement "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);" (assignment_expression "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" (identifier "lVar12") (= "=") (call_expression "GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" (identifier "GetCacheViewVirtualPixels") (argument_list "(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" (( "(") (identifier "uVar11") (, ",") (identifier "uVar5") (, ",") (binary_expression "lVar14 + lVar6" (identifier "lVar14") (+ "+") (identifier "lVar6")) (, ",") (identifier "lVar4") (, ",") (number_literal "1") (, ",") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" (if "if") (parenthesized_expression "(lVar12 == 0)" (( "(") (binary_expression "lVar12 == 0" (identifier "lVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" (if "if") (parenthesized_expression "(0 < lVar4)" (( "(") (binary_expression "0 < lVar4" (number_literal "0") (< "<") (identifier "lVar4")) () ")")) (compound_statement "{\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" ({ "{") (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" (identifier "lVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);" (do "do") (compound_statement "{\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                }" ({ "{") (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" (identifier "fVar16") (= "=") (number_literal "0.0")) (; ";")) (if_statement "if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" (if "if") (parenthesized_expression "(*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0)" (( "(") (binary_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0" (pointer_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54)" (* "*") (cast_expression "(int *)(*(long *)(lVar1 + 0x360) + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x54)" (( "(") (binary_expression "*(long *)(lVar1 + 0x360) + 0x54" (pointer_expression "*(long *)(lVar1 + 0x360)" (* "*") (cast_expression "(long *)(lVar1 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x360)" (( "(") (binary_expression "lVar1 + 0x360" (identifier "lVar1") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (number_literal "0x54")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" ({ "{") (expression_statement "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);" (assignment_expression "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" (identifier "fVar16") (= "=") (pointer_expression "*(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" (* "*") (cast_expression "(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" (( "(") (binary_expression "lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" (identifier "lVar12") (+ "+") (binary_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" (pointer_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58)" (* "*") (cast_expression "(long *)(*(long *)(lVar1 + 0x360) + 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x58)" (( "(") (binary_expression "*(long *)(lVar1 + 0x360) + 0x58" (pointer_expression "*(long *)(lVar1 + 0x360)" (* "*") (cast_expression "(long *)(lVar1 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x360)" (( "(") (binary_expression "lVar1 + 0x360" (identifier "lVar1") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (number_literal "0x58")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (if_statement "if (lVar15 == (long)fVar16) {\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }" (if "if") (parenthesized_expression "(lVar15 == (long)fVar16)" (( "(") (binary_expression "lVar15 == (long)fVar16" (identifier "lVar15") (== "==") (cast_expression "(long)fVar16" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "fVar16"))) () ")")) (compound_statement "{\n                    local_d0 = local_d0 + DAT_003f9608;\n                    local_c0 = local_c0 + (double)lVar13;\n                    local_c8 = (double)lVar14 + local_c8;\n                  }" ({ "{") (expression_statement "local_d0 = local_d0 + DAT_003f9608;" (assignment_expression "local_d0 = local_d0 + DAT_003f9608" (identifier "local_d0") (= "=") (binary_expression "local_d0 + DAT_003f9608" (identifier "local_d0") (+ "+") (identifier "DAT_003f9608"))) (; ";")) (expression_statement "local_c0 = local_c0 + (double)lVar13;" (assignment_expression "local_c0 = local_c0 + (double)lVar13" (identifier "local_c0") (= "=") (binary_expression "local_c0 + (double)lVar13" (identifier "local_c0") (+ "+") (cast_expression "(double)lVar13" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar13")))) (; ";")) (expression_statement "local_c8 = (double)lVar14 + local_c8;" (assignment_expression "local_c8 = (double)lVar14 + local_c8" (identifier "local_c8") (= "=") (binary_expression "(double)lVar14 + local_c8" (cast_expression "(double)lVar14" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar14")) (+ "+") (identifier "local_c8"))) (; ";")) (} "}"))) (expression_statement "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;" (assignment_expression "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4" (identifier "lVar12") (= "=") (binary_expression "lVar12 + *(long *)(lVar1 + 0x340) * 4" (identifier "lVar12") (+ "+") (binary_expression "*(long *)(lVar1 + 0x340) * 4" (pointer_expression "*(long *)(lVar1 + 0x340)" (* "*") (cast_expression "(long *)(lVar1 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x340)" (( "(") (binary_expression "lVar1 + 0x340" (identifier "lVar1") (+ "+") (number_literal "0x340")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" (identifier "lVar13") (= "=") (binary_expression "lVar13 + 1" (identifier "lVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar13 != lVar4)" (( "(") (binary_expression "lVar13 != lVar4" (identifier "lVar13") (!= "!=") (identifier "lVar4")) () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "lVar14 = lVar14 + 1;" (assignment_expression "lVar14 = lVar14 + 1" (identifier "lVar14") (= "=") (binary_expression "lVar14 + 1" (identifier "lVar14") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar14 != lVar7)" (( "(") (binary_expression "lVar14 != lVar7" (identifier "lVar14") (!= "!=") (identifier "lVar7")) () ")")) (; ";")) (expression_statement "local_78 = DAT_003f9c68;" (assignment_expression "local_78 = DAT_003f9c68" (identifier "local_78") (= "=") (identifier "DAT_003f9c68")) (; ";")) (if_statement "if (0.0 <= local_d0) {\n            local_78 = DAT_003f9608;\n          }" (if "if") (parenthesized_expression "(0.0 <= local_d0)" (( "(") (binary_expression "0.0 <= local_d0" (number_literal "0.0") (<= "<=") (identifier "local_d0")) () ")")) (compound_statement "{\n            local_78 = DAT_003f9608;\n          }" ({ "{") (expression_statement "local_78 = DAT_003f9608;" (assignment_expression "local_78 = DAT_003f9608" (identifier "local_78") (= "=") (identifier "DAT_003f9608")) (; ";")) (} "}"))) (if_statement "if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;" (if "if") (parenthesized_expression "(local_d0 * local_78 < DAT_003f9600)" (( "(") (binary_expression "local_d0 * local_78 < DAT_003f9600" (binary_expression "local_d0 * local_78" (identifier "local_d0") (* "*") (identifier "local_78")) (< "<") (identifier "DAT_003f9600")) () ")")) (goto_statement "goto LAB_002f310b;" (goto "goto") (statement_identifier "LAB_002f310b") (; ";"))) (expression_statement "local_78 = DAT_003f9608 / local_d0;" (assignment_expression "local_78 = DAT_003f9608 / local_d0" (identifier "local_78") (= "=") (binary_expression "DAT_003f9608 / local_d0" (identifier "DAT_003f9608") (/ "/") (identifier "local_d0"))) (; ";")) (} "}")))) (expression_statement "dVar19 = local_c0 * local_78;" (assignment_expression "dVar19 = local_c0 * local_78" (identifier "dVar19") (= "=") (binary_expression "local_c0 * local_78" (identifier "local_c0") (* "*") (identifier "local_78"))) (; ";")) (expression_statement "dVar20 = local_c8 * local_78;" (assignment_expression "dVar20 = local_c8 * local_78" (identifier "dVar20") (= "=") (binary_expression "local_c8 * local_78" (identifier "local_c8") (* "*") (identifier "local_78"))) (; ";")) (expression_statement "cVar10 = cVar9;" (assignment_expression "cVar10 = cVar9" (identifier "cVar10") (= "=") (identifier "cVar9")) (; ";")) (if_statement "if (lVar7 < 1) {\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }\n        else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" (if "if") (parenthesized_expression "(lVar7 < 1)" (( "(") (binary_expression "lVar7 < 1" (identifier "lVar7") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n          DestroyCacheView(uVar11);\n          dVar19 = (local_78 + local_78) * 0.0;\n          local_c0 = SQRT(dVar19);\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }\n        }" ({ "{") (expression_statement "DestroyCacheView(uVar11);" (call_expression "DestroyCacheView(uVar11)" (identifier "DestroyCacheView") (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")"))) (; ";")) (expression_statement "dVar19 = (local_78 + local_78) * 0.0;" (assignment_expression "dVar19 = (local_78 + local_78) * 0.0" (identifier "dVar19") (= "=") (binary_expression "(local_78 + local_78) * 0.0" (parenthesized_expression "(local_78 + local_78)" (( "(") (binary_expression "local_78 + local_78" (identifier "local_78") (+ "+") (identifier "local_78")) () ")")) (* "*") (number_literal "0.0"))) (; ";")) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" (identifier "local_c0") (= "=") (call_expression "SQRT(dVar19)" (identifier "SQRT") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")")))) (; ";")) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" (identifier "local_c8") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" (identifier "local_d0") (= "=") (number_literal "0.0")) (; ";")) (if_statement "if (dVar19 < 0.0) {\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }" (if "if") (parenthesized_expression "(dVar19 < 0.0)" (( "(") (binary_expression "dVar19 < 0.0" (identifier "dVar19") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n            local_a8 = 0.0;\n            goto LAB_002f3622;\n          }" ({ "{") (expression_statement "local_a8 = 0.0;" (assignment_expression "local_a8 = 0.0" (identifier "local_a8") (= "=") (number_literal "0.0")) (; ";")) (goto_statement "goto LAB_002f3622;" (goto "goto") (statement_identifier "LAB_002f3622") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" (else "else") (compound_statement "{\n          lVar14 = 0;\n          local_c0 = 0.0;\n          local_c8 = 0.0;\n          local_d0 = 0.0;\n          do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);\n          DestroyCacheView(uVar11);\n          dVar19 = local_d0 + local_c0;\n          local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);\n          local_c8 = SQRT(local_a8);\n          local_d0 = dVar19;\n          if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }\n          sqrt(local_a8);\n        }" ({ "{") (expression_statement "lVar14 = 0;" (assignment_expression "lVar14 = 0" (identifier "lVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_c0 = 0.0;" (assignment_expression "local_c0 = 0.0" (identifier "local_c0") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "local_c8 = 0.0;" (assignment_expression "local_c8 = 0.0" (identifier "local_c8") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "local_d0 = 0.0;" (assignment_expression "local_d0 = 0.0" (identifier "local_d0") (= "=") (number_literal "0.0")) (; ";")) (do_statement "do {\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          } while (lVar14 != lVar7);" (do "do") (compound_statement "{\n            if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }\n            lVar14 = lVar14 + 1;\n          }" ({ "{") (if_statement "if (*(int *)(param_1 + 4) != 0) {\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 4) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 4) != 0" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);\n              if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }\n              if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }\n            }" ({ "{") (expression_statement "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);" (assignment_expression "lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" (identifier "lVar12") (= "=") (call_expression "GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" (identifier "GetCacheViewVirtualPixels") (argument_list "(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3)" (( "(") (identifier "uVar11") (, ",") (identifier "uVar5") (, ",") (binary_expression "lVar14 + lVar6" (identifier "lVar14") (+ "+") (identifier "lVar6")) (, ",") (identifier "lVar4") (, ",") (number_literal "1") (, ",") (identifier "uVar3") () ")")))) (; ";")) (if_statement "if (lVar12 == 0) {\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" (if "if") (parenthesized_expression "(lVar12 == 0)" (( "(") (binary_expression "lVar12 == 0" (identifier "lVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                *(undefined4 *)(param_1 + 4) = 0;\n                break;\n              }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "0")) (; ";")) (break_statement "break;" (break "break") (; ";")) (} "}"))) (if_statement "if (0 < lVar4) {\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" (if "if") (parenthesized_expression "(0 < lVar4)" (( "(") (binary_expression "0 < lVar4" (number_literal "0") (< "<") (identifier "lVar4")) () ")")) (compound_statement "{\n                lVar13 = 0;\n                do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);\n              }" ({ "{") (expression_statement "lVar13 = 0;" (assignment_expression "lVar13 = 0" (identifier "lVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                } while (lVar13 != lVar4);" (do "do") (compound_statement "{\n                  fVar16 = 0.0;\n                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }\n                  if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }\n                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;\n                  lVar13 = lVar13 + 1;\n                }" ({ "{") (expression_statement "fVar16 = 0.0;" (assignment_expression "fVar16 = 0.0" (identifier "fVar16") (= "=") (number_literal "0.0")) (; ";")) (if_statement "if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" (if "if") (parenthesized_expression "(*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0)" (( "(") (binary_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0" (pointer_expression "*(int *)(*(long *)(lVar1 + 0x360) + 0x54)" (* "*") (cast_expression "(int *)(*(long *)(lVar1 + 0x360) + 0x54)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x54)" (( "(") (binary_expression "*(long *)(lVar1 + 0x360) + 0x54" (pointer_expression "*(long *)(lVar1 + 0x360)" (* "*") (cast_expression "(long *)(lVar1 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x360)" (( "(") (binary_expression "lVar1 + 0x360" (identifier "lVar1") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (number_literal "0x54")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);\n                  }" ({ "{") (expression_statement "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);" (assignment_expression "fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" (identifier "fVar16") (= "=") (pointer_expression "*(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" (* "*") (cast_expression "(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4)" (( "(") (binary_expression "lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" (identifier "lVar12") (+ "+") (binary_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4" (pointer_expression "*(long *)(*(long *)(lVar1 + 0x360) + 0x58)" (* "*") (cast_expression "(long *)(*(long *)(lVar1 + 0x360) + 0x58)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(lVar1 + 0x360) + 0x58)" (( "(") (binary_expression "*(long *)(lVar1 + 0x360) + 0x58" (pointer_expression "*(long *)(lVar1 + 0x360)" (* "*") (cast_expression "(long *)(lVar1 + 0x360)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x360)" (( "(") (binary_expression "lVar1 + 0x360" (identifier "lVar1") (+ "+") (number_literal "0x360")) () ")")))) (+ "+") (number_literal "0x58")) () ")")))) (* "*") (number_literal "4"))) () ")"))))) (; ";")) (} "}"))) (if_statement "if (lVar15 == (long)fVar16) {\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }" (if "if") (parenthesized_expression "(lVar15 == (long)fVar16)" (( "(") (binary_expression "lVar15 == (long)fVar16" (identifier "lVar15") (== "==") (cast_expression "(long)fVar16" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "fVar16"))) () ")")) (compound_statement "{\n                    dVar18 = (double)lVar13 - dVar19;\n                    dVar17 = (double)lVar14 - dVar20;\n                    local_c8 = dVar18 * dVar17 + local_c8;\n                    local_c0 = dVar18 * dVar18 + local_c0;\n                    local_d0 = dVar17 * dVar17 + local_d0;\n                  }" ({ "{") (expression_statement "dVar18 = (double)lVar13 - dVar19;" (assignment_expression "dVar18 = (double)lVar13 - dVar19" (identifier "dVar18") (= "=") (binary_expression "(double)lVar13 - dVar19" (cast_expression "(double)lVar13" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar13")) (- "-") (identifier "dVar19"))) (; ";")) (expression_statement "dVar17 = (double)lVar14 - dVar20;" (assignment_expression "dVar17 = (double)lVar14 - dVar20" (identifier "dVar17") (= "=") (binary_expression "(double)lVar14 - dVar20" (cast_expression "(double)lVar14" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "lVar14")) (- "-") (identifier "dVar20"))) (; ";")) (expression_statement "local_c8 = dVar18 * dVar17 + local_c8;" (assignment_expression "local_c8 = dVar18 * dVar17 + local_c8" (identifier "local_c8") (= "=") (binary_expression "dVar18 * dVar17 + local_c8" (binary_expression "dVar18 * dVar17" (identifier "dVar18") (* "*") (identifier "dVar17")) (+ "+") (identifier "local_c8"))) (; ";")) (expression_statement "local_c0 = dVar18 * dVar18 + local_c0;" (assignment_expression "local_c0 = dVar18 * dVar18 + local_c0" (identifier "local_c0") (= "=") (binary_expression "dVar18 * dVar18 + local_c0" (binary_expression "dVar18 * dVar18" (identifier "dVar18") (* "*") (identifier "dVar18")) (+ "+") (identifier "local_c0"))) (; ";")) (expression_statement "local_d0 = dVar17 * dVar17 + local_d0;" (assignment_expression "local_d0 = dVar17 * dVar17 + local_d0" (identifier "local_d0") (= "=") (binary_expression "dVar17 * dVar17 + local_d0" (binary_expression "dVar17 * dVar17" (identifier "dVar17") (* "*") (identifier "dVar17")) (+ "+") (identifier "local_d0"))) (; ";")) (} "}"))) (expression_statement "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;" (assignment_expression "lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4" (identifier "lVar12") (= "=") (binary_expression "lVar12 + *(long *)(lVar1 + 0x340) * 4" (identifier "lVar12") (+ "+") (binary_expression "*(long *)(lVar1 + 0x340) * 4" (pointer_expression "*(long *)(lVar1 + 0x340)" (* "*") (cast_expression "(long *)(lVar1 + 0x340)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + 0x340)" (( "(") (binary_expression "lVar1 + 0x340" (identifier "lVar1") (+ "+") (number_literal "0x340")) () ")")))) (* "*") (number_literal "4")))) (; ";")) (expression_statement "lVar13 = lVar13 + 1;" (assignment_expression "lVar13 = lVar13 + 1" (identifier "lVar13") (= "=") (binary_expression "lVar13 + 1" (identifier "lVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar13 != lVar4)" (( "(") (binary_expression "lVar13 != lVar4" (identifier "lVar13") (!= "!=") (identifier "lVar4")) () ")")) (; ";")) (} "}"))) (} "}"))) (expression_statement "lVar14 = lVar14 + 1;" (assignment_expression "lVar14 = lVar14 + 1" (identifier "lVar14") (= "=") (binary_expression "lVar14 + 1" (identifier "lVar14") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar14 != lVar7)" (( "(") (binary_expression "lVar14 != lVar7" (identifier "lVar14") (!= "!=") (identifier "lVar7")) () ")")) (; ";")) (expression_statement "DestroyCacheView(uVar11);" (call_expression "DestroyCacheView(uVar11)" (identifier "DestroyCacheView") (argument_list "(uVar11)" (( "(") (identifier "uVar11") () ")"))) (; ";")) (expression_statement "dVar19 = local_d0 + local_c0;" (assignment_expression "dVar19 = local_d0 + local_c0" (identifier "dVar19") (= "=") (binary_expression "local_d0 + local_c0" (identifier "local_d0") (+ "+") (identifier "local_c0"))) (; ";")) (expression_statement "local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0);" (assignment_expression "local_a8 = local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0)" (identifier "local_a8") (= "=") (binary_expression "local_c8 * DAT_004067c0 * local_c8 +\n                     (local_c0 - local_d0) * (local_c0 - local_d0)" (binary_expression "local_c8 * DAT_004067c0 * local_c8" (binary_expression "local_c8 * DAT_004067c0" (identifier "local_c8") (* "*") (identifier "DAT_004067c0")) (* "*") (identifier "local_c8")) (+ "+") (binary_expression "(local_c0 - local_d0) * (local_c0 - local_d0)" (parenthesized_expression "(local_c0 - local_d0)" (( "(") (binary_expression "local_c0 - local_d0" (identifier "local_c0") (- "-") (identifier "local_d0")) () ")")) (* "*") (parenthesized_expression "(local_c0 - local_d0)" (( "(") (binary_expression "local_c0 - local_d0" (identifier "local_c0") (- "-") (identifier "local_d0")) () ")"))))) (; ";")) (expression_statement "local_c8 = SQRT(local_a8);" (assignment_expression "local_c8 = SQRT(local_a8)" (identifier "local_c8") (= "=") (call_expression "SQRT(local_a8)" (identifier "SQRT") (argument_list "(local_a8)" (( "(") (identifier "local_a8") () ")")))) (; ";")) (expression_statement "local_d0 = dVar19;" (assignment_expression "local_d0 = dVar19" (identifier "local_d0") (= "=") (identifier "dVar19")) (; ";")) (if_statement "if (local_a8 < 0.0) {\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }\n          else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" (if "if") (parenthesized_expression "(local_a8 < 0.0)" (( "(") (binary_expression "local_a8 < 0.0" (identifier "local_a8") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n            sqrt(local_a8);\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }\n          }" ({ "{") (expression_statement "sqrt(local_a8);" (call_expression "sqrt(local_a8)" (identifier "sqrt") (argument_list "(local_a8)" (( "(") (identifier "local_a8") () ")"))) (; ";")) (expression_statement "dVar19 = (dVar19 + local_c8) * (local_78 + local_78);" (assignment_expression "dVar19 = (dVar19 + local_c8) * (local_78 + local_78)" (identifier "dVar19") (= "=") (binary_expression "(dVar19 + local_c8) * (local_78 + local_78)" (parenthesized_expression "(dVar19 + local_c8)" (( "(") (binary_expression "dVar19 + local_c8" (identifier "dVar19") (+ "+") (identifier "local_c8")) () ")")) (* "*") (parenthesized_expression "(local_78 + local_78)" (( "(") (binary_expression "local_78 + local_78" (identifier "local_78") (+ "+") (identifier "local_78")) () ")")))) (; ";")) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" (identifier "local_c0") (= "=") (call_expression "SQRT(dVar19)" (identifier "SQRT") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")")))) (; ";")) (if_statement "if (dVar19 < 0.0) {\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }" (if "if") (parenthesized_expression "(dVar19 < 0.0)" (( "(") (binary_expression "dVar19 < 0.0" (identifier "dVar19") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n              cVar10 = '\0';\n              goto LAB_002f3622;\n            }" ({ "{") (expression_statement "cVar10 = '\0';" (assignment_expression "cVar10 = '\0'" (identifier "cVar10") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (goto_statement "goto LAB_002f3622;" (goto "goto") (statement_identifier "LAB_002f3622") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" (else "else") (compound_statement "{\n            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);\n            local_c0 = SQRT(dVar19);\n            if (0.0 <= dVar19) goto LAB_002f3314;\nLAB_002f3622:\n            sqrt(dVar19);\n            if (cVar10 != '\0') goto LAB_002f3314;\n          }" ({ "{") (expression_statement "dVar19 = (dVar19 + local_c8) * (local_78 + local_78);" (assignment_expression "dVar19 = (dVar19 + local_c8) * (local_78 + local_78)" (identifier "dVar19") (= "=") (binary_expression "(dVar19 + local_c8) * (local_78 + local_78)" (parenthesized_expression "(dVar19 + local_c8)" (( "(") (binary_expression "dVar19 + local_c8" (identifier "dVar19") (+ "+") (identifier "local_c8")) () ")")) (* "*") (parenthesized_expression "(local_78 + local_78)" (( "(") (binary_expression "local_78 + local_78" (identifier "local_78") (+ "+") (identifier "local_78")) () ")")))) (; ";")) (expression_statement "local_c0 = SQRT(dVar19);" (assignment_expression "local_c0 = SQRT(dVar19)" (identifier "local_c0") (= "=") (call_expression "SQRT(dVar19)" (identifier "SQRT") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")")))) (; ";")) (if_statement "if (0.0 <= dVar19) goto LAB_002f3314;" (if "if") (parenthesized_expression "(0.0 <= dVar19)" (( "(") (binary_expression "0.0 <= dVar19" (number_literal "0.0") (<= "<=") (identifier "dVar19")) () ")")) (goto_statement "goto LAB_002f3314;" (goto "goto") (statement_identifier "LAB_002f3314") (; ";"))) (labeled_statement "LAB_002f3622:\n            sqrt(dVar19);" (statement_identifier "LAB_002f3622") (: ":") (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" (identifier "sqrt") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")"))) (; ";"))) (if_statement "if (cVar10 != '\0') goto LAB_002f3314;" (if "if") (parenthesized_expression "(cVar10 != '\0')" (( "(") (binary_expression "cVar10 != '\0'" (identifier "cVar10") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_002f3314;" (goto "goto") (statement_identifier "LAB_002f3314") (; ";"))) (} "}")))) (expression_statement "sqrt(local_a8);" (call_expression "sqrt(local_a8)" (identifier "sqrt") (argument_list "(local_a8)" (( "(") (identifier "local_a8") () ")"))) (; ";")) (} "}")))) (labeled_statement "LAB_002f3314:\n        local_b8 = local_78 + local_78;" (statement_identifier "LAB_002f3314") (: ":") (expression_statement "local_b8 = local_78 + local_78;" (assignment_expression "local_b8 = local_78 + local_78" (identifier "local_b8") (= "=") (binary_expression "local_78 + local_78" (identifier "local_78") (+ "+") (identifier "local_78"))) (; ";"))) (expression_statement "local_b8 = (local_d0 - local_c8) * local_b8;" (assignment_expression "local_b8 = (local_d0 - local_c8) * local_b8" (identifier "local_b8") (= "=") (binary_expression "(local_d0 - local_c8) * local_b8" (parenthesized_expression "(local_d0 - local_c8)" (( "(") (binary_expression "local_d0 - local_c8" (identifier "local_d0") (- "-") (identifier "local_c8")) () ")")) (* "*") (identifier "local_b8"))) (; ";")) (if_statement "if (local_b8 < 0.0) {\n          sqrt(local_b8);\n        }" (if "if") (parenthesized_expression "(local_b8 < 0.0)" (( "(") (binary_expression "local_b8 < 0.0" (identifier "local_b8") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n          sqrt(local_b8);\n        }" ({ "{") (expression_statement "sqrt(local_b8);" (call_expression "sqrt(local_b8)" (identifier "sqrt") (argument_list "(local_b8)" (( "(") (identifier "local_b8") () ")"))) (; ";")) (} "}"))) (expression_statement "dVar19 = DAT_003fa390;" (assignment_expression "dVar19 = DAT_003fa390" (identifier "dVar19") (= "=") (identifier "DAT_003fa390")) (; ";")) (if_statement "if (DAT_003f9600 <= local_c0 * local_c0) {\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }" (if "if") (parenthesized_expression "(DAT_003f9600 <= local_c0 * local_c0)" (( "(") (binary_expression "DAT_003f9600 <= local_c0 * local_c0" (identifier "DAT_003f9600") (<= "<=") (binary_expression "local_c0 * local_c0" (identifier "local_c0") (* "*") (identifier "local_c0"))) () ")")) (compound_statement "{\n          dVar19 = DAT_003f9608 / (local_c0 * local_c0);\n        }" ({ "{") (expression_statement "dVar19 = DAT_003f9608 / (local_c0 * local_c0);" (assignment_expression "dVar19 = DAT_003f9608 / (local_c0 * local_c0)" (identifier "dVar19") (= "=") (binary_expression "DAT_003f9608 / (local_c0 * local_c0)" (identifier "DAT_003f9608") (/ "/") (parenthesized_expression "(local_c0 * local_c0)" (( "(") (binary_expression "local_c0 * local_c0" (identifier "local_c0") (* "*") (identifier "local_c0")) () ")")))) (; ";")) (} "}"))) (expression_statement "dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);" (assignment_expression "dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8)" (identifier "dVar19") (= "=") (binary_expression "DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8)" (identifier "DAT_003f9608") (- "-") (binary_expression "dVar19 * SQRT(local_b8) * SQRT(local_b8)" (binary_expression "dVar19 * SQRT(local_b8)" (identifier "dVar19") (* "*") (call_expression "SQRT(local_b8)" (identifier "SQRT") (argument_list "(local_b8)" (( "(") (identifier "local_b8") () ")")))) (* "*") (call_expression "SQRT(local_b8)" (identifier "SQRT") (argument_list "(local_b8)" (( "(") (identifier "local_b8") () ")")))))) (; ";")) (expression_statement "lVar4 = *(long *)param_1[3];" (assignment_expression "lVar4 = *(long *)param_1[3]" (identifier "lVar4") (= "=") (pointer_expression "*(long *)param_1[3]" (* "*") (cast_expression "(long *)param_1[3]" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]"))))) (; ";")) (if_statement "if (dVar19 < 0.0) {\n          sqrt(dVar19);\n        }" (if "if") (parenthesized_expression "(dVar19 < 0.0)" (( "(") (binary_expression "dVar19 < 0.0" (identifier "dVar19") (< "<") (number_literal "0.0")) () ")")) (compound_statement "{\n          sqrt(dVar19);\n        }" ({ "{") (expression_statement "sqrt(dVar19);" (call_expression "sqrt(dVar19)" (identifier "sqrt") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")"))) (; ";")) (} "}"))) (expression_statement "*(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);" (assignment_expression "*(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19)" (pointer_expression "*(double *)(local_88 + 0xa8 + lVar4 * 8)" (* "*") (cast_expression "(double *)(local_88 + 0xa8 + lVar4 * 8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_88 + 0xa8 + lVar4 * 8)" (( "(") (binary_expression "local_88 + 0xa8 + lVar4 * 8" (binary_expression "local_88 + 0xa8" (identifier "local_88") (+ "+") (number_literal "0xa8")) (+ "+") (binary_expression "lVar4 * 8" (identifier "lVar4") (* "*") (number_literal "8"))) () ")")))) (= "=") (call_expression "SQRT(dVar19)" (identifier "SQRT") (argument_list "(dVar19)" (( "(") (identifier "dVar19") () ")")))) (; ";")) (} "}"))) (expression_statement "lVar15 = lVar15 + 1;" (assignment_expression "lVar15 = lVar15 + 1" (identifier "lVar15") (= "=") (binary_expression "lVar15 + 1" (identifier "lVar15") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_88 = local_88 + 0x128;" (assignment_expression "local_88 = local_88 + 0x128" (identifier "local_88") (= "=") (binary_expression "local_88 + 0x128" (identifier "local_88") (+ "+") (number_literal "0x128"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(lVar15 < lVar8)" (( "(") (binary_expression "lVar15 < lVar8" (identifier "lVar15") (< "<") (identifier "lVar8")) () ")")) (; ";")) (expression_statement "cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);" (assignment_expression "cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48)" (identifier "cVar10") (= "=") (call_expression "GOMP_loop_dynamic_next(&local_50,&local_48)" (identifier "GOMP_loop_dynamic_next") (argument_list "(&local_50,&local_48)" (( "(") (pointer_expression "&local_50" (& "&") (identifier "local_50")) (, ",") (pointer_expression "&local_48" (& "&") (identifier "local_48")) () ")")))) (; ";")) (expression_statement "lVar15 = local_50;" (assignment_expression "lVar15 = local_50" (identifier "lVar15") (= "=") (identifier "local_50")) (; ";")) (expression_statement "lVar8 = local_48;" (assignment_expression "lVar8 = local_48" (identifier "lVar8") (= "=") (identifier "local_48")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */
/* DWARF original prototype: void ConnectedComponentsImage._omp_fn.4(anon_struct_40_5_58eec50f *
   param_0) */

void __thiscall function_1(void *this)

{
  type_1 *image;
  long var_7;
  type_2 *exception;
  size_t var_24;
  ssize_t x;
  long var_16;
  long var_11;
  long var_35;
  char cVar5;
  char var_3;
  type_3 *cache_view;
  type_4 *var_17;
  size_t var_23;
  long var_15;
  long var_8;
  long var_1;
  type_4 QVar11;
  double var_30;
  double var_29;
  double var_27;
  double var_28;
  double var_19;
  double var_22;
  double var_21;
  double var_34;
  double var_32;
  long var_10;
  double var_12;
  long local_50;
  long local_48;
  long var_5;
  
  var_5 = *(long *)(var_1 + 0x28);
  image = *(type_1 **)((long)this + 0x10);
  var_7 = *(long *)((long)this + 8);
                    /* WARNING: Load size is inaccurate */
  exception = *this;
  cVar5 = var_2(0,image->colors,1,1,&local_50,&local_48);
  var_8 = local_50;
  var_35 = local_48;
  var_3 = cVar5;
  do {
    if (var_3 == '\0') {
      var_4();
      if (var_5 == *(long *)(var_1 + 0x28)) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      var_6();
    }
    var_10 = var_7 + var_8 * 0x128;
    local_50 = var_8;
    local_48 = var_35;
    do {
      if (*(int *)((long)this + 0x20) != 0) {
        cache_view = var_9(image,exception);
        var_24 = *(size_t *)(var_10 + 8);
        x = *(ssize_t *)(var_10 + 0x18);
        var_16 = *(long *)(var_10 + 0x20);
        var_11 = *(long *)(var_10 + 0x10);
        if (var_11 < 1) {
          var_21 = 0.0;
          var_22 = 0.0;
          var_12 = var_20;
LAB_002f310b:
          var_12 = var_12 / var_13;
        }
        else {
          var_15 = 0;
          var_21 = 0.0;
          var_22 = 0.0;
          var_19 = 0.0;
          do {
            if (*(int *)((long)this + 0x20) != 0) {
              var_17 = var_14(cache_view,x,var_15 + var_16,var_24,1,exception);
              if (var_17 == (type_4 *)0x0) {
                *(type_5 *)((long)this + 0x20) = 0;
                break;
              }
              if (0 < (long)var_24) {
                var_23 = 0;
                do {
                  QVar11 = 0.0;
                  if (image->channel_map[5].traits != var_18) {
                    QVar11 = var_17[image->channel_map[5].offset];
                  }
                  if (var_8 == (long)QVar11) {
                    var_19 = var_19 + var_20;
                    var_21 = var_21 + (double)(long)var_23;
                    var_22 = (double)var_15 + var_22;
                  }
                  var_17 = var_17 + image->number_channels;
                  var_23 = var_23 + 1;
                } while (var_23 != var_24);
              }
            }
            var_15 = var_15 + 1;
          } while (var_15 != var_11);
          var_12 = DAT_003f9c68;
          if (0.0 <= var_19) {
            var_12 = var_20;
          }
          if (var_19 * var_12 < var_13) goto LAB_002f310b;
          var_12 = var_20 / var_19;
        }
        var_27 = var_21 * var_12;
        var_28 = var_22 * var_12;
        var_3 = cVar5;
        if (var_11 < 1) {
          var_25(cache_view);
          var_27 = (var_12 + var_12) * 0.0;
          var_21 = var_26(var_27);
          var_22 = 0.0;
          var_19 = 0.0;
          if (var_27 < 0.0) {
            var_32 = 0.0;
            goto LAB_002f3622;
          }
        }
        else {
          var_15 = 0;
          var_21 = 0.0;
          var_22 = 0.0;
          var_19 = 0.0;
          do {
            if (*(int *)((long)this + 0x20) != 0) {
              var_17 = var_14(cache_view,x,var_15 + var_16,var_24,1,exception);
              if (var_17 == (type_4 *)0x0) {
                *(type_5 *)((long)this + 0x20) = 0;
                break;
              }
              if (0 < (long)var_24) {
                var_23 = 0;
                do {
                  QVar11 = 0.0;
                  if (image->channel_map[5].traits != var_18) {
                    QVar11 = var_17[image->channel_map[5].offset];
                  }
                  if (var_8 == (long)QVar11) {
                    var_29 = (double)(long)var_23 - var_27;
                    var_30 = (double)var_15 - var_28;
                    var_22 = var_29 * var_30 + var_22;
                    var_21 = var_29 * var_29 + var_21;
                    var_19 = var_30 * var_30 + var_19;
                  }
                  var_17 = var_17 + image->number_channels;
                  var_23 = var_23 + 1;
                } while (var_23 != var_24);
              }
            }
            var_15 = var_15 + 1;
          } while (var_15 != var_11);
          var_25(cache_view);
          var_27 = var_19 + var_21;
          var_32 = var_22 * var_31 * var_22 +
                     (var_21 - var_19) * (var_21 - var_19);
          var_22 = var_26(var_32);
          var_19 = var_27;
          if (var_32 < 0.0) {
            var_33(var_32);
            var_27 = (var_27 + var_22) * (var_12 + var_12);
            var_21 = var_26(var_27);
            if (var_27 < 0.0) {
              var_3 = '\0';
              goto LAB_002f3622;
            }
          }
          else {
            var_27 = (var_27 + var_22) * (var_12 + var_12);
            var_21 = var_26(var_27);
            if (0.0 <= var_27) goto LAB_002f3314;
LAB_002f3622:
            var_33(var_27);
            if (var_3 != '\0') goto LAB_002f3314;
          }
          var_33(var_32);
        }
LAB_002f3314:
        var_34 = var_12 + var_12;
        var_34 = (var_19 - var_22) * var_34;
        if (var_34 < 0.0) {
          var_33(var_34);
        }
        var_27 = DAT_003fa390;
        if (var_13 <= var_21 * var_21) {
          var_27 = var_20 / (var_21 * var_21);
        }
        var_27 = var_20 - var_27 * var_26(var_34) * var_26(var_34);
        var_16 = **(long **)((long)this + 0x18);
        if (var_27 < 0.0) {
          var_33(var_27);
        }
        *(double *)(var_10 + 0xa8 + var_16 * 8) = var_26(var_27);
      }
      var_8 = var_8 + 1;
      var_10 = var_10 + 0x128;
    } while (var_8 < var_35);
    var_3 = var_36(&local_50,&local_48);
    var_8 = local_50;
    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: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) 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: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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))) (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: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (sized_type_specifier) 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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (binary_expression left: (identifier) right: (identifier)))))) alternative: (else_clause (compound_statement (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))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (identifier)) (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) consequence: (compound_statement (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (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))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (identifier)) (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (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))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (number_literal)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier) right: (number_literal)))))) right: (call_expression function: (identifier) arguments: (argument_list (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))))))

void MASKED(undefined8 *param_1)

{
  long lVar1;
  long lVar2;
  undefined8 uVar3;
  long lVar4;
  undefined8 uVar5;
  long lVar6;
  long lVar7;
  long lVar8;
  char cVar9;
  char cVar10;
  undefined8 uVar11;
  long lVar12;
  long lVar13;
  long lVar14;
  long lVar15;
  long in_FS_OFFSET;
  float fVar16;
  double dVar17;
  double dVar18;
  double dVar19;
  double dVar20;
  double local_d0;
  double local_c8;
  double local_c0;
  double local_b8;
  double local_a8;
  long local_88;
  double local_78;
  long local_50;
  long local_48;
  long local_40;
  
  local_40 = *(long *)(in_FS_OFFSET + 0x28);
  lVar1 = param_1[2];
  lVar2 = param_1[1];
  uVar3 = *param_1;
  cVar9 = GOMP_loop_dynamic_start(0,*(undefined8 *)(lVar1 + 0x38),1,1,&local_50,&local_48);
  lVar15 = local_50;
  lVar8 = local_48;
  cVar10 = cVar9;
  do {
    if (cVar10 == '\0') {
      GOMP_loop_end_nowait();
      if (local_40 == *(long *)(in_FS_OFFSET + 0x28)) {
        return;
      }
                    /* WARNING: Subroutine does not return */
      __stack_chk_fail();
    }
    local_88 = lVar2 + lVar15 * 0x128;
    local_50 = lVar15;
    local_48 = lVar8;
    do {
      if (*(int *)(param_1 + 4) != 0) {
        uVar11 = AcquireAuthenticCacheView(lVar1,uVar3);
        lVar4 = *(long *)(local_88 + 8);
        uVar5 = *(undefined8 *)(local_88 + 0x18);
        lVar6 = *(long *)(local_88 + 0x20);
        lVar7 = *(long *)(local_88 + 0x10);
        if (lVar7 < 1) {
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_78 = DAT_003f9608;
LAB_002f310b:
          local_78 = local_78 / DAT_003f9600;
        }
        else {
          lVar14 = 0;
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_d0 = 0.0;
          do {
            if (*(int *)(param_1 + 4) != 0) {
              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);
              if (lVar12 == 0) {
                *(undefined4 *)(param_1 + 4) = 0;
                break;
              }
              if (0 < lVar4) {
                lVar13 = 0;
                do {
                  fVar16 = 0.0;
                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {
                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);
                  }
                  if (lVar15 == (long)fVar16) {
                    local_d0 = local_d0 + DAT_003f9608;
                    local_c0 = local_c0 + (double)lVar13;
                    local_c8 = (double)lVar14 + local_c8;
                  }
                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;
                  lVar13 = lVar13 + 1;
                } while (lVar13 != lVar4);
              }
            }
            lVar14 = lVar14 + 1;
          } while (lVar14 != lVar7);
          local_78 = DAT_003f9c68;
          if (0.0 <= local_d0) {
            local_78 = DAT_003f9608;
          }
          if (local_d0 * local_78 < DAT_003f9600) goto LAB_002f310b;
          local_78 = DAT_003f9608 / local_d0;
        }
        dVar19 = local_c0 * local_78;
        dVar20 = local_c8 * local_78;
        cVar10 = cVar9;
        if (lVar7 < 1) {
          DestroyCacheView(uVar11);
          dVar19 = (local_78 + local_78) * 0.0;
          local_c0 = SQRT(dVar19);
          local_c8 = 0.0;
          local_d0 = 0.0;
          if (dVar19 < 0.0) {
            local_a8 = 0.0;
            goto LAB_002f3622;
          }
        }
        else {
          lVar14 = 0;
          local_c0 = 0.0;
          local_c8 = 0.0;
          local_d0 = 0.0;
          do {
            if (*(int *)(param_1 + 4) != 0) {
              lVar12 = GetCacheViewVirtualPixels(uVar11,uVar5,lVar14 + lVar6,lVar4,1,uVar3);
              if (lVar12 == 0) {
                *(undefined4 *)(param_1 + 4) = 0;
                break;
              }
              if (0 < lVar4) {
                lVar13 = 0;
                do {
                  fVar16 = 0.0;
                  if (*(int *)(*(long *)(lVar1 + 0x360) + 0x54) != 0) {
                    fVar16 = *(float *)(lVar12 + *(long *)(*(long *)(lVar1 + 0x360) + 0x58) * 4);
                  }
                  if (lVar15 == (long)fVar16) {
                    dVar18 = (double)lVar13 - dVar19;
                    dVar17 = (double)lVar14 - dVar20;
                    local_c8 = dVar18 * dVar17 + local_c8;
                    local_c0 = dVar18 * dVar18 + local_c0;
                    local_d0 = dVar17 * dVar17 + local_d0;
                  }
                  lVar12 = lVar12 + *(long *)(lVar1 + 0x340) * 4;
                  lVar13 = lVar13 + 1;
                } while (lVar13 != lVar4);
              }
            }
            lVar14 = lVar14 + 1;
          } while (lVar14 != lVar7);
          DestroyCacheView(uVar11);
          dVar19 = local_d0 + local_c0;
          local_a8 = local_c8 * DAT_004067c0 * local_c8 +
                     (local_c0 - local_d0) * (local_c0 - local_d0);
          local_c8 = SQRT(local_a8);
          local_d0 = dVar19;
          if (local_a8 < 0.0) {
            sqrt(local_a8);
            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);
            local_c0 = SQRT(dVar19);
            if (dVar19 < 0.0) {
              cVar10 = '\0';
              goto LAB_002f3622;
            }
          }
          else {
            dVar19 = (dVar19 + local_c8) * (local_78 + local_78);
            local_c0 = SQRT(dVar19);
            if (0.0 <= dVar19) goto LAB_002f3314;
LAB_002f3622:
            sqrt(dVar19);
            if (cVar10 != '\0') goto LAB_002f3314;
          }
          sqrt(local_a8);
        }
LAB_002f3314:
        local_b8 = local_78 + local_78;
        local_b8 = (local_d0 - local_c8) * local_b8;
        if (local_b8 < 0.0) {
          sqrt(local_b8);
        }
        dVar19 = DAT_003fa390;
        if (DAT_003f9600 <= local_c0 * local_c0) {
          dVar19 = DAT_003f9608 / (local_c0 * local_c0);
        }
        dVar19 = DAT_003f9608 - dVar19 * SQRT(local_b8) * SQRT(local_b8);
        lVar4 = *(long *)param_1[3];
        if (dVar19 < 0.0) {
          sqrt(dVar19);
        }
        *(double *)(local_88 + 0xa8 + lVar4 * 8) = SQRT(dVar19);
      }
      lVar15 = lVar15 + 1;
      local_88 = local_88 + 0x128;
    } while (lVar15 < lVar8);
    cVar10 = GOMP_loop_dynamic_next(&local_50,&local_48);
    lVar15 = local_50;
    lVar8 = local_48;
  } while( true );
}

