#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 */
scalar_t__ ceilf(float);
int interpSP6_b(unsigned char *sl, int w, int h, float x, float y,
                unsigned char *v) {
  int i, j, m, n;
  float pp, p[6], wx[6], wy[6], xx;
  m = (int)ceilf(x) - 3;
  if (m < 0)
    m = 0;
  if ((m + 7) > w)
    m = w - 6;
  n = (int)ceilf(y) - 3;
  if (n < 0)
    n = 0;
  if ((n + 7) > h)
    n = h - 6;
  xx = y - n;
  wy[0] =
      ((0.090909 * (xx - 2.0) - 0.215311) * (xx - 2.0) + 0.124402) * (xx - 2.0);
  xx = xx - 1.0;
  wy[1] = ((-0.545455 * (xx - 1.0) + 1.291866) * (xx - 1.0) - 0.746411) *
          (xx - 1.0);
  xx = xx - 1.0;
  wy[2] = ((1.181818 * xx - 2.167464) * xx + 0.014354) * xx + 1.0;
  xx = 1.0 - xx;
  wy[3] = ((1.181818 * xx - 2.167464) * xx + 0.014354) * xx + 1.0;
  xx = xx + 1.0;
  wy[4] = ((-0.545455 * (xx - 1.0) + 1.291866) * (xx - 1.0) - 0.746411) *
          (xx - 1.0);
  xx = xx + 1.0;
  wy[5] =
      ((0.090909 * (xx - 2.0) - 0.215311) * (xx - 2.0) + 0.124402) * (xx - 2.0);
  xx = x - m;
  wx[0] =
      ((0.090909 * (xx - 2.0) - 0.215311) * (xx - 2.0) + 0.124402) * (xx - 2.0);
  xx = xx - 1.0;
  wx[1] = ((-0.545455 * (xx - 1.0) + 1.291866) * (xx - 1.0) - 0.746411) *
          (xx - 1.0);
  xx = xx - 1.0;
  wx[2] = ((1.181818 * xx - 2.167464) * xx + 0.014354) * xx + 1.0;
  xx = 1.0 - xx;
  wx[3] = ((1.181818 * xx - 2.167464) * xx + 0.014354) * xx + 1.0;
  xx = xx + 1.0;
  wx[4] = ((-0.545455 * (xx - 1.0) + 1.291866) * (xx - 1.0) - 0.746411) *
          (xx - 1.0);
  xx = xx + 1.0;
  wx[5] =
      ((0.090909 * (xx - 2.0) - 0.215311) * (xx - 2.0) + 0.124402) * (xx - 2.0);
  for (i = 0; i < 6; i++) {
    p[i] = 0.0;
    for (j = 0; j < 6; j++) {
      p[i] = p[i] + wy[j] * sl[(j + n) * w + i + m];
    }
  }
  pp = 0.0;
  for (i = 0; i < 6; i++)
    pp = pp + wx[i] * p[i];
  pp = 0.947 * pp;
  if (pp < 0.0)
    pp = 0.0;
  if (pp > 256.0)
    pp = 255.0;
  *v = pp;
  return 0;
}


