#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,
                   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] =
        (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 (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    $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_b32+0x54>
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
add    $0x11,%eax
cmp    -0xc(%rbp),%eax
jle    118c <interpSC16_b32+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,-0x34(%rbp)
cmpl   $0x0,-0x34(%rbp)
jge    11ad <interpSC16_b32+0x8d>
movl   $0x0,-0x34(%rbp)
mov    -0x34(%rbp),%eax
add    $0x11,%eax
cmp    -0x10(%rbp),%eax
jle    11c5 <interpSC16_b32+0xa5>
mov    -0x10(%rbp),%eax
sub    $0x10,%eax
mov    %eax,-0x34(%rbp)
movss  -0x18(%rbp),%xmm0
cvtsi2ssl -0x34(%rbp),%xmm1
subss  %xmm1,%xmm0
movss  %xmm0,-0x104(%rbp)
ff
movl   $0x7,-0x24(%rbp)
cmpl   $0x0,-0x24(%rbp)
jl     140b <interpSC16_b32+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_b32+0x103>
jp     1223 <interpSC16_b32+0x103>
jmp    12a1 <interpSC16_b32+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_b32+0x196>
movsd  0xd67(%rip),%xmm0
movsd  %xmm0,-0x118(%rbp)
ff
jmp    12b6 <interpSC16_b32+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_b32+0x209>
jp     1329 <interpSC16_b32+0x209>
jmp    13a7 <interpSC16_b32+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_b32+0x29c>
movsd  0xc61(%rip),%xmm0
movsd  %xmm0,-0x128(%rbp)
ff
jmp    13bc <interpSC16_b32+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_b32+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_b32+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_b32+0x349>
jp     1469 <interpSC16_b32+0x349>
jmp    14e7 <interpSC16_b32+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_b32+0x3dc>
movsd  0xb21(%rip),%xmm0
movsd  %xmm0,-0x138(%rbp)
ff
jmp    14fc <interpSC16_b32+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_b32+0x44f>
jp     156f <interpSC16_b32+0x44f>
jmp    15ed <interpSC16_b32+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_b32+0x4e2>
movsd  0xa1b(%rip),%xmm0
movsd  %xmm0,-0x148(%rbp)
ff
jmp    1602 <interpSC16_b32+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_b32+0x308>
movl   $0x0,-0x30(%rbp)
cmpl   $0x4,-0x30(%rbp)
jge    17b6 <interpSC16_b32+0x696>
movl   $0x0,-0x24(%rbp)
cmpl   $0x10,-0x24(%rbp)
jge    1700 <interpSC16_b32+0x5e0>
movslq -0x24(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,-0x80(%rbp,%rax,4)
movl   $0x0,-0x28(%rbp)
cmpl   $0x10,-0x28(%rbp)
jge    16ed <interpSC16_b32+0x5cd>
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    -0x34(%rbp),%ecx
imul   -0xc(%rbp),%ecx
add    -0x24(%rbp),%ecx
add    -0x2c(%rbp),%ecx
shl    $0x2,%ecx
add    -0x30(%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    1687 <interpSC16_b32+0x567>
jmp    16f2 <interpSC16_b32+0x5d2>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1669 <interpSC16_b32+0x549>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x38(%rbp)
movl   $0x0,-0x24(%rbp)
cmpl   $0x10,-0x24(%rbp)
jge    1750 <interpSC16_b32+0x630>
movss  -0x38(%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,-0x38(%rbp)
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    170f <interpSC16_b32+0x5ef>
movss  -0x38(%rbp),%xmm0
cvtss2sd %xmm0,%xmm1
xorps  %xmm0,%xmm0
ucomisd %xmm1,%xmm0
jbe    176e <interpSC16_b32+0x64e>
xorps  %xmm0,%xmm0
movss  %xmm0,-0x38(%rbp)
movss  -0x38(%rbp),%xmm0
cvtss2sd %xmm0,%xmm0
movsd  0x889(%rip),%xmm1
ucomisd %xmm1,%xmm0
jbe    1796 <interpSC16_b32+0x676>
movss  0x873(%rip),%xmm0
movss  %xmm0,-0x38(%rbp)
cvttss2si -0x38(%rbp),%eax
mov    %al,%dl
mov    -0x20(%rbp),%rax
movslq -0x30(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1658 <interpSC16_b32+0x538>
xor    %eax,%eax
add    $0x150,%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>
movss  0x18(%rsp),%xmm1
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
subss  %xmm0,%xmm1
mov    $0x1e,%r13d
xor    %ebp,%ebp
jmp    11d8 <interpSC16_b32+0xb8>
nopl   0x0(%rax,%rax,1)
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_b32+0x1c8>
movaps %xmm1,%xmm2
mulss  0xe1d(%rip),%xmm2
ucomiss 0xe26(%rip),%xmm2
movsd  0xe26(%rip),%xmm0
movss  %xmm1,0x18(%rsp)
jne    11fc <interpSC16_b32+0xdc>
jnp    1252 <interpSC16_b32+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  0x18(%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_b32+0x16d>
jnp    11b0 <interpSC16_b32+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  0x18(%rsp),%xmm1
cvtss2sd %xmm0,%xmm0
divsd  0x20(%rsp),%xmm0
mulsd  0x8(%rsp),%xmm0
jmp    11b0 <interpSC16_b32+0x90>
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
mov    $0x1e,%r13d
xor    %ebp,%ebp
jmp    1345 <interpSC16_b32+0x225>
nopw   0x0(%rax,%rax,1)
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x40(%rsp,%r13,2)
addss  0xcd1(%rip),%xmm1
add    $0x1,%rbp
add    $0xfffffffffffffffe,%r13
cmp    $0x8,%rbp
je     1452 <interpSC16_b32+0x332>
movaps %xmm1,%xmm2
mulss  0xcb0(%rip),%xmm2
ucomiss 0xcb9(%rip),%xmm2
movsd  0xcb9(%rip),%xmm0
movss  %xmm1,0x14(%rsp)
jne    1369 <interpSC16_b32+0x249>
jnp    13bf <interpSC16_b32+0x29f>
movaps %xmm2,%xmm0
movss  %xmm2,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  0xc86(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movss  0x14(%rsp),%xmm1
cvtss2sd %xmm0,%xmm0
divsd  0x8(%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
cvtsd2ss %xmm0,%xmm0
movss  %xmm0,0x40(%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_b32+0x2d7>
jnp    1320 <interpSC16_b32+0x200>
movaps %xmm2,%xmm0
movss  %xmm2,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  0xbf8(%rip),%xmm0
movsd  %xmm0,0x8(%rsp)
cvtsd2ss %xmm0,%xmm0
call   1030 <sin@plt>
movss  0x14(%rsp),%xmm1
cvtss2sd %xmm0,%xmm0
divsd  0x8(%rsp),%xmm0
mulsd  0x18(%rsp),%xmm0
jmp    1320 <interpSC16_b32+0x200>
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
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
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    1530 <interpSC16_b32+0x410>
movss  %xmm8,0x80(%rsp,%rdi,4)
add    $0x1,%rdi
add    $0x4,%esi
add    $0x4,%r10d
cmp    $0x10,%rdi
jne    1520 <interpSC16_b32+0x400>
movss  0x80(%rsp),%xmm0
mulss  0x18(%rsp),%xmm0
addss  0xa61(%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  0x93d(%rip),%xmm1
cmpltss %xmm0,%xmm1
movaps %xmm1,%xmm2
andnps %xmm0,%xmm2
movss  0x92e(%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    1510 <interpSC16_b32+0x3f0>
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, i8* %5) {
%7 = alloca i8*
%8 = alloca i32
%9 = alloca i32
%10 = alloca float
%11 = alloca float
%12 = alloca i8*
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
%17 = alloca i32
%18 = alloca float
%19 = alloca [16 x float]
%20 = alloca [16 x float]
%21 = alloca [16 x float]
%22 = alloca float
%23 = alloca float
%24 = alloca float
%25 = 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* %25
%26 = load float, float* %10
%27 = call i64 @ceilf(float %26)
%28 = trunc i64 %27 to i32
%29 = sub nsw i32 %28, 8
store i32 %29, i32* %15
%30 = load i32, i32* %15
%31 = icmp slt i32 %30, 0
br i1 %31, label %32, label %33
32: ; preds = %6
store i32 0, i32* %15
br label %33
33: ; preds = %32, %6
%34 = load i32, i32* %15
%35 = add nsw i32 %34, 17
%36 = load i32, i32* %8
%37 = icmp sgt i32 %35, %36
br i1 %37, label %38, label %41
38: ; preds = %33
%39 = load i32, i32* %8
%40 = sub nsw i32 %39, 16
store i32 %40, i32* %15
br label %41
41: ; preds = %38, %33
%42 = load float, float* %11
%43 = call i64 @ceilf(float %42)
%44 = trunc i64 %43 to i32
%45 = sub nsw i32 %44, 8
store i32 %45, i32* %17
%46 = load i32, i32* %17
%47 = icmp slt i32 %46, 0
br i1 %47, label %48, label %49
48: ; preds = %41
store i32 0, i32* %17
br label %49
49: ; preds = %48, %41
%50 = load i32, i32* %17
%51 = add nsw i32 %50, 17
%52 = load i32, i32* %9
%53 = icmp sgt i32 %51, %52
br i1 %53, label %54, label %57
54: ; preds = %49
%55 = load i32, i32* %9
%56 = sub nsw i32 %55, 16
store i32 %56, i32* %17
br label %57
57: ; preds = %54, %49
%58 = load float, float* %11
%59 = load i32, i32* %17
%60 = sitofp i32 %59 to float
%61 = fsub float %58, %60
store float %61, float* %22
store i32 7, i32* %13
br label %62
62: ; preds = %136, %57
%63 = load i32, i32* %13
%64 = icmp sge i32 %63, 0
br i1 %64, label %65, label %139
65: ; preds = %62
%66 = load float, float* %22
%67 = load float, float* %25
%68 = fmul float %66, %67
store float %68, float* %24
%69 = load float, float* %24
%70 = fcmp une float %69, 0.000000e+00
br i1 %70, label %71, label %88
71: ; preds = %65
%72 = load float, float* %24
%73 = call float @sin(float %72)
%74 = load float, float* %24
%75 = fdiv float %73, %74
%76 = fpext float %75 to double
%77 = load float, float* %24
%78 = fpext float %77 to double
%79 = fmul double %78, 1.250000e-01
%80 = fptrunc double %79 to float
%81 = call float @sin(float %80)
%82 = fpext float %81 to double
%83 = load float, float* %24
%84 = fpext float %83 to double
%85 = fmul double %84, 1.250000e-01
%86 = fdiv double %82, %85
%87 = fmul double %76, %86
br label %89
88: ; preds = %65
br label %89
89: ; preds = %88, %71
%90 = phi double [ %87, %71 ], [ 1.000000e+00, %88 ]
%91 = fptrunc double %90 to float
%92 = load i32, i32* %13
%93 = sub nsw i32 7, %92
%94 = sext i32 %93 to i64
%95 = getelementptr inbounds [16 x float], [16 x float]* %21, i64 0, i64 %94
store float %91, float* %95
%96 = load i32, i32* %13
%97 = mul nsw i32 2, %96
%98 = add nsw i32 %97, 1
%99 = sitofp i32 %98 to float
%100 = load float, float* %22
%101 = fsub float %99, %100
store float %101, float* %23
%102 = load float, float* %23
%103 = load float, float* %25
%104 = fmul float %102, %103
store float %104, float* %24
%105 = load float, float* %24
%106 = fcmp une float %105, 0.000000e+00
br i1 %106, label %107, label %124
107: ; preds = %89
%108 = load float, float* %24
%109 = call float @sin(float %108)
%110 = load float, float* %24
%111 = fdiv float %109, %110
%112 = fpext float %111 to double
%113 = load float, float* %24
%114 = fpext float %113 to double
%115 = fmul double %114, 1.250000e-01
%116 = fptrunc double %115 to float
%117 = call float @sin(float %116)
%118 = fpext float %117 to double
%119 = load float, float* %24
%120 = fpext float %119 to double
%121 = fmul double %120, 1.250000e-01
%122 = fdiv double %118, %121
%123 = fmul double %112, %122
br label %125
124: ; preds = %89
br label %125
125: ; preds = %124, %107
%126 = phi double [ %123, %107 ], [ 1.000000e+00, %124 ]
%127 = fptrunc double %126 to float
%128 = load i32, i32* %13
%129 = add nsw i32 8, %128
%130 = sext i32 %129 to i64
%131 = getelementptr inbounds [16 x float], [16 x float]* %21, i64 0, i64 %130
store float %127, float* %131
%132 = load float, float* %22
%133 = fpext float %132 to double
%134 = fsub double %133, 1.000000e+00
%135 = fptrunc double %134 to float
store float %135, float* %22
br label %136
136: ; preds = %125
%137 = load i32, i32* %13
%138 = add nsw i32 %137, -1
store i32 %138, i32* %13
br label %62
139: ; preds = %62
%140 = load float, float* %10
%141 = load i32, i32* %15
%142 = sitofp i32 %141 to float
%143 = fsub float %140, %142
store float %143, float* %22
store i32 7, i32* %13
br label %144
144: ; preds = %218, %139
%145 = load i32, i32* %13
%146 = icmp sge i32 %145, 0
br i1 %146, label %147, label %221
147: ; preds = %144
%148 = load float, float* %22
%149 = load float, float* %25
%150 = fmul float %148, %149
store float %150, float* %24
%151 = load float, float* %24
%152 = fcmp une float %151, 0.000000e+00
br i1 %152, label %153, label %170
153: ; preds = %147
%154 = load float, float* %24
%155 = call float @sin(float %154)
%156 = load float, float* %24
%157 = fdiv float %155, %156
%158 = fpext float %157 to double
%159 = load float, float* %24
%160 = fpext float %159 to double
%161 = fmul double %160, 1.250000e-01
%162 = fptrunc double %161 to float
%163 = call float @sin(float %162)
%164 = fpext float %163 to double
%165 = load float, float* %24
%166 = fpext float %165 to double
%167 = fmul double %166, 1.250000e-01
%168 = fdiv double %164, %167
%169 = fmul double %158, %168
br label %171
170: ; preds = %147
br label %171
171: ; preds = %170, %153
%172 = phi double [ %169, %153 ], [ 1.000000e+00, %170 ]
%173 = fptrunc double %172 to float
%174 = load i32, i32* %13
%175 = sub nsw i32 7, %174
%176 = sext i32 %175 to i64
%177 = getelementptr inbounds [16 x float], [16 x float]* %20, i64 0, i64 %176
store float %173, float* %177
%178 = load i32, i32* %13
%179 = mul nsw i32 2, %178
%180 = add nsw i32 %179, 1
%181 = sitofp i32 %180 to float
%182 = load float, float* %22
%183 = fsub float %181, %182
store float %183, float* %23
%184 = load float, float* %23
%185 = load float, float* %25
%186 = fmul float %184, %185
store float %186, float* %24
%187 = load float, float* %24
%188 = fcmp une float %187, 0.000000e+00
br i1 %188, label %189, label %206
189: ; preds = %171
%190 = load float, float* %24
%191 = call float @sin(float %190)
%192 = load float, float* %24
%193 = fdiv float %191, %192
%194 = fpext float %193 to double
%195 = load float, float* %24
%196 = fpext float %195 to double
%197 = fmul double %196, 1.250000e-01
%198 = fptrunc double %197 to float
%199 = call float @sin(float %198)
%200 = fpext float %199 to double
%201 = load float, float* %24
%202 = fpext float %201 to double
%203 = fmul double %202, 1.250000e-01
%204 = fdiv double %200, %203
%205 = fmul double %194, %204
br label %207
206: ; preds = %171
br label %207
207: ; preds = %206, %189
%208 = phi double [ %205, %189 ], [ 1.000000e+00, %206 ]
%209 = fptrunc double %208 to float
%210 = load i32, i32* %13
%211 = add nsw i32 8, %210
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds [16 x float], [16 x float]* %20, i64 0, i64 %212
store float %209, float* %213
%214 = load float, float* %22
%215 = fpext float %214 to double
%216 = fsub double %215, 1.000000e+00
%217 = fptrunc double %216 to float
store float %217, float* %22
br label %218
218: ; preds = %207
%219 = load i32, i32* %13
%220 = add nsw i32 %219, -1
store i32 %220, i32* %13
br label %144
221: ; preds = %144
store i32 0, i32* %16
br label %222
222: ; preds = %309, %221
%223 = load i32, i32* %16
%224 = icmp slt i32 %223, 4
br i1 %224, label %225, label %312
225: ; preds = %222
store i32 0, i32* %13
br label %226
226: ; preds = %271, %225
%227 = load i32, i32* %13
%228 = icmp slt i32 %227, 16
br i1 %228, label %229, label %274
229: ; preds = %226
%230 = load i32, i32* %13
%231 = sext i32 %230 to i64
%232 = getelementptr inbounds [16 x float], [16 x float]* %19, i64 0, i64 %231
store float 0.000000e+00, float* %232
store i32 0, i32* %14
br label %233
233: ; preds = %267, %229
%234 = load i32, i32* %14
%235 = icmp slt i32 %234, 16
br i1 %235, label %236, label %270
236: ; preds = %233
%237 = load i32, i32* %13
%238 = sext i32 %237 to i64
%239 = getelementptr inbounds [16 x float], [16 x float]* %19, i64 0, i64 %238
%240 = load float, float* %239
%241 = load i32, i32* %14
%242 = sext i32 %241 to i64
%243 = getelementptr inbounds [16 x float], [16 x float]* %21, i64 0, i64 %242
%244 = load float, float* %243
%245 = load i8*, i8** %7
%246 = load i32, i32* %14
%247 = load i32, i32* %17
%248 = add nsw i32 %246, %247
%249 = load i32, i32* %8
%250 = mul nsw i32 %248, %249
%251 = load i32, i32* %13
%252 = add nsw i32 %250, %251
%253 = load i32, i32* %15
%254 = add nsw i32 %252, %253
%255 = mul nsw i32 4, %254
%256 = load i32, i32* %16
%257 = add nsw i32 %255, %256
%258 = sext i32 %257 to i64
%259 = getelementptr inbounds i8, i8* %245, i64 %258
%260 = load i8, i8* %259
%261 = zext i8 %260 to i32
%262 = sitofp i32 %261 to float
%263 = call float @llvm.fmuladd.f32(float %244, float %262, float %240)
%264 = load i32, i32* %13
%265 = sext i32 %264 to i64
%266 = getelementptr inbounds [16 x float], [16 x float]* %19, i64 0, i64 %265
store float %263, float* %266
br label %267
267: ; preds = %236
%268 = load i32, i32* %14
%269 = add nsw i32 %268, 1
store i32 %269, i32* %14
br label %233
270: ; preds = %233
br label %271
271: ; preds = %270
%272 = load i32, i32* %13
%273 = add nsw i32 %272, 1
store i32 %273, i32* %13
br label %226
274: ; preds = %226
store float 0.000000e+00, float* %18
store i32 0, i32* %13
br label %275
275: ; preds = %289, %274
%276 = load i32, i32* %13
%277 = icmp slt i32 %276, 16
br i1 %277, label %278, label %292
278: ; preds = %275
%279 = load float, float* %18
%280 = load i32, i32* %13
%281 = sext i32 %280 to i64
%282 = getelementptr inbounds [16 x float], [16 x float]* %20, i64 0, i64 %281
%283 = load float, float* %282
%284 = load i32, i32* %13
%285 = sext i32 %284 to i64
%286 = getelementptr inbounds [16 x float], [16 x float]* %19, i64 0, i64 %285
%287 = load float, float* %286
%288 = call float @llvm.fmuladd.f32(float %283, float %287, float %279)
store float %288, float* %18
br label %289
289: ; preds = %278
%290 = load i32, i32* %13
%291 = add nsw i32 %290, 1
store i32 %291, i32* %13
br label %275
292: ; preds = %275
%293 = load float, float* %18
%294 = fpext float %293 to double
%295 = fcmp olt double %294, 0.000000e+00
br i1 %295, label %296, label %297
296: ; preds = %292
store float 0.000000e+00, float* %18
br label %297
297: ; preds = %296, %292
%298 = load float, float* %18
%299 = fpext float %298 to double
%300 = fcmp ogt double %299, 2.560000e+02
br i1 %300, label %301, label %302
301: ; preds = %297
store float 2.550000e+02, float* %18
br label %302
302: ; preds = %301, %297
%303 = load float, float* %18
%304 = fptoui float %303 to i8
%305 = load i8*, i8** %12
%306 = load i32, i32* %16
%307 = sext i32 %306 to i64
%308 = getelementptr inbounds i8, i8* %305, i64 %307
store i8 %304, i8* %308
br label %309
309: ; preds = %302
%310 = load i32, i32* %16
%311 = add nsw i32 %310, 1
store i32 %311, i32* %16
br label %222
312: ; preds = %222
ret i32 0
}

LLVM IR (-O2):
define i32 @interpSC16_b32(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
%131 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 0
%132 = load float, float* %131
%133 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 0
%134 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 1
%135 = load float, float* %134
%136 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 1
%137 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 2
%138 = load float, float* %137
%139 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 2
%140 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 3
%141 = load float, float* %140
%142 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 3
%143 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 4
%144 = load float, float* %143
%145 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 4
%146 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 5
%147 = load float, float* %146
%148 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 5
%149 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 6
%150 = load float, float* %149
%151 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 6
%152 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 7
%153 = load float, float* %152
%154 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 7
%155 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 8
%156 = load float, float* %155
%157 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 8
%158 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 9
%159 = load float, float* %158
%160 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 9
%161 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 10
%162 = load float, float* %161
%163 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 10
%164 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 11
%165 = load float, float* %164
%166 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 11
%167 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 12
%168 = load float, float* %167
%169 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 12
%170 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 13
%171 = load float, float* %170
%172 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 13
%173 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 14
%174 = load float, float* %173
%175 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 14
%176 = getelementptr inbounds [16 x float], [16 x float]* %8, i64 0, i64 15
%177 = load float, float* %176
%178 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 15
br label %179
179: ; preds = %130, %222
%180 = phi i64 [ 0, %130 ], [ %261, %222 ]
%181 = trunc i64 %180 to i32
br label %182
182: ; preds = %179, %219
%183 = phi i64 [ 0, %179 ], [ %220, %219 ]
%184 = getelementptr inbounds [16 x float], [16 x float]* %7, i64 0, i64 %183
%185 = trunc i64 %183 to i32
%186 = add i32 %80, %185
br label %187
187: ; preds = %187, %182
%188 = phi i64 [ 0, %182 ], [ %217, %187 ]
%189 = phi float [ 0.000000e+00, %182 ], [ %216, %187 ]
%190 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 %188
%191 = load float, float* %190
%192 = trunc i64 %188 to i32
%193 = add i32 %27, %192
%194 = mul i32 %193, %1
%195 = add i32 %186, %194
%196 = shl nsw i32 %195, 2
%197 = add nsw i32 %196, %181
%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 %189)
%203 = or i64 %188, 1
%204 = getelementptr inbounds [16 x float], [16 x float]* %9, i64 0, i64 %203
%205 = load float, float* %204
%206 = trunc i64 %203 to i32
%207 = add i32 %27, %206
%208 = mul i32 %207, %1
%209 = add i32 %186, %208
%210 = shl nsw i32 %209, 2
%211 = add nsw i32 %210, %181
%212 = sext i32 %211 to i64
%213 = getelementptr inbounds i8, i8* %0, i64 %212
%214 = load i8, i8* %213
%215 = uitofp i8 %214 to float
%216 = tail call float @llvm.fmuladd.f32(float %205, float %215, float %202)
%217 = add nuw nsw i64 %188, 2
%218 = icmp eq i64 %217, 16
br i1 %218, label %219, label %187
219: ; preds = %187
store float %216, float* %184
%220 = add nuw nsw i64 %183, 1
%221 = icmp eq i64 %220, 16
br i1 %221, label %222, label %182
222: ; preds = %219
%223 = load float, float* %133
%224 = tail call float @llvm.fmuladd.f32(float %132, float %223, float 0.000000e+00)
%225 = load float, float* %136
%226 = tail call float @llvm.fmuladd.f32(float %135, float %225, float %224)
%227 = load float, float* %139
%228 = tail call float @llvm.fmuladd.f32(float %138, float %227, float %226)
%229 = load float, float* %142
%230 = tail call float @llvm.fmuladd.f32(float %141, float %229, float %228)
%231 = load float, float* %145
%232 = tail call float @llvm.fmuladd.f32(float %144, float %231, float %230)
%233 = load float, float* %148
%234 = tail call float @llvm.fmuladd.f32(float %147, float %233, float %232)
%235 = load float, float* %151
%236 = tail call float @llvm.fmuladd.f32(float %150, float %235, float %234)
%237 = load float, float* %154
%238 = tail call float @llvm.fmuladd.f32(float %153, float %237, float %236)
%239 = load float, float* %157
%240 = tail call float @llvm.fmuladd.f32(float %156, float %239, float %238)
%241 = load float, float* %160
%242 = tail call float @llvm.fmuladd.f32(float %159, float %241, float %240)
%243 = load float, float* %163
%244 = tail call float @llvm.fmuladd.f32(float %162, float %243, float %242)
%245 = load float, float* %166
%246 = tail call float @llvm.fmuladd.f32(float %165, float %245, float %244)
%247 = load float, float* %169
%248 = tail call float @llvm.fmuladd.f32(float %168, float %247, float %246)
%249 = load float, float* %172
%250 = tail call float @llvm.fmuladd.f32(float %171, float %249, float %248)
%251 = load float, float* %175
%252 = tail call float @llvm.fmuladd.f32(float %174, float %251, float %250)
%253 = load float, float* %178
%254 = tail call float @llvm.fmuladd.f32(float %177, float %253, float %252)
%255 = fcmp olt float %254, 0.000000e+00
%256 = select i1 %255, float 0.000000e+00, float %254
%257 = fcmp ogt float %256, 2.560000e+02
%258 = select i1 %257, float 2.550000e+02, float %256
%259 = fptoui float %258 to i8
%260 = getelementptr inbounds i8, i8* %5, i64 %180
store i8 %259, i8* %260
%261 = add nuw nsw i64 %180, 1
%262 = icmp eq i64 %261, 4
br i1 %262, label %263, label %179
263: ; preds = %222
ret i32 0
}