#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int floor(int const);
void interp4_table0_real_per(
    const double *r_ck, const double *i_ck, const int K1, const int K2,
    const int K3, const int K4, const double *r_h1, const double *r_h2,
    const double *r_h3, const double *r_h4, const int J1, const int J2,
    const int J3, const int J4, const int L1, const int L2, const int L3,
    const int L4, const double *p_tm, const int M, double *r_fm, double *i_fm) {
  {
    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;
  }
  {
    const int ncenter4 = floor(J4 * L4 / 2.);
    r_h4 += ncenter4;
  }
  for (int mm = 0; mm < M; mm++) {
    int jj1, jj2, jj3, jj4;
    const double t4 = p_tm[3 * M];
    const double t3 = p_tm[2 * M];
    const double t2 = p_tm[M];
    const double t1 = *p_tm++;
    double sum4r = 0;
    double sum4i = 0;
    const int koff1 = 1 + floor(t1 - J1 / 2.);
    const int koff2 = 1 + floor(t2 - J2 / 2.);
    const int koff3 = 1 + floor(t3 - J3 / 2.);
    int k4 = 1 + floor(t4 - J4 / 2.);
    for (jj4 = 0; jj4 < J4; jj4++, k4++) {
      const double p4 = (t4 - k4) * L4;
      const int n4 = floor(p4 + 0.5);
      double coef4r = r_h4[n4];
      const int wrap4 = floor(k4 / (double)K4);
      const int k4mod = k4 - K4 * wrap4;
      const long k4Idx = k4mod * K3 * K2 * K1;
      register double sum3r = 0;
      register double sum3i = 0;
      int k3 = koff3;
      for (jj3 = 0; jj3 < J3; jj3++, k3++) {
        const double p3 = (t3 - k3) * L3;
        const int n3 = floor(p3 + 0.5);
        double coef3r = r_h3[n3];
        const int wrap3 = floor(k3 / (double)K3);
        const int k3mod = k3 - K3 * wrap3;
        const long k3Idx = k3mod * K2 * K1;
        register double sum2r = 0;
        register double sum2i = 0;
        int k2 = koff2;
        for (jj2 = 0; jj2 < J2; jj2++, k2++) {
          const double p2 = (t2 - k2) * L2;
          const int n2 = floor(p2 + 0.5);
          double coef2r = r_h2[n2];
          const int wrap2 = floor(k2 / (double)K2);
          const int k2mod = k2 - K2 * wrap2;
          const long k2Idx = k2mod * K1;
          register double sum1r = 0;
          register double sum1i = 0;
          int k1 = koff1;
          for (jj1 = 0; jj1 < J1; jj1++, k1++) {
            const double p1 = (t1 - k1) * L1;
            const int n1 = floor(p1 + 0.5);
            register double coef1r = r_h1[n1];
            const int wrap1 = floor(k1 / (double)K1);
            const int k1mod = k1 - K1 * wrap1;
            const long kk = k4Idx + k3Idx + k2Idx + k1mod;
            sum1r += coef1r * r_ck[kk];
            sum1i += coef1r * i_ck[kk];
          }
          sum2r += coef2r * sum1r;
          sum2i += coef2r * sum1i;
        }
        sum3r += coef3r * sum2r;
        sum3i += coef3r * sum2i;
      }
      sum4r += coef4r * sum3r;
      sum4i += coef4r * sum3i;
    }
    *r_fm++ = sum4r;
    *i_fm++ = sum4i;
  }
}


