#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, float o,
                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    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %esi,-0xc(%rbp)
mov    %edx,-0x10(%rbp)
movss  %xmm0,-0x14(%rbp)
movss  %xmm1,-0x18(%rbp)
movss  %xmm2,-0x1c(%rbp)
mov    %rcx,-0x28(%rbp)
movss  -0x14(%rbp),%xmm0
call   1030 <ceilf@plt>
sub    $0x3,%eax
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jge    1159 <interpSP6_b+0x49>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
add    $0x7,%eax
cmp    -0xc(%rbp),%eax
jle    1171 <interpSP6_b+0x61>
mov    -0xc(%rbp),%eax
sub    $0x6,%eax
mov    %eax,-0x34(%rbp)
movss  -0x18(%rbp),%xmm0
call   1030 <ceilf@plt>
sub    $0x3,%eax
mov    %eax,-0x38(%rbp)
cmpl   $0x0,-0x38(%rbp)
jge    1192 <interpSP6_b+0x82>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
add    $0x7,%eax
cmp    -0x10(%rbp),%eax
jle    11aa <interpSP6_b+0x9a>
mov    -0x10(%rbp),%eax
sub    $0x6,%eax
mov    %eax,-0x38(%rbp)
movss  -0x18(%rbp),%xmm0
cvtsi2ssl -0x38(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xe2c(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xe30(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe2c(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xdfc(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xdf4(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xdd4(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa0(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xdcc(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xda8(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xdac(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xda8(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xd78(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd70(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xd50(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x9c(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xd28(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xd2c(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd28(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xcfc(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xcc0(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x98(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0xc9c(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xca0(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc9c(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc70(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc34(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x94(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xc10(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xbec(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xbf0(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbec(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xbbc(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbb4(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xb94(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x90(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xb6c(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xb28(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xb2c(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb28(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xaf8(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xaf0(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xad0(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x8c(%rbp)
ff
movss  -0x14(%rbp),%xmm0
cvtsi2ssl -0x34(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xa92(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xa96(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa92(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xa62(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa5a(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0xa3a(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x80(%rbp)
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xa35(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xa11(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xa15(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa11(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x9e1(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x9d9(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x9b9(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x7c(%rbp)
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x994(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x998(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x994(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x968(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x92c(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x78(%rbp)
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm1
movsd  0x90b(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x90f(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x90b(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x8df(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x8a3(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x882(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x85e(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0x862(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x85e(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x82e(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x826(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x806(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x7e1(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0xa4(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x79d(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0x7a1(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0x79d(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x76d(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0x765(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0xa4(%rbp),%xmm1
ff
cvtss2sd %xmm1,%xmm1
movsd  0x745(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x6,-0x2c(%rbp)
jge    1964 <interpSP6_b+0x854>
movslq -0x2c(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x60(%rbp,%rax,4)
movl   $0x0,-0x30(%rbp)
cmpl   $0x6,-0x30(%rbp)
jge    1951 <interpSP6_b+0x841>
movslq -0x2c(%rbp),%rax
movss  -0x60(%rbp,%rax,4),%xmm1
movslq -0x30(%rbp),%rax
movss  -0xa0(%rbp,%rax,4),%xmm0
ff ff
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x38(%rbp),%ecx
imul   -0xc(%rbp),%ecx
add    -0x2c(%rbp),%ecx
add    -0x34(%rbp),%ecx
movslq %ecx,%rcx
movzbl (%rax,%rcx,1),%eax
cvtsi2ss %eax,%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movslq -0x2c(%rbp),%rax
movss  %xmm0,-0x60(%rbp,%rax,4)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    18f1 <interpSP6_b+0x7e1>
jmp    1956 <interpSP6_b+0x846>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    18d3 <interpSP6_b+0x7c3>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x3c(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x6,-0x2c(%rbp)
jge    19b1 <interpSP6_b+0x8a1>
movss  -0x3c(%rbp),%xmm1
movslq -0x2c(%rbp),%rax
movss  -0x80(%rbp,%rax,4),%xmm0
movslq -0x2c(%rbp),%rax
movss  -0x60(%rbp,%rax,4),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x3c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1973 <interpSP6_b+0x863>
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0x696(%rip),%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    19ed <interpSP6_b+0x8dd>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x3c(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x662(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1a15 <interpSP6_b+0x905>
movss  0x658(%rip),%xmm0
movss  %xmm0,-0x3c(%rbp)
cvttss2si -0x3c(%rbp),%eax
mov    %al,%cl
mov    -0x28(%rbp),%rax
mov    %cl,(%rax)
xor    %eax,%eax
add    $0xb0,%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, float %5, i8* %6) {
%8 = alloca i8*
%9 = alloca i32
%10 = alloca i32
%11 = alloca float
%12 = alloca float
%13 = alloca float
%14 = alloca i8*
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca float
%20 = alloca [6 x float]
%21 = alloca [6 x float]
%22 = alloca [6 x float]
%23 = alloca float
store i8* %0, i8** %8
store i32 %1, i32* %9
store i32 %2, i32* %10
store float %3, float* %11
store float %4, float* %12
store float %5, float* %13
store i8* %6, i8** %14
%24 = load float, float* %11
%25 = call i64 @ceilf(float %24)
%26 = trunc i64 %25 to i32
%27 = sub nsw i32 %26, 3
store i32 %27, i32* %17
%28 = load i32, i32* %17
%29 = icmp slt i32 %28, 0
br i1 %29, label %30, label %31
30: ; preds = %7
store i32 0, i32* %17
br label %31
31: ; preds = %30, %7
%32 = load i32, i32* %17
%33 = add nsw i32 %32, 7
%34 = load i32, i32* %9
%35 = icmp sgt i32 %33, %34
br i1 %35, label %36, label %39
36: ; preds = %31
%37 = load i32, i32* %9
%38 = sub nsw i32 %37, 6
store i32 %38, i32* %17
br label %39
39: ; preds = %36, %31
%40 = load float, float* %12
%41 = call i64 @ceilf(float %40)
%42 = trunc i64 %41 to i32
%43 = sub nsw i32 %42, 3
store i32 %43, i32* %18
%44 = load i32, i32* %18
%45 = icmp slt i32 %44, 0
br i1 %45, label %46, label %47
46: ; preds = %39
store i32 0, i32* %18
br label %47
47: ; preds = %46, %39
%48 = load i32, i32* %18
%49 = add nsw i32 %48, 7
%50 = load i32, i32* %10
%51 = icmp sgt i32 %49, %50
br i1 %51, label %52, label %55
52: ; preds = %47
%53 = load i32, i32* %10
%54 = sub nsw i32 %53, 6
store i32 %54, i32* %18
br label %55
55: ; preds = %52, %47
%56 = load float, float* %12
%57 = load i32, i32* %18
%58 = sitofp i32 %57 to float
%59 = fsub float %56, %58
store float %59, float* %23
%60 = load float, float* %23
%61 = fpext float %60 to double
%62 = fsub double %61, 2.000000e+00
%63 = call double @llvm.fmuladd.f64(double 9.090900e-02, double %62, double -2.153110e-01)
%64 = load float, float* %23
%65 = fpext float %64 to double
%66 = fsub double %65, 2.000000e+00
%67 = call double @llvm.fmuladd.f64(double %63, double %66, double 1.244020e-01)
%68 = load float, float* %23
%69 = fpext float %68 to double
%70 = fsub double %69, 2.000000e+00
%71 = fmul double %67, %70
%72 = fptrunc double %71 to float
%73 = getelementptr inbounds [6 x float], [6 x float]* %22, i64 0, i64 0
store float %72, float* %73
%74 = load float, float* %23
%75 = fpext float %74 to double
%76 = fsub double %75, 1.000000e+00
%77 = fptrunc double %76 to float
store float %77, float* %23
%78 = load float, float* %23
%79 = fpext float %78 to double
%80 = fsub double %79, 1.000000e+00
%81 = call double @llvm.fmuladd.f64(double -5.454550e-01, double %80, double 0x3FF4AB7BAECD0785)
%82 = load float, float* %23
%83 = fpext float %82 to double
%84 = fsub double %83, 1.000000e+00
%85 = call double @llvm.fmuladd.f64(double %81, double %84, double -7.464110e-01)
%86 = load float, float* %23
%87 = fpext float %86 to double
%88 = fsub double %87, 1.000000e+00
%89 = fmul double %85, %88
%90 = fptrunc double %89 to float
%91 = getelementptr inbounds [6 x float], [6 x float]* %22, i64 0, i64 1
store float %90, float* %91
%92 = load float, float* %23
%93 = fpext float %92 to double
%94 = fsub double %93, 1.000000e+00
%95 = fptrunc double %94 to float
store float %95, float* %23
%96 = load float, float* %23
%97 = fpext float %96 to double
%98 = call double @llvm.fmuladd.f64(double 0x3FF2E8B9FDBD2FA1, double %97, double 0xC00156F75D9A0F0A)
%99 = load float, float* %23
%100 = fpext float %99 to double
%101 = call double @llvm.fmuladd.f64(double %98, double %100, double 1.435400e-02)
%102 = load float, float* %23
%103 = fpext float %102 to double
%104 = call double @llvm.fmuladd.f64(double %101, double %103, double 1.000000e+00)
%105 = fptrunc double %104 to float
%106 = getelementptr inbounds [6 x float], [6 x float]* %22, i64 0, i64 2
store float %105, float* %106
%107 = load float, float* %23
%108 = fpext float %107 to double
%109 = fsub double 1.000000e+00, %108
%110 = fptrunc double %109 to float
store float %110, float* %23
%111 = load float, float* %23
%112 = fpext float %111 to double
%113 = call double @llvm.fmuladd.f64(double 0x3FF2E8B9FDBD2FA1, double %112, double 0xC00156F75D9A0F0A)
%114 = load float, float* %23
%115 = fpext float %114 to double
%116 = call double @llvm.fmuladd.f64(double %113, double %115, double 1.435400e-02)
%117 = load float, float* %23
%118 = fpext float %117 to double
%119 = call double @llvm.fmuladd.f64(double %116, double %118, double 1.000000e+00)
%120 = fptrunc double %119 to float
%121 = getelementptr inbounds [6 x float], [6 x float]* %22, i64 0, i64 3
store float %120, float* %121
%122 = load float, float* %23
%123 = fpext float %122 to double
%124 = fadd double %123, 1.000000e+00
%125 = fptrunc double %124 to float
store float %125, float* %23
%126 = load float, float* %23
%127 = fpext float %126 to double
%128 = fsub double %127, 1.000000e+00
%129 = call double @llvm.fmuladd.f64(double -5.454550e-01, double %128, double 0x3FF4AB7BAECD0785)
%130 = load float, float* %23
%131 = fpext float %130 to double
%132 = fsub double %131, 1.000000e+00
%133 = call double @llvm.fmuladd.f64(double %129, double %132, double -7.464110e-01)
%134 = load float, float* %23
%135 = fpext float %134 to double
%136 = fsub double %135, 1.000000e+00
%137 = fmul double %133, %136
%138 = fptrunc double %137 to float
%139 = getelementptr inbounds [6 x float], [6 x float]* %22, i64 0, i64 4
store float %138, float* %139
%140 = load float, float* %23
%141 = fpext float %140 to double
%142 = fadd double %141, 1.000000e+00
%143 = fptrunc double %142 to float
store float %143, float* %23
%144 = load float, float* %23
%145 = fpext float %144 to double
%146 = fsub double %145, 2.000000e+00
%147 = call double @llvm.fmuladd.f64(double 9.090900e-02, double %146, double -2.153110e-01)
%148 = load float, float* %23
%149 = fpext float %148 to double
%150 = fsub double %149, 2.000000e+00
%151 = call double @llvm.fmuladd.f64(double %147, double %150, double 1.244020e-01)
%152 = load float, float* %23
%153 = fpext float %152 to double
%154 = fsub double %153, 2.000000e+00
%155 = fmul double %151, %154
%156 = fptrunc double %155 to float
%157 = getelementptr inbounds [6 x float], [6 x float]* %22, i64 0, i64 5
store float %156, float* %157
%158 = load float, float* %11
%159 = load i32, i32* %17
%160 = sitofp i32 %159 to float
%161 = fsub float %158, %160
store float %161, float* %23
%162 = load float, float* %23
%163 = fpext float %162 to double
%164 = fsub double %163, 2.000000e+00
%165 = call double @llvm.fmuladd.f64(double 9.090900e-02, double %164, double -2.153110e-01)
%166 = load float, float* %23
%167 = fpext float %166 to double
%168 = fsub double %167, 2.000000e+00
%169 = call double @llvm.fmuladd.f64(double %165, double %168, double 1.244020e-01)
%170 = load float, float* %23
%171 = fpext float %170 to double
%172 = fsub double %171, 2.000000e+00
%173 = fmul double %169, %172
%174 = fptrunc double %173 to float
%175 = getelementptr inbounds [6 x float], [6 x float]* %21, i64 0, i64 0
store float %174, float* %175
%176 = load float, float* %23
%177 = fpext float %176 to double
%178 = fsub double %177, 1.000000e+00
%179 = fptrunc double %178 to float
store float %179, float* %23
%180 = load float, float* %23
%181 = fpext float %180 to double
%182 = fsub double %181, 1.000000e+00
%183 = call double @llvm.fmuladd.f64(double -5.454550e-01, double %182, double 0x3FF4AB7BAECD0785)
%184 = load float, float* %23
%185 = fpext float %184 to double
%186 = fsub double %185, 1.000000e+00
%187 = call double @llvm.fmuladd.f64(double %183, double %186, double -7.464110e-01)
%188 = load float, float* %23
%189 = fpext float %188 to double
%190 = fsub double %189, 1.000000e+00
%191 = fmul double %187, %190
%192 = fptrunc double %191 to float
%193 = getelementptr inbounds [6 x float], [6 x float]* %21, i64 0, i64 1
store float %192, float* %193
%194 = load float, float* %23
%195 = fpext float %194 to double
%196 = fsub double %195, 1.000000e+00
%197 = fptrunc double %196 to float
store float %197, float* %23
%198 = load float, float* %23
%199 = fpext float %198 to double
%200 = call double @llvm.fmuladd.f64(double 0x3FF2E8B9FDBD2FA1, double %199, double 0xC00156F75D9A0F0A)
%201 = load float, float* %23
%202 = fpext float %201 to double
%203 = call double @llvm.fmuladd.f64(double %200, double %202, double 1.435400e-02)
%204 = load float, float* %23
%205 = fpext float %204 to double
%206 = call double @llvm.fmuladd.f64(double %203, double %205, double 1.000000e+00)
%207 = fptrunc double %206 to float
%208 = getelementptr inbounds [6 x float], [6 x float]* %21, i64 0, i64 2
store float %207, float* %208
%209 = load float, float* %23
%210 = fpext float %209 to double
%211 = fsub double 1.000000e+00, %210
%212 = fptrunc double %211 to float
store float %212, float* %23
%213 = load float, float* %23
%214 = fpext float %213 to double
%215 = call double @llvm.fmuladd.f64(double 0x3FF2E8B9FDBD2FA1, double %214, double 0xC00156F75D9A0F0A)
%216 = load float, float* %23
%217 = fpext float %216 to double
%218 = call double @llvm.fmuladd.f64(double %215, double %217, double 1.435400e-02)
%219 = load float, float* %23
%220 = fpext float %219 to double
%221 = call double @llvm.fmuladd.f64(double %218, double %220, double 1.000000e+00)
%222 = fptrunc double %221 to float
%223 = getelementptr inbounds [6 x float], [6 x float]* %21, i64 0, i64 3
store float %222, float* %223
%224 = load float, float* %23
%225 = fpext float %224 to double
%226 = fadd double %225, 1.000000e+00
%227 = fptrunc double %226 to float
store float %227, float* %23
%228 = load float, float* %23
%229 = fpext float %228 to double
%230 = fsub double %229, 1.000000e+00
%231 = call double @llvm.fmuladd.f64(double -5.454550e-01, double %230, double 0x3FF4AB7BAECD0785)
%232 = load float, float* %23
%233 = fpext float %232 to double
%234 = fsub double %233, 1.000000e+00
%235 = call double @llvm.fmuladd.f64(double %231, double %234, double -7.464110e-01)
%236 = load float, float* %23
%237 = fpext float %236 to double
%238 = fsub double %237, 1.000000e+00
%239 = fmul double %235, %238
%240 = fptrunc double %239 to float
%241 = getelementptr inbounds [6 x float], [6 x float]* %21, i64 0, i64 4
store float %240, float* %241
%242 = load float, float* %23
%243 = fpext float %242 to double
%244 = fadd double %243, 1.000000e+00
%245 = fptrunc double %244 to float
store float %245, float* %23
%246 = load float, float* %23
%247 = fpext float %246 to double
%248 = fsub double %247, 2.000000e+00
%249 = call double @llvm.fmuladd.f64(double 9.090900e-02, double %248, double -2.153110e-01)
%250 = load float, float* %23
%251 = fpext float %250 to double
%252 = fsub double %251, 2.000000e+00
%253 = call double @llvm.fmuladd.f64(double %249, double %252, double 1.244020e-01)
%254 = load float, float* %23
%255 = fpext float %254 to double
%256 = fsub double %255, 2.000000e+00
%257 = fmul double %253, %256
%258 = fptrunc double %257 to float
%259 = getelementptr inbounds [6 x float], [6 x float]* %21, i64 0, i64 5
store float %258, float* %259
store i32 0, i32* %15
br label %260
260: ; preds = %302, %55
%261 = load i32, i32* %15
%262 = icmp slt i32 %261, 6
br i1 %262, label %263, label %305
263: ; preds = %260
%264 = load i32, i32* %15
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [6 x float], [6 x float]* %20, i64 0, i64 %265
store float 0.000000e+00, float* %266
store i32 0, i32* %16
br label %267
267: ; preds = %298, %263
%268 = load i32, i32* %16
%269 = icmp slt i32 %268, 6
br i1 %269, label %270, label %301
270: ; preds = %267
%271 = load i32, i32* %15
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds [6 x float], [6 x float]* %20, i64 0, i64 %272
%274 = load float, float* %273
%275 = load i32, i32* %16
%276 = sext i32 %275 to i64
%277 = getelementptr inbounds [6 x float], [6 x float]* %22, i64 0, i64 %276
%278 = load float, float* %277
%279 = load i8*, i8** %8
%280 = load i32, i32* %16
%281 = load i32, i32* %18
%282 = add nsw i32 %280, %281
%283 = load i32, i32* %9
%284 = mul nsw i32 %282, %283
%285 = load i32, i32* %15
%286 = add nsw i32 %284, %285
%287 = load i32, i32* %17
%288 = add nsw i32 %286, %287
%289 = sext i32 %288 to i64
%290 = getelementptr inbounds i8, i8* %279, i64 %289
%291 = load i8, i8* %290
%292 = zext i8 %291 to i32
%293 = sitofp i32 %292 to float
%294 = call float @llvm.fmuladd.f32(float %278, float %293, float %274)
%295 = load i32, i32* %15
%296 = sext i32 %295 to i64
%297 = getelementptr inbounds [6 x float], [6 x float]* %20, i64 0, i64 %296
store float %294, float* %297
br label %298
298: ; preds = %270
%299 = load i32, i32* %16
%300 = add nsw i32 %299, 1
store i32 %300, i32* %16
br label %267
301: ; preds = %267
br label %302
302: ; preds = %301
%303 = load i32, i32* %15
%304 = add nsw i32 %303, 1
store i32 %304, i32* %15
br label %260
305: ; preds = %260
store float 0.000000e+00, float* %19
store i32 0, i32* %15
br label %306
306: ; preds = %320, %305
%307 = load i32, i32* %15
%308 = icmp slt i32 %307, 6
br i1 %308, label %309, label %323
309: ; preds = %306
%310 = load float, float* %19
%311 = load i32, i32* %15
%312 = sext i32 %311 to i64
%313 = getelementptr inbounds [6 x float], [6 x float]* %21, i64 0, i64 %312
%314 = load float, float* %313
%315 = load i32, i32* %15
%316 = sext i32 %315 to i64
%317 = getelementptr inbounds [6 x float], [6 x float]* %20, i64 0, i64 %316
%318 = load float, float* %317
%319 = call float @llvm.fmuladd.f32(float %314, float %318, float %310)
store float %319, float* %19
br label %320
320: ; preds = %309
%321 = load i32, i32* %15
%322 = add nsw i32 %321, 1
store i32 %322, i32* %15
br label %306
323: ; preds = %306
%324 = load float, float* %19
%325 = fpext float %324 to double
%326 = fmul double 9.470000e-01, %325
%327 = fptrunc double %326 to float
store float %327, float* %19
%328 = load float, float* %19
%329 = fpext float %328 to double
%330 = fcmp olt double %329, 0.000000e+00
br i1 %330, label %331, label %332
331: ; preds = %323
store float 0.000000e+00, float* %19
br label %332
332: ; preds = %331, %323
%333 = load float, float* %19
%334 = fpext float %333 to double
%335 = fcmp ogt double %334, 2.560000e+02
br i1 %335, label %336, label %337
336: ; preds = %332
store float 2.550000e+02, float* %19
br label %337
337: ; preds = %336, %332
%338 = load float, float* %19
%339 = fptoui float %338 to i8
%340 = load i8*, i8** %14
store i8 %339, i8* %340
ret i32 0
}

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