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
mov    $0x2,%ecx
cltd
idiv   %ecx
cvtsi2sd %eax,%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
mov    $0x2,%ecx
cltd
idiv   %ecx
cvtsi2sd %eax,%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
mov    $0x2,%ecx
cltd
idiv   %ecx
cvtsi2sd %eax,%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    18a6 <interp3_table0_complex_per_adj+0x786>
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  0xcde(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
call   1040 <floor@plt>
movaps %xmm0,%xmm1
movsd  0xcbe(%rip),%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x74(%rbp)
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl 0x40(%rbp),%xmm1
movsd  0xca9(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
call   1040 <floor@plt>
movaps %xmm0,%xmm1
movsd  0xc89(%rip),%xmm0
addsd  %xmm1,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,-0x78(%rbp)
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl 0x48(%rbp),%xmm1
movsd  0xc74(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
call   1040 <floor@plt>
movaps %xmm0,%xmm1
movsd  0xc54(%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    1893 <interp3_table0_complex_per_adj+0x773>
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl -0x7c(%rbp),%xmm1
subsd  %xmm1,%xmm0
cvtsi2sdl 0x60(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  0xc1f(%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    1877 <interp3_table0_complex_per_adj+0x757>
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  0xabe(%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    1855 <interp3_table0_complex_per_adj+0x735>
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  0x931(%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    16a9 <interp3_table0_complex_per_adj+0x589>
jmp    185a <interp3_table0_complex_per_adj+0x73a>
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0xbc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xbc(%rbp)
jmp    151c <interp3_table0_complex_per_adj+0x3fc>
jmp    187c <interp3_table0_complex_per_adj+0x75c>
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x7c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
jmp    13be <interp3_table0_complex_per_adj+0x29e>
jmp    1898 <interp3_table0_complex_per_adj+0x778>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1295 <interp3_table0_complex_per_adj+0x175>
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,%r12
mov    %r8d,%ebp
mov    %rsi,%rbx
mov    0x220(%rsp),%r14d
mov    %ecx,0x8(%rsp)
mov    %ecx,%eax
mov    %edx,0xc(%rsp)
imul   %edx,%eax
imul   %r8d,%eax
movslq %eax,%r13
shl    $0x3,%r13
xor    %r15d,%r15d
mov    %rdi,0xf0(%rsp)
xor    %esi,%esi
mov    %r13,%rdx
call   1030 <memset@plt>
mov    %rbx,0xf8(%rsp)
mov    %rbx,%rdi
xor    %esi,%esi
mov    %r13,%rdx
call   1030 <memset@plt>
test   %r14d,%r14d
jle    17bb <interp3_table0_complex_per_adj+0x69b>
mov    0x230(%rsp),%rax
mov    %rax,0x40(%rsp)
mov    0x228(%rsp),%rax
mov    %rax,0x38(%rsp)
mov    0x218(%rsp),%rdi
mov    0x210(%rsp),%eax
mov    0x208(%rsp),%ecx
mov    0x200(%rsp),%edx
mov    0x1f8(%rsp),%r8d
mov    0x1f0(%rsp),%r9d
mov    0x1e8(%rsp),%r10d
cvtsi2sd %edx,%xmm0
movsd  %xmm0,0x58(%rsp)
imul   %r10d,%edx
mov    %edx,%esi
shr    $0x1f,%esi
add    %edx,%esi
sar    %esi
movslq %esi,%rdx
lea    (%r12,%rdx,8),%rsi
mov    %rsi,0xe8(%rsp)
shl    $0x3,%rdx
add    0x1c0(%rsp),%rdx
mov    %rdx,0x100(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
movsd  %xmm0,0xe0(%rsp)
imul   %r9d,%ecx
mov    %ecx,%edx
shr    $0x1f,%edx
add    %ecx,%edx
sar    %edx
movslq %edx,%rcx
shl    $0x3,%rcx
mov    0x1c8(%rsp),%rdx
add    %rcx,%rdx
mov    %rdx,0xc0(%rsp)
add    0x1d0(%rsp),%rcx
mov    %rcx,0xc8(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0xb0(%rsp)
imul   %r8d,%eax
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
sar    %ecx
movslq %ecx,%rax
shl    $0x3,%rax
mov    0x1d8(%rsp),%rcx
add    %rax,%rcx
mov    %rcx,0x90(%rsp)
add    0x1e0(%rsp),%rax
mov    %rax,0x98(%rsp)
mov    0x220(%rsp),%eax
mov    %rax,%rcx
add    %eax,%eax
cltq
mov    %rax,0x70(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %ebp,%xmm0
mov    %ecx,%eax
mov    %rax,0x88(%rsp)
cvtsi2sd %r10d,%xmm1
movsd  0xd2b(%rip),%xmm2
mulsd  %xmm2,%xmm1
movsd  %xmm1,0x80(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sd %r9d,%xmm1
mulsd  %xmm2,%xmm1
movsd  %xmm1,0x78(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sd %r8d,%xmm1
mulsd  %xmm2,%xmm1
movsd  %xmm1,0x68(%rsp)
movapd 0xd02(%rip),%xmm1
movapd %xmm0,0x130(%rsp)
xorpd  %xmm1,%xmm0
movapd %xmm0,0x120(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x8(%rsp),%xmm0
movapd %xmm0,0x150(%rsp)
xorpd  %xmm1,%xmm0
movapd %xmm0,0x140(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0xc(%rsp),%xmm0
movapd %xmm0,0x160(%rsp)
xorpd  %xmm0,%xmm1
movapd %xmm1,0x170(%rsp)
mov    0xe8(%rsp),%rbx
mov    0xf8(%rsp),%rbp
mov    0xf0(%rsp),%r13
jmp    13ae <interp3_table0_complex_per_adj+0x28e>
nopl   0x0(%rax)
mov    0x48(%rsp),%rdi
add    $0x8,%rdi
addq   $0x8,0x38(%rsp)
addq   $0x8,0x40(%rsp)
mov    0x18(%rsp),%r15d
add    $0x1,%r15d
mov    0x220(%rsp),%eax
cmp    %eax,%r15d
je     17bb <interp3_table0_complex_per_adj+0x69b>
mov    %r15d,0x18(%rsp)
mov    0x88(%rsp),%rax
movsd  (%rdi,%rax,8),%xmm0
movsd  %xmm0,0x50(%rsp)
mov    %rdi,0x48(%rsp)
movsd  (%rdi),%xmm0
movsd  %xmm0,0x60(%rsp)
subsd  0x80(%rsp),%xmm0
call   1040 <floor@plt>
movsd  %xmm0,(%rsp)
movsd  0x50(%rsp),%xmm0
subsd  0x78(%rsp),%xmm0
call   1040 <floor@plt>
cmpl   $0x0,0x1f8(%rsp)
jle    1380 <interp3_table0_complex_per_adj+0x260>
mov    0x48(%rsp),%rax
mov    0x70(%rsp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    0x38(%rsp),%rax
movsd  (%rax),%xmm1
movsd  %xmm1,0xa8(%rsp)
mov    0x40(%rsp),%rax
movsd  (%rax),%xmm1
movsd  %xmm1,0xa0(%rsp)
movsd  0xbc6(%rip),%xmm3
movsd  (%rsp),%xmm1
addsd  %xmm3,%xmm1
cvttsd2si %xmm1,%eax
mov    %eax,0x28(%rsp)
addsd  %xmm3,%xmm0
cvttsd2si %xmm0,%eax
mov    %eax,0x1c(%rsp)
movsd  %xmm2,0xb8(%rsp)
movapd %xmm2,%xmm0
subsd  0x68(%rsp),%xmm0
call   1040 <floor@plt>
movsd  0xb81(%rip),%xmm1
addsd  0xb81(%rip),%xmm0
cvttsd2si %xmm0,%eax
xor    %ecx,%ecx
jmp    14ab <interp3_table0_complex_per_adj+0x38b>
nop
mov    0x20(%rsp),%ecx
add    $0x1,%ecx
mov    0x24(%rsp),%eax
add    $0x1,%eax
cmp    0x1f8(%rsp),%ecx
je     1380 <interp3_table0_complex_per_adj+0x260>
mov    %ecx,0x20(%rsp)
mov    %eax,0x24(%rsp)
xorps  %xmm2,%xmm2
cvtsi2sd %eax,%xmm2
movsd  0xb8(%rsp),%xmm0
movsd  %xmm2,(%rsp)
subsd  %xmm2,%xmm0
mulsd  0xb0(%rsp),%xmm0
addsd  %xmm1,%xmm0
call   1040 <floor@plt>
movsd  0xb1a(%rip),%xmm1
cmpl   $0x0,0x1f0(%rsp)
jle    1490 <interp3_table0_complex_per_adj+0x370>
cvttsd2si %xmm0,%eax
cltq
mov    0x90(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm4
mov    0x98(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movsd  0xa0(%rsp),%xmm3
movapd %xmm3,%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm4,%xmm5
movsd  0xa8(%rsp),%xmm2
mulsd  %xmm2,%xmm5
addsd  %xmm1,%xmm5
movsd  %xmm5,0xd0(%rsp)
mulsd  %xmm2,%xmm0
mulsd  %xmm3,%xmm4
subsd  %xmm0,%xmm4
movsd  %xmm4,0xd8(%rsp)
movsd  (%rsp),%xmm0
divsd  0x130(%rsp),%xmm0
call   1040 <floor@plt>
movsd  0xa91(%rip),%xmm1
mulsd  0x120(%rsp),%xmm0
addsd  (%rsp),%xmm0
cvttsd2si %xmm0,%eax
imul   0x8(%rsp),%eax
mov    %eax,0x2c(%rsp)
xor    %eax,%eax
mov    0x1c(%rsp),%ecx
jmp    15c3 <interp3_table0_complex_per_adj+0x4a3>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    0x34(%rsp),%eax
add    $0x1,%eax
mov    0x30(%rsp),%ecx
add    $0x1,%ecx
cmp    0x1f0(%rsp),%eax
movsd  0xa43(%rip),%xmm1
je     1490 <interp3_table0_complex_per_adj+0x370>
mov    %eax,0x34(%rsp)
mov    %ecx,0x30(%rsp)
xorps  %xmm2,%xmm2
cvtsi2sd %ecx,%xmm2
movsd  %xmm2,(%rsp)
movsd  0x50(%rsp),%xmm0
subsd  %xmm2,%xmm0
mulsd  0xe0(%rsp),%xmm0
addsd  %xmm1,%xmm0
call   1040 <floor@plt>
movsd  %xmm0,0x10(%rsp)
movsd  (%rsp),%xmm0
divsd  0x150(%rsp),%xmm0
call   1040 <floor@plt>
cmpl   $0x0,0x1e8(%rsp)
movsd  0x58(%rsp),%xmm9
movsd  0x60(%rsp),%xmm6
jle    15a0 <interp3_table0_complex_per_adj+0x480>
mulsd  0x140(%rsp),%xmm0
addsd  (%rsp),%xmm0
cvttsd2si %xmm0,%r15d
add    0x2c(%rsp),%r15d
imul   0xc(%rsp),%r15d
cvttsd2si 0x10(%rsp),%eax
cltq
mov    0xc0(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm7
mov    0xc8(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movsd  0xd8(%rsp),%xmm8
movapd %xmm8,%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm7,%xmm2
movsd  0xd0(%rsp),%xmm3
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,0x108(%rsp)
mulsd  %xmm3,%xmm0
mulsd  %xmm8,%xmm7
subsd  %xmm0,%xmm7
movsd  %xmm7,0x110(%rsp)
mov    0x1e8(%rsp),%r12d
mov    0x28(%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  0x91e(%rip),%xmm0
call   1040 <floor@plt>
cvttsd2si %xmm0,%eax
cltq
movsd  (%rbx,%rax,8),%xmm0
movsd  %xmm0,0x10(%rsp)
mov    0x100(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movsd  %xmm0,0x118(%rsp)
movsd  (%rsp),%xmm0
divsd  0x160(%rsp),%xmm0
call   1040 <floor@plt>
movsd  0x60(%rsp),%xmm6
movapd 0x170(%rsp),%xmm5
movsd  0x58(%rsp),%xmm9
mulsd  %xmm5,%xmm0
addsd  (%rsp),%xmm0
cvttsd2si %xmm0,%eax
add    %r15d,%eax
movsd  0x110(%rsp),%xmm2
movapd %xmm2,%xmm0
movsd  0x118(%rsp),%xmm7
mulsd  %xmm7,%xmm0
movsd  0x10(%rsp),%xmm4
movapd %xmm4,%xmm1
movsd  0x108(%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    16c0 <interp3_table0_complex_per_adj+0x5a0>
jmp    15a0 <interp3_table0_complex_per_adj+0x480>
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 = sdiv i32 %83, 2
%85 = sitofp i32 %84 to double
%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 = sdiv i32 %98, 2
%100 = sitofp i32 %99 to double
%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 = sdiv i32 %113, 2
%115 = sitofp i32 %114 to double
%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 = sdiv i32 %22, 2
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds double, double* %5, i64 %24
%26 = getelementptr inbounds double, double* %6, i64 %24
%27 = mul nsw i32 %15, %12
%28 = sdiv i32 %27, 2
%29 = sext i32 %28 to i64
%30 = getelementptr inbounds double, double* %7, i64 %29
%31 = getelementptr inbounds double, double* %8, i64 %29
%32 = mul nsw i32 %16, %13
%33 = sdiv i32 %32, 2
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, double* %9, i64 %34
%36 = getelementptr inbounds double, double* %10, i64 %34
%37 = bitcast double* %0 to i8*
%38 = mul nsw i32 %3, %2
%39 = mul nsw i32 %38, %4
%40 = sext i32 %39 to i64
%41 = shl nsw i64 %40, 3
tail call void @llvm.memset.p0i8.i64(i8* align 1 %37, i8 0, i64 %41, i1 false)
%42 = bitcast double* %1 to i8*
tail call void @llvm.memset.p0i8.i64(i8* align 1 %42, i8 0, i64 %41, i1 false)
%43 = icmp sgt i32 %18, 0
br i1 %43, label %44, label %189
44: ; preds = %21
%45 = shl nuw nsw i32 %18, 1
%46 = sext i32 %45 to i64
%47 = zext i32 %18 to i64
%48 = sitofp i32 %11 to double
%49 = fmul double %48, 5.000000e-01
%50 = sitofp i32 %12 to double
%51 = fmul double %50, 5.000000e-01
%52 = sitofp i32 %13 to double
%53 = fmul double %52, 5.000000e-01
%54 = icmp sgt i32 %13, 0
%55 = sitofp i32 %16 to double
%56 = sitofp i32 %4 to double
%57 = fneg double %56
%58 = icmp sgt i32 %12, 0
%59 = sitofp i32 %15 to double
%60 = sitofp i32 %3 to double
%61 = fneg double %60
%62 = icmp sgt i32 %11, 0
%63 = sitofp i32 %14 to double
%64 = sitofp i32 %2 to double
%65 = fneg double %64
br label %66
66: ; preds = %44, %186
%67 = phi double* [ %17, %44 ], [ %75, %186 ]
%68 = phi double* [ %19, %44 ], [ %77, %186 ]
%69 = phi double* [ %20, %44 ], [ %79, %186 ]
%70 = phi i32 [ 0, %44 ], [ %187, %186 ]
%71 = getelementptr inbounds double, double* %67, i64 %46
%72 = load double, double* %71
%73 = getelementptr inbounds double, double* %67, i64 %47
%74 = load double, double* %73
%75 = getelementptr inbounds double, double* %67, i64 1
%76 = load double, double* %67
%77 = getelementptr inbounds double, double* %68, i64 1
%78 = load double, double* %68
%79 = getelementptr inbounds double, double* %69, i64 1
%80 = load double, double* %69
%81 = fsub double %76, %49
%82 = tail call double @llvm.floor.f64(double %81)
%83 = fadd double %82, 1.000000e+00
%84 = fptosi double %83 to i32
%85 = fsub double %74, %51
%86 = tail call double @llvm.floor.f64(double %85)
%87 = fadd double %86, 1.000000e+00
%88 = fptosi double %87 to i32
br i1 %54, label %89, label %186
89: ; preds = %66
%90 = fsub double %72, %53
%91 = tail call double @llvm.floor.f64(double %90)
%92 = fadd double %91, 1.000000e+00
%93 = fptosi double %92 to i32
br label %94
94: ; preds = %89, %182
%95 = phi i32 [ %183, %182 ], [ 0, %89 ]
%96 = phi i32 [ %184, %182 ], [ %93, %89 ]
%97 = sitofp i32 %96 to double
%98 = fsub double %72, %97
%99 = fmul double %98, %55
%100 = fadd double %99, 5.000000e-01
%101 = tail call double @llvm.floor.f64(double %100)
%102 = fptosi double %101 to i32
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, double* %35, i64 %103
%105 = load double, double* %104
%106 = getelementptr inbounds double, double* %36, i64 %103
%107 = load double, double* %106
%108 = fmul double %80, %107
%109 = tail call double @llvm.fmuladd.f64(double %105, double %78, double %108)
%110 = fneg double %107
%111 = fmul double %78, %110
%112 = tail call double @llvm.fmuladd.f64(double %105, double %80, double %111)
br i1 %58, label %113, label %182
113: ; preds = %94
%114 = fdiv double %97, %56
%115 = tail call double @llvm.floor.f64(double %114)
%116 = tail call double @llvm.fmuladd.f64(double %57, double %115, double %97)
%117 = fptosi double %116 to i32
%118 = mul nsw i32 %117, %3
br label %119
119: ; preds = %113, %178
%120 = phi i32 [ 0, %113 ], [ %179, %178 ]
%121 = phi i32 [ %88, %113 ], [ %180, %178 ]
%122 = sitofp i32 %121 to double
%123 = fsub double %74, %122
%124 = fmul double %123, %59
%125 = fadd double %124, 5.000000e-01
%126 = tail call double @llvm.floor.f64(double %125)
%127 = fptosi double %126 to i32
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, double* %30, i64 %128
%130 = load double, double* %129
%131 = getelementptr inbounds double, double* %31, i64 %128
%132 = load double, double* %131
%133 = fdiv double %122, %60
%134 = tail call double @llvm.floor.f64(double %133)
%135 = tail call double @llvm.fmuladd.f64(double %61, double %134, double %122)
%136 = fptosi double %135 to i32
%137 = add nsw i32 %118, %136
%138 = mul nsw i32 %137, %2
%139 = fmul double %112, %132
%140 = tail call double @llvm.fmuladd.f64(double %130, double %109, double %139)
%141 = fneg double %132
%142 = fmul double %109, %141
%143 = tail call double @llvm.fmuladd.f64(double %130, double %112, double %142)
br i1 %62, label %144, label %178
144: ; preds = %119, %144
%145 = phi i32 [ %176, %144 ], [ %84, %119 ]
%146 = phi i32 [ %175, %144 ], [ 0, %119 ]
%147 = sitofp i32 %145 to double
%148 = fsub double %76, %147
%149 = fmul double %148, %63
%150 = fadd double %149, 5.000000e-01
%151 = tail call double @llvm.floor.f64(double %150)
%152 = fptosi double %151 to i32
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, double* %25, i64 %153
%155 = load double, double* %154
%156 = getelementptr inbounds double, double* %26, i64 %153
%157 = load double, double* %156
%158 = fdiv double %147, %64
%159 = tail call double @llvm.floor.f64(double %158)
%160 = tail call double @llvm.fmuladd.f64(double %65, double %159, double %147)
%161 = fptosi double %160 to i32
%162 = add nsw i32 %138, %161
%163 = fmul double %143, %157
%164 = tail call double @llvm.fmuladd.f64(double %155, double %140, double %163)
%165 = sext i32 %162 to i64
%166 = getelementptr inbounds double, double* %0, i64 %165
%167 = load double, double* %166
%168 = fadd double %167, %164
store double %168, double* %166
%169 = fneg double %157
%170 = fmul double %140, %169
%171 = tail call double @llvm.fmuladd.f64(double %155, double %143, double %170)
%172 = getelementptr inbounds double, double* %1, i64 %165
%173 = load double, double* %172
%174 = fadd double %171, %173
store double %174, double* %172
%175 = add nuw nsw i32 %146, 1
%176 = add nsw i32 %145, 1
%177 = icmp eq i32 %175, %11
br i1 %177, label %178, label %144
178: ; preds = %144, %119
%179 = add nuw nsw i32 %120, 1
%180 = add nsw i32 %121, 1
%181 = icmp eq i32 %179, %12
br i1 %181, label %182, label %119
182: ; preds = %178, %94
%183 = add nuw nsw i32 %95, 1
%184 = add nsw i32 %96, 1
%185 = icmp eq i32 %183, %13
br i1 %185, label %186, label %94
186: ; preds = %182, %66
%187 = add nuw nsw i32 %70, 1
%188 = icmp eq i32 %187, %18
br i1 %188, label %189, label %66
189: ; preds = %186, %21
ret void
}