#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 */
int lrintf(float);
void vparms(long *vwin, float *inbuf, float *lpbuf, long half, float *dither,
            long *mintau, long *zc, long *lbe, long *fbe, float *qs, float *rc1,
            float *ar_b, float *ar_f) {
  float temp;
  long vlen, stop, i;
  float e_pre;
  long start;
  float ap_rms, e_0, oldsgn, lp_rms, e_b, e_f, r_b, r_f, e0ap;
  lpbuf -= 25;
  inbuf -= 181;
  lp_rms = 0.f;
  ap_rms = 0.f;
  e_pre = 0.f;
  e0ap = 0.f;
  *rc1 = 0.f;
  e_0 = 0.f;
  e_b = 0.f;
  e_f = 0.f;
  r_f = 0.f;
  r_b = 0.f;
  *zc = 0;
  vlen = vwin[1] - vwin[0] + 1;
  start = vwin[0] + (half - 1) * vlen / 2 + 1;
  stop = start + vlen / 2 - 1;
  oldsgn = ((inbuf[start - 1] - *dither) < 0.0f) ? -1.0f : 1.0f;
  for (i = start; i <= stop; ++i) {
    if (lpbuf[i] < 0.0f)
      lp_rms -= lpbuf[i];
    else
      lp_rms += lpbuf[i];
    if (inbuf[i] < 0.0f)
      ap_rms -= inbuf[i];
    else
      ap_rms += inbuf[i];
    temp = inbuf[i] - inbuf[i - 1];
    if (temp < 0.0f)
      e_pre -= temp;
    else
      e_pre += temp;
    e0ap += inbuf[i] * inbuf[i];
    *rc1 += inbuf[i] * inbuf[i - 1];
    e_0 += lpbuf[i] * lpbuf[i];
    e_b += lpbuf[i - *mintau] * lpbuf[i - *mintau];
    e_f += lpbuf[i + *mintau] * lpbuf[i + *mintau];
    r_f += lpbuf[i] * lpbuf[i + *mintau];
    r_b += lpbuf[i] * lpbuf[i - *mintau];
    if ((((inbuf[i] + *dither) < 0.0f) ? -1.0f : 1.0f) != oldsgn) {
      ++(*zc);
      oldsgn = -oldsgn;
    }
    *dither = -(*dither);
  }
  *rc1 /= ((e0ap) >= (1.f) ? (e0ap) : (1.f));
  *qs = e_pre / ((ap_rms * 2.f) >= (1.f) ? (ap_rms * 2.f) : (1.f));
  *ar_b = r_b / ((e_b) >= (1.f) ? (e_b) : (1.f)) *
          (r_b / ((e_0) >= (1.f) ? (e_0) : (1.f)));
  *ar_f = r_f / ((e_f) >= (1.f) ? (e_f) : (1.f)) *
          (r_f / ((e_0) >= (1.f) ? (e_0) : (1.f)));
  *zc = lrintf((float)(*zc << 1) * (90.f / vlen));
  *lbe = ((lrintf(lp_rms * 0.25f * (90.f / vlen))) <= (32767)
              ? (lrintf(lp_rms * 0.25f * (90.f / vlen)))
              : (32767));
  *fbe = ((lrintf(ap_rms * 0.25f * (90.f / vlen))) <= (32767)
              ? (lrintf(ap_rms * 0.25f * (90.f / vlen)))
              : (32767));
}