x86 assembly (clang, -O0):
<interpSP6_b>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
movss  %xmm0,-0x14(%rbp)
movss  %xmm1,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
movss  -0x14(%rbp),%xmm0
call   1030 <ceilf@plt>
sub    $0x3,%eax
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jge    1154 <interpSP6_b+0x44>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x7,%eax
cmp    -0xc(%rbp),%eax
jle    116c <interpSP6_b+0x5c>
mov    -0xc(%rbp),%eax
sub    $0x6,%eax
mov    %eax,-0x2c(%rbp)
movss  -0x18(%rbp),%xmm0
call   1030 <ceilf@plt>
sub    $0x3,%eax
mov    %eax,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
jge    118d <interpSP6_b+0x7d>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
add    $0x7,%eax
cmp    -0x10(%rbp),%eax
jle    11a5 <interpSP6_b+0x95>
mov    -0x10(%rbp),%eax
sub    $0x6,%eax
mov    %eax,-0x30(%rbp)
movss  -0x18(%rbp),%xmm0
cvtsi2ssl -0x30(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xe31(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xe35(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe31(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xe01(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xdf9(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xdd9(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x90(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xdd1(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xdad(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xdb1(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xdad(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xd7d(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd75(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xd55(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x8c(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xd2d(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xd31(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd2d(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd01(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xcc5(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x88(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xca1(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xca5(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xca1(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc75(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc39(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x84(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xc15(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xbf1(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xbf5(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbf1(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xbc1(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbb9(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xb99(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x80(%rbp)
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xb74(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xb30(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xb34(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb30(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xb00(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xaf8(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xad8(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x7c(%rbp)
movss  -0x14(%rbp),%xmm0
cvtsi2ssl -0x2c(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xa9d(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xaa1(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa9d(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xa6d(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa65(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xa45(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xa40(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xa1c(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xa20(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa1c(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x9ec(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x9e4(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x9c4(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x99f(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x9a3(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x99f(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x973(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x937(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0x916(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x91a(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x916(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x8ea(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x8ae(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x88d(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x869(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0x86d(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x869(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x839(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x831(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x811(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x7ec(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0x94(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x7a8(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0x7ac(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x7a8(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x778(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x770(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x94(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x750(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x5c(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x6,-0x24(%rbp)
jge    1959 <interpSP6_b+0x849>
movslq -0x24(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp,%rax,4)
movl   $0x0,-0x28(%rbp)
cmpl   $0x6,-0x28(%rbp)
jge    1946 <interpSP6_b+0x836>
movslq -0x24(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm1
movslq -0x28(%rbp),%rax
movss  -0x90(%rbp,%rax,4),%xmm0
ff ff
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    -0x30(%rbp),%ecx
imul   -0xc(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    -0x2c(%rbp),%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%eax
cvtsi2ss %eax,%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movslq -0x24(%rbp),%rax
movss  %xmm0,-0x50(%rbp,%rax,4)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    18e6 <interpSP6_b+0x7d6>
jmp    194b <interpSP6_b+0x83b>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    18c8 <interpSP6_b+0x7b8>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x34(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x6,-0x24(%rbp)
jge    19a6 <interpSP6_b+0x896>
movss  -0x34(%rbp),%xmm1
movslq -0x24(%rbp),%rax
movss  -0x70(%rbp,%rax,4),%xmm0
movslq -0x24(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x34(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1968 <interpSP6_b+0x858>
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0x6a1(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    19e2 <interpSP6_b+0x8d2>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x66d(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1a0a <interpSP6_b+0x8fa>
movss  0x663(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
cvttss2si -0x34(%rbp),%eax
mov    %al,%cl
mov    -0x20(%rbp),%rax
mov    %cl,(%rax)
xor    %eax,%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interpSP6_b>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x38,%rsp
mov    %rcx,%r14
movss  %xmm1,(%rsp)
movss  %xmm0,0x8(%rsp)
mov    %edx,%r12d
mov    %esi,%r15d
mov    %rdi,%rbx
call   1030 <ceilf@plt>
cmp    $0x4,%eax
mov    $0x3,%ebp
cmovl  %ebp,%eax
lea    -0x3(%rax),%ecx
add    $0x4,%eax
lea    -0x6(%r15),%r13d
cmp    %r15d,%eax
cmovle %ecx,%r13d
movss  (%rsp),%xmm0
call   1030 <ceilf@plt>
cmp    $0x4,%eax
cmovge %eax,%ebp
lea    -0x3(%rbp),%eax
add    $0x4,%ebp
lea    -0x6(%r12),%r8d
cmp    %r12d,%ebp
cmovle %eax,%r8d
xorps  %xmm0,%xmm0
cvtsi2ss %r8d,%xmm0
movss  (%rsp),%xmm1
subss  %xmm0,%xmm1
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
movaps %xmm1,%xmm2
addsd  0xe65(%rip),%xmm0
movapd %xmm0,%xmm1
mulsd  0xe61(%rip),%xmm1
movsd  0xe60(%rip),%xmm13
addsd  %xmm13,%xmm1
mulsd  %xmm0,%xmm1
movsd  0xe56(%rip),%xmm12
addsd  %xmm12,%xmm1
mulsd  %xmm0,%xmm1
addss  0xe95(%rip),%xmm2
xorps  %xmm0,%xmm0
cvtss2sd %xmm2,%xmm0
movsd  0xe3d(%rip),%xmm11
addsd  %xmm11,%xmm0
movsd  0xe37(%rip),%xmm15
movapd %xmm0,%xmm7
mulsd  %xmm15,%xmm7
movsd  0xe2d(%rip),%xmm9
addsd  %xmm9,%xmm7
mulsd  %xmm0,%xmm7
movsd  0xe23(%rip),%xmm8
addsd  %xmm8,%xmm7
cvtsd2ss %xmm0,%xmm4
mulsd  %xmm0,%xmm7
xorps  %xmm0,%xmm0
cvtss2sd %xmm4,%xmm0
movsd  0xe0e(%rip),%xmm14
movaps %xmm0,%xmm2
mulsd  %xmm14,%xmm2
movsd  0xe06(%rip),%xmm6
addsd  %xmm6,%xmm2
mulsd  %xmm0,%xmm2
movsd  0xdfe(%rip),%xmm3
addsd  %xmm3,%xmm2
mulsd  %xmm0,%xmm2
movss  0xe09(%rip),%xmm10
movaps %xmm10,%xmm0
subss  %xmm4,%xmm0
cvtss2sd %xmm0,%xmm5
movaps %xmm5,%xmm4
mulsd  %xmm14,%xmm4
addsd  %xmm6,%xmm4
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
mulsd  %xmm5,%xmm4
addss  %xmm10,%xmm0
xorps  %xmm5,%xmm5
cvtss2sd %xmm0,%xmm5
addsd  %xmm11,%xmm5
movapd %xmm5,%xmm3
mulsd  %xmm15,%xmm3
addsd  %xmm9,%xmm3
mulsd  %xmm5,%xmm3
addsd  %xmm8,%xmm3
mulsd  %xmm5,%xmm3
addss  %xmm10,%xmm0
xorps  %xmm5,%xmm5
cvtss2sd %xmm0,%xmm5
addsd  0xd39(%rip),%xmm5
movapd %xmm5,%xmm0
mulsd  0xd35(%rip),%xmm0
addsd  %xmm13,%xmm0
mulsd  %xmm5,%xmm0
addsd  %xmm12,%xmm0
xorps  %xmm6,%xmm6
cvtsi2ss %r13d,%xmm6
mulsd  %xmm5,%xmm0
movss  0x8(%rsp),%xmm5
subss  %xmm6,%xmm5
xorps  %xmm12,%xmm12
cvtss2sd %xmm5,%xmm12
addss  0xd60(%rip),%xmm5
cvtss2sd %xmm5,%xmm5
addsd  %xmm11,%xmm5
movsd  %xmm5,0x8(%rsp)
xorps  %xmm15,%xmm15
cvtsd2ss %xmm5,%xmm15
movaps %xmm10,%xmm5
subss  %xmm15,%xmm5
xorps  %xmm6,%xmm6
cvtss2sd %xmm5,%xmm6
movsd  %xmm6,0x30(%rsp)
addss  %xmm10,%xmm5
xorps  %xmm6,%xmm6
cvtss2sd %xmm5,%xmm6
addsd  %xmm11,%xmm6
movsd  %xmm6,0x28(%rsp)
addss  %xmm10,%xmm5
xorps  %xmm8,%xmm8
cvtsd2ss %xmm1,%xmm8
cvtsd2ss %xmm7,%xmm9
movsd  0xcf0(%rip),%xmm1
addsd  %xmm1,%xmm2
xorps  %xmm10,%xmm10
cvtsd2ss %xmm2,%xmm10
movsd  0xc83(%rip),%xmm2
addsd  %xmm2,%xmm12
movsd  %xmm12,(%rsp)
cvtss2sd %xmm5,%xmm7
addsd  %xmm2,%xmm7
addsd  %xmm1,%xmm4
cvtsd2ss %xmm4,%xmm11
xorps  %xmm12,%xmm12
cvtsd2ss %xmm3,%xmm12
cvtsd2ss %xmm0,%xmm13
cvtss2sd %xmm15,%xmm15
mov    %r8d,%r9d
imul   %r15d,%r9d
lea    0x1(%r8),%edx
imul   %r15d,%edx
lea    0x2(%r8),%esi
imul   %r15d,%esi
lea    0x3(%r8),%edi
imul   %r15d,%edi
lea    0x4(%r8),%ebp
imul   %r15d,%ebp
add    $0x5,%r8d
imul   %r15d,%r8d
add    %r13d,%r8d
add    %r13d,%ebp
add    %r13d,%edi
add    %r13d,%esi
add    %r13d,%edx
add    %r13d,%r9d
xor    %eax,%eax
xorpd  %xmm1,%xmm1
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
lea    (%r9,%rax,1),%ecx
movslq %ecx,%rcx
movzbl (%rbx,%rcx,1),%ecx
xorps  %xmm0,%xmm0
cvtsi2ss %ecx,%xmm0
mulss  %xmm8,%xmm0
addss  %xmm1,%xmm0
lea    (%rdx,%rax,1),%ecx
movslq %ecx,%rcx
movzbl (%rbx,%rcx,1),%ecx
xorps  %xmm3,%xmm3
cvtsi2ss %ecx,%xmm3
mulss  %xmm9,%xmm3
addss  %xmm0,%xmm3
lea    (%rsi,%rax,1),%ecx
movslq %ecx,%rcx
movzbl (%rbx,%rcx,1),%ecx
xorps  %xmm0,%xmm0
cvtsi2ss %ecx,%xmm0
mulss  %xmm10,%xmm0
addss  %xmm3,%xmm0
lea    (%rdi,%rax,1),%ecx
movslq %ecx,%rcx
movzbl (%rbx,%rcx,1),%ecx
xorps  %xmm3,%xmm3
cvtsi2ss %ecx,%xmm3
mulss  %xmm11,%xmm3
addss  %xmm0,%xmm3
lea    0x0(%rbp,%rax,1),%ecx
movslq %ecx,%rcx
movzbl (%rbx,%rcx,1),%ecx
xorps  %xmm0,%xmm0
cvtsi2ss %ecx,%xmm0
mulss  %xmm12,%xmm0
addss  %xmm3,%xmm0
lea    (%r8,%rax,1),%ecx
movslq %ecx,%rcx
movzbl (%rbx,%rcx,1),%ecx
xorps  %xmm3,%xmm3
cvtsi2ss %ecx,%xmm3
mulss  %xmm13,%xmm3
addss  %xmm0,%xmm3
movss  %xmm3,0x10(%rsp,%rax,4)
add    $0x1,%rax
cmp    $0x6,%rax
jne    1400 <interpSP6_b+0x2f0>
movapd %xmm7,%xmm11
movsd  0xb48(%rip),%xmm0
mulsd  %xmm0,%xmm11
movsd  0xb42(%rip),%xmm8
addsd  %xmm8,%xmm11
mulsd  %xmm7,%xmm11
movsd  0xb37(%rip),%xmm9
addsd  %xmm9,%xmm11
mulsd  %xmm7,%xmm11
movsd  0x28(%rsp),%xmm2
movapd %xmm2,%xmm4
movsd  0xb2b(%rip),%xmm1
mulsd  %xmm1,%xmm4
movsd  0xb27(%rip),%xmm7
addsd  %xmm7,%xmm4
mulsd  %xmm2,%xmm4
movsd  0xb1e(%rip),%xmm10
addsd  %xmm10,%xmm4
mulsd  %xmm2,%xmm4
movsd  0x30(%rsp),%xmm3
movapd %xmm3,%xmm5
mulsd  %xmm14,%xmm5
movsd  0xb0e(%rip),%xmm6
addsd  %xmm6,%xmm5
mulsd  %xmm3,%xmm5
movsd  0xb06(%rip),%xmm2
addsd  %xmm2,%xmm5
mulsd  %xmm3,%xmm5
mulsd  %xmm15,%xmm14
addsd  %xmm6,%xmm14
mulsd  %xmm15,%xmm14
addsd  %xmm2,%xmm14
mulsd  %xmm15,%xmm14
movsd  0xae5(%rip),%xmm2
addsd  %xmm2,%xmm5
addsd  %xmm2,%xmm14
movsd  0x8(%rsp),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm7,%xmm1
mulsd  %xmm2,%xmm1
addsd  %xmm10,%xmm1
mulsd  %xmm2,%xmm1
movsd  (%rsp),%xmm6
mulsd  %xmm6,%xmm0
addsd  %xmm8,%xmm0
xorps  %xmm2,%xmm2
cvtsd2ss %xmm14,%xmm2
mulsd  %xmm6,%xmm0
addsd  %xmm9,%xmm0
xorps  %xmm3,%xmm3
cvtsd2ss %xmm1,%xmm3
mulsd  %xmm6,%xmm0
xorps  %xmm6,%xmm6
cvtsd2ss %xmm0,%xmm6
mulss  0x10(%rsp),%xmm6
xorps  %xmm0,%xmm0
addss  %xmm0,%xmm6
mulss  0x14(%rsp),%xmm3
addss  %xmm6,%xmm3
mulss  0x18(%rsp),%xmm2
addss  %xmm3,%xmm2
xorps  %xmm3,%xmm3
cvtsd2ss %xmm4,%xmm3
xorps  %xmm4,%xmm4
cvtsd2ss %xmm5,%xmm4
mulss  0x1c(%rsp),%xmm4
mulss  0x20(%rsp),%xmm3
addss  %xmm2,%xmm4
addss  %xmm4,%xmm3
xorps  %xmm1,%xmm1
cvtsd2ss %xmm11,%xmm1
mulss  0x24(%rsp),%xmm1
addss  %xmm3,%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  0xa37(%rip),%xmm1
cvtsd2ss %xmm1,%xmm1
maxss  %xmm1,%xmm0
movss  0xa37(%rip),%xmm1
cmpltss %xmm0,%xmm1
movss  0xa2e(%rip),%xmm2
andps  %xmm1,%xmm2
andnps %xmm0,%xmm1
orps   %xmm1,%xmm2
cvttss2si %xmm2,%eax
mov    %al,(%r14)
xor    %eax,%eax
add    $0x38,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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