#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 */
int floor(int const);
void interp3_table1_real_per(const double *r_ck, const double *i_ck,
                             const int K1, const int K2, const int K3,
                             const double *r_h1, const double *r_h2,
                             const double *r_h3, const int J1, const int J2,
                             const int J3, const int L1, const int L2,
                             const int L3, const double *p_tm, const int M,
                             double *r_fm, double *i_fm) {
  int mm;
  {
    const int ncenter1 = floor(J1 * L1 / 2);
    r_h1 += ncenter1;
  }
  {
    const int ncenter2 = floor(J2 * L2 / 2);
    r_h2 += ncenter2;
  }
  {
    const int ncenter3 = floor(J3 * L3 / 2);
    r_h3 += ncenter3;
  }
  for (mm = 0; mm < M; mm++) {
    int jj1, jj2, jj3;
    const double t3 = p_tm[2 * M];
    const double t2 = p_tm[M];
    const double t1 = *p_tm++;
    double sum3r = 0;
    double sum3i = 0;
    const int koff1 = 1 + floor(t1 - J1 / 2.);
    const int koff2 = 1 + floor(t2 - J2 / 2.);
    int k3 = 1 + floor(t3 - J3 / 2.);
    for (jj3 = 0; jj3 < J3; jj3++, k3++) {
      const double p3 = (t3 - k3) * L3;
      const int n3 = floor(p3);
      const double alf3 = p3 - n3;
      register const double *ph3 = r_h3 + n3;
      double coef3r = (1 - alf3) * *ph3 + alf3 * *(ph3 + 1);
      const int wrap3 = floor(k3 / (double)K3);
      const int k3mod = k3 - K3 * wrap3;
      register double sum2r = 0;
      register double sum2i = 0;
      int k2 = koff2;
      for (jj2 = 0; jj2 < J2; jj2++, k2++) {
        const double p2 = (t2 - k2) * L2;
        const int n2 = floor(p2);
        const double alf2 = p2 - n2;
        register const double *ph2 = r_h2 + n2;
        double coef2r = (1 - alf2) * *ph2 + alf2 * *(ph2 + 1);
        const int wrap2 = floor(k2 / (double)K2);
        const int k2mod = k2 - K2 * wrap2;
        const int k23mod = (k3mod * K2 + k2mod) * K1;
        register double sum1r = 0;
        register double sum1i = 0;
        int k1 = koff1;
        for (jj1 = 0; jj1 < J1; jj1++, k1++) {
          const double p1 = (t1 - k1) * L1;
          const int n1 = floor(p1);
          const double alf1 = p1 - n1;
          register const double *ph1 = r_h1 + n1;
          register double coef1r = (1 - alf1) * *ph1 + alf1 * *(ph1 + 1);
          const int wrap1 = floor(k1 / (double)K1);
          const int k1mod = k1 - K1 * wrap1;
          const int kk = k23mod + k1mod;
          sum1r += coef1r * r_ck[kk];
          sum1i += coef1r * i_ck[kk];
        }
        sum2r += coef2r * sum1r;
        sum2i += coef2r * sum1i;
      }
      sum3r += coef3r * sum2r;
      sum3i += coef3r * sum2i;
    }
    *r_fm++ = sum3r;
    *i_fm++ = sum3i;
  }
}


