#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_b(unsigned char *sl, int w, int h, float x, float y,
                 unsigned char *v) {
  int i, j, m, 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] =
        (x1 != 0) ? (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125)) : 1.0;
    xxx = (float)(2 * i + 1) - xx;
    x1 = xxx * PI;
    wy[8 + i] =
        (x1 != 0) ? (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125)) : 1.0;
    xx = xx - 1.0;
  }
  xx = x - m;
  for (i = 7; i >= 0; i--) {
    x1 = xx * PI;
    wx[7 - i] =
        (x1 != 0) ? (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125)) : 1.0;
    xxx = (float)(2 * i + 1) - xx;
    x1 = xxx * PI;
    wx[8 + i] =
        (x1 != 0) ? (sin(x1) / (x1)) * (sin(x1 * 0.125) / (x1 * 0.125)) : 1.0;
    xx = xx - 1.0;
  }
  for (i = 0; i < 16; i++) {
    p[i] = 0.0;
    for (j = 0; j < 16; j++) {
      p[i] = p[i] + wy[j] * sl[(j + n) * w + i + m];
    }
  }
  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 = pp;
  return 0;
}


x86 assembly (clang, -O0):
<interpSC16_b>:
push   %rbp
mov    %rsp,%rbp
sub    $0x150,%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  0xeb5(%rip),%xmm0
movss  %xmm0,-0x110(%rbp)
ff
movss  -0x14(%rbp),%xmm0
call   1040 <ceilf@plt>
sub    $0x8,%eax
mov    %eax,-0x2c(%rbp)
cmpl   $0x0,-0x2c(%rbp)
jge    1174 <interpSC16_b+0x54>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x11,%eax
cmp    -0xc(%rbp),%eax
jle    118c <interpSC16_b+0x6c>
mov    -0xc(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0x2c(%rbp)
movss  -0x18(%rbp),%xmm0
call   1040 <ceilf@plt>
sub    $0x8,%eax
mov    %eax,-0x30(%rbp)
cmpl   $0x0,-0x30(%rbp)
jge    11ad <interpSC16_b+0x8d>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
add    $0x11,%eax
cmp    -0x10(%rbp),%eax
jle    11c5 <interpSC16_b+0xa5>
mov    -0x10(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0x30(%rbp)
movss  -0x18(%rbp),%xmm0
cvtsi2ssl -0x30(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
movl   $0x7,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jl     140b <interpSC16_b+0x2eb>
movss  -0x104(%rbp),%xmm0
ff
mulss  -0x110(%rbp),%xmm0
ff
movss  %xmm0,-0x10c(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1223 <interpSC16_b+0x103>
jp     1223 <interpSC16_b+0x103>
jmp    12a1 <interpSC16_b+0x181>
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  0xdc0(%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  0xd90(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
jmp    12b6 <interpSC16_b+0x196>
movsd  0xd67(%rip),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
jmp    12b6 <interpSC16_b+0x196>
movsd  -0x118(%rbp),%xmm0
ff
cvtsd2ss %xmm0,%xmm0
mov    $0x7,%eax
sub    -0x24(%rbp),%eax
cltq
movss  %xmm0,-0x100(%rbp,%rax,4)
ff ff
mov    -0x24(%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
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1329 <interpSC16_b+0x209>
jp     1329 <interpSC16_b+0x209>
jmp    13a7 <interpSC16_b+0x287>
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  0xcba(%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  0xc8a(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
jmp    13bc <interpSC16_b+0x29c>
movsd  0xc61(%rip),%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
jmp    13bc <interpSC16_b+0x29c>
movsd  -0x128(%rbp),%xmm0
ff
cvtsd2ss %xmm0,%xmm0
mov    -0x24(%rbp),%eax
add    $0x8,%eax
cltq
movss  %xmm0,-0x100(%rbp,%rax,4)
ff ff
movss  -0x104(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xc23(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
jmp    11e2 <interpSC16_b+0xc2>
movss  -0x14(%rbp),%xmm0
cvtsi2ssl -0x2c(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
movl   $0x7,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jl     1651 <interpSC16_b+0x531>
movss  -0x104(%rbp),%xmm0
ff
mulss  -0x110(%rbp),%xmm0
ff
movss  %xmm0,-0x10c(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    1469 <interpSC16_b+0x349>
jp     1469 <interpSC16_b+0x349>
jmp    14e7 <interpSC16_b+0x3c7>
movss  -0x10c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x140(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xb7a(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x140(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x10c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xb4a(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
jmp    14fc <interpSC16_b+0x3dc>
movsd  0xb21(%rip),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
jmp    14fc <interpSC16_b+0x3dc>
movsd  -0x138(%rbp),%xmm0
ff
cvtsd2ss %xmm0,%xmm0
mov    $0x7,%eax
sub    -0x24(%rbp),%eax
cltq
movss  %xmm0,-0xc0(%rbp,%rax,4)
ff ff
mov    -0x24(%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
xorps  %xmm1,%xmm1
ucomiss %xmm1,%xmm0
jne    156f <interpSC16_b+0x44f>
jp     156f <interpSC16_b+0x44f>
jmp    15ed <interpSC16_b+0x4cd>
movss  -0x10c(%rbp),%xmm0
ff
call   1030 <sin@plt>
divss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,-0x150(%rbp)
ff
movss  -0x10c(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0xa74(%rip),%xmm1
mulsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movaps %xmm0,%xmm1
movsd  -0x150(%rbp),%xmm0
ff
cvtss2sd %xmm1,%xmm1
movss  -0x10c(%rbp),%xmm2
ff
cvtss2sd %xmm2,%xmm2
movsd  0xa44(%rip),%xmm3
mulsd  %xmm3,%xmm2
divsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x148(%rbp)
ff
jmp    1602 <interpSC16_b+0x4e2>
movsd  0xa1b(%rip),%xmm0
movsd  %xmm0,-0x148(%rbp)
ff
jmp    1602 <interpSC16_b+0x4e2>
movsd  -0x148(%rbp),%xmm0
ff
cvtsd2ss %xmm0,%xmm0
mov    -0x24(%rbp),%eax
add    $0x8,%eax
cltq
movss  %xmm0,-0xc0(%rbp,%rax,4)
ff ff
movss  -0x104(%rbp),%xmm0
ff
cvtss2sd %xmm0,%xmm0
movsd  0x9dd(%rip),%xmm1
subsd  %xmm1,%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
mov    -0x24(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x24(%rbp)
jmp    1428 <interpSC16_b+0x308>
movl   $0x0,-0x24(%rbp)
cmpl   $0x10,-0x24(%rbp)
jge    16e9 <interpSC16_b+0x5c9>
movslq -0x24(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x80(%rbp,%rax,4)
movl   $0x0,-0x28(%rbp)
cmpl   $0x10,-0x28(%rbp)
jge    16d6 <interpSC16_b+0x5b6>
movslq -0x24(%rbp),%rax
movss  -0x80(%rbp,%rax,4),%xmm1
movslq -0x28(%rbp),%rax
movss  -0x100(%rbp,%rax,4),%xmm0
ff ff
mov    -0x8(%rbp),%rax
mov    -0x28(%rbp),%ecx
add    -0x30(%rbp),%ecx
imul   -0xc(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    -0x2c(%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,-0x80(%rbp,%rax,4)
mov    -0x28(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x28(%rbp)
jmp    1676 <interpSC16_b+0x556>
jmp    16db <interpSC16_b+0x5bb>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1658 <interpSC16_b+0x538>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x34(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x10,-0x24(%rbp)
jge    1739 <interpSC16_b+0x619>
movss  -0x34(%rbp),%xmm1
movslq -0x24(%rbp),%rax
movss  -0xc0(%rbp,%rax,4),%xmm0
ff ff
movslq -0x24(%rbp),%rax
movss  -0x80(%rbp,%rax,4),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x34(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    16f8 <interpSC16_b+0x5d8>
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    1757 <interpSC16_b+0x637>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x34(%rbp)
movss  -0x34(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x8a0(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    177f <interpSC16_b+0x65f>
movss  0x88a(%rip),%xmm0
movss  %xmm0,-0x34(%rbp)
cvttss2si -0x34(%rbp),%eax
mov    %al,%cl
mov    -0x20(%rbp),%rax
mov    %cl,(%rax)
xor    %eax,%eax
add    $0x150,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<interpSC16_b>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x108,%rsp
mov    %rcx,0xb8(%rsp)
movss  %xmm1,0x10(%rsp)
mov    %edx,%r13d
mov    %esi,%ebx
mov    %rdi,%r15
movss  %xmm0,0x1c(%rsp)
call   1040 <ceilf@plt>
mov    %rax,%r12
cmp    $0x9,%r12d
mov    $0x8,%ebp
cmovl  %ebp,%r12d
lea    0x9(%r12),%eax
mov    %eax,0x2c(%rsp)
lea    -0x10(%rbx),%eax
mov    %eax,0x28(%rsp)
movss  0x10(%rsp),%xmm0
call   1040 <ceilf@plt>
movss  0x10(%rsp),%xmm1
cmp    $0x9,%eax
cmovge %eax,%ebp
lea    -0x8(%rbp),%eax
add    $0x9,%ebp
lea    -0x10(%r13),%r14d
cmp    %r13d,%ebp
cmovle %eax,%r14d
xorps  %xmm0,%xmm0
cvtsi2ss %r14d,%xmm0
subss  %xmm0,%xmm1
mov    $0x1e,%r13d
xor    %ebp,%ebp
jmp    11d8 <interpSC16_b+0xb8>
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0xc0(%rsp,%r13,2)
addss  0xe3e(%rip),%xmm1
add    $0x1,%rbp
add    $0xfffffffffffffffe,%r13
cmp    $0x8,%rbp
je     12e8 <interpSC16_b+0x1c8>
movaps %xmm1,%xmm2
mulss  0xe1d(%rip),%xmm2
ucomiss 0xe26(%rip),%xmm2
movsd  0xe26(%rip),%xmm0
movss  %xmm1,0x10(%rsp)
jne    11fc <interpSC16_b+0xdc>
jnp    1252 <interpSC16_b+0x132>
movaps %xmm2,%xmm0
movss  %xmm2,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  0xdf3(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movss  0x10(%rsp),%xmm1
cvtss2sd %xmm0,%xmm0
divsd  0x20(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0xc0(%rsp,%rbp,4)
lea    -0xf(%r13),%eax
xorps  %xmm2,%xmm2
cvtsi2ss %eax,%xmm2
subss  %xmm1,%xmm2
mulss  0xd8a(%rip),%xmm2
ucomiss 0xd93(%rip),%xmm2
movsd  0xd93(%rip),%xmm0
jne    128d <interpSC16_b+0x16d>
jnp    11b0 <interpSC16_b+0x90>
movaps %xmm2,%xmm0
movss  %xmm2,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  0xd62(%rip),%xmm0
movsd  %xmm0,0x20(%rsp)
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movss  0x10(%rsp),%xmm1
cvtss2sd %xmm0,%xmm0
divsd  0x20(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
jmp    11b0 <interpSC16_b+0x90>
add    $0xfffffff8,%r12d
cmp    %ebx,0x2c(%rsp)
cmovg  0x28(%rsp),%r12d
xorps  %xmm0,%xmm0
cvtsi2ss %r12d,%xmm0
movss  0x1c(%rsp),%xmm1
subss  %xmm0,%xmm1
mov    $0x1e,%r13d
xor    %ebp,%ebp
jmp    1345 <interpSC16_b+0x225>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x30(%rsp,%r13,2)
addss  0xcd1(%rip),%xmm1
add    $0x1,%rbp
add    $0xfffffffffffffffe,%r13
cmp    $0x8,%rbp
je     1452 <interpSC16_b+0x332>
movaps %xmm1,%xmm2
mulss  0xcb0(%rip),%xmm2
ucomiss 0xcb9(%rip),%xmm2
movsd  0xcb9(%rip),%xmm0
movss  %xmm1,0x1c(%rsp)
jne    1369 <interpSC16_b+0x249>
jnp    13bf <interpSC16_b+0x29f>
movaps %xmm2,%xmm0
movss  %xmm2,0x8(%rsp)
call   1030 <sin@plt>
movss  0x8(%rsp),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x10(%rsp)
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
mulsd  0xc86(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movss  0x1c(%rsp),%xmm1
cvtss2sd %xmm0,%xmm0
divsd  0x8(%rsp),%xmm0
mulsd  0x10(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x30(%rsp,%rbp,4)
lea    -0xf(%r13),%eax
xorps  %xmm2,%xmm2
cvtsi2ss %eax,%xmm2
subss  %xmm1,%xmm2
mulss  0xc20(%rip),%xmm2
ucomiss 0xc29(%rip),%xmm2
movsd  0xc29(%rip),%xmm0
jne    13f7 <interpSC16_b+0x2d7>
jnp    1320 <interpSC16_b+0x200>
movaps %xmm2,%xmm0
movss  %xmm2,0x8(%rsp)
call   1030 <sin@plt>
movss  0x8(%rsp),%xmm1
divss  %xmm1,%xmm0
cvtss2sd %xmm0,%xmm0
movsd  %xmm0,0x10(%rsp)
xorps  %xmm0,%xmm0
cvtss2sd %xmm1,%xmm0
mulsd  0xbf8(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movss  0x1c(%rsp),%xmm1
cvtss2sd %xmm0,%xmm0
divsd  0x8(%rsp),%xmm0
mulsd  0x10(%rsp),%xmm0
jmp    1320 <interpSC16_b+0x200>
lea    0x1(%r14),%eax
imul   %ebx,%eax
add    %r12d,%eax
imul   %ebx,%r14d
add    %ebx,%ebx
add    %r12d,%r14d
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
xorps  %xmm0,%xmm0
mov    %r14d,%edx
mov    %eax,%esi
xor    %edi,%edi
nopw   0x0(%rax,%rax,1)
movslq %edx,%rdx
movzbl (%r15,%rdx,1),%ebp
xorps  %xmm1,%xmm1
cvtsi2ss %ebp,%xmm1
mulss  0xc0(%rsp,%rdi,4),%xmm1
addss  %xmm0,%xmm1
movslq %esi,%rsi
movzbl (%r15,%rsi,1),%ebp
xorps  %xmm0,%xmm0
cvtsi2ss %ebp,%xmm0
mulss  0xc4(%rsp,%rdi,4),%xmm0
addss  %xmm1,%xmm0
add    $0x2,%rdi
add    %ebx,%esi
add    %ebx,%edx
cmp    $0x10,%rdi
jne    1480 <interpSC16_b+0x360>
movss  %xmm0,0x70(%rsp,%rcx,4)
add    $0x1,%rcx
add    $0x1,%eax
add    $0x1,%r14d
cmp    $0x10,%rcx
jne    1470 <interpSC16_b+0x350>
movss  0x30(%rsp),%xmm1
movss  0x34(%rsp),%xmm2
mulss  0x70(%rsp),%xmm1
xorps  %xmm0,%xmm0
addss  %xmm0,%xmm1
mulss  0x74(%rsp),%xmm2
addss  %xmm1,%xmm2
movss  0x38(%rsp),%xmm1
mulss  0x78(%rsp),%xmm1
addss  %xmm2,%xmm1
movss  0x3c(%rsp),%xmm2
mulss  0x7c(%rsp),%xmm2
addss  %xmm1,%xmm2
movss  0x40(%rsp),%xmm1
mulss  0x80(%rsp),%xmm1
addss  %xmm2,%xmm1
movss  0x44(%rsp),%xmm2
mulss  0x84(%rsp),%xmm2
addss  %xmm1,%xmm2
movss  0x48(%rsp),%xmm1
mulss  0x88(%rsp),%xmm1
addss  %xmm2,%xmm1
movss  0x4c(%rsp),%xmm2
mulss  0x8c(%rsp),%xmm2
addss  %xmm1,%xmm2
movss  0x50(%rsp),%xmm1
mulss  0x90(%rsp),%xmm1
addss  %xmm2,%xmm1
movss  0x54(%rsp),%xmm2
mulss  0x94(%rsp),%xmm2
addss  %xmm1,%xmm2
movss  0x58(%rsp),%xmm1
mulss  0x98(%rsp),%xmm1
addss  %xmm2,%xmm1
movss  0x5c(%rsp),%xmm2
mulss  0x9c(%rsp),%xmm2
addss  %xmm1,%xmm2
movss  0x60(%rsp),%xmm1
mulss  0xa0(%rsp),%xmm1
addss  %xmm2,%xmm1
movss  0x64(%rsp),%xmm2
mulss  0xa4(%rsp),%xmm2
addss  %xmm1,%xmm2
movss  0x68(%rsp),%xmm1
mulss  0xa8(%rsp),%xmm1
addss  %xmm2,%xmm1
movss  0x6c(%rsp),%xmm2
mulss  0xac(%rsp),%xmm2
addss  %xmm1,%xmm2
maxss  %xmm2,%xmm0
movss  0x9f8(%rip),%xmm1
cmpltss %xmm0,%xmm1
movss  0x9ef(%rip),%xmm2
andps  %xmm1,%xmm2
andnps %xmm0,%xmm1
orps   %xmm1,%xmm2
cvttss2si %xmm2,%eax
mov    0xb8(%rsp),%rcx
mov    %al,(%rcx)
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_b(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 float
%18 = alloca [16 x float]
%19 = alloca [16 x float]
%20 = alloca [16 x float]
%21 = alloca float
%22 = alloca float
%23 = alloca float
%24 = 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
store float 0x400921FB60000000, float* %24
%25 = load float, float* %10
%26 = call i64 @ceilf(float %25)
%27 = trunc i64 %26 to i32
%28 = sub nsw i32 %27, 8
store i32 %28, i32* %15
%29 = load i32, i32* %15
%30 = icmp slt i32 %29, 0
br i1 %30, label %31, label %32
31: ; preds = %6
store i32 0, i32* %15
br label %32
32: ; preds = %31, %6
%33 = load i32, i32* %15
%34 = add nsw i32 %33, 17
%35 = load i32, i32* %8
%36 = icmp sgt i32 %34, %35
br i1 %36, label %37, label %40
37: ; preds = %32
%38 = load i32, i32* %8
%39 = sub nsw i32 %38, 16
store i32 %39, i32* %15
br label %40
40: ; preds = %37, %32
%41 = load float, float* %11
%42 = call i64 @ceilf(float %41)
%43 = trunc i64 %42 to i32
%44 = sub nsw i32 %43, 8
store i32 %44, i32* %16
%45 = load i32, i32* %16
%46 = icmp slt i32 %45, 0
br i1 %46, label %47, label %48
47: ; preds = %40
store i32 0, i32* %16
br label %48
48: ; preds = %47, %40
%49 = load i32, i32* %16
%50 = add nsw i32 %49, 17
%51 = load i32, i32* %9
%52 = icmp sgt i32 %50, %51
br i1 %52, label %53, label %56
53: ; preds = %48
%54 = load i32, i32* %9
%55 = sub nsw i32 %54, 16
store i32 %55, i32* %16
br label %56
56: ; preds = %53, %48
%57 = load float, float* %11
%58 = load i32, i32* %16
%59 = sitofp i32 %58 to float
%60 = fsub float %57, %59
store float %60, float* %21
store i32 7, i32* %13
br label %61
61: ; preds = %135, %56
%62 = load i32, i32* %13
%63 = icmp sge i32 %62, 0
br i1 %63, label %64, label %138
64: ; preds = %61
%65 = load float, float* %21
%66 = load float, float* %24
%67 = fmul float %65, %66
store float %67, float* %23
%68 = load float, float* %23
%69 = fcmp une float %68, 0.000000e+00
br i1 %69, label %70, label %87
70: ; preds = %64
%71 = load float, float* %23
%72 = call float @sin(float %71)
%73 = load float, float* %23
%74 = fdiv float %72, %73
%75 = fpext float %74 to double
%76 = load float, float* %23
%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* %23
%83 = fpext float %82 to double
%84 = fmul double %83, 1.250000e-01
%85 = fdiv double %81, %84
%86 = fmul double %75, %85
br label %88
87: ; preds = %64
br label %88
88: ; preds = %87, %70
%89 = phi double [ %86, %70 ], [ 1.000000e+00, %87 ]
%90 = fptrunc double %89 to float
%91 = load i32, i32* %13
%92 = sub nsw i32 7, %91
%93 = sext i32 %92 to i64
%94 = getelementptr inbounds [16 x float], [16 x float]* %20, i64 0, i64 %93
store float %90, float* %94
%95 = load i32, i32* %13
%96 = mul nsw i32 2, %95
%97 = add nsw i32 %96, 1
%98 = sitofp i32 %97 to float
%99 = load float, float* %21
%100 = fsub float %98, %99
store float %100, float* %22
%101 = load float, float* %22
%102 = load float, float* %24
%103 = fmul float %101, %102
store float %103, float* %23
%104 = load float, float* %23
%105 = fcmp une float %104, 0.000000e+00
br i1 %105, label %106, label %123
106: ; preds = %88
%107 = load float, float* %23
%108 = call float @sin(float %107)
%109 = load float, float* %23
%110 = fdiv float %108, %109
%111 = fpext float %110 to double
%112 = load float, float* %23
%113 = fpext float %112 to double
%114 = fmul double %113, 1.250000e-01
%115 = fptrunc double %114 to float
%116 = call float @sin(float %115)
%117 = fpext float %116 to double
%118 = load float, float* %23
%119 = fpext float %118 to double
%120 = fmul double %119, 1.250000e-01
%121 = fdiv double %117, %120
%122 = fmul double %111, %121
br label %124
123: ; preds = %88
br label %124
124: ; preds = %123, %106
%125 = phi double [ %122, %106 ], [ 1.000000e+00, %123 ]
%126 = fptrunc double %125 to float
%127 = load i32, i32* %13
%128 = add nsw i32 8, %127
%129 = sext i32 %128 to i64
%130 = getelementptr inbounds [16 x float], [16 x float]* %20, i64 0, i64 %129
store float %126, float* %130
%131 = load float, float* %21
%132 = fpext float %131 to double
%133 = fsub double %132, 1.000000e+00
%134 = fptrunc double %133 to float
store float %134, float* %21
br label %135
135: ; preds = %124
%136 = load i32, i32* %13
%137 = add nsw i32 %136, -1
store i32 %137, i32* %13
br label %61
138: ; preds = %61
%139 = load float, float* %10
%140 = load i32, i32* %15
%141 = sitofp i32 %140 to float
%142 = fsub float %139, %141
store float %142, float* %21
store i32 7, i32* %13
br label %143
143: ; preds = %217, %138
%144 = load i32, i32* %13
%145 = icmp sge i32 %144, 0
br i1 %145, label %146, label %220
146: ; preds = %143
%147 = load float, float* %21
%148 = load float, float* %24
%149 = fmul float %147, %148
store float %149, float* %23
%150 = load float, float* %23
%151 = fcmp une float %150, 0.000000e+00
br i1 %151, label %152, label %169
152: ; preds = %146
%153 = load float, float* %23
%154 = call float @sin(float %153)
%155 = load float, float* %23
%156 = fdiv float %154, %155
%157 = fpext float %156 to double
%158 = load float, float* %23
%159 = fpext float %158 to double
%160 = fmul double %159, 1.250000e-01
%161 = fptrunc double %160 to float
%162 = call float @sin(float %161)
%163 = fpext float %162 to double
%164 = load float, float* %23
%165 = fpext float %164 to double
%166 = fmul double %165, 1.250000e-01
%167 = fdiv double %163, %166
%168 = fmul double %157, %167
br label %170
169: ; preds = %146
br label %170
170: ; preds = %169, %152
%171 = phi double [ %168, %152 ], [ 1.000000e+00, %169 ]
%172 = fptrunc double %171 to float
%173 = load i32, i32* %13
%174 = sub nsw i32 7, %173
%175 = sext i32 %174 to i64
%176 = getelementptr inbounds [16 x float], [16 x float]* %19, i64 0, i64 %175
store float %172, float* %176
%177 = load i32, i32* %13
%178 = mul nsw i32 2, %177
%179 = add nsw i32 %178, 1
%180 = sitofp i32 %179 to float
%181 = load float, float* %21
%182 = fsub float %180, %181
store float %182, float* %22
%183 = load float, float* %22
%184 = load float, float* %24
%185 = fmul float %183, %184
store float %185, float* %23
%186 = load float, float* %23
%187 = fcmp une float %186, 0.000000e+00
br i1 %187, label %188, label %205
188: ; preds = %170
%189 = load float, float* %23
%190 = call float @sin(float %189)
%191 = load float, float* %23
%192 = fdiv float %190, %191
%193 = fpext float %192 to double
%194 = load float, float* %23
%195 = fpext float %194 to double
%196 = fmul double %195, 1.250000e-01
%197 = fptrunc double %196 to float
%198 = call float @sin(float %197)
%199 = fpext float %198 to double
%200 = load float, float* %23
%201 = fpext float %200 to double
%202 = fmul double %201, 1.250000e-01
%203 = fdiv double %199, %202
%204 = fmul double %193, %203
br label %206
205: ; preds = %170
br label %206
206: ; preds = %205, %188
%207 = phi double [ %204, %188 ], [ 1.000000e+00, %205 ]
%208 = fptrunc double %207 to float
%209 = load i32, i32* %13
%210 = add nsw i32 8, %209
%211 = sext i32 %210 to i64
%212 = getelementptr inbounds [16 x float], [16 x float]* %19, i64 0, i64 %211
store float %208, float* %212
%213 = load float, float* %21
%214 = fpext float %213 to double
%215 = fsub double %214, 1.000000e+00
%216 = fptrunc double %215 to float
store float %216, float* %21
br label %217
217: ; preds = %206
%218 = load i32, i32* %13
%219 = add nsw i32 %218, -1
store i32 %219, i32* %13
br label %143
220: ; preds = %143
store i32 0, i32* %13
br label %221
221: ; preds = %263, %220
%222 = load i32, i32* %13
%223 = icmp slt i32 %222, 16
br i1 %223, label %224, label %266
224: ; preds = %221
%225 = load i32, i32* %13
%226 = sext i32 %225 to i64
%227 = getelementptr inbounds [16 x float], [16 x float]* %18, i64 0, i64 %226
store float 0.000000e+00, float* %227
store i32 0, i32* %14
br label %228
228: ; preds = %259, %224
%229 = load i32, i32* %14
%230 = icmp slt i32 %229, 16
br i1 %230, label %231, label %262
231: ; preds = %228
%232 = load i32, i32* %13
%233 = sext i32 %232 to i64
%234 = getelementptr inbounds [16 x float], [16 x float]* %18, i64 0, i64 %233
%235 = load float, float* %234
%236 = load i32, i32* %14
%237 = sext i32 %236 to i64
%238 = getelementptr inbounds [16 x float], [16 x float]* %20, i64 0, i64 %237
%239 = load float, float* %238
%240 = load i8*, i8** %7
%241 = load i32, i32* %14
%242 = load i32, i32* %16
%243 = add nsw i32 %241, %242
%244 = load i32, i32* %8
%245 = mul nsw i32 %243, %244
%246 = load i32, i32* %13
%247 = add nsw i32 %245, %246
%248 = load i32, i32* %15
%249 = add nsw i32 %247, %248
%250 = sext i32 %249 to i64
%251 = getelementptr inbounds i8, i8* %240, i64 %250
%252 = load i8, i8* %251
%253 = zext i8 %252 to i32
%254 = sitofp i32 %253 to float
%255 = call float @llvm.fmuladd.f32(float %239, float %254, float %235)
%256 = load i32, i32* %13
%257 = sext i32 %256 to i64
%258 = getelementptr inbounds [16 x float], [16 x float]* %18, i64 0, i64 %257
store float %255, float* %258
br label %259
259: ; preds = %231
%260 = load i32, i32* %14
%261 = add nsw i32 %260, 1
store i32 %261, i32* %14
br label %228
262: ; preds = %228
br label %263
263: ; preds = %262
%264 = load i32, i32* %13
%265 = add nsw i32 %264, 1
store i32 %265, i32* %13
br label %221
266: ; preds = %221
store float 0.000000e+00, float* %17
store i32 0, i32* %13
br label %267
267: ; preds = %281, %266
%268 = load i32, i32* %13
%269 = icmp slt i32 %268, 16
br i1 %269, label %270, label %284
270: ; preds = %267
%271 = load float, float* %17
%272 = load i32, i32* %13
%273 = sext i32 %272 to i64
%274 = getelementptr inbounds [16 x float], [16 x float]* %19, i64 0, i64 %273
%275 = load float, float* %274
%276 = load i32, i32* %13
%277 = sext i32 %276 to i64
%278 = getelementptr inbounds [16 x float], [16 x float]* %18, i64 0, i64 %277
%279 = load float, float* %278
%280 = call float @llvm.fmuladd.f32(float %275, float %279, float %271)
store float %280, float* %17
br label %281
281: ; preds = %270
%282 = load i32, i32* %13
%283 = add nsw i32 %282, 1
store i32 %283, i32* %13
br label %267
284: ; preds = %267
%285 = load float, float* %17
%286 = fpext float %285 to double
%287 = fcmp olt double %286, 0.000000e+00
br i1 %287, label %288, label %289
288: ; preds = %284
store float 0.000000e+00, float* %17
br label %289
289: ; preds = %288, %284
%290 = load float, float* %17
%291 = fpext float %290 to double
%292 = fcmp ogt double %291, 2.560000e+02
br i1 %292, label %293, label %294
293: ; preds = %289
store float 2.550000e+02, float* %17
br label %294
294: ; preds = %293, %289
%295 = load float, float* %17
%296 = fptoui float %295 to i8
%297 = load i8*, i8** %12
store i8 %296, i8* %297
ret i32 0
}

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