void interp3_table0_complex_per_adj(
    double *r_ck, double *i_ck, const int K1, const int K2, const int K3,
    const double *r_h1, const double *i_h1, const double *r_h2,
    const double *i_h2, const double *r_h3, const double *i_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;
    i_h1 += ncenter1;
  }
  {
    const int ncenter2 = floor(J2 * L2 / 2.);
    r_h2 += ncenter2;
    i_h2 += ncenter2;
  }
  {
    const int ncenter3 = floor(J3 * L3 / 2.);
    r_h3 += ncenter3;
    i_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 + 0.5);
      const double coef3r = r_h3[n3];
      const double coef3i = i_h3[n3];
      const int k3mod = ((k3) - (K3)*floor((k3) / (double)(K3)));
      const double v3r = coef3r * fmr + coef3i * fmi;
      const double v3i = coef3r * fmi - coef3i * fmr;
      int k2 = koff2;
      for (jj2 = 0; jj2 < J2; jj2++, k2++) {
        const double p2 = (t2 - k2) * L2;
        const int n2 = floor(p2 + 0.5);
        const double coef2r = r_h2[n2];
        const double coef2i = i_h2[n2];
        const int k2mod = ((k2) - (K2)*floor((k2) / (double)(K2)));
        const int k23mod = (k3mod * K2 + k2mod) * K1;
        const double v2r = coef2r * v3r + coef2i * v3i;
        const double v2i = coef2r * v3i - coef2i * v3r;
        int k1 = koff1;
        for (jj1 = 0; jj1 < J1; jj1++, k1++) {
          const double p1 = (t1 - k1) * L1;
          const int n1 = floor(p1 + 0.5);
          register const double coef1r = r_h1[n1];
          register const double coef1i = i_h1[n1];
          const int k1mod = ((k1) - (K1)*floor((k1) / (double)(K1)));
          const int kk = k23mod + k1mod;
          r_ck[kk] += coef1r * v2r + coef1i * v2i;
          i_ck[kk] += coef1r * v2i - coef1i * v2r;
        }
      }
    }
  }
}


