#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double det3D(double *, double *, double *, double *);
void volume3D(double *volu, const double *yc, const double *m, const int n) {
  const int m1 = m[0], m2 = m[1], m3 = m[2];
  double yA[3], yB[3], yC[3], yD[3], yE[3], yF[3], yG[3], yH[3], yABDC[3],
      yBDHF[3], yABFE[3], yCAEG[3], yDCGH[3], yEFHG[3], yM[3];
  double vol[24];
  int id, i1, i2, i3, r, comp, idn;
  const int nn = (m1 + 1) * (m2 + 1) * (m3 + 1);
  const int inc_x = 1;
  const int inc_y = m1 + 1;
  const int inc_z = (m1 + 1) * (m2 + 1);
  const double *rptr;
#pragma omp parallel default(shared) private(                                  \
    rptr, id, i1, i2, i3, r, comp, idn, vol, yA, yB, yC, yD, yE, yF, yG, yH,   \
    yABDC, yBDHF, yABFE, yCAEG, yDCGH, yEFHG, yM)
  {
#pragma omp for
    for (i1 = 0; i1 < m1; i1++) {
      for (i2 = 0; i2 < m2; i2++) {
        for (i3 = 0; i3 < m3; i3++) {
          idn = i1 + i2 * inc_y + i3 * inc_z;
          comp = 0;
          for (r = 0; r < 3; r++) {
            rptr = yc + idn + comp;
            yA[r] = *rptr;
            rptr += inc_x;
            yB[r] = *rptr;
            rptr += inc_y;
            yD[r] = *rptr;
            rptr -= inc_x;
            yC[r] = *rptr;
            rptr += inc_z;
            yG[r] = *rptr;
            rptr += inc_x;
            yH[r] = *rptr;
            rptr -= inc_y;
            yF[r] = *rptr;
            rptr -= inc_x;
            yE[r] = *rptr;
            yABDC[r] = 0.25 * (yA[r] + yB[r] + yD[r] + yC[r]);
            yBDHF[r] = 0.25 * (yB[r] + yD[r] + yH[r] + yF[r]);
            yABFE[r] = 0.25 * (yA[r] + yB[r] + yF[r] + yE[r]);
            yCAEG[r] = 0.25 * (yC[r] + yA[r] + yE[r] + yG[r]);
            yDCGH[r] = 0.25 * (yD[r] + yC[r] + yG[r] + yH[r]);
            yEFHG[r] = 0.25 * (yE[r] + yF[r] + yH[r] + yG[r]);
            yM[r] = 0.5 * (yABDC[r] + yEFHG[r]);
            comp += nn;
          }
          vol[0] = -det3D(yA, yB, yABDC, yM);
          vol[1] = -det3D(yB, yD, yABDC, yM);
          vol[2] = -det3D(yD, yC, yABDC, yM);
          vol[3] = -det3D(yC, yA, yABDC, yM);
          vol[4] = det3D(yB, yD, yBDHF, yM);
          vol[5] = det3D(yD, yH, yBDHF, yM);
          vol[6] = det3D(yH, yF, yBDHF, yM);
          vol[7] = det3D(yF, yB, yBDHF, yM);
          vol[8] = det3D(yA, yB, yABFE, yM);
          vol[9] = det3D(yB, yF, yABFE, yM);
          vol[10] = det3D(yF, yE, yABFE, yM);
          vol[11] = det3D(yE, yA, yABFE, yM);
          vol[12] = det3D(yC, yA, yCAEG, yM);
          vol[13] = det3D(yA, yE, yCAEG, yM);
          vol[14] = det3D(yE, yG, yCAEG, yM);
          vol[15] = det3D(yG, yC, yCAEG, yM);
          vol[16] = det3D(yD, yC, yDCGH, yM);
          vol[17] = det3D(yC, yG, yDCGH, yM);
          vol[18] = det3D(yG, yH, yDCGH, yM);
          vol[19] = det3D(yH, yD, yDCGH, yM);
          vol[20] = det3D(yE, yF, yEFHG, yM);
          vol[21] = det3D(yF, yH, yEFHG, yM);
          vol[22] = det3D(yH, yG, yEFHG, yM);
          vol[23] = det3D(yG, yE, yEFHG, yM);
          id = i1 + m1 * (i2 + i3 * m2);
          for (r = 0; r < 24; r++) {
            volu[id] = vol[r];
            id += n;
          }
        }
      }
    }
  }
  return;
}


