#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 is_alpha) {
  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    $0x140,%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)
mov    %r8d,-0x2c(%rbp)
movss  0xeac(%rip),%xmm0
movss  %xmm0,-0x120(%rbp)
ff
movss  -0x14(%rbp),%xmm0
call   1040 <ceilf@plt>
sub    $0x8,%eax
mov    %eax,-0x38(%rbp)
cmpl   $0x0,-0x38(%rbp)
jge    117d <interpSC16_b32+0x5d>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
add    $0x11,%eax
cmp    -0xc(%rbp),%eax
jle    1195 <interpSC16_b32+0x75>
mov    -0xc(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0x38(%rbp)
movss  -0x18(%rbp),%xmm0
call   1040 <ceilf@plt>
sub    $0x8,%eax
mov    %eax,-0x40(%rbp)
cmpl   $0x0,-0x40(%rbp)
jge    11b6 <interpSC16_b32+0x96>
movl   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%eax
add    $0x11,%eax
cmp    -0x10(%rbp),%eax
jle    11ce <interpSC16_b32+0xae>
mov    -0x10(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0x40(%rbp)
movss  -0x18(%rbp),%xmm0
cvtsi2ssl -0x40(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x114(%rbp)
ff
movl   $0x7,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
jl     1382 <interpSC16_b32+0x262>
movss  -0x114(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x11c(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x11c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x130(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xdd6(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x130(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x11c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xda6(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    $0x7,%eax
sub    -0x30(%rbp),%eax
cltq
movss  %xmm0,-0x110(%rbp,%rax,4)
ff ff
mov    -0x30(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
subss  -0x114(%rbp),%xmm0
ff
movss  %xmm0,-0x118(%rbp)
ff
movss  -0x118(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x11c(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x11c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xd19(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x128(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x11c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xce9(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x30(%rbp),%eax
add    $0x8,%eax
cltq
movss  %xmm0,-0x110(%rbp,%rax,4)
ff ff
movss  -0x114(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xcac(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x114(%rbp)
ff
mov    -0x30(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x30(%rbp)
jmp    11eb <interpSC16_b32+0xcb>
movss  -0x14(%rbp),%xmm0
cvtsi2ssl -0x38(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x114(%rbp)
ff
movl   $0x7,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
jl     1536 <interpSC16_b32+0x416>
movss  -0x114(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x11c(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x11c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xc22(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x140(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x11c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xbf2(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    $0x7,%eax
sub    -0x30(%rbp),%eax
cltq
movss  %xmm0,-0xd0(%rbp,%rax,4)
ff ff
mov    -0x30(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
cvtsi2ss %eax,%xmm0
subss  -0x114(%rbp),%xmm0
ff
movss  %xmm0,-0x118(%rbp)
ff
movss  -0x118(%rbp),%xmm0
ff
mulss  -0x120(%rbp),%xmm0
ff
movss  %xmm0,-0x11c(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x11c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
movss  -0x11c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xb65(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x138(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x11c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xb35(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x30(%rbp),%eax
add    $0x8,%eax
cltq
movss  %xmm0,-0xd0(%rbp,%rax,4)
ff ff
movss  -0x114(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xaf8(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x114(%rbp)
ff
mov    -0x30(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x30(%rbp)
jmp    139f <interpSC16_b32+0x27f>
movl   $0x0,-0x3c(%rbp)
cmpl   $0x4,-0x3c(%rbp)
jge    16a7 <interpSC16_b32+0x587>
movl   $0x0,-0x30(%rbp)
cmpl   $0x10,-0x30(%rbp)
jge    15ee <interpSC16_b32+0x4ce>
movslq -0x30(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x90(%rbp,%rax,4)
ff ff
movl   $0x0,-0x34(%rbp)
cmpl   $0x10,-0x34(%rbp)
jge    15db <interpSC16_b32+0x4bb>
movslq -0x30(%rbp),%rax
movss  -0x90(%rbp,%rax,4),%xmm1
ff ff
movslq -0x34(%rbp),%rax
movss  -0x110(%rbp,%rax,4),%xmm0
ff ff
mov    -0x8(%rbp),%rax
mov    -0x34(%rbp),%ecx
add    -0x40(%rbp),%ecx
imul   -0xc(%rbp),%ecx
add    -0x30(%rbp),%ecx
add    -0x38(%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 -0x30(%rbp),%rax
movss  %xmm0,-0x90(%rbp,%rax,4)
ff ff
mov    -0x34(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x34(%rbp)
jmp    156f <interpSC16_b32+0x44f>
jmp    15e0 <interpSC16_b32+0x4c0>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    154e <interpSC16_b32+0x42e>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x44(%rbp)
movl   $0x0,-0x30(%rbp)
cmpl   $0x10,-0x30(%rbp)
jge    1641 <interpSC16_b32+0x521>
movss  -0x44(%rbp),%xmm1
movslq -0x30(%rbp),%rax
movss  -0xd0(%rbp,%rax,4),%xmm0
ff ff
movslq -0x30(%rbp),%rax
movss  -0x90(%rbp,%rax,4),%xmm2
ff ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x44(%rbp)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    15fd <interpSC16_b32+0x4dd>
movss  -0x44(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    165f <interpSC16_b32+0x53f>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x44(%rbp)
movss  -0x44(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x998(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1687 <interpSC16_b32+0x567>
movss  0x982(%rip),%xmm0
movss  %xmm0,-0x44(%rbp)
cvttss2si -0x44(%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    153d <interpSC16_b32+0x41d>
xor    %eax,%eax
add    $0x140,%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, i32 %7) {
%9 = alloca i8*
%10 = alloca i32
%11 = alloca i32
%12 = alloca float
%13 = alloca float
%14 = alloca float
%15 = alloca i8*
%16 = alloca i32
%17 = alloca i32
%18 = alloca i32
%19 = alloca i32
%20 = alloca i32
%21 = alloca i32
%22 = alloca float
%23 = alloca [16 x float]
%24 = alloca [16 x float]
%25 = alloca [16 x float]
%26 = alloca float
%27 = alloca float
%28 = alloca float
%29 = alloca float
store i8* %0, i8** %9
store i32 %1, i32* %10
store i32 %2, i32* %11
store float %3, float* %12
store float %4, float* %13
store float %5, float* %14
store i8* %6, i8** %15
store i32 %7, i32* %16
store float 0x400921FB60000000, float* %29
%30 = load float, float* %12
%31 = call i64 @ceilf(float %30)
%32 = trunc i64 %31 to i32
%33 = sub nsw i32 %32, 8
store i32 %33, i32* %19
%34 = load i32, i32* %19
%35 = icmp slt i32 %34, 0
br i1 %35, label %36, label %37
36: ; preds = %8
store i32 0, i32* %19
br label %37
37: ; preds = %36, %8
%38 = load i32, i32* %19
%39 = add nsw i32 %38, 17
%40 = load i32, i32* %10
%41 = icmp sgt i32 %39, %40
br i1 %41, label %42, label %45
42: ; preds = %37
%43 = load i32, i32* %10
%44 = sub nsw i32 %43, 16
store i32 %44, i32* %19
br label %45
45: ; preds = %42, %37
%46 = load float, float* %13
%47 = call i64 @ceilf(float %46)
%48 = trunc i64 %47 to i32
%49 = sub nsw i32 %48, 8
store i32 %49, i32* %21
%50 = load i32, i32* %21
%51 = icmp slt i32 %50, 0
br i1 %51, label %52, label %53
52: ; preds = %45
store i32 0, i32* %21
br label %53
53: ; preds = %52, %45
%54 = load i32, i32* %21
%55 = add nsw i32 %54, 17
%56 = load i32, i32* %11
%57 = icmp sgt i32 %55, %56
br i1 %57, label %58, label %61
58: ; preds = %53
%59 = load i32, i32* %11
%60 = sub nsw i32 %59, 16
store i32 %60, i32* %21
br label %61
61: ; preds = %58, %53
%62 = load float, float* %13
%63 = load i32, i32* %21
%64 = sitofp i32 %63 to float
%65 = fsub float %62, %64
store float %65, float* %26
store i32 7, i32* %17
br label %66
66: ; preds = %128, %61
%67 = load i32, i32* %17
%68 = icmp sge i32 %67, 0
br i1 %68, label %69, label %131
69: ; preds = %66
%70 = load float, float* %26
%71 = load float, float* %29
%72 = fmul float %70, %71
store float %72, float* %28
%73 = load float, float* %28
%74 = call float @sin(float %73)
%75 = load float, float* %28
%76 = fdiv float %74, %75
%77 = fpext float %76 to double
%78 = load float, float* %28
%79 = fpext float %78 to double
%80 = fmul double %79, 1.250000e-01
%81 = fptrunc double %80 to float
%82 = call float @sin(float %81)
%83 = fpext float %82 to double
%84 = load float, float* %28
%85 = fpext float %84 to double
%86 = fmul double %85, 1.250000e-01
%87 = fdiv double %83, %86
%88 = fmul double %77, %87
%89 = fptrunc double %88 to float
%90 = load i32, i32* %17
%91 = sub nsw i32 7, %90
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds [16 x float], [16 x float]* %25, i64 0, i64 %92
store float %89, float* %93
%94 = load i32, i32* %17
%95 = mul nsw i32 2, %94
%96 = add nsw i32 %95, 1
%97 = sitofp i32 %96 to float
%98 = load float, float* %26
%99 = fsub float %97, %98
store float %99, float* %27
%100 = load float, float* %27
%101 = load float, float* %29
%102 = fmul float %100, %101
store float %102, float* %28
%103 = load float, float* %28
%104 = call float @sin(float %103)
%105 = load float, float* %28
%106 = fdiv float %104, %105
%107 = fpext float %106 to double
%108 = load float, float* %28
%109 = fpext float %108 to double
%110 = fmul double %109, 1.250000e-01
%111 = fptrunc double %110 to float
%112 = call float @sin(float %111)
%113 = fpext float %112 to double
%114 = load float, float* %28
%115 = fpext float %114 to double
%116 = fmul double %115, 1.250000e-01
%117 = fdiv double %113, %116
%118 = fmul double %107, %117
%119 = fptrunc double %118 to float
%120 = load i32, i32* %17
%121 = add nsw i32 8, %120
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds [16 x float], [16 x float]* %25, i64 0, i64 %122
store float %119, float* %123
%124 = load float, float* %26
%125 = fpext float %124 to double
%126 = fsub double %125, 1.000000e+00
%127 = fptrunc double %126 to float
store float %127, float* %26
br label %128
128: ; preds = %69
%129 = load i32, i32* %17
%130 = add nsw i32 %129, -1
store i32 %130, i32* %17
br label %66
131: ; preds = %66
%132 = load float, float* %12
%133 = load i32, i32* %19
%134 = sitofp i32 %133 to float
%135 = fsub float %132, %134
store float %135, float* %26
store i32 7, i32* %17
br label %136
136: ; preds = %198, %131
%137 = load i32, i32* %17
%138 = icmp sge i32 %137, 0
br i1 %138, label %139, label %201
139: ; preds = %136
%140 = load float, float* %26
%141 = load float, float* %29
%142 = fmul float %140, %141
store float %142, float* %28
%143 = load float, float* %28
%144 = call float @sin(float %143)
%145 = load float, float* %28
%146 = fdiv float %144, %145
%147 = fpext float %146 to double
%148 = load float, float* %28
%149 = fpext float %148 to double
%150 = fmul double %149, 1.250000e-01
%151 = fptrunc double %150 to float
%152 = call float @sin(float %151)
%153 = fpext float %152 to double
%154 = load float, float* %28
%155 = fpext float %154 to double
%156 = fmul double %155, 1.250000e-01
%157 = fdiv double %153, %156
%158 = fmul double %147, %157
%159 = fptrunc double %158 to float
%160 = load i32, i32* %17
%161 = sub nsw i32 7, %160
%162 = sext i32 %161 to i64
%163 = getelementptr inbounds [16 x float], [16 x float]* %24, i64 0, i64 %162
store float %159, float* %163
%164 = load i32, i32* %17
%165 = mul nsw i32 2, %164
%166 = add nsw i32 %165, 1
%167 = sitofp i32 %166 to float
%168 = load float, float* %26
%169 = fsub float %167, %168
store float %169, float* %27
%170 = load float, float* %27
%171 = load float, float* %29
%172 = fmul float %170, %171
store float %172, float* %28
%173 = load float, float* %28
%174 = call float @sin(float %173)
%175 = load float, float* %28
%176 = fdiv float %174, %175
%177 = fpext float %176 to double
%178 = load float, float* %28
%179 = fpext float %178 to double
%180 = fmul double %179, 1.250000e-01
%181 = fptrunc double %180 to float
%182 = call float @sin(float %181)
%183 = fpext float %182 to double
%184 = load float, float* %28
%185 = fpext float %184 to double
%186 = fmul double %185, 1.250000e-01
%187 = fdiv double %183, %186
%188 = fmul double %177, %187
%189 = fptrunc double %188 to float
%190 = load i32, i32* %17
%191 = add nsw i32 8, %190
%192 = sext i32 %191 to i64
%193 = getelementptr inbounds [16 x float], [16 x float]* %24, i64 0, i64 %192
store float %189, float* %193
%194 = load float, float* %26
%195 = fpext float %194 to double
%196 = fsub double %195, 1.000000e+00
%197 = fptrunc double %196 to float
store float %197, float* %26
br label %198
198: ; preds = %139
%199 = load i32, i32* %17
%200 = add nsw i32 %199, -1
store i32 %200, i32* %17
br label %136
201: ; preds = %136
store i32 0, i32* %20
br label %202
202: ; preds = %289, %201
%203 = load i32, i32* %20
%204 = icmp slt i32 %203, 4
br i1 %204, label %205, label %292
205: ; preds = %202
store i32 0, i32* %17
br label %206
206: ; preds = %251, %205
%207 = load i32, i32* %17
%208 = icmp slt i32 %207, 16
br i1 %208, label %209, label %254
209: ; preds = %206
%210 = load i32, i32* %17
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds [16 x float], [16 x float]* %23, i64 0, i64 %211
store float 0.000000e+00, float* %212
store i32 0, i32* %18
br label %213
213: ; preds = %247, %209
%214 = load i32, i32* %18
%215 = icmp slt i32 %214, 16
br i1 %215, label %216, label %250
216: ; preds = %213
%217 = load i32, i32* %17
%218 = sext i32 %217 to i64
%219 = getelementptr inbounds [16 x float], [16 x float]* %23, i64 0, i64 %218
%220 = load float, float* %219
%221 = load i32, i32* %18
%222 = sext i32 %221 to i64
%223 = getelementptr inbounds [16 x float], [16 x float]* %25, i64 0, i64 %222
%224 = load float, float* %223
%225 = load i8*, i8** %9
%226 = load i32, i32* %18
%227 = load i32, i32* %21
%228 = add nsw i32 %226, %227
%229 = load i32, i32* %10
%230 = mul nsw i32 %228, %229
%231 = load i32, i32* %17
%232 = add nsw i32 %230, %231
%233 = load i32, i32* %19
%234 = add nsw i32 %232, %233
%235 = mul nsw i32 4, %234
%236 = load i32, i32* %20
%237 = add nsw i32 %235, %236
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds i8, i8* %225, i64 %238
%240 = load i8, i8* %239
%241 = zext i8 %240 to i32
%242 = sitofp i32 %241 to float
%243 = call float @llvm.fmuladd.f32(float %224, float %242, float %220)
%244 = load i32, i32* %17
%245 = sext i32 %244 to i64
%246 = getelementptr inbounds [16 x float], [16 x float]* %23, i64 0, i64 %245
store float %243, float* %246
br label %247
247: ; preds = %216
%248 = load i32, i32* %18
%249 = add nsw i32 %248, 1
store i32 %249, i32* %18
br label %213
250: ; preds = %213
br label %251
251: ; preds = %250
%252 = load i32, i32* %17
%253 = add nsw i32 %252, 1
store i32 %253, i32* %17
br label %206
254: ; preds = %206
store float 0.000000e+00, float* %22
store i32 0, i32* %17
br label %255
255: ; preds = %269, %254
%256 = load i32, i32* %17
%257 = icmp slt i32 %256, 16
br i1 %257, label %258, label %272
258: ; preds = %255
%259 = load float, float* %22
%260 = load i32, i32* %17
%261 = sext i32 %260 to i64
%262 = getelementptr inbounds [16 x float], [16 x float]* %24, i64 0, i64 %261
%263 = load float, float* %262
%264 = load i32, i32* %17
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [16 x float], [16 x float]* %23, i64 0, i64 %265
%267 = load float, float* %266
%268 = call float @llvm.fmuladd.f32(float %263, float %267, float %259)
store float %268, float* %22
br label %269
269: ; preds = %258
%270 = load i32, i32* %17
%271 = add nsw i32 %270, 1
store i32 %271, i32* %17
br label %255
272: ; preds = %255
%273 = load float, float* %22
%274 = fpext float %273 to double
%275 = fcmp olt double %274, 0.000000e+00
br i1 %275, label %276, label %277
276: ; preds = %272
store float 0.000000e+00, float* %22
br label %277
277: ; preds = %276, %272
%278 = load float, float* %22
%279 = fpext float %278 to double
%280 = fcmp ogt double %279, 2.560000e+02
br i1 %280, label %281, label %282
281: ; preds = %277
store float 2.550000e+02, float* %22
br label %282
282: ; preds = %281, %277
%283 = load float, float* %22
%284 = fptoui float %283 to i8
%285 = load i8*, i8** %15
%286 = load i32, i32* %20
%287 = sext i32 %286 to i64
%288 = getelementptr inbounds i8, i8* %285, i64 %287
store i8 %284, i8* %288
br label %289
289: ; preds = %282
%290 = load i32, i32* %20
%291 = add nsw i32 %290, 1
store i32 %291, i32* %20
br label %202
292: ; preds = %202
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, i32 %7) {
%9 = alloca [16 x float]
%10 = alloca [16 x float]
%11 = alloca [16 x float]
%12 = bitcast [16 x float]* %9 to i8*
%13 = bitcast [16 x float]* %10 to i8*
%14 = bitcast [16 x float]* %11 to i8*
%15 = tail call i64 @ceilf(float %3)
%16 = trunc i64 %15 to i32
%17 = icmp sgt i32 %16, 8
%18 = select i1 %17, i32 %16, i32 8
%19 = add nuw nsw i32 %18, 9
%20 = add nsw i32 %1, -16
%21 = tail call i64 @ceilf(float %4)
%22 = trunc i64 %21 to i32
%23 = icmp sgt i32 %22, 8
%24 = select i1 %23, i32 %22, i32 8
%25 = add nsw i32 %24, -8
%26 = add nuw nsw i32 %24, 9
%27 = icmp sgt i32 %26, %2
%28 = add nsw i32 %2, -16
%29 = select i1 %27, i32 %28, i32 %25
%30 = sitofp i32 %29 to float
%31 = fsub float %4, %30
br label %32
32: ; preds = %8, %32
%33 = phi i64 [ 7, %8 ], [ %69, %32 ]
%34 = phi float [ %31, %8 ], [ %68, %32 ]
%35 = fmul float %34, 0x400921FB60000000
%36 = tail call float @sin(float %35)
%37 = fdiv float %36, %35
%38 = fpext float %37 to double
%39 = fpext float %35 to double
%40 = fmul double %39, 1.250000e-01
%41 = fptrunc double %40 to float
%42 = tail call float @sin(float %41)
%43 = fpext float %42 to double
%44 = fdiv double %43, %40
%45 = fmul double %44, %38
%46 = fptrunc double %45 to float
%47 = sub nuw nsw i64 7, %33
%48 = getelementptr inbounds [16 x float], [16 x float]* %11, i64 0, i64 %47
store float %46, float* %48
%49 = trunc i64 %33 to i32
%50 = shl i32 %49, 1
%51 = or i32 %50, 1
%52 = sitofp i32 %51 to float
%53 = fsub float %52, %34
%54 = fmul float %53, 0x400921FB60000000
%55 = tail call float @sin(float %54)
%56 = fdiv float %55, %54
%57 = fpext float %56 to double
%58 = fpext float %54 to double
%59 = fmul double %58, 1.250000e-01
%60 = fptrunc double %59 to float
%61 = tail call float @sin(float %60)
%62 = fpext float %61 to double
%63 = fdiv double %62, %59
%64 = fmul double %63, %57
%65 = fptrunc double %64 to float
%66 = add nuw nsw i64 %33, 8
%67 = getelementptr inbounds [16 x float], [16 x float]* %11, i64 0, i64 %66
store float %65, float* %67
%68 = fadd float %34, -1.000000e+00
%69 = add nsw i64 %33, -1
%70 = icmp eq i64 %33, 0
br i1 %70, label %71, label %32
71: ; preds = %32
%72 = add nsw i32 %18, -8
%73 = icmp sgt i32 %19, %1
%74 = select i1 %73, i32 %20, i32 %72
%75 = sitofp i32 %74 to float
%76 = fsub float %3, %75
br label %77
77: ; preds = %71, %77
%78 = phi i64 [ 7, %71 ], [ %114, %77 ]
%79 = phi float [ %76, %71 ], [ %113, %77 ]
%80 = fmul float %79, 0x400921FB60000000
%81 = tail call float @sin(float %80)
%82 = fdiv float %81, %80
%83 = fpext float %82 to double
%84 = fpext float %80 to double
%85 = fmul double %84, 1.250000e-01
%86 = fptrunc double %85 to float
%87 = tail call float @sin(float %86)
%88 = fpext float %87 to double
%89 = fdiv double %88, %85
%90 = fmul double %89, %83
%91 = fptrunc double %90 to float
%92 = sub nuw nsw i64 7, %78
%93 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 %92
store float %91, float* %93
%94 = trunc i64 %78 to i32
%95 = shl i32 %94, 1
%96 = or i32 %95, 1
%97 = sitofp i32 %96 to float
%98 = fsub float %97, %79
%99 = fmul float %98, 0x400921FB60000000
%100 = tail call float @sin(float %99)
%101 = fdiv float %100, %99
%102 = fpext float %101 to double
%103 = fpext float %99 to double
%104 = fmul double %103, 1.250000e-01
%105 = fptrunc double %104 to float
%106 = tail call float @sin(float %105)
%107 = fpext float %106 to double
%108 = fdiv double %107, %104
%109 = fmul double %108, %102
%110 = fptrunc double %109 to float
%111 = add nuw nsw i64 %78, 8
%112 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 %111
store float %110, float* %112
%113 = fadd float %79, -1.000000e+00
%114 = add nsw i64 %78, -1
%115 = icmp eq i64 %78, 0
br i1 %115, label %116, label %77
116: ; preds = %77
%117 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 0
%118 = load float, float* %117
%119 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 0
%120 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 1
%121 = load float, float* %120
%122 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 1
%123 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 2
%124 = load float, float* %123
%125 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 2
%126 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 3
%127 = load float, float* %126
%128 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 3
%129 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 4
%130 = load float, float* %129
%131 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 4
%132 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 5
%133 = load float, float* %132
%134 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 5
%135 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 6
%136 = load float, float* %135
%137 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 6
%138 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 7
%139 = load float, float* %138
%140 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 7
%141 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 8
%142 = load float, float* %141
%143 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 8
%144 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 9
%145 = load float, float* %144
%146 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 9
%147 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 10
%148 = load float, float* %147
%149 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 10
%150 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 11
%151 = load float, float* %150
%152 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 11
%153 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 12
%154 = load float, float* %153
%155 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 12
%156 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 13
%157 = load float, float* %156
%158 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 13
%159 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 14
%160 = load float, float* %159
%161 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 14
%162 = getelementptr inbounds [16 x float], [16 x float]* %10, i64 0, i64 15
%163 = load float, float* %162
%164 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 15
br label %165
165: ; preds = %116, %208
%166 = phi i64 [ 0, %116 ], [ %247, %208 ]
%167 = trunc i64 %166 to i32
br label %168
168: ; preds = %165, %205
%169 = phi i64 [ 0, %165 ], [ %206, %205 ]
%170 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 %169
%171 = trunc i64 %169 to i32
%172 = add i32 %74, %171
br label %173
173: ; preds = %173, %168
%174 = phi i64 [ 0, %168 ], [ %203, %173 ]
%175 = phi float [ 0.000000e+00, %168 ], [ %202, %173 ]
%176 = getelementptr inbounds [16 x float], [16 x float]* %11, i64 0, i64 %174
%177 = load float, float* %176
%178 = trunc i64 %174 to i32
%179 = add i32 %29, %178
%180 = mul i32 %179, %1
%181 = add i32 %172, %180
%182 = shl nsw i32 %181, 2
%183 = add nsw i32 %182, %167
%184 = sext i32 %183 to i64
%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 %177, float %187, float %175)
%189 = or i64 %174, 1
%190 = getelementptr inbounds [16 x float], [16 x float]* %11, i64 0, i64 %189
%191 = load float, float* %190
%192 = trunc i64 %189 to i32
%193 = add i32 %29, %192
%194 = mul i32 %193, %1
%195 = add i32 %172, %194
%196 = shl nsw i32 %195, 2
%197 = add nsw i32 %196, %167
%198 = sext i32 %197 to i64
%199 = getelementptr inbounds i8, i8* %0, i64 %198
%200 = load i8, i8* %199
%201 = uitofp i8 %200 to float
%202 = tail call float @llvm.fmuladd.f32(float %191, float %201, float %188)
%203 = add nuw nsw i64 %174, 2
%204 = icmp eq i64 %203, 16
br i1 %204, label %205, label %173
205: ; preds = %173
store float %202, float* %170
%206 = add nuw nsw i64 %169, 1
%207 = icmp eq i64 %206, 16
br i1 %207, label %208, label %168
208: ; preds = %205
%209 = load float, float* %119
%210 = tail call float @llvm.fmuladd.f32(float %118, float %209, float 0.000000e+00)
%211 = load float, float* %122
%212 = tail call float @llvm.fmuladd.f32(float %121, float %211, float %210)
%213 = load float, float* %125
%214 = tail call float @llvm.fmuladd.f32(float %124, float %213, float %212)
%215 = load float, float* %128
%216 = tail call float @llvm.fmuladd.f32(float %127, float %215, float %214)
%217 = load float, float* %131
%218 = tail call float @llvm.fmuladd.f32(float %130, float %217, float %216)
%219 = load float, float* %134
%220 = tail call float @llvm.fmuladd.f32(float %133, float %219, float %218)
%221 = load float, float* %137
%222 = tail call float @llvm.fmuladd.f32(float %136, float %221, float %220)
%223 = load float, float* %140
%224 = tail call float @llvm.fmuladd.f32(float %139, float %223, float %222)
%225 = load float, float* %143
%226 = tail call float @llvm.fmuladd.f32(float %142, float %225, float %224)
%227 = load float, float* %146
%228 = tail call float @llvm.fmuladd.f32(float %145, float %227, float %226)
%229 = load float, float* %149
%230 = tail call float @llvm.fmuladd.f32(float %148, float %229, float %228)
%231 = load float, float* %152
%232 = tail call float @llvm.fmuladd.f32(float %151, float %231, float %230)
%233 = load float, float* %155
%234 = tail call float @llvm.fmuladd.f32(float %154, float %233, float %232)
%235 = load float, float* %158
%236 = tail call float @llvm.fmuladd.f32(float %157, float %235, float %234)
%237 = load float, float* %161
%238 = tail call float @llvm.fmuladd.f32(float %160, float %237, float %236)
%239 = load float, float* %164
%240 = tail call float @llvm.fmuladd.f32(float %163, float %239, float %238)
%241 = fcmp olt float %240, 0.000000e+00
%242 = select i1 %241, float 0.000000e+00, float %240
%243 = fcmp ogt float %242, 2.560000e+02
%244 = select i1 %243, float 2.550000e+02, float %242
%245 = fptoui float %244 to i8
%246 = getelementptr inbounds i8, i8* %6, i64 %166
store i8 %245, i8* %246
%247 = add nuw nsw i64 %166, 1
%248 = icmp eq i64 %247, 4
br i1 %248, label %249, label %165
249: ; preds = %208
ret i32 0
}