x86 assembly (clang, -O0):
<interp3_table0_complex_per_adj>:
push   %rbp
mov    %rsp,%rbp
sub    $0x160,%rsp
mov    0x80(%rbp),%rax
mov    0x78(%rbp),%rax
mov    0x70(%rbp),%eax
mov    0x68(%rbp),%rax
mov    0x60(%rbp),%eax
mov    0x58(%rbp),%eax
mov    0x50(%rbp),%eax
mov    0x48(%rbp),%eax
mov    0x40(%rbp),%eax
mov    0x38(%rbp),%eax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
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    0x38(%rbp),%eax
imul   0x50(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xe74(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1040 <floor@plt>
cvttsd2si %xmm0,%eax
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    -0x30(%rbp),%ecx
mov    0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x10(%rbp)
mov    0x40(%rbp),%eax
imul   0x58(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xe27(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1040 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0x34(%rbp)
mov    -0x34(%rbp),%ecx
mov    0x18(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x18(%rbp)
mov    -0x34(%rbp),%ecx
mov    0x20(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x20(%rbp)
mov    0x48(%rbp),%eax
imul   0x60(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xdda(%rip),%xmm1
divsd  %xmm1,%xmm0
call   1040 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0x38(%rbp)
mov    -0x38(%rbp),%ecx
mov    0x28(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x28(%rbp)
mov    -0x38(%rbp),%ecx
mov    0x30(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x30(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x14(%rbp),%eax
imul   -0x18(%rbp),%eax
imul   -0x1c(%rbp),%eax
movslq %eax,%rdx
shl    $0x3,%rdx
xor    %esi,%esi
call   1030 <memset@plt>
mov    -0x10(%rbp),%rdi
mov    -0x14(%rbp),%eax
imul   -0x18(%rbp),%eax
imul   -0x1c(%rbp),%eax
movslq %eax,%rdx
shl    $0x3,%rdx
xor    %esi,%esi
call   1030 <memset@plt>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    0x70(%rbp),%eax
jge    18b2 <interp3_table0_complex_per_adj+0x792>
mov    0x68(%rbp),%rax
mov    0x70(%rbp),%ecx
shl    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x68(%rbp),%rax
movslq 0x70(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    0x68(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x68(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    0x78(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x78(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    0x80(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x80(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x60(%rbp),%xmm0
cvtsi2sdl 0x38(%rbp),%xmm1
movsd  0xcca(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
call   1040 <floor@plt>
movaps %xmm0,%xmm1
movsd  0xcba(%rip),%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x74(%rbp)
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl 0x40(%rbp),%xmm1
movsd  0xc95(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
call   1040 <floor@plt>
movaps %xmm0,%xmm1
movsd  0xc85(%rip),%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x78(%rbp)
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl 0x48(%rbp),%xmm1
movsd  0xc60(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
call   1040 <floor@plt>
movaps %xmm0,%xmm1
movsd  0xc50(%rip),%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x7c(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    0x48(%rbp),%eax
jge    189f <interp3_table0_complex_per_adj+0x77f>
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl -0x7c(%rbp),%xmm1
subsd  %xmm1,%xmm0
cvtsi2sdl 0x60(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xc13(%rip),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
call   1040 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0x8c(%rbp)
mov    0x28(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    0x30(%rbp),%rax
movslq -0x8c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
cvtsi2sdl -0x7c(%rbp),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
cvtsi2sdl -0x1c(%rbp),%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
cvtsi2sdl -0x7c(%rbp),%xmm0
cvtsi2sdl -0x1c(%rbp),%xmm1
divsd  %xmm1,%xmm0
call   1040 <floor@plt>
movsd  -0x138(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x130(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0xa4(%rbp)
movsd  -0x98(%rbp),%xmm0
ff
movsd  -0x68(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
movsd  -0x70(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  -0x68(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    -0x78(%rbp),%eax
mov    %eax,-0xbc(%rbp)
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    0x40(%rbp),%eax
jge    1883 <interp3_table0_complex_per_adj+0x763>
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl -0xbc(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
cvtsi2sdl 0x58(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  0xab2(%rip),%xmm0
addsd  -0xc8(%rbp),%xmm0
ff
call   1040 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0xcc(%rbp)
mov    0x18(%rbp),%rax
movslq -0xcc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
mov    0x20(%rbp),%rax
movslq -0xcc(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
cvtsi2sdl -0xbc(%rbp),%xmm0
ff
movsd  %xmm0,-0x148(%rbp)
ff
cvtsi2sdl -0x18(%rbp),%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
cvtsi2sdl -0xbc(%rbp),%xmm0
ff
cvtsi2sdl -0x18(%rbp),%xmm1
divsd  %xmm1,%xmm0
call   1040 <floor@plt>
movsd  -0x148(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x140(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0xe4(%rbp)
mov    -0xa4(%rbp),%eax
imul   -0x18(%rbp),%eax
add    -0xe4(%rbp),%eax
imul   -0x14(%rbp),%eax
mov    %eax,-0xe8(%rbp)
movsd  -0xd8(%rbp),%xmm0
ff
movsd  -0xb0(%rbp),%xmm2
ff
movsd  -0xe0(%rbp),%xmm1
ff
mulsd  -0xb8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf0(%rbp)
ff
movsd  -0xd8(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0xe0(%rbp),%xmm1
ff
mulsd  -0xb0(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
mov    -0x74(%rbp),%eax
mov    %eax,-0xfc(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    0x38(%rbp),%eax
jge    1861 <interp3_table0_complex_per_adj+0x741>
movsd  -0x60(%rbp),%xmm0
cvtsi2sdl -0xfc(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
cvtsi2sdl 0x50(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x108(%rbp)
ff
movsd  0x925(%rip),%xmm0
addsd  -0x108(%rbp),%xmm0
ff
call   1040 <floor@plt>
cvttsd2si %xmm0,%eax
mov    %eax,-0x10c(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x10c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
mov    0x10(%rbp),%rax
movslq -0x10c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
cvtsi2sdl -0xfc(%rbp),%xmm0
ff
movsd  %xmm0,-0x158(%rbp)
ff
cvtsi2sdl -0x14(%rbp),%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
cvtsi2sdl -0xfc(%rbp),%xmm0
ff
cvtsi2sdl -0x14(%rbp),%xmm1
divsd  %xmm1,%xmm0
call   1040 <floor@plt>
movsd  -0x158(%rbp),%xmm1
ff
movaps %xmm0,%xmm2
movsd  -0x150(%rbp),%xmm0
ff
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x124(%rbp)
mov    -0xe8(%rbp),%eax
add    -0x124(%rbp),%eax
mov    %eax,-0x128(%rbp)
movsd  -0x118(%rbp),%xmm0
ff
movsd  -0xf0(%rbp),%xmm2
ff
movsd  -0x120(%rbp),%xmm1
ff
mulsd  -0xf8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x128(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x118(%rbp),%xmm0
ff
movsd  -0xf8(%rbp),%xmm2
ff
movsd  -0x120(%rbp),%xmm1
ff
mulsd  -0xf0(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x10(%rbp),%rax
movslq -0x128(%rbp),%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0xfc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xfc(%rbp)
jmp    16b5 <interp3_table0_complex_per_adj+0x595>
jmp    1866 <interp3_table0_complex_per_adj+0x746>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0xbc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xbc(%rbp)
jmp    1528 <interp3_table0_complex_per_adj+0x408>
jmp    1888 <interp3_table0_complex_per_adj+0x768>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    13ca <interp3_table0_complex_per_adj+0x2aa>
jmp    18a4 <interp3_table0_complex_per_adj+0x784>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    12a1 <interp3_table0_complex_per_adj+0x181>
add    $0x160,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interp3_table0_complex_per_adj>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x188,%rsp
mov    %r9,(%rsp)
mov    %r8d,%r15d
mov    %ecx,%r14d
mov    %edx,%r13d
mov    %rsi,0x60(%rsp)
mov    %rdi,%rbp
mov    0x208(%rsp),%r12d
mov    0x200(%rsp),%eax
imul   0x1e8(%rsp),%eax
cvtsi2sd %eax,%xmm0
mulsd  0xe97(%rip),%xmm0
call   1040 <floor@plt>
movsd  %xmm0,0x8(%rsp)
mov    %r12d,%eax
mov    0x210(%rsp),%r12d
imul   0x1f0(%rsp),%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xe6a(%rip),%xmm0
call   1040 <floor@plt>
movsd  %xmm0,0x20(%rsp)
mov    %r12d,%eax
imul   0x1f8(%rsp),%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
mulsd  0xe45(%rip),%xmm0
call   1040 <floor@plt>
movsd  %xmm0,0x18(%rsp)
mov    %r14d,0x10(%rsp)
mov    %r13d,0x14(%rsp)
imul   %r13d,%r14d
imul   %r15d,%r14d
movslq %r14d,%rbx
shl    $0x3,%rbx
xor    %r14d,%r14d
mov    %rbp,0x100(%rsp)
mov    %rbp,%rdi
xor    %esi,%esi
mov    %rbx,%rdx
call   1030 <memset@plt>
mov    0x60(%rsp),%rdi
xor    %esi,%esi
mov    %rbx,%rdx
call   1030 <memset@plt>
movsd  0xdf2(%rip),%xmm0
mov    0x220(%rsp),%eax
test   %eax,%eax
jle    1825 <interp3_table0_complex_per_adj+0x705>
mov    0x230(%rsp),%rax
mov    %rax,0x50(%rsp)
cvttsd2si 0x8(%rsp),%eax
mov    0x228(%rsp),%rcx
mov    %rcx,0x48(%rsp)
cltq
mov    (%rsp),%rcx
lea    (%rcx,%rax,8),%rcx
mov    %rcx,0xf8(%rsp)
shl    $0x3,%rax
add    0x1c0(%rsp),%rax
mov    %rax,0x108(%rsp)
cvttsd2si 0x20(%rsp),%eax
cltq
shl    $0x3,%rax
mov    0x1c8(%rsp),%rcx
add    %rax,%rcx
mov    %rcx,0xd0(%rsp)
add    0x1d0(%rsp),%rax
mov    %rax,0xd8(%rsp)
cvttsd2si 0x18(%rsp),%eax
cltq
shl    $0x3,%rax
cvtsi2sd %r12d,%xmm1
movsd  %xmm1,0xc0(%rsp)
mov    0x1d8(%rsp),%rcx
add    %rax,%rcx
mov    %rcx,0xa0(%rsp)
add    0x1e0(%rsp),%rax
mov    %rax,0xa8(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sd %r15d,%xmm1
cvtsi2sdl 0x208(%rsp),%xmm2
movsd  %xmm2,0xf0(%rsp)
mov    0x218(%rsp),%rdx
mov    0x220(%rsp),%eax
mov    %rax,%rcx
add    %eax,%eax
xorps  %xmm2,%xmm2
cvtsi2sdl 0x200(%rsp),%xmm2
movsd  %xmm2,0x70(%rsp)
cltq
mov    %rax,0x80(%rsp)
mov    %ecx,%eax
mov    %rax,0x98(%rsp)
xorps  %xmm2,%xmm2
cvtsi2sdl 0x1e8(%rsp),%xmm2
mulsd  %xmm0,%xmm2
movsd  %xmm2,0x90(%rsp)
xorps  %xmm2,%xmm2
cvtsi2sdl 0x1f0(%rsp),%xmm2
mulsd  %xmm0,%xmm2
movsd  %xmm2,0x88(%rsp)
xorps  %xmm2,%xmm2
cvtsi2sdl 0x1f8(%rsp),%xmm2
mulsd  %xmm0,%xmm2
movsd  %xmm2,0x78(%rsp)
movapd 0xc9d(%rip),%xmm0
movapd %xmm1,0x130(%rsp)
xorpd  %xmm0,%xmm1
movapd %xmm1,0x120(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sdl 0x10(%rsp),%xmm1
movapd %xmm1,0x150(%rsp)
xorpd  %xmm0,%xmm1
movapd %xmm1,0x140(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sdl 0x14(%rsp),%xmm1
movapd %xmm1,0x160(%rsp)
xorpd  %xmm1,%xmm0
movapd %xmm0,0x170(%rsp)
mov    0xf8(%rsp),%rbx
mov    0x60(%rsp),%rbp
mov    0x100(%rsp),%r13
jmp    140e <interp3_table0_complex_per_adj+0x2ee>
xchg   %ax,%ax
mov    0x58(%rsp),%rdx
add    $0x8,%rdx
addq   $0x8,0x48(%rsp)
addq   $0x8,0x50(%rsp)
mov    0x28(%rsp),%r14d
add    $0x1,%r14d
mov    0x220(%rsp),%eax
cmp    %eax,%r14d
je     1825 <interp3_table0_complex_per_adj+0x705>
mov    %r14d,0x28(%rsp)
mov    0x98(%rsp),%rax
movsd  (%rdx,%rax,8),%xmm0
movsd  %xmm0,0x68(%rsp)
mov    %rdx,0x58(%rsp)
movsd  (%rdx),%xmm0
movsd  %xmm0,0x18(%rsp)
subsd  0x90(%rsp),%xmm0
call   1040 <floor@plt>
movsd  %xmm0,(%rsp)
movsd  0x68(%rsp),%xmm0
subsd  0x88(%rsp),%xmm0
call   1040 <floor@plt>
cmpl   $0x0,0x1f8(%rsp)
jle    13e0 <interp3_table0_complex_per_adj+0x2c0>
mov    0x58(%rsp),%rax
mov    0x80(%rsp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    0x48(%rsp),%rax
movsd  (%rax),%xmm1
movsd  %xmm1,0xb8(%rsp)
mov    0x50(%rsp),%rax
movsd  (%rax),%xmm1
movsd  %xmm1,0xb0(%rsp)
movsd  0xb60(%rip),%xmm3
movsd  (%rsp),%xmm1
addsd  %xmm3,%xmm1
cvttsd2si %xmm1,%eax
mov    %eax,0x38(%rsp)
addsd  %xmm3,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,0x2c(%rsp)
movsd  %xmm2,0xc8(%rsp)
movapd %xmm2,%xmm0
subsd  0x78(%rsp),%xmm0
call   1040 <floor@plt>
movsd  0xb1b(%rip),%xmm1
addsd  0xb1b(%rip),%xmm0
cvttsd2si %xmm0,%eax
xor    %ecx,%ecx
jmp    151b <interp3_table0_complex_per_adj+0x3fb>
cs nopw 0x0(%rax,%rax,1)
nop
mov    0x30(%rsp),%ecx
add    $0x1,%ecx
mov    0x34(%rsp),%eax
add    $0x1,%eax
cmp    0x1f8(%rsp),%ecx
je     13e0 <interp3_table0_complex_per_adj+0x2c0>
mov    %ecx,0x30(%rsp)
mov    %eax,0x34(%rsp)
xorps  %xmm2,%xmm2
cvtsi2sd %eax,%xmm2
movsd  0xc8(%rsp),%xmm0
movsd  %xmm2,(%rsp)
subsd  %xmm2,%xmm0
mulsd  0xc0(%rsp),%xmm0
addsd  %xmm1,%xmm0
call   1040 <floor@plt>
movsd  0xaaa(%rip),%xmm1
cmpl   $0x0,0x1f0(%rsp)
jle    1500 <interp3_table0_complex_per_adj+0x3e0>
cvttsd2si %xmm0,%eax
cltq
mov    0xa0(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm4
mov    0xa8(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movsd  0xb0(%rsp),%xmm3
movapd %xmm3,%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm4,%xmm5
movsd  0xb8(%rsp),%xmm2
mulsd  %xmm2,%xmm5
addsd  %xmm1,%xmm5
movsd  %xmm5,0xe0(%rsp)
mulsd  %xmm2,%xmm0
mulsd  %xmm3,%xmm4
subsd  %xmm0,%xmm4
movsd  %xmm4,0xe8(%rsp)
movsd  (%rsp),%xmm0
divsd  0x130(%rsp),%xmm0
call   1040 <floor@plt>
movsd  0xa21(%rip),%xmm1
mulsd  0x120(%rsp),%xmm0
addsd  (%rsp),%xmm0
cvttsd2si %xmm0,%eax
imul   0x10(%rsp),%eax
mov    %eax,0x3c(%rsp)
xor    %eax,%eax
mov    0x2c(%rsp),%ecx
jmp    1633 <interp3_table0_complex_per_adj+0x513>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x44(%rsp),%eax
add    $0x1,%eax
mov    0x40(%rsp),%ecx
add    $0x1,%ecx
cmp    0x1f0(%rsp),%eax
movsd  0x9d3(%rip),%xmm1
je     1500 <interp3_table0_complex_per_adj+0x3e0>
mov    %eax,0x44(%rsp)
mov    %ecx,0x40(%rsp)
xorps  %xmm2,%xmm2
cvtsi2sd %ecx,%xmm2
movsd  %xmm2,(%rsp)
movsd  0x68(%rsp),%xmm0
subsd  %xmm2,%xmm0
mulsd  0xf0(%rsp),%xmm0
addsd  %xmm1,%xmm0
call   1040 <floor@plt>
movsd  %xmm0,0x8(%rsp)
movsd  (%rsp),%xmm0
divsd  0x150(%rsp),%xmm0
call   1040 <floor@plt>
cmpl   $0x0,0x1e8(%rsp)
movsd  0x70(%rsp),%xmm9
movsd  0x18(%rsp),%xmm6
jle    1610 <interp3_table0_complex_per_adj+0x4f0>
mulsd  0x140(%rsp),%xmm0
addsd  (%rsp),%xmm0
cvttsd2si %xmm0,%r15d
add    0x3c(%rsp),%r15d
imul   0x14(%rsp),%r15d
cvttsd2si 0x8(%rsp),%eax
cltq
mov    0xd0(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm7
mov    0xd8(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movsd  0xe8(%rsp),%xmm8
movapd %xmm8,%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm7,%xmm2
movsd  0xe0(%rsp),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,0x110(%rsp)
mulsd  %xmm3,%xmm0
mulsd  %xmm8,%xmm7
subsd  %xmm0,%xmm7
movsd  %xmm7,0x118(%rsp)
mov    0x1e8(%rsp),%r12d
mov    0x38(%rsp),%r14d
nopl   0x0(%rax,%rax,1)
xorps  %xmm1,%xmm1
cvtsi2sd %r14d,%xmm1
movsd  %xmm1,(%rsp)
movapd %xmm6,%xmm0
subsd  %xmm1,%xmm0
mulsd  %xmm9,%xmm0
addsd  0x8ae(%rip),%xmm0
call   1040 <floor@plt>
cvttsd2si %xmm0,%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,0x8(%rsp)
mov    0x108(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movsd  %xmm0,0x20(%rsp)
movsd  (%rsp),%xmm0
divsd  0x160(%rsp),%xmm0
call   1040 <floor@plt>
movsd  0x18(%rsp),%xmm6
movapd 0x170(%rsp),%xmm5
movsd  0x70(%rsp),%xmm9
mulsd  %xmm5,%xmm0
addsd  (%rsp),%xmm0
cvttsd2si %xmm0,%eax
add    %r15d,%eax
movsd  0x118(%rsp),%xmm2
movapd %xmm2,%xmm0
movsd  0x20(%rsp),%xmm7
mulsd  %xmm7,%xmm0
movsd  0x8(%rsp),%xmm4
movapd %xmm4,%xmm1
movsd  0x110(%rsp),%xmm3
mulsd  %xmm3,%xmm1
addsd  %xmm0,%xmm1
cltq
addsd  0x0(%r13,%rax,8),%xmm1
movsd  %xmm1,0x0(%r13,%rax,8)
mulsd  %xmm3,%xmm7
movapd %xmm4,%xmm0
mulsd  %xmm2,%xmm0
subsd  %xmm7,%xmm0
addsd  0x0(%rbp,%rax,8),%xmm0
movsd  %xmm0,0x0(%rbp,%rax,8)
add    $0x1,%r14d
add    $0xffffffff,%r12d
jne    1730 <interp3_table0_complex_per_adj+0x610>
jmp    1610 <interp3_table0_complex_per_adj+0x4f0>
add    $0x188,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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