#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 interpSP4_b32(unsigned char *sl, int w, int h, float x, float y, float o,
                  unsigned char *v) {
  int i, j, m, n, b;
  float pp, p[4], wx[4], wy[4], xx;
  m = (int)ceilf(x) - 2;
  if (m < 0)
    m = 0;
  if ((m + 5) > w)
    m = w - 4;
  n = (int)ceilf(y) - 2;
  if (n < 0)
    n = 0;
  if ((n + 5) > h)
    n = h - 4;
  xx = y - n;
  wy[0] = ((-0.333333 * (xx - 1.0) + 0.8) * (xx - 1.0) - 0.466667) * (xx - 1.0);
  xx = xx - 1.0;
  wy[1] = ((xx - 1.8) * xx - 0.2) * xx + 1.0;
  xx = 1.0 - xx;
  wy[2] = ((xx - 1.8) * xx - 0.2) * xx + 1.0;
  xx = xx + 1.0;
  wy[3] = ((-0.333333 * (xx - 1.0) + 0.8) * (xx - 1.0) - 0.466667) * (xx - 1.0);
  xx = x - m;
  wx[0] = ((-0.333333 * (xx - 1.0) + 0.8) * (xx - 1.0) - 0.466667) * (xx - 1.0);
  xx = xx - 1.0;
  wx[1] = ((xx - 1.8) * xx - 0.2) * xx + 1.0;
  xx = 1.0 - xx;
  wx[2] = ((xx - 1.8) * xx - 0.2) * xx + 1.0;
  xx = xx + 1.0;
  wx[3] = ((-0.333333 * (xx - 1.0) + 0.8) * (xx - 1.0) - 0.466667) * (xx - 1.0);
  for (b = 0; b < 4; b++) {
    for (i = 0; i < 4; i++) {
      p[i] = 0.0;
      for (j = 0; j < 4; j++) {
        p[i] = p[i] + wy[j] * sl[4 * ((j + n) * w + i + m) + b];
      }
    }
    pp = 0.0;
    for (i = 0; i < 4; i++)
      pp = pp + wx[i] * p[i];
    if (pp < 0.0)
      pp = 0.0;
    if (pp > 256.0)
      pp = 255.0;
    v[b] = pp;
  }
  return 0;
}