x86 assembly (clang, -O0):
<volume3D>:
push   %rbp
mov    %rsp,%rbp
sub    $0x300,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %ecx,-0x1c(%rbp)
mov    -0x18(%rbp),%rax
cvttsd2si (%rax),%eax
mov    %eax,-0x20(%rbp)
mov    -0x18(%rbp),%rax
cvttsd2si 0x8(%rax),%eax
mov    %eax,-0x24(%rbp)
mov    -0x18(%rbp),%rax
cvttsd2si 0x10(%rax),%eax
mov    %eax,-0x28(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
imul   %ecx,%eax
mov    -0x28(%rbp),%ecx
add    $0x1,%ecx
imul   %ecx,%eax
mov    %eax,-0x2e0(%rbp)
movl   $0x1,-0x2e4(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2e8(%rbp)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    -0x24(%rbp),%ecx
add    $0x1,%ecx
imul   %ecx,%eax
mov    %eax,-0x2ec(%rbp)
movl   $0x0,-0x2c8(%rbp)
mov    -0x2c8(%rbp),%eax
cmp    -0x20(%rbp),%eax
jge    1b01 <volume3D+0x9f1>
movl   $0x0,-0x2cc(%rbp)
mov    -0x2cc(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    1ae8 <volume3D+0x9d8>
movl   $0x0,-0x2d0(%rbp)
mov    -0x2d0(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    1acf <volume3D+0x9bf>
mov    -0x2c8(%rbp),%eax
mov    -0x2cc(%rbp),%ecx
imul   -0x2e8(%rbp),%ecx
add    %ecx,%eax
mov    -0x2d0(%rbp),%ecx
imul   -0x2ec(%rbp),%ecx
add    %ecx,%eax
mov    %eax,-0x2dc(%rbp)
movl   $0x0,-0x2d8(%rbp)
movl   $0x0,-0x2d4(%rbp)
cmpl   $0x3,-0x2d4(%rbp)
jge    1638 <volume3D+0x528>
mov    -0x10(%rbp),%rax
movslq -0x2dc(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
movslq -0x2d8(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x2f8(%rbp)
mov    -0x2f8(%rbp),%rax
movsd  (%rax),%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x40(%rbp,%rax,8)
mov    -0x2f8(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x2f8(%rbp)
mov    -0x2f8(%rbp),%rax
movsd  (%rax),%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x60(%rbp,%rax,8)
mov    -0x2e8(%rbp),%ecx
mov    -0x2f8(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x2f8(%rbp)
mov    -0x2f8(%rbp),%rax
movsd  (%rax),%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0xa0(%rbp,%rax,8)
ff ff
mov    -0x2f8(%rbp),%rax
add    $0xfffffffffffffff8,%rax
mov    %rax,-0x2f8(%rbp)
mov    -0x2f8(%rbp),%rax
movsd  (%rax),%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x80(%rbp,%rax,8)
mov    -0x2ec(%rbp),%ecx
mov    -0x2f8(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x2f8(%rbp)
mov    -0x2f8(%rbp),%rax
movsd  (%rax),%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x100(%rbp,%rax,8)
ff ff
mov    -0x2f8(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x2f8(%rbp)
mov    -0x2f8(%rbp),%rax
movsd  (%rax),%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x120(%rbp,%rax,8)
ff ff
mov    -0x2e8(%rbp),%ecx
mov    -0x2f8(%rbp),%rax
movslq %ecx,%rdx
xor    %ecx,%ecx
sub    %rdx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x2f8(%rbp)
mov    -0x2f8(%rbp),%rax
movsd  (%rax),%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0xe0(%rbp,%rax,8)
ff ff
mov    -0x2f8(%rbp),%rax
add    $0xfffffffffffffff8,%rax
mov    %rax,-0x2f8(%rbp)
mov    -0x2f8(%rbp),%rax
movsd  (%rax),%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0xc0(%rbp,%rax,8)
ff ff
movslq -0x2d4(%rbp),%rax
movsd  -0x40(%rbp,%rax,8),%xmm1
movslq -0x2d4(%rbp),%rax
addsd  -0x60(%rbp,%rax,8),%xmm1
movslq -0x2d4(%rbp),%rax
addsd  -0xa0(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0x80(%rbp,%rax,8),%xmm1
movsd  0xc00(%rip),%xmm0
mulsd  %xmm1,%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x140(%rbp,%rax,8)
ff ff
movslq -0x2d4(%rbp),%rax
movsd  -0x60(%rbp,%rax,8),%xmm1
movslq -0x2d4(%rbp),%rax
addsd  -0xa0(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0x120(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0xe0(%rbp,%rax,8),%xmm1
ff ff
movsd  0xba7(%rip),%xmm0
mulsd  %xmm1,%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x160(%rbp,%rax,8)
ff ff
movslq -0x2d4(%rbp),%rax
movsd  -0x40(%rbp,%rax,8),%xmm1
movslq -0x2d4(%rbp),%rax
addsd  -0x60(%rbp,%rax,8),%xmm1
movslq -0x2d4(%rbp),%rax
addsd  -0xe0(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0xc0(%rbp,%rax,8),%xmm1
ff ff
movsd  0xb51(%rip),%xmm0
mulsd  %xmm1,%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x180(%rbp,%rax,8)
ff ff
movslq -0x2d4(%rbp),%rax
movsd  -0x80(%rbp,%rax,8),%xmm1
movslq -0x2d4(%rbp),%rax
addsd  -0x40(%rbp,%rax,8),%xmm1
movslq -0x2d4(%rbp),%rax
addsd  -0xc0(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0x100(%rbp,%rax,8),%xmm1
ff ff
movsd  0xafb(%rip),%xmm0
mulsd  %xmm1,%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x1a0(%rbp,%rax,8)
ff ff
movslq -0x2d4(%rbp),%rax
movsd  -0xa0(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0x80(%rbp,%rax,8),%xmm1
movslq -0x2d4(%rbp),%rax
addsd  -0x100(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0x120(%rbp,%rax,8),%xmm1
ff ff
movsd  0xaa2(%rip),%xmm0
mulsd  %xmm1,%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x1c0(%rbp,%rax,8)
ff ff
movslq -0x2d4(%rbp),%rax
movsd  -0xc0(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0xe0(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0x120(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0x100(%rbp,%rax,8),%xmm1
ff ff
movsd  0xa46(%rip),%xmm0
mulsd  %xmm1,%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x1e0(%rbp,%rax,8)
ff ff
movslq -0x2d4(%rbp),%rax
movsd  -0x140(%rbp,%rax,8),%xmm1
ff ff
movslq -0x2d4(%rbp),%rax
addsd  -0x1e0(%rbp,%rax,8),%xmm1
ff ff
movsd  0xa02(%rip),%xmm0
mulsd  %xmm1,%xmm0
movslq -0x2d4(%rbp),%rax
movsd  %xmm0,-0x200(%rbp,%rax,8)
ff ff
mov    -0x2e0(%rbp),%eax
add    -0x2d8(%rbp),%eax
mov    %eax,-0x2d8(%rbp)
mov    -0x2d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2d4(%rbp)
jmp    121f <volume3D+0x10f>
lea    -0x40(%rbp),%rdi
lea    -0x60(%rbp),%rsi
lea    -0x140(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x2c0(%rbp)
ff
lea    -0x60(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
lea    -0x140(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x2b8(%rbp)
ff
lea    -0xa0(%rbp),%rdi
lea    -0x80(%rbp),%rsi
lea    -0x140(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x2b0(%rbp)
ff
lea    -0x80(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x140(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x2a8(%rbp)
ff
lea    -0x60(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
lea    -0x160(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x2a0(%rbp)
ff
lea    -0xa0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
lea    -0x160(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x298(%rbp)
ff
lea    -0x120(%rbp),%rdi
lea    -0xe0(%rbp),%rsi
lea    -0x160(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x290(%rbp)
ff
lea    -0xe0(%rbp),%rdi
lea    -0x60(%rbp),%rsi
lea    -0x160(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x288(%rbp)
ff
lea    -0x40(%rbp),%rdi
lea    -0x60(%rbp),%rsi
lea    -0x180(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x280(%rbp)
ff
lea    -0x60(%rbp),%rdi
lea    -0xe0(%rbp),%rsi
lea    -0x180(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x278(%rbp)
ff
lea    -0xe0(%rbp),%rdi
lea    -0xc0(%rbp),%rsi
lea    -0x180(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x270(%rbp)
ff
lea    -0xc0(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x180(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x268(%rbp)
ff
lea    -0x80(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x1a0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x260(%rbp)
ff
lea    -0x40(%rbp),%rdi
lea    -0xc0(%rbp),%rsi
lea    -0x1a0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x258(%rbp)
ff
lea    -0xc0(%rbp),%rdi
lea    -0x100(%rbp),%rsi
lea    -0x1a0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x250(%rbp)
ff
lea    -0x100(%rbp),%rdi
lea    -0x80(%rbp),%rsi
lea    -0x1a0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x248(%rbp)
ff
lea    -0xa0(%rbp),%rdi
lea    -0x80(%rbp),%rsi
lea    -0x1c0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x240(%rbp)
ff
lea    -0x80(%rbp),%rdi
lea    -0x100(%rbp),%rsi
lea    -0x1c0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x238(%rbp)
ff
lea    -0x100(%rbp),%rdi
lea    -0x120(%rbp),%rsi
lea    -0x1c0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x230(%rbp)
ff
lea    -0x120(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
lea    -0x1c0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x228(%rbp)
ff
lea    -0xc0(%rbp),%rdi
lea    -0xe0(%rbp),%rsi
lea    -0x1e0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x220(%rbp)
ff
lea    -0xe0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
lea    -0x1e0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x218(%rbp)
ff
lea    -0x120(%rbp),%rdi
lea    -0x100(%rbp),%rsi
lea    -0x1e0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x210(%rbp)
ff
lea    -0x100(%rbp),%rdi
lea    -0xc0(%rbp),%rsi
lea    -0x1e0(%rbp),%rdx
lea    -0x200(%rbp),%rcx
call   1030 <det3D@plt>
movsd  %xmm0,-0x208(%rbp)
ff
mov    -0x2c8(%rbp),%eax
mov    -0x20(%rbp),%ecx
mov    -0x2cc(%rbp),%edx
mov    -0x2d0(%rbp),%esi
imul   -0x24(%rbp),%esi
add    %esi,%edx
imul   %edx,%ecx
add    %ecx,%eax
mov    %eax,-0x2c4(%rbp)
movl   $0x0,-0x2d4(%rbp)
cmpl   $0x18,-0x2d4(%rbp)
jge    1ab6 <volume3D+0x9a6>
movslq -0x2d4(%rbp),%rax
movsd  -0x2c0(%rbp,%rax,8),%xmm0
ff ff
mov    -0x8(%rbp),%rax
movslq -0x2c4(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    -0x2c4(%rbp),%eax
mov    %eax,-0x2c4(%rbp)
mov    -0x2d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2d4(%rbp)
jmp    1a66 <volume3D+0x956>
jmp    1abb <volume3D+0x9ab>
mov    -0x2d0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2d0(%rbp)
jmp    11d2 <volume3D+0xc2>
jmp    1ad4 <volume3D+0x9c4>
mov    -0x2cc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2cc(%rbp)
jmp    11b9 <volume3D+0xa9>
jmp    1aed <volume3D+0x9dd>
mov    -0x2c8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c8(%rbp)
jmp    11a0 <volume3D+0x90>
add    $0x300,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<volume3D>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x378,%rsp
mov    %rsi,0x8(%rsp)
mov    %rdi,0x1b0(%rsp)
cvttsd2si (%rdx),%eax
mov    %rax,0x38(%rsp)
test   %eax,%eax
jle    1a12 <volume3D+0x902>
cvttsd2si 0x8(%rdx),%ebp
cvttsd2si 0x10(%rdx),%r8d
mov    0x38(%rsp),%rdi
lea    0x1(%rdi),%eax
lea    0x1(%rbp),%edx
imul   %eax,%edx
lea    0x1(%r8),%esi
imul   %edx,%esi
mov    %eax,%eax
movslq %edx,%rdx
movslq %esi,%r9
mov    %ebp,%esi
imul   %edi,%esi
mov    %esi,0x1c(%rsp)
movslq %ecx,%rcx
mov    %rcx,0x1a8(%rsp)
mov    %edi,%ecx
mov    %rcx,0x160(%rsp)
mov    %rbp,0x168(%rsp)
mov    %ebp,%ecx
mov    %rcx,0x178(%rsp)
mov    %r8,0x180(%rsp)
mov    %r8d,%ecx
mov    %rcx,0x1a0(%rsp)
lea    0x0(,%rax,8),%rcx
mov    %rcx,0x170(%rsp)
lea    0x0(,%rdx,8),%rcx
mov    %rcx,0x198(%rsp)
mov    0x8(%rsp),%rcx
lea    (%rcx,%rax,8),%rsi
mov    %rsi,0x30(%rsp)
add    %rdx,%rax
lea    (%rcx,%rax,8),%rax
mov    %rax,0x28(%rsp)
lea    (%rcx,%rdx,8),%rax
mov    %rax,0x20(%rsp)
xor    %eax,%eax
mov    %rax,0x10(%rsp)
movsd  0xe03(%rip),%xmm10
movsd  0xe02(%rip),%xmm11
mov    %r9,0x190(%rsp)
jmp    1247 <volume3D+0x137>
mov    0x10(%rsp),%rcx
add    $0x1,%rcx
addq   $0x8,0x8(%rsp)
addq   $0x8,0x30(%rsp)
addq   $0x8,0x28(%rsp)
addq   $0x8,0x20(%rsp)
mov    %rcx,%rax
mov    %rcx,0x10(%rsp)
cmp    0x160(%rsp),%rcx
je     1a12 <volume3D+0x902>
cmpl   $0x0,0x168(%rsp)
jle    1210 <volume3D+0x100>
mov    0x20(%rsp),%rax
mov    %rax,0x58(%rsp)
mov    0x28(%rsp),%rax
mov    %rax,0x50(%rsp)
mov    0x30(%rsp),%rax
mov    %rax,0x48(%rsp)
mov    0x8(%rsp),%rax
mov    %rax,0x40(%rsp)
xor    %ecx,%ecx
mov    0x10(%rsp),%rax
mov    %eax,0x4(%rsp)
jmp    12d2 <volume3D+0x1c2>
cs nopw 0x0(%rax,%rax,1)
mov    0x188(%rsp),%rcx
add    $0x1,%rcx
mov    0x4(%rsp),%eax
add    0x38(%rsp),%eax
mov    %eax,0x4(%rsp)
mov    0x170(%rsp),%rax
add    %rax,0x40(%rsp)
add    %rax,0x48(%rsp)
add    %rax,0x50(%rsp)
add    %rax,0x58(%rsp)
cmp    0x178(%rsp),%rcx
je     1210 <volume3D+0x100>
mov    %rcx,0x188(%rsp)
cmpl   $0x0,0x180(%rsp)
jle    1290 <volume3D+0x180>
mov    0x58(%rsp),%r13
mov    0x50(%rsp),%r14
mov    0x48(%rsp),%rbp
mov    0x40(%rsp),%r12
xor    %ecx,%ecx
mov    0x4(%rsp),%eax
mov    %eax,%esi
mov    %rcx,0x258(%rsp)
movslq %esi,%rsi
mov    %rsi,0x250(%rsp)
mov    $0x1,%eax
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
movsd  -0x8(%r12,%rax,8),%xmm5
movsd  %xmm5,0x100(%rsp,%rcx,1)
movsd  (%r12,%rax,8),%xmm1
movsd  %xmm1,0xe0(%rsp,%rcx,1)
movsd  0x0(%rbp,%rax,8),%xmm2
movsd  %xmm2,0xa0(%rsp,%rcx,1)
movsd  -0x8(%rbp,%rax,8),%xmm7
movsd  %xmm7,0xc0(%rsp,%rcx,1)
movsd  -0x8(%r14,%rax,8),%xmm8
movsd  %xmm8,0x140(%rsp,%rcx,1)
movsd  (%r14,%rax,8),%xmm9
movsd  %xmm9,0x120(%rsp,%rcx,1)
movsd  0x0(%r13,%rax,8),%xmm0
movsd  %xmm0,0x60(%rsp,%rcx,1)
movsd  -0x8(%r13,%rax,8),%xmm6
movsd  %xmm6,0x80(%rsp,%rcx,1)
movapd %xmm5,%xmm4
addsd  %xmm1,%xmm4
movapd %xmm4,%xmm3
addsd  %xmm2,%xmm3
addsd  %xmm7,%xmm3
mulsd  %xmm10,%xmm3
movsd  %xmm3,0x360(%rsp,%rcx,1)
addsd  %xmm2,%xmm1
addsd  %xmm9,%xmm1
addsd  %xmm0,%xmm1
mulsd  %xmm10,%xmm1
movsd  %xmm1,0x340(%rsp,%rcx,1)
addsd  %xmm0,%xmm4
addsd  %xmm6,%xmm4
mulsd  %xmm10,%xmm4
movsd  %xmm4,0x320(%rsp,%rcx,1)
addsd  %xmm7,%xmm5
addsd  %xmm6,%xmm5
addsd  %xmm8,%xmm5
mulsd  %xmm10,%xmm5
movsd  %xmm5,0x300(%rsp,%rcx,1)
addsd  %xmm7,%xmm2
addsd  %xmm8,%xmm2
addsd  %xmm9,%xmm2
mulsd  %xmm10,%xmm2
movsd  %xmm2,0x280(%rsp,%rcx,1)
addsd  %xmm6,%xmm0
addsd  %xmm9,%xmm0
addsd  %xmm8,%xmm0
mulsd  %xmm10,%xmm0
movsd  %xmm0,0x260(%rsp,%rcx,1)
addsd  %xmm3,%xmm0
mulsd  %xmm11,%xmm0
movsd  %xmm0,0x2e0(%rsp,%rcx,1)
add    %r9,%rax
add    $0x8,%rcx
cmp    $0x18,%rcx
jne    1320 <volume3D+0x210>
lea    0x100(%rsp),%rdi
lea    0xe0(%rsp),%rsi
lea    0x360(%rsp),%r15
mov    %r15,%rdx
lea    0x2e0(%rsp),%rbx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movapd %xmm0,%xmm1
movapd 0xb75(%rip),%xmm0
xorpd  %xmm0,%xmm1
movapd %xmm1,0x2d0(%rsp)
lea    0xe0(%rsp),%rdi
lea    0xa0(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
xorpd  0xb45(%rip),%xmm0
movapd %xmm0,0x2c0(%rsp)
lea    0xa0(%rsp),%rdi
lea    0xc0(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
xorpd  0xb19(%rip),%xmm0
movapd %xmm0,0x2b0(%rsp)
lea    0xc0(%rsp),%rdi
lea    0x100(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
xorpd  0xaed(%rip),%xmm0
movapd %xmm0,0x2a0(%rsp)
lea    0xe0(%rsp),%rdi
lea    0xa0(%rsp),%rsi
lea    0x340(%rsp),%r15
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x248(%rsp)
lea    0xa0(%rsp),%rdi
lea    0x120(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x240(%rsp)
lea    0x120(%rsp),%rdi
lea    0x60(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x238(%rsp)
lea    0x60(%rsp),%rdi
lea    0xe0(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x230(%rsp)
lea    0x100(%rsp),%rdi
lea    0xe0(%rsp),%rsi
lea    0x320(%rsp),%r15
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x228(%rsp)
lea    0xe0(%rsp),%rdi
lea    0x60(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x220(%rsp)
lea    0x60(%rsp),%rdi
lea    0x80(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x218(%rsp)
lea    0x80(%rsp),%rdi
lea    0x100(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x210(%rsp)
lea    0xc0(%rsp),%rdi
lea    0x100(%rsp),%rsi
lea    0x300(%rsp),%r15
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x208(%rsp)
lea    0x100(%rsp),%rdi
lea    0x80(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x200(%rsp)
lea    0x80(%rsp),%rdi
lea    0x140(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x1f8(%rsp)
lea    0x140(%rsp),%rdi
lea    0xc0(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x1f0(%rsp)
lea    0xa0(%rsp),%rdi
lea    0xc0(%rsp),%rsi
lea    0x280(%rsp),%r15
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x1e8(%rsp)
lea    0xc0(%rsp),%rdi
lea    0x140(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
mov    %rbx,%r15
call   1030 <det3D@plt>
movsd  %xmm0,0x1e0(%rsp)
lea    0x140(%rsp),%rdi
lea    0x120(%rsp),%rbx
mov    %rbx,%rsi
lea    0x280(%rsp),%rdx
mov    %r15,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x1d8(%rsp)
mov    %rbx,%rdi
lea    0xa0(%rsp),%rsi
lea    0x280(%rsp),%rdx
mov    %r15,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x1d0(%rsp)
lea    0x80(%rsp),%rdi
lea    0x60(%rsp),%rsi
lea    0x260(%rsp),%r15
mov    %r15,%rdx
lea    0x2e0(%rsp),%rbx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x1c8(%rsp)
lea    0x60(%rsp),%rdi
lea    0x120(%rsp),%rsi
mov    %r15,%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x1c0(%rsp)
lea    0x120(%rsp),%rdi
lea    0x140(%rsp),%r15
mov    %r15,%rsi
lea    0x260(%rsp),%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
movsd  %xmm0,0x1b8(%rsp)
mov    %r15,%rdi
lea    0x80(%rsp),%rsi
lea    0x260(%rsp),%rdx
mov    %rbx,%rcx
call   1030 <det3D@plt>
mov    0x190(%rsp),%r9
movsd  0x7d3(%rip),%xmm11
movsd  0x7c2(%rip),%xmm10
mov    0x1b0(%rsp),%rdx
mov    0x250(%rsp),%rsi
movaps 0x2d0(%rsp),%xmm1
movlps %xmm1,(%rdx,%rsi,8)
mov    0x1a8(%rsp),%rcx
lea    (%rsi,%rcx,1),%rax
movaps 0x2c0(%rsp),%xmm1
movlps %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movaps 0x2b0(%rsp),%xmm1
movlps %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movaps 0x2a0(%rsp),%xmm1
movlps %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x248(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x240(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x238(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x230(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x228(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x220(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x218(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x210(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x208(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x200(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1f8(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1f0(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1e8(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1e0(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1d8(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1d0(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1c8(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1c0(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1b8(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  %xmm0,(%rdx,%rax,8)
mov    0x258(%rsp),%rcx
add    $0x1,%rcx
add    0x1c(%rsp),%esi
mov    0x198(%rsp),%rax
add    %rax,%r12
add    %rax,%rbp
add    %rax,%r14
add    %rax,%r13
cmp    0x1a0(%rsp),%rcx
jne    1300 <volume3D+0x1f0>
jmp    1290 <volume3D+0x180>
add    $0x378,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @volume3D(double* %0, double* %1, double* %2, i32 %3) {
%5 = alloca double*
%6 = alloca double*
%7 = alloca double*
%8 = alloca i32
%9 = alloca i32
%10 = alloca i32
%11 = alloca i32
%12 = alloca [3 x double]
%13 = alloca [3 x double]
%14 = alloca [3 x double]
%15 = alloca [3 x double]
%16 = alloca [3 x double]
%17 = alloca [3 x double]
%18 = alloca [3 x double]
%19 = alloca [3 x double]
%20 = alloca [3 x double]
%21 = alloca [3 x double]
%22 = alloca [3 x double]
%23 = alloca [3 x double]
%24 = alloca [3 x double]
%25 = alloca [3 x double]
%26 = alloca [3 x double]
%27 = alloca [24 x double]
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
%32 = alloca i32
%33 = alloca i32
%34 = alloca i32
%35 = alloca i32
%36 = alloca i32
%37 = alloca i32
%38 = alloca i32
%39 = alloca double*
store double* %0, double** %5
store double* %1, double** %6
store double* %2, double** %7
store i32 %3, i32* %8
%40 = load double*, double** %7
%41 = getelementptr inbounds double, double* %40, i64 0
%42 = load double, double* %41
%43 = fptosi double %42 to i32
store i32 %43, i32* %9
%44 = load double*, double** %7
%45 = getelementptr inbounds double, double* %44, i64 1
%46 = load double, double* %45
%47 = fptosi double %46 to i32
store i32 %47, i32* %10
%48 = load double*, double** %7
%49 = getelementptr inbounds double, double* %48, i64 2
%50 = load double, double* %49
%51 = fptosi double %50 to i32
store i32 %51, i32* %11
%52 = load i32, i32* %9
%53 = add nsw i32 %52, 1
%54 = load i32, i32* %10
%55 = add nsw i32 %54, 1
%56 = mul nsw i32 %53, %55
%57 = load i32, i32* %11
%58 = add nsw i32 %57, 1
%59 = mul nsw i32 %56, %58
store i32 %59, i32* %35
store i32 1, i32* %36
%60 = load i32, i32* %9
%61 = add nsw i32 %60, 1
store i32 %61, i32* %37
%62 = load i32, i32* %9
%63 = add nsw i32 %62, 1
%64 = load i32, i32* %10
%65 = add nsw i32 %64, 1
%66 = mul nsw i32 %63, %65
store i32 %66, i32* %38
store i32 0, i32* %29
br label %67
67: ; preds = %505, %4
%68 = load i32, i32* %29
%69 = load i32, i32* %9
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %508
71: ; preds = %67
store i32 0, i32* %30
br label %72
72: ; preds = %501, %71
%73 = load i32, i32* %30
%74 = load i32, i32* %10
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %504
76: ; preds = %72
store i32 0, i32* %31
br label %77
77: ; preds = %497, %76
%78 = load i32, i32* %31
%79 = load i32, i32* %11
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %500
81: ; preds = %77
%82 = load i32, i32* %29
%83 = load i32, i32* %30
%84 = load i32, i32* %37
%85 = mul nsw i32 %83, %84
%86 = add nsw i32 %82, %85
%87 = load i32, i32* %31
%88 = load i32, i32* %38
%89 = mul nsw i32 %87, %88
%90 = add nsw i32 %86, %89
store i32 %90, i32* %34
store i32 0, i32* %33
store i32 0, i32* %32
br label %91
91: ; preds = %317, %81
%92 = load i32, i32* %32
%93 = icmp slt i32 %92, 3
br i1 %93, label %94, label %320
94: ; preds = %91
%95 = load double*, double** %6
%96 = load i32, i32* %34
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, double* %95, i64 %97
%99 = load i32, i32* %33
%100 = sext i32 %99 to i64
%101 = getelementptr inbounds double, double* %98, i64 %100
store double* %101, double** %39
%102 = load double*, double** %39
%103 = load double, double* %102
%104 = load i32, i32* %32
%105 = sext i32 %104 to i64
%106 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 %105
store double %103, double* %106
%107 = load double*, double** %39
%108 = getelementptr inbounds double, double* %107, i64 1
store double* %108, double** %39
%109 = load double*, double** %39
%110 = load double, double* %109
%111 = load i32, i32* %32
%112 = sext i32 %111 to i64
%113 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 %112
store double %110, double* %113
%114 = load i32, i32* %37
%115 = load double*, double** %39
%116 = sext i32 %114 to i64
%117 = getelementptr inbounds double, double* %115, i64 %116
store double* %117, double** %39
%118 = load double*, double** %39
%119 = load double, double* %118
%120 = load i32, i32* %32
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 %121
store double %119, double* %122
%123 = load double*, double** %39
%124 = getelementptr inbounds double, double* %123, i64 -1
store double* %124, double** %39
%125 = load double*, double** %39
%126 = load double, double* %125
%127 = load i32, i32* %32
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 %128
store double %126, double* %129
%130 = load i32, i32* %38
%131 = load double*, double** %39
%132 = sext i32 %130 to i64
%133 = getelementptr inbounds double, double* %131, i64 %132
store double* %133, double** %39
%134 = load double*, double** %39
%135 = load double, double* %134
%136 = load i32, i32* %32
%137 = sext i32 %136 to i64
%138 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 %137
store double %135, double* %138
%139 = load double*, double** %39
%140 = getelementptr inbounds double, double* %139, i64 1
store double* %140, double** %39
%141 = load double*, double** %39
%142 = load double, double* %141
%143 = load i32, i32* %32
%144 = sext i32 %143 to i64
%145 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 %144
store double %142, double* %145
%146 = load i32, i32* %37
%147 = load double*, double** %39
%148 = sext i32 %146 to i64
%149 = sub i64 0, %148
%150 = getelementptr inbounds double, double* %147, i64 %149
store double* %150, double** %39
%151 = load double*, double** %39
%152 = load double, double* %151
%153 = load i32, i32* %32
%154 = sext i32 %153 to i64
%155 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 %154
store double %152, double* %155
%156 = load double*, double** %39
%157 = getelementptr inbounds double, double* %156, i64 -1
store double* %157, double** %39
%158 = load double*, double** %39
%159 = load double, double* %158
%160 = load i32, i32* %32
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 %161
store double %159, double* %162
%163 = load i32, i32* %32
%164 = sext i32 %163 to i64
%165 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 %164
%166 = load double, double* %165
%167 = load i32, i32* %32
%168 = sext i32 %167 to i64
%169 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 %168
%170 = load double, double* %169
%171 = fadd double %166, %170
%172 = load i32, i32* %32
%173 = sext i32 %172 to i64
%174 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 %173
%175 = load double, double* %174
%176 = fadd double %171, %175
%177 = load i32, i32* %32
%178 = sext i32 %177 to i64
%179 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 %178
%180 = load double, double* %179
%181 = fadd double %176, %180
%182 = fmul double 2.500000e-01, %181
%183 = load i32, i32* %32
%184 = sext i32 %183 to i64
%185 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 %184
store double %182, double* %185
%186 = load i32, i32* %32
%187 = sext i32 %186 to i64
%188 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 %187
%189 = load double, double* %188
%190 = load i32, i32* %32
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 %191
%193 = load double, double* %192
%194 = fadd double %189, %193
%195 = load i32, i32* %32
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 %196
%198 = load double, double* %197
%199 = fadd double %194, %198
%200 = load i32, i32* %32
%201 = sext i32 %200 to i64
%202 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 %201
%203 = load double, double* %202
%204 = fadd double %199, %203
%205 = fmul double 2.500000e-01, %204
%206 = load i32, i32* %32
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 %207
store double %205, double* %208
%209 = load i32, i32* %32
%210 = sext i32 %209 to i64
%211 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 %210
%212 = load double, double* %211
%213 = load i32, i32* %32
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 %214
%216 = load double, double* %215
%217 = fadd double %212, %216
%218 = load i32, i32* %32
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 %219
%221 = load double, double* %220
%222 = fadd double %217, %221
%223 = load i32, i32* %32
%224 = sext i32 %223 to i64
%225 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 %224
%226 = load double, double* %225
%227 = fadd double %222, %226
%228 = fmul double 2.500000e-01, %227
%229 = load i32, i32* %32
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 %230
store double %228, double* %231
%232 = load i32, i32* %32
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 %233
%235 = load double, double* %234
%236 = load i32, i32* %32
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 %237
%239 = load double, double* %238
%240 = fadd double %235, %239
%241 = load i32, i32* %32
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 %242
%244 = load double, double* %243
%245 = fadd double %240, %244
%246 = load i32, i32* %32
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 %247
%249 = load double, double* %248
%250 = fadd double %245, %249
%251 = fmul double 2.500000e-01, %250
%252 = load i32, i32* %32
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 %253
store double %251, double* %254
%255 = load i32, i32* %32
%256 = sext i32 %255 to i64
%257 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 %256
%258 = load double, double* %257
%259 = load i32, i32* %32
%260 = sext i32 %259 to i64
%261 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 %260
%262 = load double, double* %261
%263 = fadd double %258, %262
%264 = load i32, i32* %32
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 %265
%267 = load double, double* %266
%268 = fadd double %263, %267
%269 = load i32, i32* %32
%270 = sext i32 %269 to i64
%271 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 %270
%272 = load double, double* %271
%273 = fadd double %268, %272
%274 = fmul double 2.500000e-01, %273
%275 = load i32, i32* %32
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 %276
store double %274, double* %277
%278 = load i32, i32* %32
%279 = sext i32 %278 to i64
%280 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 %279
%281 = load double, double* %280
%282 = load i32, i32* %32
%283 = sext i32 %282 to i64
%284 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 %283
%285 = load double, double* %284
%286 = fadd double %281, %285
%287 = load i32, i32* %32
%288 = sext i32 %287 to i64
%289 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 %288
%290 = load double, double* %289
%291 = fadd double %286, %290
%292 = load i32, i32* %32
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 %293
%295 = load double, double* %294
%296 = fadd double %291, %295
%297 = fmul double 2.500000e-01, %296
%298 = load i32, i32* %32
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 %299
store double %297, double* %300
%301 = load i32, i32* %32
%302 = sext i32 %301 to i64
%303 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 %302
%304 = load double, double* %303
%305 = load i32, i32* %32
%306 = sext i32 %305 to i64
%307 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 %306
%308 = load double, double* %307
%309 = fadd double %304, %308
%310 = fmul double 5.000000e-01, %309
%311 = load i32, i32* %32
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 %312
store double %310, double* %313
%314 = load i32, i32* %35
%315 = load i32, i32* %33
%316 = add nsw i32 %315, %314
store i32 %316, i32* %33
br label %317
317: ; preds = %94
%318 = load i32, i32* %32
%319 = add nsw i32 %318, 1
store i32 %319, i32* %32
br label %91
320: ; preds = %91
%321 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%322 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%323 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 0
%324 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%325 = call double @det3D(double* %321, double* %322, double* %323, double* %324)
%326 = fneg double %325
%327 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 0
store double %326, double* %327
%328 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%329 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%330 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 0
%331 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%332 = call double @det3D(double* %328, double* %329, double* %330, double* %331)
%333 = fneg double %332
%334 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 1
store double %333, double* %334
%335 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%336 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%337 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 0
%338 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%339 = call double @det3D(double* %335, double* %336, double* %337, double* %338)
%340 = fneg double %339
%341 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 2
store double %340, double* %341
%342 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%343 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%344 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 0
%345 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%346 = call double @det3D(double* %342, double* %343, double* %344, double* %345)
%347 = fneg double %346
%348 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 3
store double %347, double* %348
%349 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%350 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%351 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 0
%352 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%353 = call double @det3D(double* %349, double* %350, double* %351, double* %352)
%354 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 4
store double %353, double* %354
%355 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%356 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%357 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 0
%358 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%359 = call double @det3D(double* %355, double* %356, double* %357, double* %358)
%360 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 5
store double %359, double* %360
%361 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%362 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%363 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 0
%364 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%365 = call double @det3D(double* %361, double* %362, double* %363, double* %364)
%366 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 6
store double %365, double* %366
%367 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%368 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%369 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 0
%370 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%371 = call double @det3D(double* %367, double* %368, double* %369, double* %370)
%372 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 7
store double %371, double* %372
%373 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%374 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%375 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 0
%376 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%377 = call double @det3D(double* %373, double* %374, double* %375, double* %376)
%378 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 8
store double %377, double* %378
%379 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%380 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%381 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 0
%382 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%383 = call double @det3D(double* %379, double* %380, double* %381, double* %382)
%384 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 9
store double %383, double* %384
%385 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%386 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%387 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 0
%388 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%389 = call double @det3D(double* %385, double* %386, double* %387, double* %388)
%390 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 10
store double %389, double* %390
%391 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%392 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%393 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 0
%394 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%395 = call double @det3D(double* %391, double* %392, double* %393, double* %394)
%396 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 11
store double %395, double* %396
%397 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%398 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%399 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 0
%400 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%401 = call double @det3D(double* %397, double* %398, double* %399, double* %400)
%402 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 12
store double %401, double* %402
%403 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%404 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%405 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 0
%406 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%407 = call double @det3D(double* %403, double* %404, double* %405, double* %406)
%408 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 13
store double %407, double* %408
%409 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%410 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%411 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 0
%412 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%413 = call double @det3D(double* %409, double* %410, double* %411, double* %412)
%414 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 14
store double %413, double* %414
%415 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%416 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%417 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 0
%418 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%419 = call double @det3D(double* %415, double* %416, double* %417, double* %418)
%420 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 15
store double %419, double* %420
%421 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%422 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%423 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 0
%424 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%425 = call double @det3D(double* %421, double* %422, double* %423, double* %424)
%426 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 16
store double %425, double* %426
%427 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%428 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%429 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 0
%430 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%431 = call double @det3D(double* %427, double* %428, double* %429, double* %430)
%432 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 17
store double %431, double* %432
%433 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%434 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%435 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 0
%436 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%437 = call double @det3D(double* %433, double* %434, double* %435, double* %436)
%438 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 18
store double %437, double* %438
%439 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%440 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%441 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 0
%442 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%443 = call double @det3D(double* %439, double* %440, double* %441, double* %442)
%444 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 19
store double %443, double* %444
%445 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%446 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%447 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 0
%448 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%449 = call double @det3D(double* %445, double* %446, double* %447, double* %448)
%450 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 20
store double %449, double* %450
%451 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%452 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%453 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 0
%454 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%455 = call double @det3D(double* %451, double* %452, double* %453, double* %454)
%456 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 21
store double %455, double* %456
%457 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%458 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%459 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 0
%460 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%461 = call double @det3D(double* %457, double* %458, double* %459, double* %460)
%462 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 22
store double %461, double* %462
%463 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%464 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%465 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 0
%466 = getelementptr inbounds [3 x double], [3 x double]* %26, i64 0, i64 0
%467 = call double @det3D(double* %463, double* %464, double* %465, double* %466)
%468 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 23
store double %467, double* %468
%469 = load i32, i32* %29
%470 = load i32, i32* %9
%471 = load i32, i32* %30
%472 = load i32, i32* %31
%473 = load i32, i32* %10
%474 = mul nsw i32 %472, %473
%475 = add nsw i32 %471, %474
%476 = mul nsw i32 %470, %475
%477 = add nsw i32 %469, %476
store i32 %477, i32* %28
store i32 0, i32* %32
br label %478
478: ; preds = %493, %320
%479 = load i32, i32* %32
%480 = icmp slt i32 %479, 24
br i1 %480, label %481, label %496
481: ; preds = %478
%482 = load i32, i32* %32
%483 = sext i32 %482 to i64
%484 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 %483
%485 = load double, double* %484
%486 = load double*, double** %5
%487 = load i32, i32* %28
%488 = sext i32 %487 to i64
%489 = getelementptr inbounds double, double* %486, i64 %488
store double %485, double* %489
%490 = load i32, i32* %8
%491 = load i32, i32* %28
%492 = add nsw i32 %491, %490
store i32 %492, i32* %28
br label %493
493: ; preds = %481
%494 = load i32, i32* %32
%495 = add nsw i32 %494, 1
store i32 %495, i32* %32
br label %478
496: ; preds = %478
br label %497
497: ; preds = %496
%498 = load i32, i32* %31
%499 = add nsw i32 %498, 1
store i32 %499, i32* %31
br label %77
500: ; preds = %77
br label %501
501: ; preds = %500
%502 = load i32, i32* %30
%503 = add nsw i32 %502, 1
store i32 %503, i32* %30
br label %72
504: ; preds = %72
br label %505
505: ; preds = %504
%506 = load i32, i32* %29
%507 = add nsw i32 %506, 1
store i32 %507, i32* %29
br label %67
508: ; preds = %67
ret void
}

LLVM IR (-O2):
define void @volume3D(double* nocapture writeonly %0, double* nocapture %1, double* nocapture %2, i32 %3) {
%5 = alloca [3 x double]
%6 = alloca [3 x double]
%7 = alloca [3 x double]
%8 = alloca [3 x double]
%9 = alloca [3 x double]
%10 = alloca [3 x double]
%11 = alloca [3 x double]
%12 = alloca [3 x double]
%13 = alloca [3 x double]
%14 = alloca [3 x double]
%15 = alloca [3 x double]
%16 = alloca [3 x double]
%17 = alloca [3 x double]
%18 = alloca [3 x double]
%19 = alloca [3 x double]
%20 = load double, double* %2
%21 = fptosi double %20 to i32
%22 = getelementptr inbounds double, double* %2, i64 1
%23 = load double, double* %22
%24 = fptosi double %23 to i32
%25 = getelementptr inbounds double, double* %2, i64 2
%26 = load double, double* %25
%27 = fptosi double %26 to i32
%28 = bitcast [3 x double]* %5 to i8*
%29 = bitcast [3 x double]* %6 to i8*
%30 = bitcast [3 x double]* %7 to i8*
%31 = bitcast [3 x double]* %8 to i8*
%32 = bitcast [3 x double]* %9 to i8*
%33 = bitcast [3 x double]* %10 to i8*
%34 = bitcast [3 x double]* %11 to i8*
%35 = bitcast [3 x double]* %12 to i8*
%36 = bitcast [3 x double]* %13 to i8*
%37 = bitcast [3 x double]* %14 to i8*
%38 = bitcast [3 x double]* %15 to i8*
%39 = bitcast [3 x double]* %16 to i8*
%40 = bitcast [3 x double]* %17 to i8*
%41 = bitcast [3 x double]* %18 to i8*
%42 = bitcast [3 x double]* %19 to i8*
%43 = add nsw i32 %21, 1
%44 = add nsw i32 %24, 1
%45 = mul nsw i32 %44, %43
%46 = icmp sgt i32 %21, 0
br i1 %46, label %47, label %241
47: ; preds = %4
%48 = add nsw i32 %27, 1
%49 = mul i32 %45, %48
%50 = icmp sgt i32 %24, 0
%51 = icmp sgt i32 %27, 0
%52 = zext i32 %43 to i64
%53 = sext i32 %45 to i64
%54 = sub nsw i64 0, %52
%55 = getelementptr inbounds [3 x double], [3 x double]* %5, i64 0, i64 0
%56 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 0
%57 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%58 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%59 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 0
%60 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 0
%61 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%62 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%63 = getelementptr inbounds [3 x double], [3 x double]* %10, i64 0, i64 0
%64 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%65 = getelementptr inbounds [3 x double], [3 x double]* %9, i64 0, i64 0
%66 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%67 = getelementptr inbounds [3 x double], [3 x double]* %11, i64 0, i64 0
%68 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%69 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%70 = sext i32 %49 to i64
%71 = mul i32 %24, %21
%72 = sext i32 %3 to i64
%73 = zext i32 %21 to i64
%74 = zext i32 %24 to i64
%75 = zext i32 %27 to i64
br label %76
76: ; preds = %47, %238
%77 = phi i64 [ 0, %47 ], [ %239, %238 ]
br i1 %50, label %78, label %238
78: ; preds = %76
%79 = trunc i64 %77 to i32
br label %80
80: ; preds = %78, %234
%81 = phi i64 [ 0, %78 ], [ %235, %234 ]
%82 = phi i32 [ %79, %78 ], [ %236, %234 ]
br i1 %51, label %83, label %234
83: ; preds = %80
%84 = mul nsw i64 %81, %52
%85 = add nuw nsw i64 %84, %77
br label %86
86: ; preds = %83, %155
%87 = phi i64 [ 0, %83 ], [ %231, %155 ]
%88 = phi i32 [ %82, %83 ], [ %232, %155 ]
%89 = sext i32 %88 to i64
%90 = mul nsw i64 %87, %53
%91 = add nsw i64 %85, %90
%92 = getelementptr inbounds double, double* %1, i64 %91
br label %93
93: ; preds = %86, %93
%94 = phi i64 [ 0, %86 ], [ %152, %93 ]
%95 = phi i64 [ 0, %86 ], [ %153, %93 ]
%96 = getelementptr inbounds double, double* %92, i64 %94
%97 = load double, double* %96
%98 = getelementptr inbounds [3 x double], [3 x double]* %5, i64 0, i64 %95
store double %97, double* %98
%99 = getelementptr inbounds double, double* %96, i64 1
%100 = load double, double* %99
%101 = getelementptr inbounds [3 x double], [3 x double]* %6, i64 0, i64 %95
store double %100, double* %101
%102 = getelementptr inbounds double, double* %99, i64 %52
%103 = load double, double* %102
%104 = getelementptr inbounds [3 x double], [3 x double]* %8, i64 0, i64 %95
store double %103, double* %104
%105 = getelementptr inbounds double, double* %102, i64 -1
%106 = load double, double* %105
%107 = getelementptr inbounds [3 x double], [3 x double]* %7, i64 0, i64 %95
store double %106, double* %107
%108 = getelementptr inbounds double, double* %105, i64 %53
%109 = load double, double* %108
%110 = getelementptr inbounds [3 x double], [3 x double]* %11, i64 0, i64 %95
store double %109, double* %110
%111 = getelementptr inbounds double, double* %108, i64 1
%112 = load double, double* %111
%113 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 %95
store double %112, double* %113
%114 = getelementptr inbounds double, double* %111, i64 %54
%115 = load double, double* %114
%116 = getelementptr inbounds [3 x double], [3 x double]* %10, i64 0, i64 %95
store double %115, double* %116
%117 = getelementptr inbounds double, double* %114, i64 -1
%118 = load double, double* %117
%119 = getelementptr inbounds [3 x double], [3 x double]* %9, i64 0, i64 %95
store double %118, double* %119
%120 = fadd double %97, %100
%121 = fadd double %120, %103
%122 = fadd double %121, %106
%123 = fmul double %122, 2.500000e-01
%124 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 %95
store double %123, double* %124
%125 = fadd double %100, %103
%126 = fadd double %125, %112
%127 = fadd double %126, %115
%128 = fmul double %127, 2.500000e-01
%129 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 %95
store double %128, double* %129
%130 = fadd double %120, %115
%131 = fadd double %130, %118
%132 = fmul double %131, 2.500000e-01
%133 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 %95
store double %132, double* %133
%134 = fadd double %97, %106
%135 = fadd double %134, %118
%136 = fadd double %109, %135
%137 = fmul double %136, 2.500000e-01
%138 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 %95
store double %137, double* %138
%139 = fadd double %103, %106
%140 = fadd double %139, %109
%141 = fadd double %140, %112
%142 = fmul double %141, 2.500000e-01
%143 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 %95
store double %142, double* %143
%144 = fadd double %115, %118
%145 = fadd double %112, %144
%146 = fadd double %109, %145
%147 = fmul double %146, 2.500000e-01
%148 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 %95
store double %147, double* %148
%149 = fadd double %123, %147
%150 = fmul double %149, 5.000000e-01
%151 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 %95
store double %150, double* %151
%152 = add nsw i64 %94, %70
%153 = add nuw nsw i64 %95, 1
%154 = icmp eq i64 %153, 3
br i1 %154, label %155, label %93
155: ; preds = %93
%156 = call double @det3D(double* %55, double* %56, double* %57, double* %58)
%157 = fneg double %156
%158 = call double @det3D(double* %56, double* %59, double* %57, double* %58)
%159 = fneg double %158
%160 = call double @det3D(double* %59, double* %60, double* %57, double* %58)
%161 = fneg double %160
%162 = call double @det3D(double* %60, double* %55, double* %57, double* %58)
%163 = fneg double %162
%164 = call double @det3D(double* %56, double* %59, double* %61, double* %58)
%165 = call double @det3D(double* %59, double* %62, double* %61, double* %58)
%166 = call double @det3D(double* %62, double* %63, double* %61, double* %58)
%167 = call double @det3D(double* %63, double* %56, double* %61, double* %58)
%168 = call double @det3D(double* %55, double* %56, double* %64, double* %58)
%169 = call double @det3D(double* %56, double* %63, double* %64, double* %58)
%170 = call double @det3D(double* %63, double* %65, double* %64, double* %58)
%171 = call double @det3D(double* %65, double* %55, double* %64, double* %58)
%172 = call double @det3D(double* %60, double* %55, double* %66, double* %58)
%173 = call double @det3D(double* %55, double* %65, double* %66, double* %58)
%174 = call double @det3D(double* %65, double* %67, double* %66, double* %58)
%175 = call double @det3D(double* %67, double* %60, double* %66, double* %58)
%176 = call double @det3D(double* %59, double* %60, double* %68, double* %58)
%177 = call double @det3D(double* %60, double* %67, double* %68, double* %58)
%178 = call double @det3D(double* %67, double* %62, double* %68, double* %58)
%179 = call double @det3D(double* %62, double* %59, double* %68, double* %58)
%180 = call double @det3D(double* %65, double* %63, double* %69, double* %58)
%181 = call double @det3D(double* %63, double* %62, double* %69, double* %58)
%182 = call double @det3D(double* %62, double* %67, double* %69, double* %58)
%183 = call double @det3D(double* %67, double* %65, double* %69, double* %58)
%184 = getelementptr inbounds double, double* %0, i64 %89
store double %157, double* %184
%185 = add nsw i64 %89, %72
%186 = getelementptr inbounds double, double* %0, i64 %185
store double %159, double* %186
%187 = add nsw i64 %185, %72
%188 = getelementptr inbounds double, double* %0, i64 %187
store double %161, double* %188
%189 = add nsw i64 %187, %72
%190 = getelementptr inbounds double, double* %0, i64 %189
store double %163, double* %190
%191 = add nsw i64 %189, %72
%192 = getelementptr inbounds double, double* %0, i64 %191
store double %164, double* %192
%193 = add nsw i64 %191, %72
%194 = getelementptr inbounds double, double* %0, i64 %193
store double %165, double* %194
%195 = add nsw i64 %193, %72
%196 = getelementptr inbounds double, double* %0, i64 %195
store double %166, double* %196
%197 = add nsw i64 %195, %72
%198 = getelementptr inbounds double, double* %0, i64 %197
store double %167, double* %198
%199 = add nsw i64 %197, %72
%200 = getelementptr inbounds double, double* %0, i64 %199
store double %168, double* %200
%201 = add nsw i64 %199, %72
%202 = getelementptr inbounds double, double* %0, i64 %201
store double %169, double* %202
%203 = add nsw i64 %201, %72
%204 = getelementptr inbounds double, double* %0, i64 %203
store double %170, double* %204
%205 = add nsw i64 %203, %72
%206 = getelementptr inbounds double, double* %0, i64 %205
store double %171, double* %206
%207 = add nsw i64 %205, %72
%208 = getelementptr inbounds double, double* %0, i64 %207
store double %172, double* %208
%209 = add nsw i64 %207, %72
%210 = getelementptr inbounds double, double* %0, i64 %209
store double %173, double* %210
%211 = add nsw i64 %209, %72
%212 = getelementptr inbounds double, double* %0, i64 %211
store double %174, double* %212
%213 = add nsw i64 %211, %72
%214 = getelementptr inbounds double, double* %0, i64 %213
store double %175, double* %214
%215 = add nsw i64 %213, %72
%216 = getelementptr inbounds double, double* %0, i64 %215
store double %176, double* %216
%217 = add nsw i64 %215, %72
%218 = getelementptr inbounds double, double* %0, i64 %217
store double %177, double* %218
%219 = add nsw i64 %217, %72
%220 = getelementptr inbounds double, double* %0, i64 %219
store double %178, double* %220
%221 = add nsw i64 %219, %72
%222 = getelementptr inbounds double, double* %0, i64 %221
store double %179, double* %222
%223 = add nsw i64 %221, %72
%224 = getelementptr inbounds double, double* %0, i64 %223
store double %180, double* %224
%225 = add nsw i64 %223, %72
%226 = getelementptr inbounds double, double* %0, i64 %225
store double %181, double* %226
%227 = add nsw i64 %225, %72
%228 = getelementptr inbounds double, double* %0, i64 %227
store double %182, double* %228
%229 = add nsw i64 %227, %72
%230 = getelementptr inbounds double, double* %0, i64 %229
store double %183, double* %230
%231 = add nuw nsw i64 %87, 1
%232 = add i32 %88, %71
%233 = icmp eq i64 %231, %75
br i1 %233, label %234, label %86
234: ; preds = %155, %80
%235 = add nuw nsw i64 %81, 1
%236 = add i32 %82, %21
%237 = icmp eq i64 %235, %74
br i1 %237, label %238, label %80
238: ; preds = %234, %76
%239 = add nuw nsw i64 %77, 1
%240 = icmp eq i64 %239, %73
br i1 %240, label %241, label %76
241: ; preds = %238, %4
ret void
}