x86 assembly (clang, -O0):
<vparms>:
push   %rbp
mov    %rsp,%rbp
sub    $0xe0,%rsp
mov    0x40(%rbp),%rax
mov    0x38(%rbp),%rax
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
mov    -0x18(%rbp),%rax
add    $0xffffffffffffff9c,%rax
mov    %rax,-0x18(%rbp)
mov    -0x10(%rbp),%rax
add    $0xfffffffffffffd2c,%rax
mov    %rax,-0x10(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x64(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x54(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x84(%rbp)
ff
mov    0x30(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,(%rax)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x74(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0x7c(%rbp)
mov    0x10(%rbp),%rax
movq   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
mov    -0x8(%rbp),%rcx
sub    (%rcx),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
mov    %rax,-0x98(%rbp)
mov    -0x20(%rbp),%rax
sub    $0x1,%rax
imul   -0x40(%rbp),%rax
mov    $0x2,%ecx
cqto
idiv   %rcx
mov    %rax,%rcx
mov    -0x98(%rbp),%rax
add    %rcx,%rax
add    $0x1,%rax
mov    %rax,-0x60(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0x90(%rbp)
mov    -0x40(%rbp),%rax
mov    $0x2,%ecx
cqto
idiv   %rcx
mov    %rax,%rcx
mov    -0x90(%rbp),%rax
add    %rcx,%rax
sub    $0x1,%rax
mov    %rax,-0x48(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x60(%rbp),%rcx
sub    $0x1,%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x28(%rbp),%rax
subss  (%rax),%xmm0
movss  0xd96(%rip),%xmm3
movss  0xd92(%rip),%xmm2
xorps  %xmm1,%xmm1
cmpltss %xmm1,%xmm0
movaps %xmm0,%xmm1
andps  %xmm3,%xmm1
andnps %xmm2,%xmm0
orps   %xmm1,%xmm0
movss  %xmm0,-0x6c(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0x50(%rbp)
mov    -0x50(%rbp),%rax
cmp    -0x48(%rbp),%rax
jg     159b <vparms+0x48b>
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
xorps  %xmm0,%xmm0
ucomiss (%rax,%rcx,4),%xmm0
jbe    12d6 <vparms+0x1c6>
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
movss  -0x70(%rbp),%xmm0
subss  %xmm1,%xmm0
movss  %xmm0,-0x70(%rbp)
jmp    12ed <vparms+0x1dd>
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
addss  -0x70(%rbp),%xmm0
movss  %xmm0,-0x70(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
xorps  %xmm0,%xmm0
ucomiss (%rax,%rcx,4),%xmm0
jbe    1322 <vparms+0x212>
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm1
movss  -0x64(%rbp),%xmm0
subss  %xmm1,%xmm0
movss  %xmm0,-0x64(%rbp)
jmp    1339 <vparms+0x229>
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
addss  -0x64(%rbp),%xmm0
movss  %xmm0,-0x64(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
sub    $0x1,%rcx
subss  (%rax,%rcx,4),%xmm0
movss  %xmm0,-0x34(%rbp)
xorps  %xmm0,%xmm0
ucomiss -0x34(%rbp),%xmm0
jbe    1381 <vparms+0x271>
movss  -0x34(%rbp),%xmm1
movss  -0x54(%rbp),%xmm0
subss  %xmm1,%xmm0
movss  %xmm0,-0x54(%rbp)
jmp    1390 <vparms+0x280>
movss  -0x34(%rbp),%xmm0
addss  -0x54(%rbp),%xmm0
movss  %xmm0,-0x54(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x84(%rbp),%xmm1
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x84(%rbp)
ff
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
sub    $0x1,%rcx
movss  (%rax,%rcx,4),%xmm2
mov    0x30(%rbp),%rax
movss  (%rax),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,(%rax)
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x68(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x68(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    -0x30(%rbp),%rdx
sub    (%rdx),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    -0x30(%rbp),%rdx
sub    (%rdx),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x74(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x74(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    -0x30(%rbp),%rdx
add    (%rdx),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    -0x30(%rbp),%rdx
add    (%rdx),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x78(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x78(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    -0x30(%rbp),%rdx
add    (%rdx),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x80(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x80(%rbp)
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x50(%rbp),%rcx
mov    -0x30(%rbp),%rdx
sub    (%rdx),%rcx
movss  (%rax,%rcx,4),%xmm2
movss  -0x7c(%rbp),%xmm1
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
movss  %xmm0,-0x7c(%rbp)
mov    -0x10(%rbp),%rax
mov    -0x50(%rbp),%rcx
movss  (%rax,%rcx,4),%xmm0
mov    -0x28(%rbp),%rax
addss  (%rax),%xmm0
movss  0xae9(%rip),%xmm3
movss  0xae5(%rip),%xmm2
xorps  %xmm1,%xmm1
cmpltss %xmm1,%xmm0
movaps %xmm0,%xmm1
andps  %xmm3,%xmm1
andnps %xmm2,%xmm0
orps   %xmm1,%xmm0
ucomiss -0x6c(%rbp),%xmm0
jne    1548 <vparms+0x438>
jp     1548 <vparms+0x438>
jmp    156d <vparms+0x45d>
mov    0x10(%rbp),%rax
mov    (%rax),%rcx
add    $0x1,%rcx
mov    %rcx,(%rax)
movss  -0x6c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x6c(%rbp)
mov    -0x28(%rbp),%rax
movss  (%rax),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
mov    -0x28(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x50(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x50(%rbp)
jmp    1293 <vparms+0x183>
movss  -0x84(%rbp),%xmm0
ff
movss  0xa59(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     15c9 <vparms+0x4b9>
movss  -0x84(%rbp),%xmm0
ff
movss  %xmm0,-0x9c(%rbp)
ff
jmp    15de <vparms+0x4ce>
movss  0xa33(%rip),%xmm0
movss  %xmm0,-0x9c(%rbp)
ff
jmp    15de <vparms+0x4ce>
movss  -0x9c(%rbp),%xmm1
ff
mov    0x30(%rbp),%rax
movss  (%rax),%xmm0
divss  %xmm1,%xmm0
movss  %xmm0,(%rax)
movss  -0x54(%rbp),%xmm0
movss  %xmm0,-0xa0(%rbp)
ff
movss  0x9fd(%rip),%xmm0
mulss  -0x64(%rbp),%xmm0
movss  0x9ec(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     163b <vparms+0x52b>
movss  0x9df(%rip),%xmm0
mulss  -0x64(%rbp),%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
jmp    1650 <vparms+0x540>
movss  0x9c1(%rip),%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
jmp    1650 <vparms+0x540>
movss  -0xa0(%rbp),%xmm0
ff
movss  -0xa4(%rbp),%xmm1
ff
divss  %xmm1,%xmm0
mov    0x28(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x7c(%rbp),%xmm0
movss  %xmm0,-0xa8(%rbp)
ff
movss  -0x74(%rbp),%xmm0
movss  0x97e(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     16a1 <vparms+0x591>
movss  -0x74(%rbp),%xmm0
movss  %xmm0,-0xac(%rbp)
ff
jmp    16b6 <vparms+0x5a6>
movss  0x95b(%rip),%xmm0
movss  %xmm0,-0xac(%rbp)
ff
jmp    16b6 <vparms+0x5a6>
movss  -0xa8(%rbp),%xmm0
ff
movss  -0xac(%rbp),%xmm1
ff
divss  %xmm1,%xmm0
movss  %xmm0,-0xb4(%rbp)
ff
movss  -0x7c(%rbp),%xmm0
movss  %xmm0,-0xb0(%rbp)
ff
movss  -0x68(%rbp),%xmm0
movss  0x918(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     1707 <vparms+0x5f7>
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0xb8(%rbp)
ff
jmp    171c <vparms+0x60c>
movss  0x8f5(%rip),%xmm0
movss  %xmm0,-0xb8(%rbp)
ff
jmp    171c <vparms+0x60c>
movss  -0xb4(%rbp),%xmm0
ff
movss  -0xb0(%rbp),%xmm1
ff
movss  -0xb8(%rbp),%xmm2
ff
divss  %xmm2,%xmm1
mulss  %xmm1,%xmm0
mov    0x38(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x80(%rbp),%xmm0
movss  %xmm0,-0xbc(%rbp)
ff
movss  -0x78(%rbp),%xmm0
movss  0x8a6(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     1779 <vparms+0x669>
movss  -0x78(%rbp),%xmm0
movss  %xmm0,-0xc0(%rbp)
ff
jmp    178e <vparms+0x67e>
movss  0x883(%rip),%xmm0
movss  %xmm0,-0xc0(%rbp)
ff
jmp    178e <vparms+0x67e>
movss  -0xbc(%rbp),%xmm0
ff
movss  -0xc0(%rbp),%xmm1
ff
divss  %xmm1,%xmm0
movss  %xmm0,-0xc8(%rbp)
ff
movss  -0x80(%rbp),%xmm0
movss  %xmm0,-0xc4(%rbp)
ff
movss  -0x68(%rbp),%xmm0
movss  0x840(%rip),%xmm1
ucomiss %xmm1,%xmm0
jb     17df <vparms+0x6cf>
movss  -0x68(%rbp),%xmm0
movss  %xmm0,-0xcc(%rbp)
ff
jmp    17f4 <vparms+0x6e4>
movss  0x81d(%rip),%xmm0
movss  %xmm0,-0xcc(%rbp)
ff
jmp    17f4 <vparms+0x6e4>
movss  -0xc8(%rbp),%xmm0
ff
movss  -0xc4(%rbp),%xmm1
ff
movss  -0xcc(%rbp),%xmm2
ff
divss  %xmm2,%xmm1
mulss  %xmm1,%xmm0
mov    0x40(%rbp),%rax
movss  %xmm0,(%rax)
mov    0x10(%rbp),%rax
mov    (%rax),%rax
shl    $0x1,%rax
cvtsi2ss %rax,%xmm0
cvtsi2ssq -0x40(%rbp),%xmm2
movss  0x7d2(%rip),%xmm1
divss  %xmm2,%xmm1
mulss  %xmm1,%xmm0
call   1030 <lrintf@plt>
movslq %eax,%rcx
mov    0x10(%rbp),%rax
mov    %rcx,(%rax)
movss  0x7b7(%rip),%xmm0
mulss  -0x70(%rbp),%xmm0
cvtsi2ssq -0x40(%rbp),%xmm2
movss  0x7a0(%rip),%xmm1
divss  %xmm2,%xmm1
mulss  %xmm1,%xmm0
call   1030 <lrintf@plt>
cmp    $0x7fff,%eax
jg     18b7 <vparms+0x7a7>
movss  0x784(%rip),%xmm0
mulss  -0x70(%rbp),%xmm0
cvtsi2ssq -0x40(%rbp),%xmm2
movss  0x76d(%rip),%xmm1
divss  %xmm2,%xmm1
mulss  %xmm1,%xmm0
call   1030 <lrintf@plt>
mov    %eax,-0xd0(%rbp)
jmp    18c7 <vparms+0x7b7>
mov    $0x7fff,%eax
mov    %eax,-0xd0(%rbp)
jmp    18c7 <vparms+0x7b7>
mov    -0xd0(%rbp),%eax
movslq %eax,%rcx
mov    0x18(%rbp),%rax
mov    %rcx,(%rax)
movss  0x731(%rip),%xmm0
mulss  -0x64(%rbp),%xmm0
cvtsi2ssq -0x40(%rbp),%xmm2
movss  0x71a(%rip),%xmm1
divss  %xmm2,%xmm1
mulss  %xmm1,%xmm0
call   1030 <lrintf@plt>
cmp    $0x7fff,%eax
jg     193d <vparms+0x82d>
movss  0x6fe(%rip),%xmm0
mulss  -0x64(%rbp),%xmm0
cvtsi2ssq -0x40(%rbp),%xmm2
movss  0x6e7(%rip),%xmm1
divss  %xmm2,%xmm1
mulss  %xmm1,%xmm0
call   1030 <lrintf@plt>
mov    %eax,-0xd4(%rbp)
jmp    194d <vparms+0x83d>
mov    $0x7fff,%eax
mov    %eax,-0xd4(%rbp)
jmp    194d <vparms+0x83d>
mov    -0xd4(%rbp),%eax
movslq %eax,%rcx
mov    0x20(%rbp),%rax
mov    %rcx,(%rax)
add    $0xe0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<vparms>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x28,%rsp
mov    0x90(%rsp),%r11
mov    0x88(%rsp),%r14
mov    0x80(%rsp),%r12
mov    0x78(%rsp),%r15
mov    0x60(%rsp),%rax
movl   $0x0,(%r12)
movq   $0x0,(%rax)
mov    (%rdi),%r10
mov    0x8(%rdi),%rdi
sub    %r10,%rdi
lea    0x1(%rdi),%rax
add    $0xffffffffffffffff,%rcx
imul   %rax,%rcx
mov    %rcx,%rbx
shr    $0x3f,%rbx
add    %rcx,%rbx
sar    %rbx
lea    (%rbx,%r10,1),%rcx
mov    %rax,%rbp
shr    $0x3f,%rbp
add    %rbp,%rdi
add    $0x1,%rdi
sar    %rdi
lea    (%rcx,%rdi,1),%rbp
cmp    %rbp,%rcx
jge    135c <vparms+0x24c>
mov    %rax,0x20(%rsp)
movss  -0x2d4(%rsi,%rcx,4),%xmm6
ff ff
movaps %xmm6,%xmm0
subss  (%r8),%xmm0
xorps  %xmm1,%xmm1
xor    %ebp,%ebp
xorps  %xmm9,%xmm9
ucomiss %xmm0,%xmm1
seta   %bpl
lea    0xe3f(%rip),%r13
movss  0x0(%r13,%rbp,4),%xmm11
add    $0xffffffffffffffff,%rdi
add    %r10,%rbx
add    $0x1,%rbx
lea    (%rdx,%rcx,4),%r15
add    $0xffffffffffffffa0,%r15
lea    (%rsi,%rcx,4),%rsi
add    $0xfffffffffffffd30,%rsi
xorps  %xmm10,%xmm10
xor    %r10d,%r10d
movaps 0xe1c(%rip),%xmm4
xor    %ecx,%ecx
xorps  %xmm2,%xmm2
xorps  %xmm8,%xmm8
xorps  %xmm15,%xmm15
xorps  %xmm13,%xmm13
xorps  %xmm14,%xmm14
nopl   0x0(%rax)
movss  (%r15,%r10,4),%xmm1
movss  (%rsi,%r10,4),%xmm7
movaps %xmm7,%xmm3
mulss  %xmm6,%xmm3
addss  %xmm2,%xmm3
movss  %xmm3,(%r12)
mov    (%r9),%r11
lea    0x0(,%r11,4),%r14
mov    %r15,%rbp
sub    %r14,%rbp
lea    (%rbx,%r10,1),%rax
add    %r11,%rax
movss  (%r15,%r10,4),%xmm3
movss  -0x64(%rdx,%rax,4),%xmm12
movss  (%r8),%xmm2
movss  (%rsi,%r10,4),%xmm5
addss  %xmm2,%xmm5
xor    %eax,%eax
ucomiss %xmm5,%xmm9
seta   %al
movss  0x0(%rbp,%r10,4),%xmm5
movss  0x0(%r13,%rax,4),%xmm0
ucomiss %xmm11,%xmm0
movaps %xmm10,0x10(%rsp)
movaps %xmm6,%xmm9
jne    128a <vparms+0x17a>
jnp    129a <vparms+0x18a>
add    $0x1,%rcx
mov    0x60(%rsp),%rax
mov    %rcx,(%rax)
xorps  %xmm4,%xmm11
movaps %xmm1,%xmm0
xorps  %xmm4,%xmm0
movaps %xmm1,%xmm6
xorps  %xmm10,%xmm10
cmpltss %xmm10,%xmm6
andps  %xmm6,%xmm0
andnps %xmm1,%xmm6
orps   %xmm0,%xmm6
addss  %xmm6,%xmm8
movaps %xmm7,%xmm0
xorps  %xmm4,%xmm0
movaps %xmm7,%xmm1
cmpltss %xmm10,%xmm1
andps  %xmm1,%xmm0
andnps %xmm7,%xmm1
orps   %xmm0,%xmm1
addss  %xmm1,%xmm15
movaps %xmm7,%xmm0
subss  %xmm9,%xmm0
movaps %xmm0,%xmm1
xorps  %xmm4,%xmm1
movaps %xmm0,%xmm6
xorps  %xmm9,%xmm9
cmpltss %xmm10,%xmm6
andps  %xmm6,%xmm1
andnps %xmm0,%xmm6
orps   %xmm1,%xmm6
addss  %xmm6,%xmm13
movaps %xmm7,%xmm0
unpcklps %xmm3,%xmm0
unpcklps %xmm12,%xmm7
mulps  %xmm0,%xmm7
addps  %xmm7,%xmm14
movaps %xmm3,%xmm6
unpcklps %xmm5,%xmm6
movlhps %xmm12,%xmm3
movaps %xmm6,%xmm0
shufps $0x24,%xmm3,%xmm0
movlhps %xmm12,%xmm5
shufps $0x24,%xmm5,%xmm6
mulps  %xmm0,%xmm6
xorps  %xmm4,%xmm2
movss  %xmm2,(%r8)
cmp    %r10,%rdi
je     137e <vparms+0x26e>
movaps 0x10(%rsp),%xmm0
addps  %xmm6,%xmm0
movaps %xmm0,%xmm10
movss  (%rsi,%r10,4),%xmm6
movss  (%r12),%xmm2
add    $0x1,%r10
jmp    1210 <vparms+0x100>
xorps  %xmm6,%xmm6
xorps  %xmm3,%xmm3
xor    %ecx,%ecx
xorps  %xmm13,%xmm13
xorps  %xmm15,%xmm15
xorps  %xmm0,%xmm0
movss  %xmm0,0xc(%rsp)
xorps  %xmm2,%xmm2
xorps  %xmm14,%xmm14
jmp    13bc <vparms+0x2ac>
addps  0x10(%rsp),%xmm6
movss  (%r12),%xmm3
mulss  0xc8e(%rip),%xmm8
movss  %xmm8,0xc(%rsp)
movaps %xmm14,%xmm2
shufps $0x55,%xmm14,%xmm2
mov    0x90(%rsp),%r11
mov    0x20(%rsp),%rax
mov    0x88(%rsp),%r14
mov    0x78(%rsp),%r15
mov    0x68(%rsp),%r13
movss  0xc5b(%rip),%xmm0
maxss  %xmm0,%xmm14
divss  %xmm14,%xmm3
movss  %xmm3,(%r12)
movss  %xmm15,0x20(%rsp)
movaps %xmm15,%xmm1
addss  %xmm15,%xmm1
maxss  %xmm0,%xmm1
divss  %xmm1,%xmm13
movss  %xmm13,(%r15)
movaps %xmm6,%xmm1
shufps $0x55,%xmm6,%xmm1
maxss  %xmm0,%xmm1
movaps %xmm6,%xmm3
shufps $0xff,%xmm6,%xmm3
movaps %xmm3,%xmm4
divss  %xmm1,%xmm4
movaps %xmm6,%xmm1
maxss  %xmm0,%xmm1
divss  %xmm1,%xmm3
mulss  %xmm4,%xmm3
movss  %xmm3,(%r14)
movhlps %xmm6,%xmm6
maxss  %xmm0,%xmm6
movaps %xmm2,%xmm3
divss  %xmm6,%xmm3
divss  %xmm1,%xmm2
add    %rcx,%rcx
xorps  %xmm0,%xmm0
cvtsi2ss %rcx,%xmm0
mulss  %xmm3,%xmm2
xorps  %xmm1,%xmm1
cvtsi2ss %rax,%xmm1
movss  %xmm2,(%r11)
movss  0xbce(%rip),%xmm2
divss  %xmm1,%xmm2
movss  %xmm2,0x10(%rsp)
mulss  %xmm2,%xmm0
call   1030 <lrintf@plt>
cltq
mov    0x60(%rsp),%rcx
mov    %rax,(%rcx)
movss  0xc(%rsp),%xmm0
mulss  0x10(%rsp),%xmm0
movss  %xmm0,0xc(%rsp)
call   1030 <lrintf@plt>
mov    $0x7fff,%ebp
mov    $0x7fff,%ecx
cmp    $0x7fff,%eax
jg     14ad <vparms+0x39d>
movss  0xc(%rsp),%xmm0
call   1030 <lrintf@plt>
movslq %eax,%rcx
mov    0x70(%rsp),%rbx
mov    %rcx,0x0(%r13)
movss  0x20(%rsp),%xmm1
mulss  0xb5c(%rip),%xmm1
movss  0x10(%rsp),%xmm0
mulss  %xmm1,%xmm0
movss  %xmm0,0x10(%rsp)
call   1030 <lrintf@plt>
cmp    $0x7fff,%eax
jg     14ee <vparms+0x3de>
movss  0x10(%rsp),%xmm0
call   1030 <lrintf@plt>
movslq %eax,%rbp
mov    %rbp,(%rbx)
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @vparms(i64* %0, float* %1, float* %2, i64 %3, float* %4, i64* %5, i64* %6, i64* %7, i64* %8, float* %9, float* %10, float* %11, float* %12) {
%14 = alloca i64*
%15 = alloca float*
%16 = alloca float*
%17 = alloca i64
%18 = alloca float*
%19 = alloca i64*
%20 = alloca i64*
%21 = alloca i64*
%22 = alloca i64*
%23 = alloca float*
%24 = alloca float*
%25 = alloca float*
%26 = alloca float*
%27 = alloca float
%28 = alloca i64
%29 = alloca i64
%30 = alloca i64
%31 = alloca float
%32 = alloca i64
%33 = alloca float
%34 = alloca float
%35 = alloca float
%36 = alloca float
%37 = alloca float
%38 = alloca float
%39 = alloca float
%40 = alloca float
%41 = alloca float
store i64* %0, i64** %14
store float* %1, float** %15
store float* %2, float** %16
store i64 %3, i64* %17
store float* %4, float** %18
store i64* %5, i64** %19
store i64* %6, i64** %20
store i64* %7, i64** %21
store i64* %8, i64** %22
store float* %9, float** %23
store float* %10, float** %24
store float* %11, float** %25
store float* %12, float** %26
%42 = load float*, float** %16
%43 = getelementptr inbounds float, float* %42, i64 -25
store float* %43, float** %16
%44 = load float*, float** %15
%45 = getelementptr inbounds float, float* %44, i64 -181
store float* %45, float** %15
store float 0.000000e+00, float* %36
store float 0.000000e+00, float* %33
store float 0.000000e+00, float* %31
store float 0.000000e+00, float* %41
%46 = load float*, float** %24
store float 0.000000e+00, float* %46
store float 0.000000e+00, float* %34
store float 0.000000e+00, float* %37
store float 0.000000e+00, float* %38
store float 0.000000e+00, float* %40
store float 0.000000e+00, float* %39
%47 = load i64*, i64** %20
store i64 0, i64* %47
%48 = load i64*, i64** %14
%49 = getelementptr inbounds i64, i64* %48, i64 1
%50 = load i64, i64* %49
%51 = load i64*, i64** %14
%52 = getelementptr inbounds i64, i64* %51, i64 0
%53 = load i64, i64* %52
%54 = sub nsw i64 %50, %53
%55 = add nsw i64 %54, 1
store i64 %55, i64* %28
%56 = load i64*, i64** %14
%57 = getelementptr inbounds i64, i64* %56, i64 0
%58 = load i64, i64* %57
%59 = load i64, i64* %17
%60 = sub nsw i64 %59, 1
%61 = load i64, i64* %28
%62 = mul nsw i64 %60, %61
%63 = sdiv i64 %62, 2
%64 = add nsw i64 %58, %63
%65 = add nsw i64 %64, 1
store i64 %65, i64* %32
%66 = load i64, i64* %32
%67 = load i64, i64* %28
%68 = sdiv i64 %67, 2
%69 = add nsw i64 %66, %68
%70 = sub nsw i64 %69, 1
store i64 %70, i64* %29
%71 = load float*, float** %15
%72 = load i64, i64* %32
%73 = sub nsw i64 %72, 1
%74 = getelementptr inbounds float, float* %71, i64 %73
%75 = load float, float* %74
%76 = load float*, float** %18
%77 = load float, float* %76
%78 = fsub float %75, %77
%79 = fcmp olt float %78, 0.000000e+00
%80 = zext i1 %79 to i64
%81 = select i1 %79, float -1.000000e+00, float 1.000000e+00
store float %81, float* %35
%82 = load i64, i64* %32
store i64 %82, i64* %30
br label %83
83: ; preds = %262, %13
%84 = load i64, i64* %30
%85 = load i64, i64* %29
%86 = icmp sle i64 %84, %85
br i1 %86, label %87, label %265
87: ; preds = %83
%88 = load float*, float** %16
%89 = load i64, i64* %30
%90 = getelementptr inbounds float, float* %88, i64 %89
%91 = load float, float* %90
%92 = fcmp olt float %91, 0.000000e+00
br i1 %92, label %93, label %100
93: ; preds = %87
%94 = load float*, float** %16
%95 = load i64, i64* %30
%96 = getelementptr inbounds float, float* %94, i64 %95
%97 = load float, float* %96
%98 = load float, float* %36
%99 = fsub float %98, %97
store float %99, float* %36
br label %107
100: ; preds = %87
%101 = load float*, float** %16
%102 = load i64, i64* %30
%103 = getelementptr inbounds float, float* %101, i64 %102
%104 = load float, float* %103
%105 = load float, float* %36
%106 = fadd float %105, %104
store float %106, float* %36
br label %107
107: ; preds = %100, %93
%108 = load float*, float** %15
%109 = load i64, i64* %30
%110 = getelementptr inbounds float, float* %108, i64 %109
%111 = load float, float* %110
%112 = fcmp olt float %111, 0.000000e+00
br i1 %112, label %113, label %120
113: ; preds = %107
%114 = load float*, float** %15
%115 = load i64, i64* %30
%116 = getelementptr inbounds float, float* %114, i64 %115
%117 = load float, float* %116
%118 = load float, float* %33
%119 = fsub float %118, %117
store float %119, float* %33
br label %127
120: ; preds = %107
%121 = load float*, float** %15
%122 = load i64, i64* %30
%123 = getelementptr inbounds float, float* %121, i64 %122
%124 = load float, float* %123
%125 = load float, float* %33
%126 = fadd float %125, %124
store float %126, float* %33
br label %127
127: ; preds = %120, %113
%128 = load float*, float** %15
%129 = load i64, i64* %30
%130 = getelementptr inbounds float, float* %128, i64 %129
%131 = load float, float* %130
%132 = load float*, float** %15
%133 = load i64, i64* %30
%134 = sub nsw i64 %133, 1
%135 = getelementptr inbounds float, float* %132, i64 %134
%136 = load float, float* %135
%137 = fsub float %131, %136
store float %137, float* %27
%138 = load float, float* %27
%139 = fcmp olt float %138, 0.000000e+00
br i1 %139, label %140, label %144
140: ; preds = %127
%141 = load float, float* %27
%142 = load float, float* %31
%143 = fsub float %142, %141
store float %143, float* %31
br label %148
144: ; preds = %127
%145 = load float, float* %27
%146 = load float, float* %31
%147 = fadd float %146, %145
store float %147, float* %31
br label %148
148: ; preds = %144, %140
%149 = load float*, float** %15
%150 = load i64, i64* %30
%151 = getelementptr inbounds float, float* %149, i64 %150
%152 = load float, float* %151
%153 = load float*, float** %15
%154 = load i64, i64* %30
%155 = getelementptr inbounds float, float* %153, i64 %154
%156 = load float, float* %155
%157 = load float, float* %41
%158 = call float @llvm.fmuladd.f32(float %152, float %156, float %157)
store float %158, float* %41
%159 = load float*, float** %15
%160 = load i64, i64* %30
%161 = getelementptr inbounds float, float* %159, i64 %160
%162 = load float, float* %161
%163 = load float*, float** %15
%164 = load i64, i64* %30
%165 = sub nsw i64 %164, 1
%166 = getelementptr inbounds float, float* %163, i64 %165
%167 = load float, float* %166
%168 = load float*, float** %24
%169 = load float, float* %168
%170 = call float @llvm.fmuladd.f32(float %162, float %167, float %169)
store float %170, float* %168
%171 = load float*, float** %16
%172 = load i64, i64* %30
%173 = getelementptr inbounds float, float* %171, i64 %172
%174 = load float, float* %173
%175 = load float*, float** %16
%176 = load i64, i64* %30
%177 = getelementptr inbounds float, float* %175, i64 %176
%178 = load float, float* %177
%179 = load float, float* %34
%180 = call float @llvm.fmuladd.f32(float %174, float %178, float %179)
store float %180, float* %34
%181 = load float*, float** %16
%182 = load i64, i64* %30
%183 = load i64*, i64** %19
%184 = load i64, i64* %183
%185 = sub nsw i64 %182, %184
%186 = getelementptr inbounds float, float* %181, i64 %185
%187 = load float, float* %186
%188 = load float*, float** %16
%189 = load i64, i64* %30
%190 = load i64*, i64** %19
%191 = load i64, i64* %190
%192 = sub nsw i64 %189, %191
%193 = getelementptr inbounds float, float* %188, i64 %192
%194 = load float, float* %193
%195 = load float, float* %37
%196 = call float @llvm.fmuladd.f32(float %187, float %194, float %195)
store float %196, float* %37
%197 = load float*, float** %16
%198 = load i64, i64* %30
%199 = load i64*, i64** %19
%200 = load i64, i64* %199
%201 = add nsw i64 %198, %200
%202 = getelementptr inbounds float, float* %197, i64 %201
%203 = load float, float* %202
%204 = load float*, float** %16
%205 = load i64, i64* %30
%206 = load i64*, i64** %19
%207 = load i64, i64* %206
%208 = add nsw i64 %205, %207
%209 = getelementptr inbounds float, float* %204, i64 %208
%210 = load float, float* %209
%211 = load float, float* %38
%212 = call float @llvm.fmuladd.f32(float %203, float %210, float %211)
store float %212, float* %38
%213 = load float*, float** %16
%214 = load i64, i64* %30
%215 = getelementptr inbounds float, float* %213, i64 %214
%216 = load float, float* %215
%217 = load float*, float** %16
%218 = load i64, i64* %30
%219 = load i64*, i64** %19
%220 = load i64, i64* %219
%221 = add nsw i64 %218, %220
%222 = getelementptr inbounds float, float* %217, i64 %221
%223 = load float, float* %222
%224 = load float, float* %40
%225 = call float @llvm.fmuladd.f32(float %216, float %223, float %224)
store float %225, float* %40
%226 = load float*, float** %16
%227 = load i64, i64* %30
%228 = getelementptr inbounds float, float* %226, i64 %227
%229 = load float, float* %228
%230 = load float*, float** %16
%231 = load i64, i64* %30
%232 = load i64*, i64** %19
%233 = load i64, i64* %232
%234 = sub nsw i64 %231, %233
%235 = getelementptr inbounds float, float* %230, i64 %234
%236 = load float, float* %235
%237 = load float, float* %39
%238 = call float @llvm.fmuladd.f32(float %229, float %236, float %237)
store float %238, float* %39
%239 = load float*, float** %15
%240 = load i64, i64* %30
%241 = getelementptr inbounds float, float* %239, i64 %240
%242 = load float, float* %241
%243 = load float*, float** %18
%244 = load float, float* %243
%245 = fadd float %242, %244
%246 = fcmp olt float %245, 0.000000e+00
%247 = zext i1 %246 to i64
%248 = select i1 %246, float -1.000000e+00, float 1.000000e+00
%249 = load float, float* %35
%250 = fcmp une float %248, %249
br i1 %250, label %251, label %257
251: ; preds = %148
%252 = load i64*, i64** %20
%253 = load i64, i64* %252
%254 = add nsw i64 %253, 1
store i64 %254, i64* %252
%255 = load float, float* %35
%256 = fneg float %255
store float %256, float* %35
br label %257
257: ; preds = %251, %148
%258 = load float*, float** %18
%259 = load float, float* %258
%260 = fneg float %259
%261 = load float*, float** %18
store float %260, float* %261
br label %262
262: ; preds = %257
%263 = load i64, i64* %30
%264 = add nsw i64 %263, 1
store i64 %264, i64* %30
br label %83
265: ; preds = %83
%266 = load float, float* %41
%267 = fcmp oge float %266, 1.000000e+00
br i1 %267, label %268, label %270
268: ; preds = %265
%269 = load float, float* %41
br label %271
270: ; preds = %265
br label %271
271: ; preds = %270, %268
%272 = phi float [ %269, %268 ], [ 1.000000e+00, %270 ]
%273 = load float*, float** %24
%274 = load float, float* %273
%275 = fdiv float %274, %272
store float %275, float* %273
%276 = load float, float* %31
%277 = load float, float* %33
%278 = fmul float %277, 2.000000e+00
%279 = fcmp oge float %278, 1.000000e+00
br i1 %279, label %280, label %283
280: ; preds = %271
%281 = load float, float* %33
%282 = fmul float %281, 2.000000e+00
br label %284
283: ; preds = %271
br label %284
284: ; preds = %283, %280
%285 = phi float [ %282, %280 ], [ 1.000000e+00, %283 ]
%286 = fdiv float %276, %285
%287 = load float*, float** %23
store float %286, float* %287
%288 = load float, float* %39
%289 = load float, float* %37
%290 = fcmp oge float %289, 1.000000e+00
br i1 %290, label %291, label %293
291: ; preds = %284
%292 = load float, float* %37
br label %294
293: ; preds = %284
br label %294
294: ; preds = %293, %291
%295 = phi float [ %292, %291 ], [ 1.000000e+00, %293 ]
%296 = fdiv float %288, %295
%297 = load float, float* %39
%298 = load float, float* %34
%299 = fcmp oge float %298, 1.000000e+00
br i1 %299, label %300, label %302
300: ; preds = %294
%301 = load float, float* %34
br label %303
302: ; preds = %294
br label %303
303: ; preds = %302, %300
%304 = phi float [ %301, %300 ], [ 1.000000e+00, %302 ]
%305 = fdiv float %297, %304
%306 = fmul float %296, %305
%307 = load float*, float** %25
store float %306, float* %307
%308 = load float, float* %40
%309 = load float, float* %38
%310 = fcmp oge float %309, 1.000000e+00
br i1 %310, label %311, label %313
311: ; preds = %303
%312 = load float, float* %38
br label %314
313: ; preds = %303
br label %314
314: ; preds = %313, %311
%315 = phi float [ %312, %311 ], [ 1.000000e+00, %313 ]
%316 = fdiv float %308, %315
%317 = load float, float* %40
%318 = load float, float* %34
%319 = fcmp oge float %318, 1.000000e+00
br i1 %319, label %320, label %322
320: ; preds = %314
%321 = load float, float* %34
br label %323
322: ; preds = %314
br label %323
323: ; preds = %322, %320
%324 = phi float [ %321, %320 ], [ 1.000000e+00, %322 ]
%325 = fdiv float %317, %324
%326 = fmul float %316, %325
%327 = load float*, float** %26
store float %326, float* %327
%328 = load i64*, i64** %20
%329 = load i64, i64* %328
%330 = shl i64 %329, 1
%331 = sitofp i64 %330 to float
%332 = load i64, i64* %28
%333 = sitofp i64 %332 to float
%334 = fdiv float 9.000000e+01, %333
%335 = fmul float %331, %334
%336 = call i32 @lrintf(float %335)
%337 = sext i32 %336 to i64
%338 = load i64*, i64** %20
store i64 %337, i64* %338
%339 = load float, float* %36
%340 = fmul float %339, 2.500000e-01
%341 = load i64, i64* %28
%342 = sitofp i64 %341 to float
%343 = fdiv float 9.000000e+01, %342
%344 = fmul float %340, %343
%345 = call i32 @lrintf(float %344)
%346 = icmp sle i32 %345, 32767
br i1 %346, label %347, label %355
347: ; preds = %323
%348 = load float, float* %36
%349 = fmul float %348, 2.500000e-01
%350 = load i64, i64* %28
%351 = sitofp i64 %350 to float
%352 = fdiv float 9.000000e+01, %351
%353 = fmul float %349, %352
%354 = call i32 @lrintf(float %353)
br label %356
355: ; preds = %323
br label %356
356: ; preds = %355, %347
%357 = phi i32 [ %354, %347 ], [ 32767, %355 ]
%358 = sext i32 %357 to i64
%359 = load i64*, i64** %21
store i64 %358, i64* %359
%360 = load float, float* %33
%361 = fmul float %360, 2.500000e-01
%362 = load i64, i64* %28
%363 = sitofp i64 %362 to float
%364 = fdiv float 9.000000e+01, %363
%365 = fmul float %361, %364
%366 = call i32 @lrintf(float %365)
%367 = icmp sle i32 %366, 32767
br i1 %367, label %368, label %376
368: ; preds = %356
%369 = load float, float* %33
%370 = fmul float %369, 2.500000e-01
%371 = load i64, i64* %28
%372 = sitofp i64 %371 to float
%373 = fdiv float 9.000000e+01, %372
%374 = fmul float %370, %373
%375 = call i32 @lrintf(float %374)
br label %377
376: ; preds = %356
br label %377
377: ; preds = %376, %368
%378 = phi i32 [ %375, %368 ], [ 32767, %376 ]
%379 = sext i32 %378 to i64
%380 = load i64*, i64** %22
store i64 %379, i64* %380
ret void
}

LLVM IR (-O2):
define void @vparms(i64* nocapture %0, float* nocapture %1, float* nocapture %2, i64 %3, float* nocapture %4, i64* nocapture %5, i64* nocapture %6, i64* nocapture writeonly %7, i64* nocapture writeonly %8, float* nocapture writeonly %9, float* nocapture %10, float* nocapture writeonly %11, float* nocapture writeonly %12) {
%14 = getelementptr inbounds float, float* %2, i64 -25
%15 = getelementptr inbounds float, float* %1, i64 -181
store float 0.000000e+00, float* %10
store i64 0, i64* %6
%16 = getelementptr inbounds i64, i64* %0, i64 1
%17 = load i64, i64* %16
%18 = load i64, i64* %0
%19 = sub nsw i64 %17, %18
%20 = add nsw i64 %19, 1
%21 = add nsw i64 %3, -1
%22 = mul nsw i64 %20, %21
%23 = sdiv i64 %22, 2
%24 = add nsw i64 %23, %18
%25 = sdiv i64 %20, 2
%26 = add i64 %24, %25
%27 = getelementptr inbounds float, float* %15, i64 %24
%28 = load float, float* %27
%29 = icmp slt i64 %24, %26
br i1 %29, label %30, label %106
30: ; preds = %13
%31 = load float, float* %4
%32 = fsub float %28, %31
%33 = fcmp olt float %32, 0.000000e+00
%34 = select i1 %33, float -1.000000e+00, float 1.000000e+00
br label %35
35: ; preds = %97, %30
%36 = phi i64 [ %93, %97 ], [ 0, %30 ]
%37 = phi float [ %99, %97 ], [ 0.000000e+00, %30 ]
%38 = phi float [ %98, %97 ], [ %28, %30 ]
%39 = phi float [ %52, %97 ], [ 0.000000e+00, %30 ]
%40 = phi float [ %94, %97 ], [ %34, %30 ]
%41 = phi float [ %58, %97 ], [ 0.000000e+00, %30 ]
%42 = phi float [ %63, %97 ], [ 0.000000e+00, %30 ]
%43 = phi i64 [ %46, %97 ], [ %24, %30 ]
%44 = phi <4 x float> [ %82, %97 ], [ zeroinitializer, %30 ]
%45 = phi <2 x float> [ %76, %97 ], [ zeroinitializer, %30 ]
%46 = add nsw i64 %43, 1
%47 = getelementptr inbounds float, float* %14, i64 %46
%48 = load float, float* %47
%49 = fcmp olt float %48, 0.000000e+00
%50 = fneg float %48
%51 = select i1 %49, float %50, float %48
%52 = fadd float %39, %51
%53 = getelementptr inbounds float, float* %15, i64 %46
%54 = load float, float* %53
%55 = fcmp olt float %54, 0.000000e+00
%56 = fneg float %54
%57 = select i1 %55, float %56, float %54
%58 = fadd float %41, %57
%59 = fsub float %54, %38
%60 = fcmp olt float %59, 0.000000e+00
%61 = fneg float %59
%62 = select i1 %60, float %61, float %59
%63 = fadd float %42, %62
%64 = tail call float @llvm.fmuladd.f32(float %54, float %38, float %37)
store float %64, float* %10
%65 = load float, float* %47
%66 = load i64, i64* %5
%67 = sub nsw i64 %46, %66
%68 = getelementptr inbounds float, float* %14, i64 %67
%69 = load float, float* %68
%70 = add nsw i64 %66, %46
%71 = getelementptr inbounds float, float* %14, i64 %70
%72 = load float, float* %71
%73 = insertelement <2 x float> poison, float %54, i64 0
%74 = insertelement <2 x float> %73, float %65, i64 1
%75 = insertelement <2 x float> %73, float %72, i64 1
%76 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %74, <2 x float> %75, <2 x float> %45)
%77 = insertelement <4 x float> poison, float %65, i64 0
%78 = insertelement <4 x float> %77, float %69, i64 1
%79 = insertelement <4 x float> %78, float %72, i64 2
%80 = insertelement <4 x float> %79, float %65, i64 3
%81 = insertelement <4 x float> %79, float %69, i64 3
%82 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %80, <4 x float> %81, <4 x float> %44)
%83 = load float, float* %53
%84 = load float, float* %4
%85 = fadd float %83, %84
%86 = fcmp olt float %85, 0.000000e+00
%87 = select i1 %86, float -1.000000e+00, float 1.000000e+00
%88 = fcmp une float %87, %40
br i1 %88, label %89, label %92
89: ; preds = %35
%90 = add nsw i64 %36, 1
store i64 %90, i64* %6
%91 = fneg float %40
br label %92
92: ; preds = %89, %35
%93 = phi i64 [ %90, %89 ], [ %36, %35 ]
%94 = phi float [ %91, %89 ], [ %40, %35 ]
%95 = fneg float %84
store float %95, float* %4
%96 = icmp eq i64 %46, %26
br i1 %96, label %100, label %97
97: ; preds = %92
%98 = load float, float* %53
%99 = load float, float* %10
br label %35
100: ; preds = %92
%101 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %80, <4 x float> %81, <4 x float> %44)
%102 = load float, float* %10
%103 = fmul float %52, 2.500000e-01
%104 = extractelement <2 x float> %76, i64 0
%105 = extractelement <2 x float> %76, i64 1
br label %106
106: ; preds = %100, %13
%107 = phi i64 [ 0, %13 ], [ %93, %100 ]
%108 = phi float [ 0.000000e+00, %13 ], [ %102, %100 ]
%109 = phi float [ 0.000000e+00, %13 ], [ %63, %100 ]
%110 = phi float [ 0.000000e+00, %13 ], [ %58, %100 ]
%111 = phi float [ 0.000000e+00, %13 ], [ %103, %100 ]
%112 = phi float [ 0.000000e+00, %13 ], [ %105, %100 ]
%113 = phi float [ 0.000000e+00, %13 ], [ %104, %100 ]
%114 = phi <4 x float> [ zeroinitializer, %13 ], [ %101, %100 ]
%115 = fcmp oge float %113, 1.000000e+00
%116 = select i1 %115, float %113, float 1.000000e+00
%117 = fdiv float %108, %116
store float %117, float* %10
%118 = fmul float %110, 2.000000e+00
%119 = fcmp oge float %118, 1.000000e+00
%120 = select i1 %119, float %118, float 1.000000e+00
%121 = fdiv float %109, %120
store float %121, float* %9
%122 = extractelement <4 x float> %114, i64 1
%123 = fcmp oge float %122, 1.000000e+00
%124 = select i1 %123, float %122, float 1.000000e+00
%125 = extractelement <4 x float> %114, i64 3
%126 = fdiv float %125, %124
%127 = extractelement <4 x float> %114, i64 0
%128 = fcmp oge float %127, 1.000000e+00
%129 = select i1 %128, float %127, float 1.000000e+00
%130 = fdiv float %125, %129
%131 = fmul float %126, %130
store float %131, float* %11
%132 = extractelement <4 x float> %114, i64 2
%133 = fcmp oge float %132, 1.000000e+00
%134 = select i1 %133, float %132, float 1.000000e+00
%135 = fdiv float %112, %134
%136 = fdiv float %112, %129
%137 = fmul float %135, %136
store float %137, float* %12
%138 = shl i64 %107, 1
%139 = sitofp i64 %138 to float
%140 = sitofp i64 %20 to float
%141 = fdiv float 9.000000e+01, %140
%142 = fmul float %141, %139
%143 = tail call i32 @lrintf(float %142)
%144 = sext i32 %143 to i64
store i64 %144, i64* %6
%145 = fmul float %141, %111
%146 = tail call i32 @lrintf(float %145)
%147 = icmp slt i32 %146, 32768
br i1 %147, label %148, label %151
148: ; preds = %106
%149 = tail call i32 @lrintf(float %145)
%150 = sext i32 %149 to i64
br label %151
151: ; preds = %106, %148
%152 = phi i64 [ %150, %148 ], [ 32767, %106 ]
store i64 %152, i64* %7
%153 = fmul float %110, 2.500000e-01
%154 = fmul float %141, %153
%155 = tail call i32 @lrintf(float %154)
%156 = icmp slt i32 %155, 32768
br i1 %156, label %157, label %160
157: ; preds = %151
%158 = tail call i32 @lrintf(float %154)
%159 = sext i32 %158 to i64
br label %160
160: ; preds = %151, %157
%161 = phi i64 [ %159, %157 ], [ 32767, %151 ]
store i64 %161, i64* %8
ret void
}