x86 assembly (clang, -O0):
<interpSP4_b32>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%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    $0x2,%eax
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jge    1159 <interpSP4_b32+0x49>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
add    $0x5,%eax
cmp    -0xc(%rbp),%eax
jle    1171 <interpSP4_b32+0x61>
mov    -0xc(%rbp),%eax
sub    $0x4,%eax
mov    %eax,-0x34(%rbp)
movss  -0x18(%rbp),%xmm0
call   1030 <ceilf@plt>
sub    $0x2,%eax
mov    %eax,-0x38(%rbp)
cmpl   $0x0,-0x38(%rbp)
jge    1192 <interpSP4_b32+0x82>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
add    $0x5,%eax
cmp    -0x10(%rbp),%eax
jle    11aa <interpSP4_b32+0x9a>
mov    -0x10(%rbp),%eax
sub    $0x4,%eax
mov    %eax,-0x38(%rbp)
movss  -0x18(%rbp),%xmm0
cvtsi2ssl -0x38(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe32(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xe36(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe32(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xe05(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xdfd(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xde0(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdbe(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdc8(%rip),%xmm1
subsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xda7(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd6e(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd50(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd5a(%rip),%xmm1
subsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd39(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd00(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xce2(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcc4(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xcc8(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xcc4(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xc97(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc8f(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xc72(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x14(%rbp),%xmm0
cvtsi2ssl -0x34(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc3d(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xc41(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc3d(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xc10(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc08(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xbeb(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xbc9(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xbd3(%rip),%xmm1
subsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbb2(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb79(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xb5b(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xb65(%rip),%xmm1
subsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb44(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb0b(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xaed(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xacf(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xad3(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xacf(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xaa2(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa9a(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xa7d(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
movl   $0x0,-0x3c(%rbp)
cmpl   $0x4,-0x3c(%rbp)
jge    16f3 <interpSP4_b32+0x5e3>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x4,-0x2c(%rbp)
jge    1640 <interpSP4_b32+0x530>
movslq -0x2c(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp,%rax,4)
movl   $0x0,-0x30(%rbp)
cmpl   $0x4,-0x30(%rbp)
jge    162d <interpSP4_b32+0x51d>
movslq -0x2c(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm1
movslq -0x30(%rbp),%rax
movss  -0x70(%rbp,%rax,4),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x38(%rbp),%ecx
imul   -0xc(%rbp),%ecx
add    -0x2c(%rbp),%ecx
add    -0x34(%rbp),%ecx
shl    $0x2,%ecx
add    -0x3c(%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,-0x50(%rbp,%rax,4)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    15ca <interpSP4_b32+0x4ba>
jmp    1632 <interpSP4_b32+0x522>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    15ac <interpSP4_b32+0x49c>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x40(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x4,-0x2c(%rbp)
jge    168d <interpSP4_b32+0x57d>
movss  -0x40(%rbp),%xmm1
movslq -0x2c(%rbp),%rax
movss  -0x60(%rbp,%rax,4),%xmm0
movslq -0x2c(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x40(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    164f <interpSP4_b32+0x53f>
movss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    16ab <interpSP4_b32+0x59b>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x40(%rbp)
movss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x974(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    16d3 <interpSP4_b32+0x5c3>
movss  0x96a(%rip),%xmm0
movss  %xmm0,-0x40(%rbp)
cvttss2si -0x40(%rbp),%eax
mov    %al,%dl
mov    -0x28(%rbp),%rax
movslq -0x3c(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    159b <interpSP4_b32+0x48b>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interpSP4_b32>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %rcx,0x50(%rsp)
movss  %xmm1,0x8(%rsp)
movss  %xmm0,0x10(%rsp)
mov    %edx,%r12d
mov    %esi,%r15d
mov    %rdi,0x40(%rsp)
call   1030 <ceilf@plt>
cmp    $0x3,%eax
mov    $0x2,%ebp
cmovl  %ebp,%eax
lea    -0x2(%rax),%ecx
add    $0x3,%eax
lea    -0x4(%r15),%ebx
cmp    %r15d,%eax
cmovle %ecx,%ebx
movss  0x8(%rsp),%xmm0
call   1030 <ceilf@plt>
cmp    $0x3,%eax
cmovge %eax,%ebp
lea    -0x2(%rbp),%ecx
add    $0x3,%ebp
lea    -0x4(%r12),%eax
cmp    %r12d,%ebp
cmovle %ecx,%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  0x8(%rsp),%xmm1
subss  %xmm0,%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xe66(%rip),%xmm8
addsd  %xmm8,%xmm1
movsd  0xe61(%rip),%xmm7
movapd %xmm1,%xmm0
mulsd  %xmm7,%xmm0
movsd  0xe58(%rip),%xmm9
addsd  %xmm9,%xmm0
mulsd  %xmm1,%xmm0
movsd  0xe4e(%rip),%xmm10
addsd  %xmm10,%xmm0
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm12
cvtsd2ss %xmm1,%xmm2
xorps  %xmm1,%xmm1
cvtss2sd %xmm2,%xmm1
movsd  0xe35(%rip),%xmm6
movaps %xmm1,%xmm3
addsd  %xmm6,%xmm3
mulsd  %xmm1,%xmm3
movsd  0xe29(%rip),%xmm11
addsd  %xmm11,%xmm3
mulsd  %xmm1,%xmm3
movsd  0xe20(%rip),%xmm0
addsd  %xmm0,%xmm3
cvtsd2ss %xmm3,%xmm13
movss  0xe17(%rip),%xmm1
movaps %xmm1,%xmm3
subss  %xmm2,%xmm3
xorps  %xmm2,%xmm2
cvtss2sd %xmm3,%xmm2
movaps %xmm2,%xmm4
addsd  %xmm6,%xmm4
mulsd  %xmm2,%xmm4
addsd  %xmm11,%xmm4
mulsd  %xmm2,%xmm4
addsd  %xmm0,%xmm4
xorps  %xmm2,%xmm2
cvtsd2ss %xmm4,%xmm2
addss  %xmm1,%xmm3
cvtss2sd %xmm3,%xmm3
addsd  %xmm8,%xmm3
movapd %xmm3,%xmm4
mulsd  %xmm7,%xmm4
addsd  %xmm9,%xmm4
mulsd  %xmm3,%xmm4
addsd  %xmm10,%xmm4
mulsd  %xmm3,%xmm4
cvtsi2ss %ebx,%xmm5
xorps  %xmm3,%xmm3
cvtsd2ss %xmm4,%xmm3
movss  0x10(%rsp),%xmm4
subss  %xmm5,%xmm4
cvtss2sd %xmm4,%xmm4
addsd  %xmm8,%xmm4
movapd %xmm4,%xmm5
mulsd  %xmm7,%xmm5
addsd  %xmm9,%xmm5
mulsd  %xmm4,%xmm5
addsd  %xmm10,%xmm5
mulsd  %xmm4,%xmm5
cvtsd2ss %xmm5,%xmm14
cvtsd2ss %xmm4,%xmm4
cvtss2sd %xmm4,%xmm15
movaps %xmm15,%xmm5
addsd  %xmm6,%xmm5
mulsd  %xmm15,%xmm5
addsd  %xmm11,%xmm5
mulsd  %xmm15,%xmm5
addsd  %xmm0,%xmm5
xorps  %xmm15,%xmm15
cvtsd2ss %xmm5,%xmm15
mov    %eax,%edx
imul   %r15d,%edx
lea    (%rbx,%rdx,1),%r8d
lea    0x1(%rax),%edi
imul   %r15d,%edi
lea    (%rbx,%rdi,1),%r9d
lea    0x2(%rax),%ebp
imul   %r15d,%ebp
lea    (%rbx,%rbp,1),%r14d
add    $0x3,%eax
imul   %r15d,%eax
lea    (%rbx,%rdx,1),%ecx
add    $0x1,%ecx
mov    %ecx,0x8(%rsp)
lea    0x1(%rbx,%rdi,1),%ecx
mov    %ecx,0x10(%rsp)
lea    0x1(%rbx,%rbp,1),%ecx
mov    %ecx,0x20(%rsp)
lea    0x2(%rbx,%rdx,1),%ecx
mov    %ecx,0x18(%rsp)
lea    0x2(%rbx,%rdi,1),%r12d
lea    0x2(%rbx,%rbp,1),%r15d
lea    0x3(%rbx,%rdx,1),%r11d
lea    0x3(%rbx,%rdi,1),%r10d
lea    0x3(%rbx,%rbp,1),%ebp
lea    (%rbx,%rax,1),%esi
lea    0x1(%rbx,%rax,1),%ecx
lea    0x2(%rbx,%rax,1),%edx
lea    0x3(%rbx,%rax,1),%edi
movslq %r8d,%rax
mov    %rax,0x38(%rsp)
movslq %r9d,%rax
mov    %rax,0x30(%rsp)
movslq %r14d,%rax
mov    %rax,0x28(%rsp)
movslq %esi,%r13
movslq 0x8(%rsp),%r14
movslq 0x10(%rsp),%rbx
movslq 0x20(%rsp),%r8
movslq %ecx,%rsi
movslq 0x18(%rsp),%rcx
movslq %r12d,%rax
movslq %r15d,%r12
movslq %edx,%r15
movslq %r11d,%r11
movslq %r10d,%r10
movslq %ebp,%rbp
movslq %edi,%rdi
mov    0x40(%rsp),%rdx
lea    (%rdx,%rdi,4),%r9
lea    (%rdx,%rbp,4),%rdi
mov    %rdi,0x8(%rsp)
lea    (%rdx,%r10,4),%rdi
mov    %rdi,0x10(%rsp)
lea    (%rdx,%r11,4),%rdi
mov    %rdi,0x20(%rsp)
lea    (%rdx,%r15,4),%rdi
mov    %rdi,0x18(%rsp)
lea    (%rdx,%r12,4),%rdi
mov    %rdi,0x48(%rsp)
lea    (%rdx,%rax,4),%r11
lea    (%rdx,%rcx,4),%r15
lea    (%rdx,%rsi,4),%r12
lea    (%rdx,%r8,4),%rsi
lea    (%rdx,%rbx,4),%rdi
lea    (%rdx,%r14,4),%rbx
lea    (%rdx,%r13,4),%rbp
mov    0x28(%rsp),%rax
lea    (%rdx,%rax,4),%r14
mov    0x30(%rsp),%rax
lea    (%rdx,%rax,4),%r13
mov    0x38(%rsp),%rax
lea    (%rdx,%rax,4),%r8
mov    %r9,%rdx
movaps %xmm1,%xmm5
subss  %xmm4,%xmm5
cvtss2sd %xmm5,%xmm4
addsd  %xmm4,%xmm6
mulsd  %xmm4,%xmm6
addsd  %xmm11,%xmm6
mulsd  %xmm4,%xmm6
addsd  %xmm0,%xmm6
cvtsd2ss %xmm6,%xmm11
addss  %xmm1,%xmm5
xorps  %xmm4,%xmm4
cvtss2sd %xmm5,%xmm4
addsd  %xmm8,%xmm4
mulsd  %xmm4,%xmm7
addsd  %xmm9,%xmm7
mulsd  %xmm4,%xmm7
addsd  %xmm10,%xmm7
mulsd  %xmm4,%xmm7
cvtsd2ss %xmm7,%xmm10
xorpd  %xmm4,%xmm4
movss  0xbd9(%rip),%xmm8
movss  0xbd4(%rip),%xmm9
xor    %r9d,%r9d
mov    0x50(%rsp),%rcx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movzbl (%r8,%r9,1),%r10d
xorps  %xmm5,%xmm5
cvtsi2ss %r10d,%xmm5
movzbl 0x0(%r13,%r9,1),%eax
xorps  %xmm6,%xmm6
cvtsi2ss %eax,%xmm6
mulss  %xmm12,%xmm5
addss  %xmm4,%xmm5
mulss  %xmm13,%xmm6
addss  %xmm5,%xmm6
movzbl (%r14,%r9,1),%eax
xorps  %xmm7,%xmm7
cvtsi2ss %eax,%xmm7
movzbl 0x0(%rbp,%r9,1),%eax
xorps  %xmm5,%xmm5
cvtsi2ss %eax,%xmm5
mulss  %xmm2,%xmm7
addss  %xmm6,%xmm7
mulss  %xmm3,%xmm5
addss  %xmm7,%xmm5
movzbl (%rbx,%r9,1),%eax
xorps  %xmm6,%xmm6
cvtsi2ss %eax,%xmm6
movzbl (%rdi,%r9,1),%eax
xorps  %xmm7,%xmm7
cvtsi2ss %eax,%xmm7
mulss  %xmm12,%xmm6
addss  %xmm4,%xmm6
mulss  %xmm13,%xmm7
addss  %xmm6,%xmm7
movzbl (%rsi,%r9,1),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movzbl (%r12,%r9,1),%eax
xorps  %xmm6,%xmm6
cvtsi2ss %eax,%xmm6
mulss  %xmm2,%xmm0
addss  %xmm7,%xmm0
mulss  %xmm3,%xmm6
addss  %xmm0,%xmm6
movzbl (%r15,%r9,1),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movzbl (%r11,%r9,1),%eax
xorps  %xmm1,%xmm1
cvtsi2ss %eax,%xmm1
mulss  %xmm12,%xmm0
addss  %xmm4,%xmm0
mulss  %xmm13,%xmm1
addss  %xmm0,%xmm1
mov    0x48(%rsp),%rax
movzbl (%rax,%r9,1),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mov    0x18(%rsp),%rax
movzbl (%rax,%r9,1),%eax
xorps  %xmm7,%xmm7
cvtsi2ss %eax,%xmm7
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mulss  %xmm3,%xmm7
addss  %xmm0,%xmm7
mov    0x20(%rsp),%rax
movzbl (%rax,%r9,1),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mov    0x10(%rsp),%rax
movzbl (%rax,%r9,1),%eax
xorps  %xmm1,%xmm1
cvtsi2ss %eax,%xmm1
mulss  %xmm12,%xmm0
addss  %xmm4,%xmm0
mulss  %xmm13,%xmm1
addss  %xmm0,%xmm1
mov    0x8(%rsp),%rax
movzbl (%rax,%r9,1),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
mulss  %xmm14,%xmm5
mulss  %xmm15,%xmm6
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movzbl (%rdx,%r9,1),%eax
xorps  %xmm1,%xmm1
cvtsi2ss %eax,%xmm1
mulss  %xmm11,%xmm7
mulss  %xmm3,%xmm1
addss  %xmm0,%xmm1
mulss  %xmm10,%xmm1
addss  %xmm4,%xmm5
addss  %xmm6,%xmm5
addss  %xmm7,%xmm5
addss  %xmm1,%xmm5
xorps  %xmm0,%xmm0
maxss  %xmm5,%xmm0
movaps %xmm8,%xmm1
cmpltss %xmm0,%xmm1
movaps %xmm1,%xmm5
andnps %xmm0,%xmm5
andps  %xmm9,%xmm1
orps   %xmm5,%xmm1
cvttss2si %xmm1,%eax
mov    %al,(%rcx,%r9,1)
add    $0x1,%r9
cmp    $0x4,%r9
jne    1480 <interpSP4_b32+0x370>
xor    %eax,%eax
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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