#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 areaTriangle3D(double *, double *, double *);
void area3D(double *A, const double *yc, const double *m, 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 area[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 for default(shared) private(                              \
    rptr, id, i1, i2, i3, r, comp, idn, area, yA, yB, yC, yD, yE, yF, yG, yH,  \
    yABDC, yBDHF, yABFE, yCAEG, yDCGH, yEFHG)
  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;
        }
        area[0] = areaTriangle3D(yABDC, yA, yB);
        area[1] = areaTriangle3D(yABDC, yB, yD);
        area[2] = areaTriangle3D(yABDC, yD, yC);
        area[3] = areaTriangle3D(yABDC, yC, yA);
        area[4] = areaTriangle3D(yBDHF, yB, yD);
        area[5] = areaTriangle3D(yBDHF, yD, yH);
        area[6] = areaTriangle3D(yBDHF, yH, yF);
        area[7] = areaTriangle3D(yBDHF, yF, yB);
        area[8] = areaTriangle3D(yABFE, yA, yB);
        area[9] = areaTriangle3D(yABFE, yB, yF);
        area[10] = areaTriangle3D(yABFE, yF, yE);
        area[11] = areaTriangle3D(yABFE, yE, yA);
        area[12] = areaTriangle3D(yCAEG, yC, yA);
        area[13] = areaTriangle3D(yCAEG, yA, yE);
        area[14] = areaTriangle3D(yCAEG, yE, yG);
        area[15] = areaTriangle3D(yCAEG, yG, yC);
        area[16] = areaTriangle3D(yDCGH, yD, yC);
        area[17] = areaTriangle3D(yDCGH, yC, yG);
        area[18] = areaTriangle3D(yDCGH, yG, yH);
        area[19] = areaTriangle3D(yDCGH, yH, yD);
        area[20] = areaTriangle3D(yEFHG, yE, yF);
        area[21] = areaTriangle3D(yEFHG, yF, yH);
        area[22] = areaTriangle3D(yEFHG, yH, yG);
        area[23] = areaTriangle3D(yEFHG, yG, yE);
        id = i1 + m1 * (i2 + i3 * m2);
        for (r = 0; r < 24; r++) {
          A[id] = area[r];
          id += n;
        }
      }
    }
  }
  return;
}


