#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);
float sin(float);
int interpSC16_b32(unsigned char *sl, int w, int h, float x, float y, float o,
                   unsigned char *v) {
  int i, j, m, b, n;
  float pp, p[16], wx[16], wy[16], xx, xxx, x1;
  float PI = 3.141592654;
  m = (int)ceilf(x) - 8;
  if (m < 0)
    m = 0;
  if ((m + 17) > w)
    m = w - 16;
  n = (int)ceilf(y) - 8;
  if (n < 0)
    n = 0;
  if ((n + 17) > h)
    n = h - 16;
  xx = y - n;
  for (i = 7; i >= 0; i--) {
    x1 = xx * PI;
    wy[7 - i] = (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125));
    xxx = (float)(2 * i + 1) - xx;
    x1 = xxx * PI;
    wy[8 + i] = (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125));
    xx = xx - 1.0;
  }
  xx = x - m;
  for (i = 7; i >= 0; i--) {
    x1 = xx * PI;
    wx[7 - i] = (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125));
    xxx = (float)(2 * i + 1) - xx;
    x1 = xxx * PI;
    wx[8 + i] = (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125));
    xx = xx - 1.0;
  }
  for (b = 0; b < 4; b++) {
    for (i = 0; i < 16; i++) {
      p[i] = 0.0;
      for (j = 0; j < 16; j++) {
        p[i] = p[i] + wy[j] * sl[4 * ((j + n) * w + i + m) + b];
      }
    }
    pp = 0.0;
    for (i = 0; i < 16; 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):
<interpSC16_b32>:
push   %rbp
mov    %rsp,%rbp
sub    $0x130,%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  0xeb0(%rip),%xmm0
movss  %xmm0,-0x110(%rbp)
ff
movss  -0x14(%rbp),%xmm0
call   1040 <ceilf@plt>
sub    $0x8,%eax
mov    %eax,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jge    1179 <interpSC16_b32+0x59>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
add    $0x11,%eax
cmp    -0xc(%rbp),%eax
jle    1191 <interpSC16_b32+0x71>
mov    -0xc(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0x34(%rbp)
movss  -0x18(%rbp),%xmm0
call   1040 <ceilf@plt>
sub    $0x8,%eax
mov    %eax,-0x3c(%rbp)
cmpl   $0x0,-0x3c(%rbp)
jge    11b2 <interpSC16_b32+0x92>
movl   $0x0,-0x3c(%rbp)
mov    -0x3c(%rbp),%eax
add    $0x11,%eax
cmp    -0x10(%rbp),%eax
jle    11ca <interpSC16_b32+0xaa>
mov    -0x10(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0x3c(%rbp)
movss  -0x18(%rbp),%xmm0
cvtsi2ssl -0x3c(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
movl   $0x7,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jl     137e <interpSC16_b32+0x25e>
movss  -0x104(%rbp),%xmm0
ff
mulss  -0x110(%rbp),%xmm0
movss  %xmm0,-0x10c(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x120(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xdda(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x120(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x10c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xdaa(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    $0x7,%eax
sub    -0x2c(%rbp),%eax
cltq
movss  %xmm0,-0x100(%rbp,%rax,4)
ff ff
mov    -0x2c(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
subss  -0x104(%rbp),%xmm0
ff
movss  %xmm0,-0x108(%rbp)
ff
movss  -0x108(%rbp),%xmm0
ff
mulss  -0x110(%rbp),%xmm0
ff
movss  %xmm0,-0x10c(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xd1d(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x118(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x10c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xced(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x2c(%rbp),%eax
add    $0x8,%eax
cltq
movss  %xmm0,-0x100(%rbp,%rax,4)
ff ff
movss  -0x104(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xcb0(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
mov    -0x2c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x2c(%rbp)
jmp    11e7 <interpSC16_b32+0xc7>
movss  -0x14(%rbp),%xmm0
cvtsi2ssl -0x34(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
movl   $0x7,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jl     1532 <interpSC16_b32+0x412>
movss  -0x104(%rbp),%xmm0
ff
mulss  -0x110(%rbp),%xmm0
ff
movss  %xmm0,-0x10c(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xc26(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x130(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x10c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xbf6(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    $0x7,%eax
sub    -0x2c(%rbp),%eax
cltq
movss  %xmm0,-0xc0(%rbp,%rax,4)
ff ff
mov    -0x2c(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
subss  -0x104(%rbp),%xmm0
ff
movss  %xmm0,-0x108(%rbp)
ff
movss  -0x108(%rbp),%xmm0
ff
mulss  -0x110(%rbp),%xmm0
ff
movss  %xmm0,-0x10c(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xb69(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x128(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x10c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xb39(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x2c(%rbp),%eax
add    $0x8,%eax
cltq
movss  %xmm0,-0xc0(%rbp,%rax,4)
ff ff
movss  -0x104(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xafc(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
mov    -0x2c(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x2c(%rbp)
jmp    139b <interpSC16_b32+0x27b>
movl   $0x0,-0x38(%rbp)
cmpl   $0x4,-0x38(%rbp)
jge    1697 <interpSC16_b32+0x577>
movl   $0x0,-0x2c(%rbp)
cmpl   $0x10,-0x2c(%rbp)
jge    15e1 <interpSC16_b32+0x4c1>
movslq -0x2c(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x80(%rbp,%rax,4)
movl   $0x0,-0x30(%rbp)
cmpl   $0x10,-0x30(%rbp)
jge    15ce <interpSC16_b32+0x4ae>
movslq -0x2c(%rbp),%rax
movss  -0x80(%rbp,%rax,4),%xmm1
movslq -0x30(%rbp),%rax
movss  -0x100(%rbp,%rax,4),%xmm0
ff ff
mov    -0x8(%rbp),%rax
mov    -0x30(%rbp),%ecx
add    -0x3c(%rbp),%ecx
imul   -0xc(%rbp),%ecx
add    -0x2c(%rbp),%ecx
add    -0x34(%rbp),%ecx
shl    $0x2,%ecx
add    -0x38(%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,-0x80(%rbp,%rax,4)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1568 <interpSC16_b32+0x448>
jmp    15d3 <interpSC16_b32+0x4b3>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    154a <interpSC16_b32+0x42a>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x40(%rbp)
movl   $0x0,-0x2c(%rbp)
cmpl   $0x10,-0x2c(%rbp)
jge    1631 <interpSC16_b32+0x511>
movss  -0x40(%rbp),%xmm1
movslq -0x2c(%rbp),%rax
movss  -0xc0(%rbp,%rax,4),%xmm0
ff ff
movslq -0x2c(%rbp),%rax
movss  -0x80(%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    15f0 <interpSC16_b32+0x4d0>
movss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    164f <interpSC16_b32+0x52f>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x40(%rbp)
movss  -0x40(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x9a8(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1677 <interpSC16_b32+0x557>
movss  0x992(%rip),%xmm0
movss  %xmm0,-0x40(%rbp)
cvttss2si -0x40(%rbp),%eax
mov    %al,%dl
mov    -0x28(%rbp),%rax
movslq -0x38(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1539 <interpSC16_b32+0x419>
xor    %eax,%eax
add    $0x130,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interpSC16_b32>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
mov    %rcx,%r14
movss  %xmm1,0x18(%rsp)
mov    %edx,%r13d
mov    %esi,%r15d
mov    %rdi,%rbx
movss  %xmm0,0x14(%rsp)
call   1040 <ceilf@plt>
cmp    $0x9,%eax
mov    $0x8,%ebp
cmovl  %ebp,%eax
mov    %rax,0x30(%rsp)
add    $0x9,%eax
mov    %eax,0x2c(%rsp)
lea    -0x10(%r15),%eax
mov    %eax,0x3c(%rsp)
movss  0x18(%rsp),%xmm0
call   1040 <ceilf@plt>
cmp    $0x9,%eax
cmovge %eax,%ebp
lea    -0x8(%rbp),%eax
add    $0x9,%ebp
lea    -0x10(%r13),%r12d
cmp    %r13d,%ebp
cmovle %eax,%r12d
xorps  %xmm0,%xmm0
cvtsi2ss %r12d,%xmm0
movss  0x18(%rsp),%xmm1
subss  %xmm0,%xmm1
movaps %xmm1,%xmm0
mov    $0x1e,%r13d
xor    %ebp,%ebp
movss  0xe4c(%rip),%xmm2
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movss  %xmm0,0x18(%rsp)
mulss  %xmm2,%xmm0
movss  %xmm0,0x20(%rsp)
call   1030 <sin@plt>
movss  0x20(%rsp),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
cvtss2sd %xmm1,%xmm1
movsd  0xe23(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x20(%rsp)
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
call   1030 <sin@plt>
cvtss2sd %xmm0,%xmm0
divsd  0x20(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtsd2ss %xmm0,%xmm1
lea    -0xf(%r13),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm1,0xc0(%rsp,%rbp,4)
subss  0x18(%rsp),%xmm0
mulss  0xdbc(%rip),%xmm0
movss  %xmm0,0x20(%rsp)
call   1030 <sin@plt>
movss  0x20(%rsp),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x8(%rsp)
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
mulsd  0xda6(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movss  0xd7b(%rip),%xmm1
movss  0xd6f(%rip),%xmm2
cvtss2sd %xmm0,%xmm0
divsd  0x20(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0xc0(%rsp,%r13,2)
movss  0x18(%rsp),%xmm0
addss  %xmm1,%xmm0
add    $0x1,%rbp
add    $0xfffffffffffffffe,%r13
cmp    $0x8,%rbp
jne    11c0 <interpSC16_b32+0xa0>
mov    0x30(%rsp),%rax
add    $0xfffffff8,%eax
cmp    %r15d,0x2c(%rsp)
cmovg  0x3c(%rsp),%eax
mov    %rax,0x30(%rsp)
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  0x14(%rsp),%xmm1
subss  %xmm0,%xmm1
movaps %xmm1,%xmm0
mov    $0x1e,%r13d
xor    %ebp,%ebp
xchg   %ax,%ax
movss  %xmm0,0x14(%rsp)
mulss  %xmm2,%xmm0
movss  %xmm0,0x8(%rsp)
call   1030 <sin@plt>
movss  0x8(%rsp),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x18(%rsp)
cvtss2sd %xmm1,%xmm1
movsd  0xce3(%rip),%xmm0
mulsd  %xmm0,%xmm1
movsd  %xmm1,0x8(%rsp)
xorps  %xmm0,%xmm0
cvtsd2ss %xmm1,%xmm0
call   1030 <sin@plt>
cvtss2sd %xmm0,%xmm0
divsd  0x8(%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
xorps  %xmm1,%xmm1
cvtsd2ss %xmm0,%xmm1
lea    -0xf(%r13),%eax
xorps  %xmm0,%xmm0
cvtsi2ss %eax,%xmm0
movss  %xmm1,0x40(%rsp,%rbp,4)
subss  0x14(%rsp),%xmm0
mulss  0xc7f(%rip),%xmm0
movss  %xmm0,0x8(%rsp)
call   1030 <sin@plt>
movss  0x8(%rsp),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x18(%rsp)
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
mulsd  0xc69(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movss  0xc3a(%rip),%xmm2
cvtss2sd %xmm0,%xmm0
divsd  0x8(%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x40(%rsp,%r13,2)
movss  0x14(%rsp),%xmm0
addss  0xc15(%rip),%xmm0
add    $0x1,%rbp
add    $0xfffffffffffffffe,%r13
cmp    $0x8,%rbp
jne    1300 <interpSC16_b32+0x1e0>
movss  0x40(%rsp),%xmm0
movss  %xmm0,0x18(%rsp)
movss  0x44(%rsp),%xmm0
movss  %xmm0,0x14(%rsp)
movss  0x48(%rsp),%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x4c(%rsp),%xmm0
movss  %xmm0,0x20(%rsp)
movss  0x50(%rsp),%xmm0
movss  %xmm0,0x2c(%rsp)
movss  0x54(%rsp),%xmm13
movss  0x58(%rsp),%xmm14
movss  0x5c(%rsp),%xmm15
movss  0x60(%rsp),%xmm10
movss  0x64(%rsp),%xmm11
movss  0x68(%rsp),%xmm12
movss  0x6c(%rsp),%xmm3
movss  0x70(%rsp),%xmm4
movss  0x74(%rsp),%xmm5
movss  0x78(%rsp),%xmm6
movss  0x7c(%rsp),%xmm7
lea    0x1(%r12),%eax
imul   %r15d,%eax
mov    0x30(%rsp),%rdx
lea    0x0(,%rdx,4),%ecx
lea    (%rcx,%rax,4),%r8d
imul   %r15d,%r12d
shl    $0x3,%r15d
add    %edx,%r12d
shl    $0x2,%r12d
xor    %r9d,%r9d
mov    %r12d,%r10d
mov    %r8d,%esi
xor    %edi,%edi
nopl   0x0(%rax,%rax,1)
xorps  %xmm8,%xmm8
mov    %r10d,%ebp
mov    %esi,%eax
xor    %ecx,%ecx
nopl   0x0(%rax,%rax,1)
movslq %ebp,%rbp
movzbl (%rbx,%rbp,1),%edx
xorps  %xmm9,%xmm9
cvtsi2ss %edx,%xmm9
mulss  0xc0(%rsp,%rcx,4),%xmm9
addss  %xmm8,%xmm9
cltq
movzbl (%rbx,%rax,1),%edx
xorps  %xmm8,%xmm8
cvtsi2ss %edx,%xmm8
mulss  0xc4(%rsp,%rcx,4),%xmm8
addss  %xmm9,%xmm8
add    $0x2,%rcx
add    %r15d,%eax
add    %r15d,%ebp
cmp    $0x10,%rcx
jne    14d0 <interpSC16_b32+0x3b0>
movss  %xmm8,0x80(%rsp,%rdi,4)
add    $0x1,%rdi
add    $0x4,%esi
add    $0x4,%r10d
cmp    $0x10,%rdi
jne    14c0 <interpSC16_b32+0x3a0>
movss  0x80(%rsp),%xmm0
mulss  0x18(%rsp),%xmm0
addss  0xac1(%rip),%xmm0
movss  0x84(%rsp),%xmm1
mulss  0x14(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0x88(%rsp),%xmm0
mulss  0x8(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0x8c(%rsp),%xmm1
mulss  0x20(%rsp),%xmm1
addss  %xmm0,%xmm1
movss  0x90(%rsp),%xmm0
mulss  0x2c(%rsp),%xmm0
addss  %xmm1,%xmm0
movss  0x94(%rsp),%xmm1
mulss  %xmm13,%xmm1
addss  %xmm0,%xmm1
movss  0x98(%rsp),%xmm0
mulss  %xmm14,%xmm0
addss  %xmm1,%xmm0
movss  0x9c(%rsp),%xmm1
mulss  %xmm15,%xmm1
addss  %xmm0,%xmm1
movss  0xa0(%rsp),%xmm0
mulss  %xmm10,%xmm0
addss  %xmm1,%xmm0
movss  0xa4(%rsp),%xmm1
mulss  %xmm11,%xmm1
addss  %xmm0,%xmm1
movss  0xa8(%rsp),%xmm0
mulss  %xmm12,%xmm0
addss  %xmm1,%xmm0
movss  0xac(%rsp),%xmm1
mulss  %xmm3,%xmm1
addss  %xmm0,%xmm1
movss  0xb0(%rsp),%xmm0
mulss  %xmm4,%xmm0
addss  %xmm1,%xmm0
movss  0xb4(%rsp),%xmm1
mulss  %xmm5,%xmm1
addss  %xmm0,%xmm1
movss  0xb8(%rsp),%xmm0
mulss  %xmm6,%xmm0
addss  %xmm1,%xmm0
movss  0xbc(%rsp),%xmm1
mulss  %xmm7,%xmm1
addss  %xmm0,%xmm1
xorps  %xmm0,%xmm0
maxss  %xmm1,%xmm0
movss  0x99d(%rip),%xmm1
cmpltss %xmm0,%xmm1
movaps %xmm1,%xmm2
andnps %xmm0,%xmm2
movss  0x98e(%rip),%xmm0
andps  %xmm0,%xmm1
orps   %xmm2,%xmm1
cvttss2si %xmm1,%eax
mov    %al,(%r14,%r9,1)
add    $0x1,%r9
add    $0x1,%r8d
add    $0x1,%r12d
cmp    $0x4,%r9
jne    14b0 <interpSC16_b32+0x390>
xor    %eax,%eax
add    $0x108,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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