x86 assembly (clang, -O0):
<interp3_table1_real_per>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%rsp
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%rax
mov    0x58(%rbp),%eax
mov    0x50(%rbp),%rax
mov    0x48(%rbp),%eax
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%eax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8d,-0x1c(%rbp)
mov    %r9,-0x28(%rbp)
mov    0x20(%rbp),%eax
imul   0x38(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <floor@plt>
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%ecx
mov    -0x28(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x28(%rbp)
mov    0x28(%rbp),%eax
imul   0x40(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <floor@plt>
mov    %eax,-0x34(%rbp)
mov    -0x34(%rbp),%ecx
mov    0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x10(%rbp)
mov    0x30(%rbp),%eax
imul   0x48(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%edi
call   1030 <floor@plt>
mov    %eax,-0x38(%rbp)
mov    -0x38(%rbp),%ecx
mov    0x18(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x18(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    0x58(%rbp),%eax
jge    1783 <interp3_table1_real_per+0x673>
mov    0x50(%rbp),%rax
mov    0x58(%rbp),%ecx
shl    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x50(%rbp),%rax
movslq 0x58(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    0x50(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x50(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x60(%rbp),%xmm0
cvtsi2sdl 0x20(%rbp),%xmm1
movsd  0xda6(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl 0x28(%rbp),%xmm1
movsd  0xd7d(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl 0x30(%rbp),%xmm1
movsd  0xd54(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    0x30(%rbp),%eax
jge    1745 <interp3_table1_real_per+0x635>
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl -0x7c(%rbp),%xmm1
subsd  %xmm1,%xmm0
cvtsi2sdl 0x48(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
cvttsd2si -0x88(%rbp),%edi
ff
call   1030 <floor@plt>
mov    %eax,-0x8c(%rbp)
movsd  -0x88(%rbp),%xmm0
ff
cvtsi2sdl -0x8c(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    0x18(%rbp),%rax
movslq -0x8c(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0xa0(%rbp)
movsd  0xcc3(%rip),%xmm0
subsd  -0x98(%rbp),%xmm0
ff
mov    -0xa0(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mov    -0xa0(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
cvtsi2sdl -0x7c(%rbp),%xmm0
cvtsi2sdl -0x1c(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0xac(%rbp)
mov    -0x7c(%rbp),%eax
mov    -0x1c(%rbp),%ecx
imul   -0xac(%rbp),%ecx
sub    %ecx,%eax
mov    %eax,-0xb0(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x78(%rbp),%eax
mov    %eax,-0xc4(%rbp)
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    0x28(%rbp),%eax
jge    16ea <interp3_table1_real_per+0x5da>
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl -0xc4(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
cvtsi2sdl 0x40(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
cvttsd2si -0xd0(%rbp),%edi
ff
call   1030 <floor@plt>
mov    %eax,-0xd4(%rbp)
movsd  -0xd0(%rbp),%xmm0
ff
cvtsi2sdl -0xd4(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
mov    0x10(%rbp),%rax
movslq -0xd4(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0xe8(%rbp)
movsd  0xbb6(%rip),%xmm0
subsd  -0xe0(%rbp),%xmm0
ff
mov    -0xe8(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0xe0(%rbp),%xmm1
ff
mov    -0xe8(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
cvtsi2sdl -0xc4(%rbp),%xmm0
ff
cvtsi2sdl -0x18(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0xf4(%rbp)
mov    -0xc4(%rbp),%eax
mov    -0x18(%rbp),%ecx
imul   -0xf4(%rbp),%ecx
sub    %ecx,%eax
mov    %eax,-0xf8(%rbp)
mov    -0xb0(%rbp),%eax
imul   -0x18(%rbp),%eax
add    -0xf8(%rbp),%eax
imul   -0x14(%rbp),%eax
mov    %eax,-0xfc(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
mov    -0x74(%rbp),%eax
mov    %eax,-0x114(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    0x20(%rbp),%eax
jge    167d <interp3_table1_real_per+0x56d>
movsd  -0x60(%rbp),%xmm0
cvtsi2sdl -0x114(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
cvtsi2sdl 0x38(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
cvttsd2si -0x120(%rbp),%edi
ff
call   1030 <floor@plt>
mov    %eax,-0x124(%rbp)
movsd  -0x120(%rbp),%xmm0
ff
cvtsi2sdl -0x124(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
mov    -0x28(%rbp),%rax
movslq -0x124(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x138(%rbp)
movsd  0xa89(%rip),%xmm0
subsd  -0x130(%rbp),%xmm0
ff
mov    -0x138(%rbp),%rax
movsd  (%rax),%xmm2
movsd  -0x130(%rbp),%xmm1
ff
mov    -0x138(%rbp),%rax
mulsd  0x8(%rax),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
cvtsi2sdl -0x114(%rbp),%xmm0
ff
cvtsi2sdl -0x14(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x144(%rbp)
mov    -0x114(%rbp),%eax
mov    -0x14(%rbp),%ecx
imul   -0x144(%rbp),%ecx
sub    %ecx,%eax
mov    %eax,-0x148(%rbp)
mov    -0xfc(%rbp),%eax
add    -0x148(%rbp),%eax
mov    %eax,-0x14c(%rbp)
movsd  -0x140(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
movslq -0x14c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x108(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  -0x140(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movslq -0x14c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x110(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    1501 <interp3_table1_real_per+0x3f1>
movsd  -0xf0(%rbp),%xmm0
ff
movsd  -0x108(%rbp),%xmm2
ff
movsd  -0xb8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xf0(%rbp),%xmm0
ff
movsd  -0x110(%rbp),%xmm2
ff
movsd  -0xc0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0xc4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc4(%rbp)
jmp    13d4 <interp3_table1_real_per+0x2c4>
movsd  -0xa8(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0x68(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0xa8(%rbp),%xmm0
ff
movsd  -0xc0(%rbp),%xmm2
ff
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    12ca <interp3_table1_real_per+0x1ba>
movsd  -0x68(%rbp),%xmm0
mov    0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x60(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x70(%rbp),%xmm0
mov    0x68(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x68(%rbp)
movsd  %xmm0,(%rax)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11eb <interp3_table1_real_per+0xdb>
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interp3_table1_real_per>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x178,%rsp
mov    %r9,0x20(%rsp)
mov    %r8d,0x10(%rsp)
mov    %ecx,0x14(%rsp)
mov    %edx,%r15d
mov    %rsi,0xe8(%rsp)
mov    %rdi,%r12
mov    0x1e8(%rsp),%ebp
mov    0x1e0(%rsp),%ebx
mov    0x1d8(%rsp),%eax
mov    0x1c0(%rsp),%r14d
imul   %r14d,%eax
mov    %eax,%edi
shr    $0x1f,%edi
add    %eax,%edi
sar    %edi
call   1030 <floor@plt>
mov    %eax,%r13d
mov    %ebx,%eax
imul   0x1c8(%rsp),%eax
mov    %eax,%edi
shr    $0x1f,%edi
add    %eax,%edi
sar    %edi
call   1030 <floor@plt>
mov    %eax,%ebx
mov    %ebp,%eax
imul   0x1d0(%rsp),%eax
mov    %eax,%edi
shr    $0x1f,%edi
add    %eax,%edi
sar    %edi
call   1030 <floor@plt>
mov    0x1f8(%rsp),%ecx
test   %ecx,%ecx
jle    1769 <interp3_table1_real_per+0x659>
mov    0x208(%rsp),%rsi
mov    0x200(%rsp),%rdi
movslq %r13d,%rcx
mov    0x20(%rsp),%rdx
lea    (%rdx,%rcx,8),%r9
movslq %ebx,%rdx
shl    $0x3,%rdx
add    0x1b0(%rsp),%rdx
mov    %rdx,0x100(%rsp)
cltq
shl    $0x3,%rax
add    0x1b8(%rsp),%rax
mov    %rax,0xd8(%rsp)
mov    0x1f0(%rsp),%rdx
cvtsi2sdl 0x1e8(%rsp),%xmm0
movsd  %xmm0,0xd0(%rsp)
mov    0x1f8(%rsp),%eax
mov    %rax,%r8
add    %eax,%eax
cltq
mov    %rax,0xc0(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x1e0(%rsp),%xmm0
movsd  %xmm0,0xf8(%rsp)
mov    %r8d,%eax
mov    %rax,0xb8(%rsp)
cvtsi2sd %r14d,%xmm1
movsd  0xdaa(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xb0(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sdl 0x1c8(%rsp),%xmm1
cvtsi2sdl 0x1d0(%rsp),%xmm2
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xa8(%rsp)
mulsd  %xmm0,%xmm2
movsd  %xmm2,0xa0(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x10(%rsp),%xmm0
movsd  %xmm0,0xc8(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x14(%rsp),%xmm0
movsd  %xmm0,0xf0(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x1d8(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtsi2sd %r15d,%xmm1
xor    %ecx,%ecx
mov    %r15d,0x50(%rsp)
mov    %r9,0xe0(%rsp)
movsd  %xmm0,0x118(%rsp)
movsd  %xmm1,0x110(%rsp)
mov    %r12,0x108(%rsp)
jmp    133d <interp3_table1_real_per+0x22d>
cs nopw 0x0(%rax,%rax,1)
nop
addpd  %xmm1,%xmm2
mov    0x78(%rsp),%rsi
mov    0x70(%rsp),%rdi
mov    0x68(%rsp),%rdx
mov    0xc(%rsp),%ecx
add    $0x8,%rdx
movhpd %xmm2,(%rdi)
add    $0x8,%rdi
movlpd %xmm2,(%rsi)
add    $0x8,%rsi
add    $0x1,%ecx
mov    0x1f8(%rsp),%eax
cmp    %eax,%ecx
je     1769 <interp3_table1_real_per+0x659>
mov    %ecx,0xc(%rsp)
mov    %rdi,0x70(%rsp)
mov    %rsi,0x78(%rsp)
mov    0xc0(%rsp),%rax
movsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,0x80(%rsp)
mov    0xb8(%rsp),%rax
movsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,0x88(%rsp)
mov    %rdx,0x68(%rsp)
movsd  (%rdx),%xmm0
movsd  %xmm0,0x120(%rsp)
subsd  0xb0(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,%r15d
movsd  0x88(%rsp),%xmm0
subsd  0xa8(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,%r13d
movsd  0x80(%rsp),%xmm0
subsd  0xa0(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
cmpl   $0x0,0x1d0(%rsp)
jle    1760 <interp3_table1_real_per+0x650>
mov    %r13d,%ecx
add    $0x1,%ecx
mov    %ecx,0x44(%rsp)
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,0x18(%rsp)
add    $0x1,%r15d
xorpd  %xmm0,%xmm0
xor    %ecx,%ecx
mov    %r15d,0x58(%rsp)
mov    %r13d,0x54(%rsp)
jmp    1459 <interp3_table1_real_per+0x349>
xchg   %ax,%ax
addpd  %xmm1,%xmm3
movapd 0x130(%rsp),%xmm2
addsd  0x30(%rsp),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm3,%xmm2
movapd %xmm2,%xmm0
movapd 0x140(%rsp),%xmm1
addpd  %xmm1,%xmm0
mov    0x48(%rsp),%ecx
add    $0x1,%ecx
addl   $0x1,0x18(%rsp)
cmp    0x1d0(%rsp),%ecx
mov    0x4c(%rsp),%eax
je     1300 <interp3_table1_real_per+0x1f0>
mov    %ecx,0x48(%rsp)
movapd %xmm0,0x140(%rsp)
add    $0x1,%eax
mov    %eax,0x4c(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x80(%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xd0(%rsp),%xmm1
movsd  %xmm1,0x30(%rsp)
cvttsd2si %xmm1,%edi
call   1030 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x30(%rsp),%xmm1
subsd  %xmm0,%xmm1
cltq
movsd  0xb4e(%rip),%xmm0
subsd  %xmm1,%xmm0
mov    0xd8(%rsp),%rcx
mulsd  0x8(%rcx,%rax,8),%xmm1
movsd  %xmm1,0x30(%rsp)
mulsd  (%rcx,%rax,8),%xmm0
movapd %xmm0,0x130(%rsp)
movsd  0x20(%rsp),%xmm0
divsd  0xc8(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
xorpd  %xmm3,%xmm3
cmpl   $0x0,0x1c8(%rsp)
jle    1414 <interp3_table1_real_per+0x304>
mov    %eax,%ebx
imul   0x10(%rsp),%ebx
xorpd  %xmm0,%xmm0
xor    %ebp,%ebp
mov    0x44(%rsp),%eax
mov    %eax,0x1c(%rsp)
mov    %r13d,%eax
mov    %ebx,0x5c(%rsp)
jmp    1571 <interp3_table1_real_per+0x461>
nopl   0x0(%rax,%rax,1)
movapd 0x150(%rsp),%xmm3
addsd  0x38(%rsp),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm0,%xmm3
movapd %xmm3,%xmm0
movapd 0x160(%rsp),%xmm1
addpd  %xmm1,%xmm0
add    $0x1,%ebp
addl   $0x1,0x1c(%rsp)
cmp    0x1c8(%rsp),%ebp
mov    0x64(%rsp),%eax
je     1410 <interp3_table1_real_per+0x300>
movapd %xmm0,0x160(%rsp)
add    $0x1,%eax
mov    %eax,0x64(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  0x88(%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xf8(%rsp),%xmm1
movsd  %xmm1,0x38(%rsp)
cvttsd2si %xmm1,%edi
call   1030 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x38(%rsp),%xmm1
subsd  %xmm0,%xmm1
cltq
movsd  0xa3a(%rip),%xmm0
subsd  %xmm1,%xmm0
mov    0x100(%rsp),%rcx
mulsd  0x8(%rcx,%rax,8),%xmm1
movsd  %xmm1,0x38(%rsp)
mulsd  (%rcx,%rax,8),%xmm0
movapd %xmm0,0x150(%rsp)
movsd  0x20(%rsp),%xmm0
divsd  0xf0(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
xorpd  %xmm0,%xmm0
test   %r14d,%r14d
jle    1530 <interp3_table1_real_per+0x420>
mov    %ebp,0x60(%rsp)
add    %ebx,%eax
mov    0x18(%rsp),%r13d
sub    %eax,%r13d
imul   0x14(%rsp),%r13d
add    0x1c(%rsp),%r13d
xorpd  %xmm1,%xmm1
mov    0xe8(%rsp),%rbx
mov    %r15d,%r12d
mov    0x50(%rsp),%ebp
mov    0xe0(%rsp),%r15
nopl   (%rax)
movapd %xmm1,0x20(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %r12d,%xmm0
movsd  %xmm0,0x128(%rsp)
movsd  0x120(%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0x118(%rsp),%xmm1
movsd  %xmm1,0x90(%rsp)
cvttsd2si %xmm1,%edi
call   1030 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x90(%rsp),%xmm1
subsd  %xmm0,%xmm1
cltq
movsd  0x95b(%rip),%xmm0
subsd  %xmm1,%xmm0
mulsd  0x8(%r15,%rax,8),%xmm1
mulsd  (%r15,%rax,8),%xmm0
addsd  %xmm1,%xmm0
movapd %xmm0,0x90(%rsp)
movsd  0x128(%rsp),%xmm0
divsd  0x110(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
movapd 0x20(%rsp),%xmm2
mov    %r13d,%ecx
sub    %eax,%ecx
imul   %ebp,%ecx
add    %r12d,%ecx
movslq %ecx,%rax
movapd 0x90(%rsp),%xmm1
unpcklpd %xmm1,%xmm1
movsd  (%rbx,%rax,8),%xmm0
mov    0x108(%rsp),%rcx
movhpd (%rcx,%rax,8),%xmm0
mulpd  %xmm1,%xmm0
movapd %xmm0,%xmm1
addpd  %xmm2,%xmm1
add    $0x1,%r12d
add    $0xffffffff,%r14d
jne    1650 <interp3_table1_real_per+0x540>
addpd  %xmm2,%xmm0
mov    0x1c0(%rsp),%r14d
mov    0x58(%rsp),%r15d
mov    0x54(%rsp),%r13d
mov    0x5c(%rsp),%ebx
mov    0x60(%rsp),%ebp
jmp    1530 <interp3_table1_real_per+0x420>
cs nopw 0x0(%rax,%rax,1)
xorpd  %xmm2,%xmm2
jmp    1304 <interp3_table1_real_per+0x1f4>
add    $0x178,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @interp3_table1_real_per(double* %0, double* %1, i32 %2, i32 %3, i32 %4, double* %5, double* %6, double* %7, i32 %8, i32 %9, i32 %10, i32 %11, i32 %12, i32 %13, double* %14, i32 %15, double* %16, double* %17) {
%19 = alloca double*
%20 = alloca double*
%21 = alloca i32
%22 = alloca i32
%23 = alloca i32
%24 = alloca double*
%25 = alloca double*
%26 = alloca double*
%27 = alloca i32
%28 = alloca i32
%29 = alloca i32
%30 = alloca i32
%31 = alloca i32
%32 = alloca i32
%33 = alloca double*
%34 = alloca i32
%35 = alloca double*
%36 = alloca double*
%37 = alloca i32
%38 = alloca i32
%39 = alloca i32
%40 = alloca i32
%41 = alloca i32
%42 = alloca i32
%43 = alloca i32
%44 = alloca double
%45 = alloca double
%46 = alloca double
%47 = alloca double
%48 = alloca double
%49 = alloca i32
%50 = alloca i32
%51 = alloca i32
%52 = alloca double
%53 = alloca i32
%54 = alloca double
%55 = alloca double*
%56 = alloca double
%57 = alloca i32
%58 = alloca i32
%59 = alloca double
%60 = alloca double
%61 = alloca i32
%62 = alloca double
%63 = alloca i32
%64 = alloca double
%65 = alloca double*
%66 = alloca double
%67 = alloca i32
%68 = alloca i32
%69 = alloca i32
%70 = alloca double
%71 = alloca double
%72 = alloca i32
%73 = alloca double
%74 = alloca i32
%75 = alloca double
%76 = alloca double*
%77 = alloca double
%78 = alloca i32
%79 = alloca i32
%80 = alloca i32
store double* %0, double** %19
store double* %1, double** %20
store i32 %2, i32* %21
store i32 %3, i32* %22
store i32 %4, i32* %23
store double* %5, double** %24
store double* %6, double** %25
store double* %7, double** %26
store i32 %8, i32* %27
store i32 %9, i32* %28
store i32 %10, i32* %29
store i32 %11, i32* %30
store i32 %12, i32* %31
store i32 %13, i32* %32
store double* %14, double** %33
store i32 %15, i32* %34
store double* %16, double** %35
store double* %17, double** %36
%81 = load i32, i32* %27
%82 = load i32, i32* %30
%83 = mul nsw i32 %81, %82
%84 = sdiv i32 %83, 2
%85 = call i32 @floor(i32 %84)
store i32 %85, i32* %38
%86 = load i32, i32* %38
%87 = load double*, double** %24
%88 = sext i32 %86 to i64
%89 = getelementptr inbounds double, double* %87, i64 %88
store double* %89, double** %24
%90 = load i32, i32* %28
%91 = load i32, i32* %31
%92 = mul nsw i32 %90, %91
%93 = sdiv i32 %92, 2
%94 = call i32 @floor(i32 %93)
store i32 %94, i32* %39
%95 = load i32, i32* %39
%96 = load double*, double** %25
%97 = sext i32 %95 to i64
%98 = getelementptr inbounds double, double* %96, i64 %97
store double* %98, double** %25
%99 = load i32, i32* %29
%100 = load i32, i32* %32
%101 = mul nsw i32 %99, %100
%102 = sdiv i32 %101, 2
%103 = call i32 @floor(i32 %102)
store i32 %103, i32* %40
%104 = load i32, i32* %40
%105 = load double*, double** %26
%106 = sext i32 %104 to i64
%107 = getelementptr inbounds double, double* %105, i64 %106
store double* %107, double** %26
store i32 0, i32* %37
br label %108
108: ; preds = %354, %18
%109 = load i32, i32* %37
%110 = load i32, i32* %34
%111 = icmp slt i32 %109, %110
br i1 %111, label %112, label %357
112: ; preds = %108
%113 = load double*, double** %33
%114 = load i32, i32* %34
%115 = mul nsw i32 2, %114
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, double* %113, i64 %116
%118 = load double, double* %117
store double %118, double* %44
%119 = load double*, double** %33
%120 = load i32, i32* %34
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, double* %119, i64 %121
%123 = load double, double* %122
store double %123, double* %45
%124 = load double*, double** %33
%125 = getelementptr inbounds double, double* %124, i32 1
store double* %125, double** %33
%126 = load double, double* %124
store double %126, double* %46
store double 0.000000e+00, double* %47
store double 0.000000e+00, double* %48
%127 = load double, double* %46
%128 = load i32, i32* %27
%129 = sitofp i32 %128 to double
%130 = fdiv double %129, 2.000000e+00
%131 = fsub double %127, %130
%132 = fptosi double %131 to i32
%133 = call i32 @floor(i32 %132)
%134 = add nsw i32 1, %133
store i32 %134, i32* %49
%135 = load double, double* %45
%136 = load i32, i32* %28
%137 = sitofp i32 %136 to double
%138 = fdiv double %137, 2.000000e+00
%139 = fsub double %135, %138
%140 = fptosi double %139 to i32
%141 = call i32 @floor(i32 %140)
%142 = add nsw i32 1, %141
store i32 %142, i32* %50
%143 = load double, double* %44
%144 = load i32, i32* %29
%145 = sitofp i32 %144 to double
%146 = fdiv double %145, 2.000000e+00
%147 = fsub double %143, %146
%148 = fptosi double %147 to i32
%149 = call i32 @floor(i32 %148)
%150 = add nsw i32 1, %149
store i32 %150, i32* %51
store i32 0, i32* %43
br label %151
151: ; preds = %342, %112
%152 = load i32, i32* %43
%153 = load i32, i32* %29
%154 = icmp slt i32 %152, %153
br i1 %154, label %155, label %347
155: ; preds = %151
%156 = load double, double* %44
%157 = load i32, i32* %51
%158 = sitofp i32 %157 to double
%159 = fsub double %156, %158
%160 = load i32, i32* %32
%161 = sitofp i32 %160 to double
%162 = fmul double %159, %161
store double %162, double* %52
%163 = load double, double* %52
%164 = fptosi double %163 to i32
%165 = call i32 @floor(i32 %164)
store i32 %165, i32* %53
%166 = load double, double* %52
%167 = load i32, i32* %53
%168 = sitofp i32 %167 to double
%169 = fsub double %166, %168
store double %169, double* %54
%170 = load double*, double** %26
%171 = load i32, i32* %53
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, double* %170, i64 %172
store double* %173, double** %55
%174 = load double, double* %54
%175 = fsub double 1.000000e+00, %174
%176 = load double*, double** %55
%177 = load double, double* %176
%178 = load double, double* %54
%179 = load double*, double** %55
%180 = getelementptr inbounds double, double* %179, i64 1
%181 = load double, double* %180
%182 = fmul double %178, %181
%183 = call double @llvm.fmuladd.f64(double %175, double %177, double %182)
store double %183, double* %56
%184 = load i32, i32* %51
%185 = sitofp i32 %184 to double
%186 = load i32, i32* %23
%187 = sitofp i32 %186 to double
%188 = fdiv double %185, %187
%189 = fptosi double %188 to i32
%190 = call i32 @floor(i32 %189)
store i32 %190, i32* %57
%191 = load i32, i32* %51
%192 = load i32, i32* %23
%193 = load i32, i32* %57
%194 = mul nsw i32 %192, %193
%195 = sub nsw i32 %191, %194
store i32 %195, i32* %58
store double 0.000000e+00, double* %59
store double 0.000000e+00, double* %60
%196 = load i32, i32* %50
store i32 %196, i32* %61
store i32 0, i32* %42
br label %197
197: ; preds = %328, %155
%198 = load i32, i32* %42
%199 = load i32, i32* %28
%200 = icmp slt i32 %198, %199
br i1 %200, label %201, label %333
201: ; preds = %197
%202 = load double, double* %45
%203 = load i32, i32* %61
%204 = sitofp i32 %203 to double
%205 = fsub double %202, %204
%206 = load i32, i32* %31
%207 = sitofp i32 %206 to double
%208 = fmul double %205, %207
store double %208, double* %62
%209 = load double, double* %62
%210 = fptosi double %209 to i32
%211 = call i32 @floor(i32 %210)
store i32 %211, i32* %63
%212 = load double, double* %62
%213 = load i32, i32* %63
%214 = sitofp i32 %213 to double
%215 = fsub double %212, %214
store double %215, double* %64
%216 = load double*, double** %25
%217 = load i32, i32* %63
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds double, double* %216, i64 %218
store double* %219, double** %65
%220 = load double, double* %64
%221 = fsub double 1.000000e+00, %220
%222 = load double*, double** %65
%223 = load double, double* %222
%224 = load double, double* %64
%225 = load double*, double** %65
%226 = getelementptr inbounds double, double* %225, i64 1
%227 = load double, double* %226
%228 = fmul double %224, %227
%229 = call double @llvm.fmuladd.f64(double %221, double %223, double %228)
store double %229, double* %66
%230 = load i32, i32* %61
%231 = sitofp i32 %230 to double
%232 = load i32, i32* %22
%233 = sitofp i32 %232 to double
%234 = fdiv double %231, %233
%235 = fptosi double %234 to i32
%236 = call i32 @floor(i32 %235)
store i32 %236, i32* %67
%237 = load i32, i32* %61
%238 = load i32, i32* %22
%239 = load i32, i32* %67
%240 = mul nsw i32 %238, %239
%241 = sub nsw i32 %237, %240
store i32 %241, i32* %68
%242 = load i32, i32* %58
%243 = load i32, i32* %22
%244 = mul nsw i32 %242, %243
%245 = load i32, i32* %68
%246 = add nsw i32 %244, %245
%247 = load i32, i32* %21
%248 = mul nsw i32 %246, %247
store i32 %248, i32* %69
store double 0.000000e+00, double* %70
store double 0.000000e+00, double* %71
%249 = load i32, i32* %49
store i32 %249, i32* %72
store i32 0, i32* %41
br label %250
250: ; preds = %314, %201
%251 = load i32, i32* %41
%252 = load i32, i32* %27
%253 = icmp slt i32 %251, %252
br i1 %253, label %254, label %319
254: ; preds = %250
%255 = load double, double* %46
%256 = load i32, i32* %72
%257 = sitofp i32 %256 to double
%258 = fsub double %255, %257
%259 = load i32, i32* %30
%260 = sitofp i32 %259 to double
%261 = fmul double %258, %260
store double %261, double* %73
%262 = load double, double* %73
%263 = fptosi double %262 to i32
%264 = call i32 @floor(i32 %263)
store i32 %264, i32* %74
%265 = load double, double* %73
%266 = load i32, i32* %74
%267 = sitofp i32 %266 to double
%268 = fsub double %265, %267
store double %268, double* %75
%269 = load double*, double** %24
%270 = load i32, i32* %74
%271 = sext i32 %270 to i64
%272 = getelementptr inbounds double, double* %269, i64 %271
store double* %272, double** %76
%273 = load double, double* %75
%274 = fsub double 1.000000e+00, %273
%275 = load double*, double** %76
%276 = load double, double* %275
%277 = load double, double* %75
%278 = load double*, double** %76
%279 = getelementptr inbounds double, double* %278, i64 1
%280 = load double, double* %279
%281 = fmul double %277, %280
%282 = call double @llvm.fmuladd.f64(double %274, double %276, double %281)
store double %282, double* %77
%283 = load i32, i32* %72
%284 = sitofp i32 %283 to double
%285 = load i32, i32* %21
%286 = sitofp i32 %285 to double
%287 = fdiv double %284, %286
%288 = fptosi double %287 to i32
%289 = call i32 @floor(i32 %288)
store i32 %289, i32* %78
%290 = load i32, i32* %72
%291 = load i32, i32* %21
%292 = load i32, i32* %78
%293 = mul nsw i32 %291, %292
%294 = sub nsw i32 %290, %293
store i32 %294, i32* %79
%295 = load i32, i32* %69
%296 = load i32, i32* %79
%297 = add nsw i32 %295, %296
store i32 %297, i32* %80
%298 = load double, double* %77
%299 = load double*, double** %19
%300 = load i32, i32* %80
%301 = sext i32 %300 to i64
%302 = getelementptr inbounds double, double* %299, i64 %301
%303 = load double, double* %302
%304 = load double, double* %70
%305 = call double @llvm.fmuladd.f64(double %298, double %303, double %304)
store double %305, double* %70
%306 = load double, double* %77
%307 = load double*, double** %20
%308 = load i32, i32* %80
%309 = sext i32 %308 to i64
%310 = getelementptr inbounds double, double* %307, i64 %309
%311 = load double, double* %310
%312 = load double, double* %71
%313 = call double @llvm.fmuladd.f64(double %306, double %311, double %312)
store double %313, double* %71
br label %314
314: ; preds = %254
%315 = load i32, i32* %41
%316 = add nsw i32 %315, 1
store i32 %316, i32* %41
%317 = load i32, i32* %72
%318 = add nsw i32 %317, 1
store i32 %318, i32* %72
br label %250
319: ; preds = %250
%320 = load double, double* %66
%321 = load double, double* %70
%322 = load double, double* %59
%323 = call double @llvm.fmuladd.f64(double %320, double %321, double %322)
store double %323, double* %59
%324 = load double, double* %66
%325 = load double, double* %71
%326 = load double, double* %60
%327 = call double @llvm.fmuladd.f64(double %324, double %325, double %326)
store double %327, double* %60
br label %328
328: ; preds = %319
%329 = load i32, i32* %42
%330 = add nsw i32 %329, 1
store i32 %330, i32* %42
%331 = load i32, i32* %61
%332 = add nsw i32 %331, 1
store i32 %332, i32* %61
br label %197
333: ; preds = %197
%334 = load double, double* %56
%335 = load double, double* %59
%336 = load double, double* %47
%337 = call double @llvm.fmuladd.f64(double %334, double %335, double %336)
store double %337, double* %47
%338 = load double, double* %56
%339 = load double, double* %60
%340 = load double, double* %48
%341 = call double @llvm.fmuladd.f64(double %338, double %339, double %340)
store double %341, double* %48
br label %342
342: ; preds = %333
%343 = load i32, i32* %43
%344 = add nsw i32 %343, 1
store i32 %344, i32* %43
%345 = load i32, i32* %51
%346 = add nsw i32 %345, 1
store i32 %346, i32* %51
br label %151
347: ; preds = %151
%348 = load double, double* %47
%349 = load double*, double** %35
%350 = getelementptr inbounds double, double* %349, i32 1
store double* %350, double** %35
store double %348, double* %349
%351 = load double, double* %48
%352 = load double*, double** %36
%353 = getelementptr inbounds double, double* %352, i32 1
store double* %353, double** %36
store double %351, double* %352
br label %354
354: ; preds = %347
%355 = load i32, i32* %37
%356 = add nsw i32 %355, 1
store i32 %356, i32* %37
br label %108
357: ; preds = %108
ret void
}

LLVM IR (-O2):
define void @interp3_table1_real_per(double* nocapture %0, double* nocapture %1, i32 %2, i32 %3, i32 %4, double* nocapture %5, double* nocapture %6, double* nocapture %7, i32 %8, i32 %9, i32 %10, i32 %11, i32 %12, i32 %13, double* nocapture %14, i32 %15, double* nocapture writeonly %16, double* nocapture writeonly %17) {
%19 = mul nsw i32 %11, %8
%20 = sdiv i32 %19, 2
%21 = tail call i32 @floor(i32 %20)
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, double* %5, i64 %22
%24 = mul nsw i32 %12, %9
%25 = sdiv i32 %24, 2
%26 = tail call i32 @floor(i32 %25)
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds double, double* %6, i64 %27
%29 = mul nsw i32 %13, %10
%30 = sdiv i32 %29, 2
%31 = tail call i32 @floor(i32 %30)
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, double* %7, i64 %32
%34 = icmp sgt i32 %15, 0
br i1 %34, label %35, label %191
35: ; preds = %18
%36 = shl nuw nsw i32 %15, 1
%37 = sext i32 %36 to i64
%38 = zext i32 %15 to i64
%39 = sitofp i32 %8 to double
%40 = fmul double %39, 5.000000e-01
%41 = sitofp i32 %9 to double
%42 = fmul double %41, 5.000000e-01
%43 = sitofp i32 %10 to double
%44 = fmul double %43, 5.000000e-01
%45 = icmp sgt i32 %10, 0
%46 = sitofp i32 %13 to double
%47 = sitofp i32 %4 to double
%48 = icmp sgt i32 %9, 0
%49 = sitofp i32 %12 to double
%50 = sitofp i32 %3 to double
%51 = icmp sgt i32 %8, 0
%52 = sitofp i32 %11 to double
%53 = sitofp i32 %2 to double
br label %54
54: ; preds = %35, %183
%55 = phi double* [ %14, %35 ], [ %63, %183 ]
%56 = phi double* [ %16, %35 ], [ %185, %183 ]
%57 = phi double* [ %17, %35 ], [ %187, %183 ]
%58 = phi i32 [ 0, %35 ], [ %189, %183 ]
%59 = getelementptr inbounds double, double* %55, i64 %37
%60 = load double, double* %59
%61 = getelementptr inbounds double, double* %55, i64 %38
%62 = load double, double* %61
%63 = getelementptr inbounds double, double* %55, i64 1
%64 = load double, double* %55
%65 = fsub double %64, %40
%66 = fptosi double %65 to i32
%67 = tail call i32 @floor(i32 %66)
%68 = fsub double %62, %42
%69 = fptosi double %68 to i32
%70 = tail call i32 @floor(i32 %69)
%71 = fsub double %60, %44
%72 = fptosi double %71 to i32
%73 = tail call i32 @floor(i32 %72)
br i1 %45, label %74, label %183
74: ; preds = %54, %174
%75 = phi i32 [ %78, %174 ], [ %73, %54 ]
%76 = phi i32 [ %179, %174 ], [ 0, %54 ]
%77 = phi <2 x double> [ %178, %174 ], [ zeroinitializer, %54 ]
%78 = add nsw i32 %75, 1
%79 = sitofp i32 %78 to double
%80 = fsub double %60, %79
%81 = fmul double %80, %46
%82 = fptosi double %81 to i32
%83 = tail call i32 @floor(i32 %82)
%84 = sitofp i32 %83 to double
%85 = fsub double %81, %84
%86 = sext i32 %83 to i64
%87 = getelementptr inbounds double, double* %33, i64 %86
%88 = fsub double 1.000000e+00, %85
%89 = load double, double* %87
%90 = getelementptr inbounds double, double* %87, i64 1
%91 = load double, double* %90
%92 = fmul double %85, %91
%93 = tail call double @llvm.fmuladd.f64(double %88, double %89, double %92)
%94 = fdiv double %79, %47
%95 = fptosi double %94 to i32
%96 = tail call i32 @floor(i32 %95)
%97 = mul nsw i32 %96, %4
br i1 %48, label %98, label %174
98: ; preds = %74, %165
%99 = phi i32 [ %102, %165 ], [ %70, %74 ]
%100 = phi i32 [ %170, %165 ], [ 0, %74 ]
%101 = phi <2 x double> [ %169, %165 ], [ zeroinitializer, %74 ]
%102 = add nsw i32 %99, 1
%103 = sitofp i32 %102 to double
%104 = fsub double %62, %103
%105 = fmul double %104, %49
%106 = fptosi double %105 to i32
%107 = tail call i32 @floor(i32 %106)
%108 = sitofp i32 %107 to double
%109 = fsub double %105, %108
%110 = sext i32 %107 to i64
%111 = getelementptr inbounds double, double* %28, i64 %110
%112 = fsub double 1.000000e+00, %109
%113 = load double, double* %111
%114 = getelementptr inbounds double, double* %111, i64 1
%115 = load double, double* %114
%116 = fmul double %109, %115
%117 = tail call double @llvm.fmuladd.f64(double %112, double %113, double %116)
%118 = fdiv double %103, %50
%119 = fptosi double %118 to i32
%120 = tail call i32 @floor(i32 %119)
%121 = add i32 %97, %120
%122 = sub i32 %78, %121
%123 = mul i32 %122, %3
%124 = add i32 %123, %102
br i1 %51, label %125, label %165
125: ; preds = %98, %125
%126 = phi i32 [ %129, %125 ], [ %67, %98 ]
%127 = phi i32 [ %161, %125 ], [ 0, %98 ]
%128 = phi <2 x double> [ %160, %125 ], [ zeroinitializer, %98 ]
%129 = add nsw i32 %126, 1
%130 = sitofp i32 %129 to double
%131 = fsub double %64, %130
%132 = fmul double %131, %52
%133 = fptosi double %132 to i32
%134 = tail call i32 @floor(i32 %133)
%135 = sitofp i32 %134 to double
%136 = fsub double %132, %135
%137 = sext i32 %134 to i64
%138 = getelementptr inbounds double, double* %23, i64 %137
%139 = fsub double 1.000000e+00, %136
%140 = load double, double* %138
%141 = getelementptr inbounds double, double* %138, i64 1
%142 = load double, double* %141
%143 = fmul double %136, %142
%144 = tail call double @llvm.fmuladd.f64(double %139, double %140, double %143)
%145 = fdiv double %130, %53
%146 = fptosi double %145 to i32
%147 = tail call i32 @floor(i32 %146)
%148 = sub i32 %124, %147
%149 = mul i32 %148, %2
%150 = add i32 %149, %129
%151 = sext i32 %150 to i64
%152 = getelementptr inbounds double, double* %0, i64 %151
%153 = load double, double* %152
%154 = getelementptr inbounds double, double* %1, i64 %151
%155 = load double, double* %154
%156 = insertelement <2 x double> poison, double %144, i64 0
%157 = shufflevector <2 x double> %156, <2 x double> poison, <2 x i32> zeroinitializer
%158 = insertelement <2 x double> poison, double %155, i64 0
%159 = insertelement <2 x double> %158, double %153, i64 1
%160 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %157, <2 x double> %159, <2 x double> %128)
%161 = add nuw nsw i32 %127, 1
%162 = icmp eq i32 %161, %8
br i1 %162, label %163, label %125
163: ; preds = %125
%164 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %157, <2 x double> %159, <2 x double> %128)
br label %165
165: ; preds = %163, %98
%166 = phi <2 x double> [ zeroinitializer, %98 ], [ %164, %163 ]
%167 = insertelement <2 x double> poison, double %117, i64 0
%168 = shufflevector <2 x double> %167, <2 x double> poison, <2 x i32> zeroinitializer
%169 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %168, <2 x double> %166, <2 x double> %101)
%170 = add nuw nsw i32 %100, 1
%171 = icmp eq i32 %170, %9
br i1 %171, label %172, label %98
172: ; preds = %165
%173 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %168, <2 x double> %166, <2 x double> %101)
br label %174
174: ; preds = %172, %74
%175 = phi <2 x double> [ zeroinitializer, %74 ], [ %173, %172 ]
%176 = insertelement <2 x double> poison, double %93, i64 0
%177 = shufflevector <2 x double> %176, <2 x double> poison, <2 x i32> zeroinitializer
%178 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %177, <2 x double> %175, <2 x double> %77)
%179 = add nuw nsw i32 %76, 1
%180 = icmp eq i32 %179, %10
br i1 %180, label %181, label %74
181: ; preds = %174
%182 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %177, <2 x double> %175, <2 x double> %77)
br label %183
183: ; preds = %181, %54
%184 = phi <2 x double> [ zeroinitializer, %54 ], [ %182, %181 ]
%185 = getelementptr inbounds double, double* %56, i64 1
%186 = extractelement <2 x double> %184, i64 1
store double %186, double* %56
%187 = getelementptr inbounds double, double* %57, i64 1
%188 = extractelement <2 x double> %184, i64 0
store double %188, double* %57
%189 = add nuw nsw i32 %58, 1
%190 = icmp eq i32 %189, %15
br i1 %190, label %191, label %54
191: ; preds = %183, %18
ret void
}