#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);
int /*<<< orphan*/ memset(void *, int /*<<< orphan*/, int const);
void interp3_table1_real_per_adj(double *r_ck, 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,
                                 const double *r_fm, const 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;
  }
  (void)memset((void *)r_ck, 0, K1 * K2 * K3 * sizeof(*r_ck));
  (void)memset((void *)i_ck, 0, K1 * K2 * K3 * sizeof(*i_ck));
  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++;
    const double fmr = *r_fm++;
    const double fmi = *i_fm++;
    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;
      const double v3r = coef3r * fmr;
      const double v3i = coef3r * fmi;
      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;
        const double v2r = coef2r * v3r;
        const double v2i = coef2r * v3i;
        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;
          r_ck[kk] += coef1r * v2r;
          i_ck[kk] += coef1r * v2i;
        }
      }
    }
  }
}


x86 assembly (clang, -O0):
<interp3_table1_real_per_adj>:
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   1040 <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   1040 <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   1040 <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)
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%eax
imul   -0x18(%rbp),%eax
imul   -0x1c(%rbp),%eax
cltq
shl    $0x3,%rax
mov    %eax,%edx
xor    %esi,%esi
call   1030 <memset@plt>
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%eax
imul   -0x18(%rbp),%eax
imul   -0x1c(%rbp),%eax
cltq
shl    $0x3,%rax
mov    %eax,%edx
xor    %esi,%esi
call   1030 <memset@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    0x58(%rbp),%eax
jge    1762 <interp3_table1_real_per_adj+0x642>
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)
mov    0x60(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x60(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    0x68(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x68(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x60(%rbp),%xmm0
cvtsi2sdl 0x20(%rbp),%xmm1
movsd  0xd3a(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl 0x28(%rbp),%xmm1
movsd  0xd11(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl 0x30(%rbp),%xmm1
movsd  0xce8(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    0x30(%rbp),%eax
jge    174f <interp3_table1_real_per_adj+0x62f>
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   1040 <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  0xc57(%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   1040 <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)
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0x70(%rbp),%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    1733 <interp3_table1_real_per_adj+0x613>
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   1040 <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  0xb36(%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   1040 <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)
movsd  -0xf0(%rbp),%xmm0
ff
mulsd  -0xb8(%rbp),%xmm0
ff
movsd  %xmm0,-0x108(%rbp)
ff
movsd  -0xf0(%rbp),%xmm0
ff
mulsd  -0xc0(%rbp),%xmm0
ff
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    1711 <interp3_table1_real_per_adj+0x5f1>
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   1040 <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  0x9ef(%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   1040 <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
movsd  -0x108(%rbp),%xmm2
ff
mov    -0x8(%rbp),%rax
movslq -0x14c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x140(%rbp),%xmm0
ff
movsd  -0x110(%rbp),%xmm2
ff
mov    -0x10(%rbp),%rax
movslq -0x14c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x114(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x114(%rbp)
jmp    159b <interp3_table1_real_per_adj+0x47b>
jmp    1716 <interp3_table1_real_per_adj+0x5f6>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0xc4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc4(%rbp)
jmp    1454 <interp3_table1_real_per_adj+0x334>
jmp    1738 <interp3_table1_real_per_adj+0x618>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    1336 <interp3_table1_real_per_adj+0x216>
jmp    1754 <interp3_table1_real_per_adj+0x634>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1237 <interp3_table1_real_per_adj+0x117>
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interp3_table1_real_per_adj>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x138,%rsp
mov    %r9,(%rsp)
mov    %r8d,%r15d
mov    %ecx,%r12d
mov    %edx,%r14d
mov    %rsi,%r13
mov    %rdi,%rbx
mov    0x1a0(%rsp),%ebp
mov    0x198(%rsp),%eax
imul   0x180(%rsp),%eax
mov    %eax,%edi
shr    $0x1f,%edi
add    %eax,%edi
sar    %edi
call   1040 <floor@plt>
mov    %eax,0x40(%rsp)
mov    %ebp,%eax
imul   0x188(%rsp),%eax
mov    %eax,%edi
shr    $0x1f,%edi
add    %eax,%edi
sar    %edi
call   1040 <floor@plt>
mov    %eax,0x8(%rsp)
mov    0x1a8(%rsp),%eax
imul   0x190(%rsp),%eax
mov    %eax,%edi
shr    $0x1f,%edi
add    %eax,%edi
sar    %edi
call   1040 <floor@plt>
mov    %eax,0x18(%rsp)
mov    %r14d,0x38(%rsp)
mov    %r12d,0x2c(%rsp)
imul   %r12d,%r14d
mov    %r15d,0x24(%rsp)
imul   %r15d,%r14d
shl    $0x3,%r14d
xor    %ebp,%ebp
mov    %rbx,0x118(%rsp)
mov    %rbx,%rdi
xor    %esi,%esi
mov    %r14d,%edx
call   1030 <memset@plt>
mov    %r13,0x120(%rsp)
mov    %r13,%rdi
xor    %esi,%esi
mov    %r14d,%edx
call   1030 <memset@plt>
mov    0x1b8(%rsp),%eax
test   %eax,%eax
jle    1781 <interp3_table1_real_per_adj+0x661>
mov    0x1c8(%rsp),%rdx
movslq 0x40(%rsp),%rax
mov    (%rsp),%rcx
lea    (%rcx,%rax,8),%rax
mov    %rax,0x110(%rsp)
mov    0x1c0(%rsp),%rsi
cvtsi2sdl 0x1a8(%rsp),%xmm0
movsd  %xmm0,0xe8(%rsp)
mov    0x1b0(%rsp),%rdi
movslq 0x8(%rsp),%rax
shl    $0x3,%rax
add    0x170(%rsp),%rax
mov    %rax,0x108(%rsp)
movslq 0x18(%rsp),%rax
shl    $0x3,%rax
add    0x178(%rsp),%rax
mov    %rax,0xe0(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x1a0(%rsp),%xmm0
movsd  %xmm0,0x100(%rsp)
mov    0x1b8(%rsp),%eax
mov    %rax,%rcx
add    %eax,%eax
cltq
mov    %rax,0xa8(%rsp)
cvtsi2sdl 0x180(%rsp),%xmm1
xorps  %xmm0,%xmm0
cvtsi2sdl 0x198(%rsp),%xmm0
movsd  %xmm0,0x80(%rsp)
mov    %ecx,%eax
mov    %rax,0x98(%rsp)
movsd  0xd35(%rip),%xmm0
cvtsi2sdl 0x188(%rsp),%xmm2
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xa0(%rsp)
mulsd  %xmm0,%xmm2
movsd  %xmm2,0x90(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sdl 0x190(%rsp),%xmm1
xorps  %xmm2,%xmm2
cvtsi2sdl 0x24(%rsp),%xmm2
movsd  %xmm2,0xd8(%rsp)
xorps  %xmm2,%xmm2
cvtsi2sdl 0x2c(%rsp),%xmm2
movsd  %xmm2,0xf8(%rsp)
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x88(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x38(%rsp),%xmm0
movsd  %xmm0,0x128(%rsp)
mov    0x38(%rsp),%r13d
mov    0x120(%rsp),%rbx
mov    0x118(%rsp),%r15
jmp    139a <interp3_table1_real_per_adj+0x27a>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    0xb0(%rsp),%rdi
add    $0x8,%rdi
mov    0xb8(%rsp),%rsi
add    $0x8,%rsi
mov    0xc0(%rsp),%rdx
add    $0x8,%rdx
mov    0x54(%rsp),%ebp
add    $0x1,%ebp
mov    0x1b8(%rsp),%eax
cmp    %eax,%ebp
je     1781 <interp3_table1_real_per_adj+0x661>
mov    %ebp,0x54(%rsp)
mov    0xa8(%rsp),%rax
movsd  (%rdi,%rax,8),%xmm0
movsd  %xmm0,0x70(%rsp)
mov    0x98(%rsp),%rax
movsd  (%rdi,%rax,8),%xmm0
movsd  %xmm0,0x78(%rsp)
mov    %rdi,0xb0(%rsp)
movsd  (%rdi),%xmm0
mov    %rsi,0xb8(%rsp)
movsd  (%rsi),%xmm1
movsd  %xmm1,0xd0(%rsp)
mov    %rdx,0xc0(%rsp)
movsd  (%rdx),%xmm1
movsd  %xmm1,0xc8(%rsp)
movsd  %xmm0,0x40(%rsp)
subsd  0xa0(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
mov    %eax,0x30(%rsp)
movsd  0x78(%rsp),%xmm0
subsd  0x90(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
mov    %eax,0x28(%rsp)
movsd  0x70(%rsp),%xmm0
subsd  0x88(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
cmpl   $0x0,0x190(%rsp)
jle    1360 <interp3_table1_real_per_adj+0x240>
mov    0x28(%rsp),%ecx
add    $0x1,%ecx
mov    %ecx,0x58(%rsp)
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,0x34(%rsp)
addl   $0x1,0x30(%rsp)
xor    %ecx,%ecx
jmp    149d <interp3_table1_real_per_adj+0x37d>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x5c(%rsp),%ecx
add    $0x1,%ecx
addl   $0x1,0x34(%rsp)
cmp    0x190(%rsp),%ecx
mov    0x60(%rsp),%eax
je     1360 <interp3_table1_real_per_adj+0x240>
mov    %ecx,0x5c(%rsp)
add    $0x1,%eax
mov    %eax,0x60(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x70(%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0xe8(%rsp),%xmm1
movsd  %xmm1,(%rsp)
cvttsd2si %xmm1,%edi
call   1040 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  (%rsp),%xmm1
subsd  %xmm0,%xmm1
cltq
movsd  0xb18(%rip),%xmm0
subsd  %xmm1,%xmm0
mov    0xe0(%rsp),%rcx
mulsd  0x8(%rcx,%rax,8),%xmm1
movsd  %xmm1,(%rsp)
mulsd  (%rcx,%rax,8),%xmm0
movsd  %xmm0,0x48(%rsp)
movsd  0x8(%rsp),%xmm0
divsd  0xd8(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
mov    %eax,0x14(%rsp)
cmpl   $0x0,0x188(%rsp)
jle    1480 <interp3_table1_real_per_adj+0x360>
mov    0x14(%rsp),%eax
imul   0x24(%rsp),%eax
mov    %eax,0x14(%rsp)
movsd  0x48(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  0xd0(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xf0(%rsp)
mulsd  0xc8(%rsp),%xmm0
movsd  %xmm0,0x48(%rsp)
xor    %eax,%eax
mov    0x58(%rsp),%ecx
mov    %ecx,0x3c(%rsp)
mov    0x28(%rsp),%ecx
jmp    15ad <interp3_table1_real_per_adj+0x48d>
nopl   0x0(%rax)
mov    0x68(%rsp),%eax
add    $0x1,%eax
addl   $0x1,0x3c(%rsp)
cmp    0x188(%rsp),%eax
mov    0x64(%rsp),%ecx
je     1480 <interp3_table1_real_per_adj+0x360>
mov    %eax,0x68(%rsp)
add    $0x1,%ecx
mov    %ecx,0x64(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  0x78(%rsp),%xmm1
subsd  %xmm0,%xmm1
mulsd  0x100(%rsp),%xmm1
movsd  %xmm1,(%rsp)
cvttsd2si %xmm1,%edi
call   1040 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  (%rsp),%xmm1
subsd  %xmm0,%xmm1
cltq
movsd  0xa08(%rip),%xmm0
subsd  %xmm1,%xmm0
mov    0x108(%rsp),%rcx
mulsd  0x8(%rcx,%rax,8),%xmm1
movsd  %xmm1,(%rsp)
mulsd  (%rcx,%rax,8),%xmm0
movsd  %xmm0,0x18(%rsp)
movsd  0x8(%rsp),%xmm0
divsd  0xf8(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
cmpl   $0x0,0x180(%rsp)
mov    0x110(%rsp),%rbp
movsd  0x80(%rsp),%xmm1
movsd  0x40(%rsp),%xmm2
jle    1590 <interp3_table1_real_per_adj+0x470>
add    0x14(%rsp),%eax
movsd  0x18(%rsp),%xmm0
addsd  (%rsp),%xmm0
movsd  0xf0(%rsp),%xmm3
mulsd  %xmm0,%xmm3
movsd  %xmm3,0x130(%rsp)
mulsd  0x48(%rsp),%xmm0
movsd  %xmm0,0x18(%rsp)
mov    0x34(%rsp),%ecx
sub    %eax,%ecx
imul   0x2c(%rsp),%ecx
add    0x3c(%rsp),%ecx
mov    %ecx,0x6c(%rsp)
mov    0x180(%rsp),%r14d
mov    0x30(%rsp),%r12d
xorps  %xmm0,%xmm0
cvtsi2sd %r12d,%xmm0
movsd  %xmm0,(%rsp)
subsd  %xmm0,%xmm2
mulsd  %xmm1,%xmm2
movsd  %xmm2,0x8(%rsp)
cvttsd2si %xmm2,%edi
call   1040 <floor@plt>
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  0x8(%rsp),%xmm1
subsd  %xmm0,%xmm1
cltq
movsd  0x919(%rip),%xmm0
subsd  %xmm1,%xmm0
mulsd  0x8(%rbp,%rax,8),%xmm1
mulsd  0x0(%rbp,%rax,8),%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,0x8(%rsp)
movsd  (%rsp),%xmm0
divsd  0x128(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1040 <floor@plt>
movsd  0x40(%rsp),%xmm2
movsd  0x80(%rsp),%xmm1
mov    0x6c(%rsp),%ecx
sub    %eax,%ecx
imul   %r13d,%ecx
add    %r12d,%ecx
movslq %ecx,%rax
movsd  0x8(%rsp),%xmm3
movapd %xmm3,%xmm0
mulsd  0x130(%rsp),%xmm0
addsd  (%r15,%rax,8),%xmm0
movsd  %xmm0,(%r15,%rax,8)
mulsd  0x18(%rsp),%xmm3
addsd  (%rbx,%rax,8),%xmm3
movsd  %xmm3,(%rbx,%rax,8)
add    $0x1,%r12d
add    $0xffffffff,%r14d
jne    16b0 <interp3_table1_real_per_adj+0x590>
jmp    1590 <interp3_table1_real_per_adj+0x470>
add    $0x138,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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