x86 assembly (clang, -O0):
<interp4_table0_real_per>:
push   %rbp
mov    %rsp,%rbp
sub    $0x170,%rsp
mov    0x88(%rbp),%rax
mov    0x80(%rbp),%rax
mov    0x78(%rbp),%eax
mov    0x70(%rbp),%rax
mov    0x68(%rbp),%eax
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),%eax
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    %r9d,-0x20(%rbp)
mov    0x30(%rbp),%eax
imul   0x50(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xe7f(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x24(%rbp)
mov    -0x24(%rbp),%ecx
mov    0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x10(%rbp)
mov    0x38(%rbp),%eax
imul   0x58(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xe47(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x28(%rbp)
mov    -0x28(%rbp),%ecx
mov    0x18(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x18(%rbp)
mov    0x40(%rbp),%eax
imul   0x60(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xe0f(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%ecx
mov    0x20(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x20(%rbp)
mov    0x48(%rbp),%eax
imul   0x68(%rbp),%eax
cvtsi2sd %eax,%xmm0
movsd  0xdd7(%rip),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x30(%rbp)
mov    -0x30(%rbp),%ecx
mov    0x28(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,0x28(%rbp)
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
cmp    0x78(%rbp),%eax
jge    18ce <interp4_table0_real_per+0x7be>
mov    0x70(%rbp),%rax
imul   $0x3,0x78(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x70(%rbp),%rax
mov    0x78(%rbp),%ecx
shl    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    0x70(%rbp),%rax
movslq 0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    0x70(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x70(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x68(%rbp),%xmm0
cvtsi2sdl 0x30(%rbp),%xmm1
movsd  0xd27(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x7c(%rbp)
movsd  -0x60(%rbp),%xmm0
cvtsi2sdl 0x38(%rbp),%xmm1
movsd  0xcfe(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl 0x40(%rbp),%xmm1
movsd  0xcd5(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x84(%rbp)
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl 0x48(%rbp),%xmm1
movsd  0xca9(%rip),%xmm2
divsd  %xmm2,%xmm1
subsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
movl   $0x0,-0x44(%rbp)
mov    -0x44(%rbp),%eax
cmp    0x48(%rbp),%eax
jge    1884 <interp4_table0_real_per+0x774>
movsd  -0x50(%rbp),%xmm0
cvtsi2sdl -0x88(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
cvtsi2sdl 0x68(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  0xc5a(%rip),%xmm0
addsd  -0x90(%rbp),%xmm0
ff
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x94(%rbp)
mov    0x28(%rbp),%rax
movslq -0x94(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
cvtsi2sdl -0x88(%rbp),%xmm0
ff
cvtsi2sdl -0x20(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0xa4(%rbp)
mov    -0x88(%rbp),%eax
mov    -0x20(%rbp),%ecx
imul   -0xa4(%rbp),%ecx
sub    %ecx,%eax
mov    %eax,-0xa8(%rbp)
mov    -0xa8(%rbp),%eax
imul   -0x1c(%rbp),%eax
imul   -0x18(%rbp),%eax
imul   -0x14(%rbp),%eax
cltq
mov    %rax,-0xb0(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x84(%rbp),%eax
mov    %eax,-0xc4(%rbp)
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
cmp    0x40(%rbp),%eax
jge    1823 <interp4_table0_real_per+0x713>
movsd  -0x58(%rbp),%xmm0
cvtsi2sdl -0xc4(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
cvtsi2sdl 0x60(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  0xb79(%rip),%xmm0
addsd  -0xd0(%rbp),%xmm0
ff
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0xd4(%rbp)
mov    0x20(%rbp),%rax
movslq -0xd4(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
cvtsi2sdl -0xc4(%rbp),%xmm0
ff
cvtsi2sdl -0x1c(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0xe4(%rbp)
mov    -0xc4(%rbp),%eax
mov    -0x1c(%rbp),%ecx
imul   -0xe4(%rbp),%ecx
sub    %ecx,%eax
mov    %eax,-0xe8(%rbp)
mov    -0xe8(%rbp),%eax
imul   -0x18(%rbp),%eax
imul   -0x14(%rbp),%eax
cltq
mov    %rax,-0xf0(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
mov    -0x80(%rbp),%eax
mov    %eax,-0x104(%rbp)
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
cmp    0x38(%rbp),%eax
jge    17b6 <interp4_table0_real_per+0x6a6>
movsd  -0x60(%rbp),%xmm0
cvtsi2sdl -0x104(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
cvtsi2sdl 0x58(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x110(%rbp)
ff
movsd  0xa9f(%rip),%xmm0
addsd  -0x110(%rbp),%xmm0
ff
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x114(%rbp)
mov    0x18(%rbp),%rax
movslq -0x114(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
cvtsi2sdl -0x104(%rbp),%xmm0
ff
cvtsi2sdl -0x18(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x124(%rbp)
mov    -0x104(%rbp),%eax
mov    -0x18(%rbp),%ecx
imul   -0x124(%rbp),%ecx
sub    %ecx,%eax
mov    %eax,-0x128(%rbp)
mov    -0x128(%rbp),%eax
imul   -0x14(%rbp),%eax
cltq
mov    %rax,-0x130(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
mov    -0x7c(%rbp),%eax
mov    %eax,-0x144(%rbp)
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    0x30(%rbp),%eax
jge    1749 <interp4_table0_real_per+0x639>
movsd  -0x68(%rbp),%xmm0
cvtsi2sdl -0x144(%rbp),%xmm1
ff
subsd  %xmm1,%xmm0
cvtsi2sdl 0x50(%rbp),%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
movsd  0x9c9(%rip),%xmm0
addsd  -0x150(%rbp),%xmm0
ff
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x154(%rbp)
mov    0x10(%rbp),%rax
movslq -0x154(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x160(%rbp)
ff
cvtsi2sdl -0x144(%rbp),%xmm0
ff
cvtsi2sdl -0x14(%rbp),%xmm1
divsd  %xmm1,%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,-0x164(%rbp)
mov    -0x144(%rbp),%eax
mov    -0x14(%rbp),%ecx
imul   -0x164(%rbp),%ecx
sub    %ecx,%eax
mov    %eax,-0x168(%rbp)
mov    -0xb0(%rbp),%rax
add    -0xf0(%rbp),%rax
add    -0x130(%rbp),%rax
movslq -0x168(%rbp),%rcx
add    %rcx,%rax
mov    %rax,-0x170(%rbp)
movsd  -0x160(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
mov    -0x170(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x138(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movsd  -0x160(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x170(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
movsd  -0x140(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
mov    -0x144(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x144(%rbp)
jmp    1609 <interp4_table0_real_per+0x4f9>
movsd  -0x120(%rbp),%xmm0
ff
movsd  -0x138(%rbp),%xmm2
ff
movsd  -0xf8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0x120(%rbp),%xmm0
ff
movsd  -0x140(%rbp),%xmm2
ff
movsd  -0x100(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x100(%rbp)
ff
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
mov    -0x104(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x104(%rbp)
jmp    1533 <interp4_table0_real_per+0x423>
movsd  -0xe0(%rbp),%xmm0
ff
movsd  -0xf8(%rbp),%xmm2
ff
movsd  -0xb8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xe0(%rbp),%xmm0
ff
movsd  -0x100(%rbp),%xmm2
ff
movsd  -0xc0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x40(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x40(%rbp)
mov    -0xc4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc4(%rbp)
jmp    1459 <interp4_table0_real_per+0x349>
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0xb8(%rbp),%xmm2
ff
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0xa0(%rbp),%xmm0
ff
movsd  -0xc0(%rbp),%xmm2
ff
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
mov    -0x88(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x88(%rbp)
jmp    1378 <interp4_table0_real_per+0x268>
movsd  -0x70(%rbp),%xmm0
mov    0x80(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x80(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x78(%rbp),%xmm0
mov    0x88(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,0x88(%rbp)
movsd  %xmm0,(%rax)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1255 <interp4_table0_real_per+0x145>
add    $0x170,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interp4_table0_real_per>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x1c8,%rsp
mov    %r9d,0x4(%rsp)
mov    %r8d,0xc(%rsp)
mov    %ecx,0x14(%rsp)
mov    %edx,%r15d
mov    %rsi,0x120(%rsp)
mov    %rdi,0x118(%rsp)
mov    0x268(%rsp),%ebx
mov    0x258(%rsp),%r13d
mov    0x250(%rsp),%r12d
mov    0x248(%rsp),%ebp
mov    0x240(%rsp),%eax
imul   0x220(%rsp),%eax
cvtsi2sd %eax,%xmm0
mulsd  0xe85(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %ebp,%ecx
imul   0x228(%rsp),%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
mov    %eax,0x20(%rsp)
mulsd  0xe5f(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %r12d,%ecx
imul   0x230(%rsp),%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
mov    %eax,0x60(%rsp)
mulsd  0xe38(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %r13d,%ecx
imul   0x238(%rsp),%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
mov    %eax,%r14d
mulsd  0xe12(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
movsd  0xe01(%rip),%xmm0
test   %ebx,%ebx
jle    1919 <interp4_table0_real_per+0x809>
mov    0x278(%rsp),%rbx
mov    0x270(%rsp),%rdx
mov    0x260(%rsp),%rsi
mov    %ebp,%r8d
mov    %r12d,%edi
movslq 0x20(%rsp),%r12
shl    $0x3,%r12
add    0x200(%rsp),%r12
movslq 0x60(%rsp),%rcx
shl    $0x3,%rcx
add    0x208(%rsp),%rcx
mov    %rcx,0x140(%rsp)
movslq %r14d,%rcx
shl    $0x3,%rcx
add    0x210(%rsp),%rcx
mov    %rcx,0x110(%rsp)
cltq
shl    $0x3,%rax
add    0x218(%rsp),%rax
mov    %rax,0xf0(%rsp)
mov    0x268(%rsp),%eax
mov    %rax,%rcx
lea    (%rax,%rax,2),%eax
cltq
mov    %rax,0xc0(%rsp)
lea    (%rcx,%rcx,1),%eax
cvtsi2sd %r13d,%xmm1
movsd  %xmm1,0xe8(%rsp)
mov    %rdx,%rbp
cltq
mov    %rax,0xb8(%rsp)
mov    %ecx,%eax
mov    %rax,0xb0(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sdl 0x220(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xa8(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sdl 0x228(%rsp),%xmm1
mulsd  %xmm0,%xmm1
movsd  %xmm1,0xa0(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sdl 0x230(%rsp),%xmm1
cvtsi2sdl 0x238(%rsp),%xmm2
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x98(%rsp)
mulsd  %xmm0,%xmm2
movsd  %xmm2,0x90(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x4(%rsp),%xmm0
movsd  %xmm0,0xe0(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %edi,%xmm0
movsd  %xmm0,0x108(%rsp)
mov    0xc(%rsp),%eax
xorps  %xmm0,%xmm0
cvtsi2sd %eax,%xmm0
movsd  %xmm0,0x100(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sd %r8d,%xmm0
movsd  %xmm0,0x138(%rsp)
mov    0x14(%rsp),%ecx
xorps  %xmm0,%xmm0
cvtsi2sd %ecx,%xmm0
movsd  %xmm0,0x130(%rsp)
xorps  %xmm0,%xmm0
cvtsi2sdl 0x240(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtsi2sd %r15d,%xmm1
imul   %ecx,%eax
imul   %r15d,%eax
mov    %eax,0x30(%rsp)
imul   %r15d,%ecx
mov    %ecx,0x40(%rsp)
xor    %ecx,%ecx
movsd  %xmm0,0x150(%rsp)
movsd  %xmm1,0x148(%rsp)
jmp    1403 <interp4_table0_real_per+0x2f3>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
addpd  %xmm1,%xmm2
mov    0xd0(%rsp),%rbx
mov    0xc8(%rsp),%rbp
mov    0x70(%rsp),%rsi
mov    (%rsp),%ecx
add    $0x8,%rsi
movhpd %xmm2,0x0(%rbp)
add    $0x8,%rbp
movlpd %xmm2,(%rbx)
add    $0x8,%rbx
add    $0x1,%ecx
mov    0x268(%rsp),%eax
cmp    %eax,%ecx
je     1919 <interp4_table0_real_per+0x809>
mov    %ecx,(%rsp)
mov    0xc0(%rsp),%rax
movsd  (%rsi,%rax,8),%xmm0
movsd  %xmm0,0x78(%rsp)
mov    0xb8(%rsp),%rax
movsd  (%rsi,%rax,8),%xmm0
movsd  %xmm0,0x80(%rsp)
mov    0xb0(%rsp),%rax
movsd  (%rsi,%rax,8),%xmm0
movsd  %xmm0,0x88(%rsp)
mov    %rsi,0x70(%rsp)
movsd  (%rsi),%xmm0
movsd  %xmm0,0x158(%rsp)
subsd  0xa8(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,%r14d
movsd  0x88(%rsp),%xmm0
subsd  0xa0(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,%r13d
movsd  0x80(%rsp),%xmm0
subsd  0x98(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
mov    %eax,0x18(%rsp)
movsd  0x78(%rsp),%xmm0
subsd  0x90(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
cmpl   $0x0,0x238(%rsp)
jle    1910 <interp4_table0_real_per+0x800>
mov    %rbp,0xc8(%rsp)
mov    %rbx,0xd0(%rsp)
add    $0x1,%r14d
movslq %r14d,%rcx
mov    %rcx,0xd8(%rsp)
mov    %eax,%ecx
add    $0x1,%ecx
mov    %ecx,0x8(%rsp)
mov    0x18(%rsp),%ebx
mov    %ebx,%ecx
add    $0x1,%ecx
mov    %ecx,0x34(%rsp)
mov    %r13d,%ecx
add    $0x1,%ecx
mov    %ecx,0x44(%rsp)
xorpd  %xmm0,%xmm0
xor    %ecx,%ecx
mov    0x220(%rsp),%ebp
mov    %r14d,0x54(%rsp)
mov    %r13d,0x50(%rsp)
jmp    1573 <interp4_table0_real_per+0x463>
nopw   0x0(%rax,%rax,1)
addpd  %xmm1,%xmm3
movapd 0x160(%rsp),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm3,%xmm2
movapd %xmm2,%xmm0
movapd 0x170(%rsp),%xmm1
addpd  %xmm1,%xmm0
mov    0x38(%rsp),%ecx
add    $0x1,%ecx
addl   $0x1,0x8(%rsp)
cmp    0x238(%rsp),%ecx
mov    0x3c(%rsp),%eax
je     13c0 <interp4_table0_real_per+0x2b0>
mov    %ecx,0x38(%rsp)
movapd %xmm0,0x170(%rsp)
add    $0x1,%eax
mov    %eax,0x3c(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sd %eax,%xmm1
movsd  %xmm1,0x20(%rsp)
movsd  0x78(%rsp),%xmm0
subsd  %xmm1,%xmm0
mulsd  0xe8(%rsp),%xmm0
addsd  0xa51(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
cltq
mov    0xf0(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movaps %xmm0,0x160(%rsp)
movsd  0x20(%rsp),%xmm0
divsd  0xe0(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
xorpd  %xmm3,%xmm3
cmpl   $0x0,0x230(%rsp)
jle    1534 <interp4_table0_real_per+0x424>
imul   0x4(%rsp),%eax
mov    0x8(%rsp),%ecx
sub    %eax,%ecx
imul   0x30(%rsp),%ecx
movslq %ecx,%rax
add    0xd8(%rsp),%rax
mov    %rax,0xf8(%rsp)
xorpd  %xmm0,%xmm0
xor    %eax,%eax
mov    0x34(%rsp),%ecx
mov    %ecx,0x10(%rsp)
mov    %ebx,%ecx
jmp    1673 <interp4_table0_real_per+0x563>
xchg   %ax,%ax
addpd  %xmm1,%xmm2
movapd 0x180(%rsp),%xmm3
unpcklpd %xmm3,%xmm3
mulpd  %xmm2,%xmm3
movapd %xmm3,%xmm0
movapd 0x190(%rsp),%xmm1
addpd  %xmm1,%xmm0
mov    0x4c(%rsp),%eax
add    $0x1,%eax
addl   $0x1,0x10(%rsp)
cmp    0x230(%rsp),%eax
mov    0x48(%rsp),%ecx
je     1530 <interp4_table0_real_per+0x420>
mov    %eax,0x4c(%rsp)
movapd %xmm0,0x190(%rsp)
add    $0x1,%ecx
mov    %ecx,0x48(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sd %ecx,%xmm1
movsd  %xmm1,0x20(%rsp)
movsd  0x80(%rsp),%xmm0
subsd  %xmm1,%xmm0
mulsd  0x108(%rsp),%xmm0
addsd  0x94e(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
cltq
mov    0x110(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movaps %xmm0,0x180(%rsp)
movsd  0x20(%rsp),%xmm0
divsd  0x100(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
xorpd  %xmm2,%xmm2
cmpl   $0x0,0x228(%rsp)
jle    1634 <interp4_table0_real_per+0x524>
imul   0xc(%rsp),%eax
mov    0x10(%rsp),%ecx
sub    %eax,%ecx
imul   0x40(%rsp),%ecx
movslq %ecx,%rax
add    0xf8(%rsp),%rax
mov    %rax,0x128(%rsp)
xorpd  %xmm0,%xmm0
xor    %eax,%eax
mov    0x44(%rsp),%ecx
mov    %ecx,0x1c(%rsp)
mov    %r13d,%ecx
jmp    177f <interp4_table0_real_per+0x66f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movapd 0x1a0(%rsp),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm0,%xmm2
movapd %xmm2,%xmm0
movapd 0x1b0(%rsp),%xmm1
addpd  %xmm1,%xmm0
mov    0x5c(%rsp),%eax
add    $0x1,%eax
addl   $0x1,0x1c(%rsp)
cmp    0x228(%rsp),%eax
mov    0x58(%rsp),%ecx
je     1630 <interp4_table0_real_per+0x520>
mov    %eax,0x5c(%rsp)
movapd %xmm0,0x1b0(%rsp)
add    $0x1,%ecx
mov    %ecx,0x58(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sd %ecx,%xmm1
movsd  %xmm1,0x20(%rsp)
movsd  0x88(%rsp),%xmm0
subsd  %xmm1,%xmm0
mulsd  0x138(%rsp),%xmm0
addsd  0x842(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
cltq
mov    0x140(%rsp),%rcx
movsd  (%rcx,%rax,8),%xmm0
movaps %xmm0,0x1a0(%rsp)
movsd  0x20(%rsp),%xmm0
divsd  0x130(%rsp),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
xorpd  %xmm0,%xmm0
test   %ebp,%ebp
jle    1740 <interp4_table0_real_per+0x630>
imul   0x14(%rsp),%eax
mov    0x1c(%rsp),%ecx
sub    %eax,%ecx
imul   %r15d,%ecx
movslq %ecx,%rax
add    0x128(%rsp),%rax
mov    0x118(%rsp),%rcx
lea    (%rcx,%rax,8),%rbx
mov    0x120(%rsp),%rcx
lea    (%rcx,%rax,8),%r13
xorpd  %xmm1,%xmm1
nopl   0x0(%rax,%rax,1)
movapd %xmm1,0x20(%rsp)
xorps  %xmm1,%xmm1
cvtsi2sd %r14d,%xmm1
movsd  %xmm1,0x60(%rsp)
movsd  0x158(%rsp),%xmm0
subsd  %xmm1,%xmm0
mulsd  0x150(%rsp),%xmm0
addsd  0x78e(%rip),%xmm0
cvttsd2si %xmm0,%edi
call   1030 <floor@plt>
cltq
movsd  0x60(%rsp),%xmm0
divsd  0x148(%rsp),%xmm0
cvttsd2si %xmm0,%edi
movsd  (%r12,%rax,8),%xmm0
movaps %xmm0,0x60(%rsp)
call   1030 <floor@plt>
movapd 0x20(%rsp),%xmm2
imul   %r15d,%eax
cltq
shl    $0x3,%rax
mov    %rbx,%rcx
sub    %rax,%rcx
mov    %r13,%rdx
sub    %rax,%rdx
movapd 0x60(%rsp),%xmm1
unpcklpd %xmm1,%xmm1
movsd  (%rdx),%xmm0
movhpd (%rcx),%xmm0
mulpd  %xmm1,%xmm0
movapd %xmm0,%xmm1
addpd  %xmm2,%xmm1
add    $0x1,%r14d
add    $0x8,%rbx
add    $0x8,%r13
add    $0xffffffff,%ebp
jne    1840 <interp4_table0_real_per+0x730>
addpd  %xmm2,%xmm0
mov    0x220(%rsp),%ebp
mov    0x54(%rsp),%r14d
mov    0x50(%rsp),%r13d
mov    0x18(%rsp),%ebx
jmp    1740 <interp4_table0_real_per+0x630>
nopl   (%rax)
xorpd  %xmm2,%xmm2
jmp    13d4 <interp4_table0_real_per+0x2c4>
add    $0x1c8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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