x86 assembly (clang, -O0):
<area3D>:
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    19fd <area3D+0x8ed>
movl   $0x0,-0x2cc(%rbp)
mov    -0x2cc(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    19e4 <area3D+0x8d4>
movl   $0x0,-0x2d0(%rbp)
mov    -0x2d0(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    19cb <area3D+0x8bb>
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 <area3D+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 <area3D+0x10f>
lea    -0x140(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x60(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x2c0(%rbp)
ff
lea    -0x140(%rbp),%rdi
lea    -0x60(%rbp),%rsi
lea    -0xa0(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x2b8(%rbp)
ff
lea    -0x140(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
lea    -0x80(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x2b0(%rbp)
ff
lea    -0x140(%rbp),%rdi
lea    -0x80(%rbp),%rsi
lea    -0x40(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x2a8(%rbp)
ff
lea    -0x160(%rbp),%rdi
lea    -0x60(%rbp),%rsi
lea    -0xa0(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x2a0(%rbp)
ff
lea    -0x160(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
lea    -0x120(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x298(%rbp)
ff
lea    -0x160(%rbp),%rdi
lea    -0x120(%rbp),%rsi
lea    -0xe0(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x290(%rbp)
ff
lea    -0x160(%rbp),%rdi
lea    -0xe0(%rbp),%rsi
lea    -0x60(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x288(%rbp)
ff
lea    -0x180(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0x60(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x280(%rbp)
ff
lea    -0x180(%rbp),%rdi
lea    -0x60(%rbp),%rsi
lea    -0xe0(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x278(%rbp)
ff
lea    -0x180(%rbp),%rdi
lea    -0xe0(%rbp),%rsi
lea    -0xc0(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x270(%rbp)
ff
lea    -0x180(%rbp),%rdi
lea    -0xc0(%rbp),%rsi
lea    -0x40(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x268(%rbp)
ff
lea    -0x1a0(%rbp),%rdi
lea    -0x80(%rbp),%rsi
lea    -0x40(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x260(%rbp)
ff
lea    -0x1a0(%rbp),%rdi
lea    -0x40(%rbp),%rsi
lea    -0xc0(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x258(%rbp)
ff
lea    -0x1a0(%rbp),%rdi
lea    -0xc0(%rbp),%rsi
lea    -0x100(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x250(%rbp)
ff
lea    -0x1a0(%rbp),%rdi
lea    -0x100(%rbp),%rsi
lea    -0x80(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x248(%rbp)
ff
lea    -0x1c0(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
lea    -0x80(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x240(%rbp)
ff
lea    -0x1c0(%rbp),%rdi
lea    -0x80(%rbp),%rsi
lea    -0x100(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x238(%rbp)
ff
lea    -0x1c0(%rbp),%rdi
lea    -0x100(%rbp),%rsi
lea    -0x120(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x230(%rbp)
ff
lea    -0x1c0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
lea    -0xa0(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x228(%rbp)
ff
lea    -0x1e0(%rbp),%rdi
lea    -0xc0(%rbp),%rsi
lea    -0xe0(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x220(%rbp)
ff
lea    -0x1e0(%rbp),%rdi
lea    -0xe0(%rbp),%rsi
lea    -0x120(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x218(%rbp)
ff
lea    -0x1e0(%rbp),%rdi
lea    -0x120(%rbp),%rsi
lea    -0x100(%rbp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,-0x210(%rbp)
ff
lea    -0x1e0(%rbp),%rdi
lea    -0x100(%rbp),%rsi
lea    -0xc0(%rbp),%rdx
call   1030 <areaTriangle3D@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    19b2 <area3D+0x8a2>
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    1962 <area3D+0x852>
jmp    19b7 <area3D+0x8a7>
mov    -0x2d0(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2d0(%rbp)
jmp    11d2 <area3D+0xc2>
jmp    19d0 <area3D+0x8c0>
mov    -0x2cc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2cc(%rbp)
jmp    11b9 <area3D+0xa9>
jmp    19e9 <area3D+0x8d9>
mov    -0x2c8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c8(%rbp)
jmp    11a0 <area3D+0x90>
add    $0x300,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<area3D>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x328,%rsp
mov    %rsi,0x8(%rsp)
mov    %rdi,0x120(%rsp)
cvttsd2si (%rdx),%eax
mov    %rax,0x38(%rsp)
test   %eax,%eax
jle    196e <area3D+0x85e>
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,%r14
mov    %ebp,%esi
imul   %edi,%esi
mov    %esi,0x1c(%rsp)
movslq %ecx,%rcx
mov    %rcx,0x118(%rsp)
mov    %edi,%ecx
mov    %rcx,0xd8(%rsp)
mov    %rbp,0xe0(%rsp)
mov    %ebp,%ecx
mov    %rcx,0xf0(%rsp)
mov    %r8,0xf8(%rsp)
mov    %r8d,%ecx
mov    %rcx,0x110(%rsp)
lea    0x0(,%rax,8),%rcx
mov    %rcx,0xe8(%rsp)
lea    0x0(,%rdx,8),%rcx
mov    %rcx,0x108(%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
jmp    1237 <area3D+0x127>
nop
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    0xd8(%rsp),%rcx
je     196e <area3D+0x85e>
cmpl   $0x0,0xe0(%rsp)
jle    1200 <area3D+0xf0>
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    12c2 <area3D+0x1b2>
cs nopw 0x0(%rax,%rax,1)
mov    0x100(%rsp),%rcx
add    $0x1,%rcx
mov    0x4(%rsp),%eax
add    0x38(%rsp),%eax
mov    %eax,0x4(%rsp)
mov    0xe8(%rsp),%rax
add    %rax,0x40(%rsp)
add    %rax,0x48(%rsp)
add    %rax,0x50(%rsp)
add    %rax,0x58(%rsp)
cmp    0xf0(%rsp),%rcx
je     1200 <area3D+0xf0>
mov    %rcx,0x100(%rsp)
cmpl   $0x0,0xf8(%rsp)
jle    1280 <area3D+0x170>
mov    0x58(%rsp),%r13
mov    0x50(%rsp),%rbp
mov    0x48(%rsp),%r12
mov    0x40(%rsp),%r15
xor    %ecx,%ecx
mov    0x4(%rsp),%eax
mov    %eax,%esi
mov    %rcx,0x1e8(%rsp)
movslq %esi,%rsi
mov    %rsi,0x1e0(%rsp)
mov    $0x1,%eax
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
movsd  -0x8(%r15,%rax,8),%xmm3
movsd  %xmm3,0x60(%rsp,%rcx,1)
movsd  (%r15,%rax,8),%xmm7
movsd  %xmm7,0xc0(%rsp,%rcx,1)
movsd  (%r12,%rax,8),%xmm2
movsd  %xmm2,0x80(%rsp,%rcx,1)
movsd  -0x8(%r12,%rax,8),%xmm6
movsd  %xmm6,0xa0(%rsp,%rcx,1)
movsd  -0x8(%rbp,%rax,8),%xmm8
movsd  %xmm8,0x270(%rsp,%rcx,1)
movsd  0x0(%rbp,%rax,8),%xmm9
movsd  %xmm9,0x250(%rsp,%rcx,1)
movsd  0x0(%r13,%rax,8),%xmm1
movsd  %xmm1,0x290(%rsp,%rcx,1)
movsd  -0x8(%r13,%rax,8),%xmm5
movsd  %xmm5,0x2b0(%rsp,%rcx,1)
movapd %xmm3,%xmm0
addsd  %xmm7,%xmm0
movapd %xmm0,%xmm4
addsd  %xmm2,%xmm4
addsd  %xmm6,%xmm4
mulsd  %xmm10,%xmm4
movsd  %xmm4,0x310(%rsp,%rcx,1)
addsd  %xmm2,%xmm7
addsd  %xmm9,%xmm7
addsd  %xmm1,%xmm7
mulsd  %xmm10,%xmm7
movsd  %xmm7,0x230(%rsp,%rcx,1)
addsd  %xmm1,%xmm0
addsd  %xmm5,%xmm0
mulsd  %xmm10,%xmm0
movsd  %xmm0,0x210(%rsp,%rcx,1)
addsd  %xmm6,%xmm3
addsd  %xmm5,%xmm3
addsd  %xmm8,%xmm3
mulsd  %xmm10,%xmm3
movsd  %xmm3,0x2d0(%rsp,%rcx,1)
addsd  %xmm6,%xmm2
addsd  %xmm8,%xmm2
addsd  %xmm9,%xmm2
mulsd  %xmm10,%xmm2
movsd  %xmm2,0x1f0(%rsp,%rcx,1)
addsd  %xmm5,%xmm1
addsd  %xmm9,%xmm1
addsd  %xmm8,%xmm1
mulsd  %xmm10,%xmm1
movsd  %xmm1,0x2f0(%rsp,%rcx,1)
add    %r14,%rax
add    $0x8,%rcx
cmp    $0x18,%rcx
jne    1310 <area3D+0x200>
lea    0x310(%rsp),%rbx
mov    %rbx,%rdi
lea    0x60(%rsp),%rsi
lea    0xc0(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x1d8(%rsp)
mov    %rbx,%rdi
lea    0xc0(%rsp),%rsi
lea    0x80(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x1d0(%rsp)
mov    %rbx,%rdi
lea    0x80(%rsp),%rsi
lea    0xa0(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x1c8(%rsp)
mov    %rbx,%rdi
lea    0xa0(%rsp),%rsi
lea    0x60(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x1c0(%rsp)
lea    0x230(%rsp),%rdi
lea    0xc0(%rsp),%rsi
lea    0x80(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x1b8(%rsp)
lea    0x230(%rsp),%rdi
mov    %rbx,%rsi
lea    0x250(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x1b0(%rsp)
lea    0x230(%rsp),%rdi
mov    %rbx,%rsi
lea    0x290(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x1a8(%rsp)
lea    0x230(%rsp),%rdi
mov    %rbx,%rsi
lea    0xc0(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x1a0(%rsp)
lea    0x210(%rsp),%rdi
lea    0x60(%rsp),%rsi
lea    0xc0(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x198(%rsp)
lea    0x210(%rsp),%rdi
mov    %rbx,%rsi
lea    0x290(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x190(%rsp)
lea    0x210(%rsp),%rdi
mov    %rbx,%rsi
lea    0x2b0(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x188(%rsp)
lea    0x210(%rsp),%rdi
mov    %rbx,%rsi
lea    0x60(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x180(%rsp)
lea    0x2d0(%rsp),%rbx
mov    %rbx,%rdi
lea    0xa0(%rsp),%rsi
lea    0x60(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x178(%rsp)
mov    %rbx,%rdi
lea    0x60(%rsp),%rsi
lea    0x2b0(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x170(%rsp)
lea    0x2d0(%rsp),%rdi
mov    %rbx,%rsi
lea    0x270(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x168(%rsp)
lea    0x2d0(%rsp),%rdi
mov    %rbx,%rsi
lea    0xa0(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x160(%rsp)
lea    0x1f0(%rsp),%rdi
lea    0x80(%rsp),%rsi
lea    0xa0(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x158(%rsp)
lea    0x1f0(%rsp),%rdi
mov    %rbx,%rsi
lea    0x270(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x150(%rsp)
lea    0x1f0(%rsp),%rdi
mov    %rbx,%rsi
lea    0x250(%rsp),%rbx
mov    %rbx,%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x148(%rsp)
lea    0x1f0(%rsp),%rdi
mov    %rbx,%rsi
lea    0x80(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x140(%rsp)
lea    0x2f0(%rsp),%rbx
mov    %rbx,%rdi
lea    0x2b0(%rsp),%rsi
lea    0x290(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x138(%rsp)
mov    %rbx,%rdi
lea    0x290(%rsp),%rsi
lea    0x250(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x130(%rsp)
mov    %rbx,%rdi
lea    0x250(%rsp),%rsi
lea    0x270(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  %xmm0,0x128(%rsp)
mov    %rbx,%rdi
lea    0x270(%rsp),%rsi
lea    0x2b0(%rsp),%rdx
call   1030 <areaTriangle3D@plt>
movsd  0x86e(%rip),%xmm10
mov    0x120(%rsp),%rdx
mov    0x1e0(%rsp),%rsi
movsd  0x1d8(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rsi,8)
mov    0x118(%rsp),%rcx
lea    (%rsi,%rcx,1),%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  0x1b0(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1a8(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x1a0(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x198(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x190(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x188(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x180(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x178(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x170(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x168(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x160(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x158(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x150(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x148(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x140(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x138(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x130(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  0x128(%rsp),%xmm1
movsd  %xmm1,(%rdx,%rax,8)
add    %rcx,%rax
movsd  %xmm0,(%rdx,%rax,8)
mov    0x1e8(%rsp),%rcx
add    $0x1,%rcx
add    0x1c(%rsp),%esi
mov    0x108(%rsp),%rax
add    %rax,%r15
add    %rax,%r12
add    %rax,%rbp
add    %rax,%r13
cmp    0x110(%rsp),%rcx
jne    12f0 <area3D+0x1e0>
jmp    1280 <area3D+0x170>
add    $0x328,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @area3D(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 = %477, %4
%68 = load i32, i32* %29
%69 = load i32, i32* %9
%70 = icmp slt i32 %68, %69
br i1 %70, label %71, label %480
71: ; preds = %67
store i32 0, i32* %30
br label %72
72: ; preds = %473, %71
%73 = load i32, i32* %30
%74 = load i32, i32* %10
%75 = icmp slt i32 %73, %74
br i1 %75, label %76, label %476
76: ; preds = %72
store i32 0, i32* %31
br label %77
77: ; preds = %469, %76
%78 = load i32, i32* %31
%79 = load i32, i32* %11
%80 = icmp slt i32 %78, %79
br i1 %80, label %81, label %472
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]* %20, i64 0, i64 0
%322 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%323 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%324 = call double @areaTriangle3D(double* %321, double* %322, double* %323)
%325 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 0
store double %324, double* %325
%326 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 0
%327 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%328 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%329 = call double @areaTriangle3D(double* %326, double* %327, double* %328)
%330 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 1
store double %329, double* %330
%331 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 0
%332 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%333 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%334 = call double @areaTriangle3D(double* %331, double* %332, double* %333)
%335 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 2
store double %334, double* %335
%336 = getelementptr inbounds [3 x double], [3 x double]* %20, i64 0, i64 0
%337 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%338 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%339 = call double @areaTriangle3D(double* %336, double* %337, double* %338)
%340 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 3
store double %339, double* %340
%341 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 0
%342 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%343 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%344 = call double @areaTriangle3D(double* %341, double* %342, double* %343)
%345 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 4
store double %344, double* %345
%346 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 0
%347 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%348 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%349 = call double @areaTriangle3D(double* %346, double* %347, double* %348)
%350 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 5
store double %349, double* %350
%351 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 0
%352 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%353 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%354 = call double @areaTriangle3D(double* %351, double* %352, double* %353)
%355 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 6
store double %354, double* %355
%356 = getelementptr inbounds [3 x double], [3 x double]* %21, i64 0, i64 0
%357 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%358 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%359 = call double @areaTriangle3D(double* %356, double* %357, double* %358)
%360 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 7
store double %359, double* %360
%361 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 0
%362 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%363 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%364 = call double @areaTriangle3D(double* %361, double* %362, double* %363)
%365 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 8
store double %364, double* %365
%366 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 0
%367 = getelementptr inbounds [3 x double], [3 x double]* %13, i64 0, i64 0
%368 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%369 = call double @areaTriangle3D(double* %366, double* %367, double* %368)
%370 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 9
store double %369, double* %370
%371 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 0
%372 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%373 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%374 = call double @areaTriangle3D(double* %371, double* %372, double* %373)
%375 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 10
store double %374, double* %375
%376 = getelementptr inbounds [3 x double], [3 x double]* %22, i64 0, i64 0
%377 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%378 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%379 = call double @areaTriangle3D(double* %376, double* %377, double* %378)
%380 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 11
store double %379, double* %380
%381 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 0
%382 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%383 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%384 = call double @areaTriangle3D(double* %381, double* %382, double* %383)
%385 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 12
store double %384, double* %385
%386 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 0
%387 = getelementptr inbounds [3 x double], [3 x double]* %12, i64 0, i64 0
%388 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%389 = call double @areaTriangle3D(double* %386, double* %387, double* %388)
%390 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 13
store double %389, double* %390
%391 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 0
%392 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%393 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%394 = call double @areaTriangle3D(double* %391, double* %392, double* %393)
%395 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 14
store double %394, double* %395
%396 = getelementptr inbounds [3 x double], [3 x double]* %23, i64 0, i64 0
%397 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%398 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%399 = call double @areaTriangle3D(double* %396, double* %397, double* %398)
%400 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 15
store double %399, double* %400
%401 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 0
%402 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%403 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%404 = call double @areaTriangle3D(double* %401, double* %402, double* %403)
%405 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 16
store double %404, double* %405
%406 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 0
%407 = getelementptr inbounds [3 x double], [3 x double]* %14, i64 0, i64 0
%408 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%409 = call double @areaTriangle3D(double* %406, double* %407, double* %408)
%410 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 17
store double %409, double* %410
%411 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 0
%412 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%413 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%414 = call double @areaTriangle3D(double* %411, double* %412, double* %413)
%415 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 18
store double %414, double* %415
%416 = getelementptr inbounds [3 x double], [3 x double]* %24, i64 0, i64 0
%417 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%418 = getelementptr inbounds [3 x double], [3 x double]* %15, i64 0, i64 0
%419 = call double @areaTriangle3D(double* %416, double* %417, double* %418)
%420 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 19
store double %419, double* %420
%421 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 0
%422 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%423 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%424 = call double @areaTriangle3D(double* %421, double* %422, double* %423)
%425 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 20
store double %424, double* %425
%426 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 0
%427 = getelementptr inbounds [3 x double], [3 x double]* %17, i64 0, i64 0
%428 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%429 = call double @areaTriangle3D(double* %426, double* %427, double* %428)
%430 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 21
store double %429, double* %430
%431 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 0
%432 = getelementptr inbounds [3 x double], [3 x double]* %19, i64 0, i64 0
%433 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%434 = call double @areaTriangle3D(double* %431, double* %432, double* %433)
%435 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 22
store double %434, double* %435
%436 = getelementptr inbounds [3 x double], [3 x double]* %25, i64 0, i64 0
%437 = getelementptr inbounds [3 x double], [3 x double]* %18, i64 0, i64 0
%438 = getelementptr inbounds [3 x double], [3 x double]* %16, i64 0, i64 0
%439 = call double @areaTriangle3D(double* %436, double* %437, double* %438)
%440 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 23
store double %439, double* %440
%441 = load i32, i32* %29
%442 = load i32, i32* %9
%443 = load i32, i32* %30
%444 = load i32, i32* %31
%445 = load i32, i32* %10
%446 = mul nsw i32 %444, %445
%447 = add nsw i32 %443, %446
%448 = mul nsw i32 %442, %447
%449 = add nsw i32 %441, %448
store i32 %449, i32* %28
store i32 0, i32* %32
br label %450
450: ; preds = %465, %320
%451 = load i32, i32* %32
%452 = icmp slt i32 %451, 24
br i1 %452, label %453, label %468
453: ; preds = %450
%454 = load i32, i32* %32
%455 = sext i32 %454 to i64
%456 = getelementptr inbounds [24 x double], [24 x double]* %27, i64 0, i64 %455
%457 = load double, double* %456
%458 = load double*, double** %5
%459 = load i32, i32* %28
%460 = sext i32 %459 to i64
%461 = getelementptr inbounds double, double* %458, i64 %460
store double %457, double* %461
%462 = load i32, i32* %8
%463 = load i32, i32* %28
%464 = add nsw i32 %463, %462
store i32 %464, i32* %28
br label %465
465: ; preds = %453
%466 = load i32, i32* %32
%467 = add nsw i32 %466, 1
store i32 %467, i32* %32
br label %450
468: ; preds = %450
br label %469
469: ; preds = %468
%470 = load i32, i32* %31
%471 = add nsw i32 %470, 1
store i32 %471, i32* %31
br label %77
472: ; preds = %77
br label %473
473: ; preds = %472
%474 = load i32, i32* %30
%475 = add nsw i32 %474, 1
store i32 %475, i32* %30
br label %72
476: ; preds = %72
br label %477
477: ; preds = %476
%478 = load i32, i32* %29
%479 = add nsw i32 %478, 1
store i32 %479, i32* %29
br label %67
480: ; preds = %67
ret void
}

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