#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,
                  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)
mov    %rcx,-0x20(%rbp)
movss  -0x14(%rbp),%xmm0
call   1030 <ceilf@plt>
sub    $0x2,%eax
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jge    1154 <interpSP4_b32+0x44>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x5,%eax
cmp    -0xc(%rbp),%eax
jle    116c <interpSP4_b32+0x5c>
mov    -0xc(%rbp),%eax
sub    $0x4,%eax
mov    %eax,-0x2c(%rbp)
movss  -0x18(%rbp),%xmm0
call   1030 <ceilf@plt>
sub    $0x2,%eax
mov    %eax,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
jge    118d <interpSP4_b32+0x7d>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
add    $0x5,%eax
cmp    -0x10(%rbp),%eax
jle    11a5 <interpSP4_b32+0x95>
mov    -0x10(%rbp),%eax
sub    $0x4,%eax
mov    %eax,-0x30(%rbp)
movss  -0x18(%rbp),%xmm0
cvtsi2ssl -0x30(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xe37(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xe3b(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe37(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xe0a(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xe02(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xde5(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x70(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdc3(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xdcd(%rip),%xmm1
subsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xdac(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd73(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x6c(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xd55(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xd5f(%rip),%xmm1
subsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd3e(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xd05(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x68(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xce7(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xcc9(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xccd(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xcc9(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xc9c(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc94(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xc77(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
movss  -0x14(%rbp),%xmm0
cvtsi2ssl -0x2c(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xc42(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xc46(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc42(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xc15(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xc0d(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xbf0(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xbce(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xbd8(%rip),%xmm1
subsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xbb7(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb7e(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
movsd  0xb60(%rip),%xmm0
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xb6a(%rip),%xmm1
subsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb49(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xb10(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xaf2(%rip),%xmm1
addsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
movss  -0x74(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0xad4(%rip),%xmm1
subsd  %xmm1,%xmm0
movsd  0xad8(%rip),%xmm1
mulsd  %xmm1,%xmm0
movsd  0xad4(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xaa7(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  0xa9f(%rip),%xmm1
addsd  %xmm1,%xmm0
movss  -0x74(%rbp),%xmm1
cvtss2sd %xmm1,%xmm1
movsd  0xa82(%rip),%xmm2
subsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
movl   $0x0,-0x34(%rbp)
cmpl   $0x4,-0x34(%rbp)
jge    16ee <interpSP4_b32+0x5de>
movl   $0x0,-0x24(%rbp)
cmpl   $0x4,-0x24(%rbp)
jge    163b <interpSP4_b32+0x52b>
movslq -0x24(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x50(%rbp,%rax,4)
movl   $0x0,-0x28(%rbp)
cmpl   $0x4,-0x28(%rbp)
jge    1628 <interpSP4_b32+0x518>
movslq -0x24(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm1
movslq -0x28(%rbp),%rax
movss  -0x70(%rbp,%rax,4),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    -0x30(%rbp),%ecx
imul   -0xc(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    -0x2c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x34(%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    15c5 <interpSP4_b32+0x4b5>
jmp    162d <interpSP4_b32+0x51d>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    15a7 <interpSP4_b32+0x497>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x38(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x4,-0x24(%rbp)
jge    1688 <interpSP4_b32+0x578>
movss  -0x38(%rbp),%xmm1
movslq -0x24(%rbp),%rax
movss  -0x60(%rbp,%rax,4),%xmm0
movslq -0x24(%rbp),%rax
movss  -0x50(%rbp,%rax,4),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x38(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    164a <interpSP4_b32+0x53a>
movss  -0x38(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    16a6 <interpSP4_b32+0x596>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x38(%rbp)
movss  -0x38(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x979(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    16ce <interpSP4_b32+0x5be>
movss  0x96f(%rip),%xmm0
movss  %xmm0,-0x38(%rbp)
cvttss2si -0x38(%rbp),%eax
mov    %al,%dl
mov    -0x20(%rbp),%rax
movslq -0x34(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    1596 <interpSP4_b32+0x486>
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, 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 i32
%18 = alloca float
%19 = alloca [4 x float]
%20 = alloca [4 x float]
%21 = alloca [4 x float]
%22 = 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
%23 = load float, float* %10
%24 = call i64 @ceilf(float %23)
%25 = trunc i64 %24 to i32
%26 = sub nsw i32 %25, 2
store i32 %26, i32* %15
%27 = load i32, i32* %15
%28 = icmp slt i32 %27, 0
br i1 %28, label %29, label %30
29: ; preds = %6
store i32 0, i32* %15
br label %30
30: ; preds = %29, %6
%31 = load i32, i32* %15
%32 = add nsw i32 %31, 5
%33 = load i32, i32* %8
%34 = icmp sgt i32 %32, %33
br i1 %34, label %35, label %38
35: ; preds = %30
%36 = load i32, i32* %8
%37 = sub nsw i32 %36, 4
store i32 %37, i32* %15
br label %38
38: ; preds = %35, %30
%39 = load float, float* %11
%40 = call i64 @ceilf(float %39)
%41 = trunc i64 %40 to i32
%42 = sub nsw i32 %41, 2
store i32 %42, i32* %16
%43 = load i32, i32* %16
%44 = icmp slt i32 %43, 0
br i1 %44, label %45, label %46
45: ; preds = %38
store i32 0, i32* %16
br label %46
46: ; preds = %45, %38
%47 = load i32, i32* %16
%48 = add nsw i32 %47, 5
%49 = load i32, i32* %9
%50 = icmp sgt i32 %48, %49
br i1 %50, label %51, label %54
51: ; preds = %46
%52 = load i32, i32* %9
%53 = sub nsw i32 %52, 4
store i32 %53, i32* %16
br label %54
54: ; preds = %51, %46
%55 = load float, float* %11
%56 = load i32, i32* %16
%57 = sitofp i32 %56 to float
%58 = fsub float %55, %57
store float %58, float* %22
%59 = load float, float* %22
%60 = fpext float %59 to double
%61 = fsub double %60, 1.000000e+00
%62 = call double @llvm.fmuladd.f64(double -3.333330e-01, double %61, double 8.000000e-01)
%63 = load float, float* %22
%64 = fpext float %63 to double
%65 = fsub double %64, 1.000000e+00
%66 = call double @llvm.fmuladd.f64(double %62, double %65, double -4.666670e-01)
%67 = load float, float* %22
%68 = fpext float %67 to double
%69 = fsub double %68, 1.000000e+00
%70 = fmul double %66, %69
%71 = fptrunc double %70 to float
%72 = getelementptr inbounds [4 x float], [4 x float]* %21, i64 0, i64 0
store float %71, float* %72
%73 = load float, float* %22
%74 = fpext float %73 to double
%75 = fsub double %74, 1.000000e+00
%76 = fptrunc double %75 to float
store float %76, float* %22
%77 = load float, float* %22
%78 = fpext float %77 to double
%79 = fsub double %78, 1.800000e+00
%80 = load float, float* %22
%81 = fpext float %80 to double
%82 = call double @llvm.fmuladd.f64(double %79, double %81, double -2.000000e-01)
%83 = load float, float* %22
%84 = fpext float %83 to double
%85 = call double @llvm.fmuladd.f64(double %82, double %84, double 1.000000e+00)
%86 = fptrunc double %85 to float
%87 = getelementptr inbounds [4 x float], [4 x float]* %21, i64 0, i64 1
store float %86, float* %87
%88 = load float, float* %22
%89 = fpext float %88 to double
%90 = fsub double 1.000000e+00, %89
%91 = fptrunc double %90 to float
store float %91, float* %22
%92 = load float, float* %22
%93 = fpext float %92 to double
%94 = fsub double %93, 1.800000e+00
%95 = load float, float* %22
%96 = fpext float %95 to double
%97 = call double @llvm.fmuladd.f64(double %94, double %96, double -2.000000e-01)
%98 = load float, float* %22
%99 = fpext float %98 to double
%100 = call double @llvm.fmuladd.f64(double %97, double %99, double 1.000000e+00)
%101 = fptrunc double %100 to float
%102 = getelementptr inbounds [4 x float], [4 x float]* %21, i64 0, i64 2
store float %101, float* %102
%103 = load float, float* %22
%104 = fpext float %103 to double
%105 = fadd double %104, 1.000000e+00
%106 = fptrunc double %105 to float
store float %106, float* %22
%107 = load float, float* %22
%108 = fpext float %107 to double
%109 = fsub double %108, 1.000000e+00
%110 = call double @llvm.fmuladd.f64(double -3.333330e-01, double %109, double 8.000000e-01)
%111 = load float, float* %22
%112 = fpext float %111 to double
%113 = fsub double %112, 1.000000e+00
%114 = call double @llvm.fmuladd.f64(double %110, double %113, double -4.666670e-01)
%115 = load float, float* %22
%116 = fpext float %115 to double
%117 = fsub double %116, 1.000000e+00
%118 = fmul double %114, %117
%119 = fptrunc double %118 to float
%120 = getelementptr inbounds [4 x float], [4 x float]* %21, i64 0, i64 3
store float %119, float* %120
%121 = load float, float* %10
%122 = load i32, i32* %15
%123 = sitofp i32 %122 to float
%124 = fsub float %121, %123
store float %124, float* %22
%125 = load float, float* %22
%126 = fpext float %125 to double
%127 = fsub double %126, 1.000000e+00
%128 = call double @llvm.fmuladd.f64(double -3.333330e-01, double %127, double 8.000000e-01)
%129 = load float, float* %22
%130 = fpext float %129 to double
%131 = fsub double %130, 1.000000e+00
%132 = call double @llvm.fmuladd.f64(double %128, double %131, double -4.666670e-01)
%133 = load float, float* %22
%134 = fpext float %133 to double
%135 = fsub double %134, 1.000000e+00
%136 = fmul double %132, %135
%137 = fptrunc double %136 to float
%138 = getelementptr inbounds [4 x float], [4 x float]* %20, i64 0, i64 0
store float %137, float* %138
%139 = load float, float* %22
%140 = fpext float %139 to double
%141 = fsub double %140, 1.000000e+00
%142 = fptrunc double %141 to float
store float %142, float* %22
%143 = load float, float* %22
%144 = fpext float %143 to double
%145 = fsub double %144, 1.800000e+00
%146 = load float, float* %22
%147 = fpext float %146 to double
%148 = call double @llvm.fmuladd.f64(double %145, double %147, double -2.000000e-01)
%149 = load float, float* %22
%150 = fpext float %149 to double
%151 = call double @llvm.fmuladd.f64(double %148, double %150, double 1.000000e+00)
%152 = fptrunc double %151 to float
%153 = getelementptr inbounds [4 x float], [4 x float]* %20, i64 0, i64 1
store float %152, float* %153
%154 = load float, float* %22
%155 = fpext float %154 to double
%156 = fsub double 1.000000e+00, %155
%157 = fptrunc double %156 to float
store float %157, float* %22
%158 = load float, float* %22
%159 = fpext float %158 to double
%160 = fsub double %159, 1.800000e+00
%161 = load float, float* %22
%162 = fpext float %161 to double
%163 = call double @llvm.fmuladd.f64(double %160, double %162, double -2.000000e-01)
%164 = load float, float* %22
%165 = fpext float %164 to double
%166 = call double @llvm.fmuladd.f64(double %163, double %165, double 1.000000e+00)
%167 = fptrunc double %166 to float
%168 = getelementptr inbounds [4 x float], [4 x float]* %20, i64 0, i64 2
store float %167, float* %168
%169 = load float, float* %22
%170 = fpext float %169 to double
%171 = fadd double %170, 1.000000e+00
%172 = fptrunc double %171 to float
store float %172, float* %22
%173 = load float, float* %22
%174 = fpext float %173 to double
%175 = fsub double %174, 1.000000e+00
%176 = call double @llvm.fmuladd.f64(double -3.333330e-01, double %175, double 8.000000e-01)
%177 = load float, float* %22
%178 = fpext float %177 to double
%179 = fsub double %178, 1.000000e+00
%180 = call double @llvm.fmuladd.f64(double %176, double %179, double -4.666670e-01)
%181 = load float, float* %22
%182 = fpext float %181 to double
%183 = fsub double %182, 1.000000e+00
%184 = fmul double %180, %183
%185 = fptrunc double %184 to float
%186 = getelementptr inbounds [4 x float], [4 x float]* %20, i64 0, i64 3
store float %185, float* %186
store i32 0, i32* %17
br label %187
187: ; preds = %274, %54
%188 = load i32, i32* %17
%189 = icmp slt i32 %188, 4
br i1 %189, label %190, label %277
190: ; preds = %187
store i32 0, i32* %13
br label %191
191: ; preds = %236, %190
%192 = load i32, i32* %13
%193 = icmp slt i32 %192, 4
br i1 %193, label %194, label %239
194: ; preds = %191
%195 = load i32, i32* %13
%196 = sext i32 %195 to i64
%197 = getelementptr inbounds [4 x float], [4 x float]* %19, i64 0, i64 %196
store float 0.000000e+00, float* %197
store i32 0, i32* %14
br label %198
198: ; preds = %232, %194
%199 = load i32, i32* %14
%200 = icmp slt i32 %199, 4
br i1 %200, label %201, label %235
201: ; preds = %198
%202 = load i32, i32* %13
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds [4 x float], [4 x float]* %19, i64 0, i64 %203
%205 = load float, float* %204
%206 = load i32, i32* %14
%207 = sext i32 %206 to i64
%208 = getelementptr inbounds [4 x float], [4 x float]* %21, i64 0, i64 %207
%209 = load float, float* %208
%210 = load i8*, i8** %7
%211 = load i32, i32* %14
%212 = load i32, i32* %16
%213 = add nsw i32 %211, %212
%214 = load i32, i32* %8
%215 = mul nsw i32 %213, %214
%216 = load i32, i32* %13
%217 = add nsw i32 %215, %216
%218 = load i32, i32* %15
%219 = add nsw i32 %217, %218
%220 = mul nsw i32 4, %219
%221 = load i32, i32* %17
%222 = add nsw i32 %220, %221
%223 = sext i32 %222 to i64
%224 = getelementptr inbounds i8, i8* %210, i64 %223
%225 = load i8, i8* %224
%226 = zext i8 %225 to i32
%227 = sitofp i32 %226 to float
%228 = call float @llvm.fmuladd.f32(float %209, float %227, float %205)
%229 = load i32, i32* %13
%230 = sext i32 %229 to i64
%231 = getelementptr inbounds [4 x float], [4 x float]* %19, i64 0, i64 %230
store float %228, float* %231
br label %232
232: ; preds = %201
%233 = load i32, i32* %14
%234 = add nsw i32 %233, 1
store i32 %234, i32* %14
br label %198
235: ; preds = %198
br label %236
236: ; preds = %235
%237 = load i32, i32* %13
%238 = add nsw i32 %237, 1
store i32 %238, i32* %13
br label %191
239: ; preds = %191
store float 0.000000e+00, float* %18
store i32 0, i32* %13
br label %240
240: ; preds = %254, %239
%241 = load i32, i32* %13
%242 = icmp slt i32 %241, 4
br i1 %242, label %243, label %257
243: ; preds = %240
%244 = load float, float* %18
%245 = load i32, i32* %13
%246 = sext i32 %245 to i64
%247 = getelementptr inbounds [4 x float], [4 x float]* %20, i64 0, i64 %246
%248 = load float, float* %247
%249 = load i32, i32* %13
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds [4 x float], [4 x float]* %19, i64 0, i64 %250
%252 = load float, float* %251
%253 = call float @llvm.fmuladd.f32(float %248, float %252, float %244)
store float %253, float* %18
br label %254
254: ; preds = %243
%255 = load i32, i32* %13
%256 = add nsw i32 %255, 1
store i32 %256, i32* %13
br label %240
257: ; preds = %240
%258 = load float, float* %18
%259 = fpext float %258 to double
%260 = fcmp olt double %259, 0.000000e+00
br i1 %260, label %261, label %262
261: ; preds = %257
store float 0.000000e+00, float* %18
br label %262
262: ; preds = %261, %257
%263 = load float, float* %18
%264 = fpext float %263 to double
%265 = fcmp ogt double %264, 2.560000e+02
br i1 %265, label %266, label %267
266: ; preds = %262
store float 2.550000e+02, float* %18
br label %267
267: ; preds = %266, %262
%268 = load float, float* %18
%269 = fptoui float %268 to i8
%270 = load i8*, i8** %12
%271 = load i32, i32* %17
%272 = sext i32 %271 to i64
%273 = getelementptr inbounds i8, i8* %270, i64 %272
store i8 %269, i8* %273
br label %274
274: ; preds = %267
%275 = load i32, i32* %17
%276 = add nsw i32 %275, 1
store i32 %276, i32* %17
br label %187
277: ; preds = %187
ret i32 0
}

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