#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 /*<<< orphan*/ TriggsM(double *, double *);
int /*<<< orphan*/ free(double *);
double *malloc(int);
void f_iir_yline_filter(double *src, double *dest, int sx, int sy,
                        double *filter) {
  double *p0, *p1, *p2, *p3, *pswap;
  double *buf0, *buf1, *buf2, *buf3;
  double *uplusbuf;
  int i, j;
  double b1, b2, b3;
  double pix;
  double sum, sumsq;
  double uplus, vplus;
  double unp, unp1, unp2;
  double M[9];
  sumsq = filter[3];
  sum = sumsq * sumsq;
  uplusbuf = malloc(sx * sizeof(*uplusbuf));
  buf0 = malloc(sx * sizeof(*buf0));
  buf1 = malloc(sx * sizeof(*buf1));
  buf2 = malloc(sx * sizeof(*buf2));
  buf3 = malloc(sx * sizeof(*buf3));
  p0 = buf0;
  p1 = buf1;
  p2 = buf2;
  p3 = buf3;
  b1 = filter[2];
  b2 = filter[1];
  b3 = filter[0];
  for (j = 0; j < sx; j++) {
    pix = *src++ / sumsq;
    p1[j] = pix;
    p2[j] = pix;
    p3[j] = pix;
  }
  src += (sy - 2) * sx;
  for (j = 0; j < sx; j++)
    uplusbuf[j] = *src++ / (1.0 - b1 - b2 - b3);
  src -= sy * sx;
  for (i = 0; i < sy; i++) {
    for (j = 0; j < sx; j++) {
      pix = *src++ + b1 * p1[j] + b2 * p2[j] + b3 * p3[j];
      *dest++ = pix;
      p0[j] = pix;
    }
    pswap = p3;
    p3 = p2;
    p2 = p1;
    p1 = p0;
    p0 = pswap;
  }
  b1 = filter[4];
  b2 = filter[5];
  b3 = filter[6];
  TriggsM(filter, M);
  p0 = uplusbuf;
  for (j = sx - 1; j >= 0; j--) {
    uplus = p0[j];
    vplus = uplus / (1.0 - b1 - b2 - b3);
    unp = p1[j] - uplus;
    unp1 = p2[j] - uplus;
    unp2 = p3[j] - uplus;
    pix = M[0] * unp + M[1] * unp1 + M[2] * unp2 + vplus;
    pix *= sum;
    *(--dest) = pix;
    p1[j] = pix;
    pix = M[3] * unp + M[4] * unp1 + M[5] * unp2 + vplus;
    p2[j] = pix * sum;
    pix = M[6] * unp + M[7] * unp1 + M[8] * unp2 + vplus;
    p3[j] = pix * sum;
  }
  for (i = sy - 2; i >= 0; i--) {
    for (j = sx - 1; j >= 0; j--) {
      pix = sum * *(--dest) + b1 * p1[j] + b2 * p2[j] + b3 * p3[j];
      *dest = pix;
      p0[j] = pix;
    }
    pswap = p3;
    p3 = p2;
    p2 = p1;
    p1 = p0;
    p0 = pswap;
  }
  free(buf0);
  free(buf1);
  free(buf2);
  free(buf3);
  free(uplusbuf);
}


x86 assembly (clang, -O0):
<f_iir_yline_filter>:
push   %rbp
mov    %rsp,%rbp
sub    $0x120,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
mulsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0xa0(%rbp)
ff
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x70(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x50(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x58(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x60(%rbp)
movslq -0x14(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x68(%rbp)
mov    -0x50(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x58(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x60(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x68(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movl   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    12a7 <f_iir_yline_filter+0x177>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
movsd  (%rax),%xmm0
divsd  -0xa8(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x30(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x38(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x40(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    122b <f_iir_yline_filter+0xfb>
mov    -0x18(%rbp),%ecx
sub    $0x2,%ecx
imul   -0x14(%rbp),%ecx
mov    -0x8(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x8(%rbp)
movl   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1325 <f_iir_yline_filter+0x1f5>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
movsd  (%rax),%xmm0
movsd  0xd0f(%rip),%xmm1
subsd  -0x80(%rbp),%xmm1
subsd  -0x88(%rbp),%xmm1
ff
subsd  -0x90(%rbp),%xmm1
ff
divsd  %xmm1,%xmm0
mov    -0x70(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    12ca <f_iir_yline_filter+0x19a>
mov    -0x18(%rbp),%ecx
imul   -0x14(%rbp),%ecx
mov    -0x8(%rbp),%rax
movslq %ecx,%rdx
xor    %ecx,%ecx
sub    %rdx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x8(%rbp)
movl   $0x0,-0x74(%rbp)
mov    -0x74(%rbp),%eax
cmp    -0x18(%rbp),%eax
jge    144c <f_iir_yline_filter+0x31c>
movl   $0x0,-0x78(%rbp)
mov    -0x78(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1416 <f_iir_yline_filter+0x2e6>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
movsd  (%rax),%xmm1
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x88(%rbp),%xmm1
ff
mov    -0x38(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x40(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
movsd  %xmm0,(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x78(%rbp)
jmp    135d <f_iir_yline_filter+0x22d>
mov    -0x40(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x74(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x74(%rbp)
jmp    134a <f_iir_yline_filter+0x21a>
mov    -0x20(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x20(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x20(%rbp),%rdi
lea    -0x120(%rbp),%rsi
call   1040 <TriggsM@plt>
mov    -0x70(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x78(%rbp)
cmpl   $0x0,-0x78(%rbp)
jl     16c5 <f_iir_yline_filter+0x595>
mov    -0x28(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0xb0(%rbp),%xmm0
ff
movsd  0xb34(%rip),%xmm1
subsd  -0x80(%rbp),%xmm1
subsd  -0x88(%rbp),%xmm1
ff
subsd  -0x90(%rbp),%xmm1
ff
divsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    -0x30(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x38(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
ff
mov    -0x40(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0xb0(%rbp),%xmm0
ff
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x120(%rbp),%xmm1
ff
movsd  -0xc0(%rbp),%xmm2
ff
movsd  -0x118(%rbp),%xmm0
ff
mulsd  -0xc8(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x110(%rbp),%xmm0
ff
movsd  -0xd0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0xb8(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
mulsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0xfffffffffffffff8,%rcx
mov    %rcx,-0x10(%rbp)
movsd  %xmm0,-0x8(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x30(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x108(%rbp),%xmm1
ff
movsd  -0xc0(%rbp),%xmm2
ff
movsd  -0x100(%rbp),%xmm0
ff
mulsd  -0xc8(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xf8(%rbp),%xmm0
ff
movsd  -0xd0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0xb8(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
mulsd  -0xa0(%rbp),%xmm0
ff
mov    -0x38(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xf0(%rbp),%xmm1
ff
movsd  -0xc0(%rbp),%xmm2
ff
movsd  -0xe8(%rbp),%xmm0
ff
mulsd  -0xc8(%rbp),%xmm0
ff
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0xe0(%rbp),%xmm0
ff
movsd  -0xd0(%rbp),%xmm2
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
addsd  -0xb8(%rbp),%xmm0
ff
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
mulsd  -0xa0(%rbp),%xmm0
ff
mov    -0x40(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x78(%rbp)
jmp    149d <f_iir_yline_filter+0x36d>
mov    -0x18(%rbp),%eax
sub    $0x2,%eax
mov    %eax,-0x74(%rbp)
cmpl   $0x0,-0x74(%rbp)
jl     17cc <f_iir_yline_filter+0x69c>
mov    -0x14(%rbp),%eax
sub    $0x1,%eax
mov    %eax,-0x78(%rbp)
cmpl   $0x0,-0x78(%rbp)
jl     1796 <f_iir_yline_filter+0x666>
movsd  -0xa0(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0xfffffffffffffff8,%rcx
mov    %rcx,-0x10(%rbp)
movsd  -0x8(%rax),%xmm2
movsd  -0x80(%rbp),%xmm1
mov    -0x30(%rbp),%rax
movslq -0x78(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x88(%rbp),%xmm1
ff
mov    -0x38(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x40(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x28(%rbp),%rax
movslq -0x78(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x78(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x78(%rbp)
jmp    16e1 <f_iir_yline_filter+0x5b1>
mov    -0x40(%rbp),%rax
mov    %rax,-0x48(%rbp)
mov    -0x38(%rbp),%rax
mov    %rax,-0x40(%rbp)
mov    -0x30(%rbp),%rax
mov    %rax,-0x38(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x48(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x74(%rbp),%eax
add    $0xffffffff,%eax
mov    %eax,-0x74(%rbp)
jmp    16ce <f_iir_yline_filter+0x59e>
mov    -0x50(%rbp),%rdi
call   1030 <free@plt>
mov    -0x58(%rbp),%rdi
call   1030 <free@plt>
mov    -0x60(%rbp),%rdi
call   1030 <free@plt>
mov    -0x68(%rbp),%rdi
call   1030 <free@plt>
mov    -0x70(%rbp),%rdi
call   1030 <free@plt>
add    $0x120,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<f_iir_yline_filter>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x118,%rsp
mov    %r8,%r13
mov    %rcx,0x8(%rsp)
mov    %edx,%ebx
mov    %rsi,%r14
mov    %rdi,%r12
movsd  0x18(%r8),%xmm0
movaps %xmm0,0x40(%rsp)
lea    0x0(,%rbx,8),%ebp
mov    %ebp,%edi
call   1050 <malloc@plt>
mov    %rax,0x10(%rsp)
mov    %ebp,%edi
call   1050 <malloc@plt>
mov    %rax,%r15
mov    %ebp,%edi
call   1050 <malloc@plt>
mov    %rax,0x20(%rsp)
mov    %ebp,%edi
call   1050 <malloc@plt>
mov    %rax,0x18(%rsp)
mov    %ebp,%edi
call   1050 <malloc@plt>
mov    %r13,%rdi
mov    %rbx,%r10
movsd  0x10(%r13),%xmm0
movsd  0x0(%r13),%xmm1
movsd  0x8(%r13),%xmm2
mov    %r10d,%r9d
test   %r10d,%r10d
mov    %rbx,0x28(%rsp)
mov    %r15,%rbp
jle    11e5 <f_iir_yline_filter+0xb5>
mov    0x8(%rsp),%r13
cmp    $0x1,%r10d
jne    1213 <f_iir_yline_filter+0xe3>
xor    %ecx,%ecx
movapd 0x40(%rsp),%xmm6
mov    0x20(%rsp),%r11
mov    0x18(%rsp),%r15
mov    %r13,%r8
jmp    12e0 <f_iir_yline_filter+0x1b0>
mov    0x8(%rsp),%r8
lea    -0x2(%r8),%ecx
mov    %rcx,0x38(%rsp)
imul   %r10d,%ecx
movslq %ecx,%rcx
lea    (%r12,%rcx,8),%rcx
movapd 0x40(%rsp),%xmm6
mov    0x20(%rsp),%r11
mov    0x18(%rsp),%r15
jmp    1479 <f_iir_yline_filter+0x349>
mov    %r10,%rbx
mov    %r9d,%ecx
and    $0xfffffffe,%ecx
movapd 0x40(%rsp),%xmm6
movapd %xmm6,%xmm3
unpcklpd %xmm6,%xmm3
lea    -0x2(%rcx),%rsi
mov    %rsi,%r10
shr    %r10
add    $0x1,%r10
test   %rsi,%rsi
mov    0x20(%rsp),%r11
mov    0x18(%rsp),%r15
mov    %r13,%r8
je     1370 <f_iir_yline_filter+0x240>
mov    %r10,%rdx
and    $0xfffffffffffffffe,%rdx
xor    %esi,%esi
nopw   0x0(%rax,%rax,1)
movupd (%r12,%rsi,8),%xmm4
divpd  %xmm3,%xmm4
movupd %xmm4,(%r11,%rsi,8)
movupd %xmm4,(%r15,%rsi,8)
movupd %xmm4,(%rax,%rsi,8)
movupd 0x10(%r12,%rsi,8),%xmm4
divpd  %xmm3,%xmm4
movupd %xmm4,0x10(%r11,%rsi,8)
movupd %xmm4,0x10(%r15,%rsi,8)
movupd %xmm4,0x10(%rax,%rsi,8)
add    $0x4,%rsi
add    $0xfffffffffffffffe,%rdx
jne    1260 <f_iir_yline_filter+0x130>
test   $0x1,%r10b
je     12c5 <f_iir_yline_filter+0x195>
movupd (%r12,%rsi,8),%xmm4
divpd  %xmm3,%xmm4
movupd %xmm4,(%r11,%rsi,8)
movupd %xmm4,(%r15,%rsi,8)
movupd %xmm4,(%rax,%rsi,8)
lea    (%r12,%rcx,8),%r12
cmp    %r9,%rcx
mov    %rbx,%r10
je     1308 <f_iir_yline_filter+0x1d8>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  (%r12),%xmm3
add    $0x8,%r12
divsd  %xmm6,%xmm3
movsd  %xmm3,(%r11,%rcx,8)
movsd  %xmm3,(%r15,%rcx,8)
movsd  %xmm3,(%rax,%rcx,8)
add    $0x1,%rcx
cmp    %rcx,%r9
jne    12e0 <f_iir_yline_filter+0x1b0>
lea    -0x2(%r8),%ecx
mov    %rcx,0x38(%rsp)
imul   %r10d,%ecx
movslq %ecx,%rbx
lea    (%r12,%rbx,8),%rcx
test   %r10d,%r10d
jle    1479 <f_iir_yline_filter+0x349>
movsd  0xcd3(%rip),%xmm3
subsd  %xmm0,%xmm3
subsd  %xmm2,%xmm3
subsd  %xmm1,%xmm3
cmp    $0x1,%r10d
jne    134b <f_iir_yline_filter+0x21b>
xor    %edx,%edx
mov    0x10(%rsp),%rbx
jmp    141d <f_iir_yline_filter+0x2ed>
lea    (%rbx,%r9,1),%rdx
lea    (%r12,%rdx,8),%rdx
mov    0x10(%rsp),%rsi
cmp    %rdx,%rsi
jae    1381 <f_iir_yline_filter+0x251>
lea    (%rsi,%r9,8),%rdx
cmp    %rdx,%rcx
jae    1381 <f_iir_yline_filter+0x251>
xor    %edx,%edx
mov    %rsi,%rbx
jmp    141d <f_iir_yline_filter+0x2ed>
xor    %esi,%esi
test   $0x1,%r10b
jne    12aa <f_iir_yline_filter+0x17a>
jmp    12c5 <f_iir_yline_filter+0x195>
mov    %rdi,0x30(%rsp)
mov    %r9d,%edx
and    $0xfffffffe,%edx
movapd %xmm3,%xmm4
unpcklpd %xmm3,%xmm4
lea    -0x2(%rdx),%rsi
mov    %rsi,%r8
shr    %r8
add    $0x1,%r8
test   %rsi,%rsi
je     13ec <f_iir_yline_filter+0x2bc>
mov    %r8,%rsi
and    $0xfffffffffffffffe,%rsi
lea    (%r12,%rbx,8),%r10
add    $0x10,%r10
xor    %edi,%edi
mov    0x10(%rsp),%rbx
nopl   (%rax)
movupd -0x10(%r10,%rdi,8),%xmm5
divpd  %xmm4,%xmm5
movupd %xmm5,(%rbx,%rdi,8)
movupd (%r10,%rdi,8),%xmm5
divpd  %xmm4,%xmm5
movupd %xmm5,0x10(%rbx,%rdi,8)
add    $0x4,%rdi
add    $0xfffffffffffffffe,%rsi
jne    13c0 <f_iir_yline_filter+0x290>
jmp    13f3 <f_iir_yline_filter+0x2c3>
xor    %edi,%edi
mov    0x10(%rsp),%rbx
test   $0x1,%r8b
mov    0x28(%rsp),%r10
je     140c <f_iir_yline_filter+0x2dc>
movupd (%rcx,%rdi,8),%xmm5
divpd  %xmm4,%xmm5
movupd %xmm5,(%rbx,%rdi,8)
lea    (%rcx,%rdx,8),%rcx
cmp    %r9,%rdx
mov    %r13,%r8
mov    0x30(%rsp),%rdi
je     1479 <f_iir_yline_filter+0x349>
mov    %rdx,%rsi
not    %rsi
test   $0x1,%r9b
je     143e <f_iir_yline_filter+0x30e>
movsd  (%rcx),%xmm4
add    $0x8,%rcx
divsd  %xmm3,%xmm4
movsd  %xmm4,(%rbx,%rdx,8)
or     $0x1,%rdx
add    %r9,%rsi
je     1479 <f_iir_yline_filter+0x349>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movsd  (%rcx),%xmm4
divsd  %xmm3,%xmm4
movsd  %xmm4,(%rbx,%rdx,8)
movsd  0x8(%rcx),%xmm4
add    $0x10,%rcx
divsd  %xmm3,%xmm4
movsd  %xmm4,0x8(%rbx,%rdx,8)
add    $0x2,%rdx
cmp    %rdx,%r9
jne    1450 <f_iir_yline_filter+0x320>
test   %r8d,%r8d
mov    %rbp,0xa0(%rsp)
jle    151c <f_iir_yline_filter+0x3ec>
mov    %r8d,%edx
imul   %r10d,%edx
movslq %edx,%rdx
shl    $0x3,%rdx
sub    %rdx,%rcx
xor    %edx,%edx
mov    %r11,%r13
mov    %rax,%rsi
jmp    14be <f_iir_yline_filter+0x38e>
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%edx
mov    %rsi,%rbp
mov    %r12,%rsi
cmp    %r8d,%edx
je     1522 <f_iir_yline_filter+0x3f2>
mov    %r15,%r12
mov    %r13,%r15
mov    %rbp,%r13
test   %r10d,%r10d
jle    14b0 <f_iir_yline_filter+0x380>
xor    %ebp,%ebp
xor    %ebx,%ebx
movsd  (%r15,%rbx,8),%xmm3
mulsd  %xmm0,%xmm3
addsd  (%rcx,%rbx,8),%xmm3
movsd  (%r12,%rbx,8),%xmm4
mulsd  %xmm2,%xmm4
addsd  %xmm3,%xmm4
movsd  (%rsi,%rbx,8),%xmm3
mulsd  %xmm1,%xmm3
addsd  %xmm4,%xmm3
movsd  %xmm3,(%r14,%rbx,8)
movsd  %xmm3,0x0(%r13,%rbx,8)
add    $0x1,%rbx
add    $0xfffffffffffffff8,%rbp
cmp    %rbx,%r9
jne    14d0 <f_iir_yline_filter+0x3a0>
sub    %rbp,%rcx
sub    %rbp,%r14
jmp    14b0 <f_iir_yline_filter+0x380>
mov    %rax,%r12
mov    %r11,%r13
mov    %r8,%rbp
mov    %rax,0x98(%rsp)
mulsd  %xmm6,%xmm6
movapd %xmm6,0x40(%rsp)
movsd  0x20(%rdi),%xmm0
movaps %xmm0,0x80(%rsp)
movsd  0x28(%rdi),%xmm0
movaps %xmm0,0x70(%rsp)
movsd  0x30(%rdi),%xmm0
movaps %xmm0,0x60(%rsp)
lea    0xd0(%rsp),%rsi
call   1040 <TriggsM@plt>
mov    0x28(%rsp),%r11
lea    -0x1(%r11),%eax
mov    %eax,0x30(%rsp)
mov    %eax,%edx
test   %r11d,%r11d
mov    %rdx,0x8(%rsp)
jle    16d1 <f_iir_yline_filter+0x5a1>
movsd  0xa75(%rip),%xmm8
movapd 0x80(%rsp),%xmm9
subsd  %xmm9,%xmm8
movapd 0x70(%rsp),%xmm0
subsd  %xmm0,%xmm8
movapd 0x60(%rsp),%xmm10
subsd  %xmm10,%xmm8
lea    0x8(,%rdx,8),%r9
lea    (%r12,%rdx,8),%rsi
lea    (%r15,%rdx,8),%rdi
lea    0x0(,%rdx,8),%rcx
add    %r13,%rcx
mov    0x10(%rsp),%rax
lea    (%rax,%rdx,8),%rdx
xor    %eax,%eax
movapd 0x40(%rsp),%xmm7
nopl   (%rax)
movsd  (%rdx,%rax,1),%xmm3
movsd  (%rcx,%rax,1),%xmm1
subsd  %xmm3,%xmm1
movsd  (%rdi,%rax,1),%xmm4
subsd  %xmm3,%xmm4
movsd  (%rsi,%rax,1),%xmm2
subsd  %xmm3,%xmm2
divsd  %xmm8,%xmm3
movsd  0xd8(%rsp),%xmm5
mulsd  %xmm4,%xmm5
movsd  0xd0(%rsp),%xmm6
mulsd  %xmm1,%xmm6
addsd  %xmm5,%xmm6
movsd  0xe0(%rsp),%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm6,%xmm5
addsd  %xmm3,%xmm5
mulsd  %xmm7,%xmm5
movsd  %xmm5,-0x8(%r14,%rax,1)
movsd  %xmm5,(%rcx,%rax,1)
movsd  0xf0(%rsp),%xmm5
mulsd  %xmm4,%xmm5
movsd  0xe8(%rsp),%xmm6
mulsd  %xmm1,%xmm6
addsd  %xmm5,%xmm6
movsd  0xf8(%rsp),%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm6,%xmm5
addsd  %xmm3,%xmm5
mulsd  %xmm7,%xmm5
mulsd  0x108(%rsp),%xmm4
movsd  %xmm5,(%rdi,%rax,1)
mulsd  0x100(%rsp),%xmm1
addsd  %xmm4,%xmm1
mulsd  0x110(%rsp),%xmm2
addsd  %xmm1,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm7,%xmm2
movsd  %xmm2,(%rsi,%rax,1)
add    $0xfffffffffffffff8,%rax
mov    %r9,%rbx
add    %rax,%rbx
jne    15e0 <f_iir_yline_filter+0x4b0>
add    %rax,%r14
cmp    $0x2,%ebp
jge    16f7 <f_iir_yline_filter+0x5c7>
jmp    1a3c <f_iir_yline_filter+0x90c>
movapd 0x40(%rsp),%xmm7
movapd 0x80(%rsp),%xmm9
movapd 0x70(%rsp),%xmm0
movapd 0x60(%rsp),%xmm10
cmp    $0x2,%ebp
jl     1a3c <f_iir_yline_filter+0x90c>
mov    0x8(%rsp),%rax
mov    %rax,%rcx
not    %rcx
mov    %rcx,0xc8(%rsp)
lea    0x1(%rax),%rcx
mov    %rax,%rdx
neg    %rdx
mov    %rdx,0x80(%rsp)
mov    %rcx,0x58(%rsp)
and    $0xfffffffffffffffe,%rcx
mov    %rax,%rdx
sub    %rcx,%rdx
mov    %rdx,0xb8(%rsp)
mov    %rcx,0xc0(%rsp)
neg    %rcx
mov    %rcx,0xb0(%rsp)
movapd %xmm9,%xmm6
unpcklpd %xmm9,%xmm6
movapd %xmm7,%xmm1
unpcklpd %xmm7,%xmm1
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
movapd %xmm10,%xmm3
unpcklpd %xmm10,%xmm3
add    $0xffffffffffffffff,%rax
mov    %rax,0xa8(%rsp)
mov    0x10(%rsp),%rax
jmp    179b <f_iir_yline_filter+0x66b>
nopl   (%rax)
mov    0x38(%rsp),%rdx
lea    -0x1(%rdx),%ecx
mov    %r9,%rax
test   %edx,%edx
mov    %rcx,0x38(%rsp)
mov    %r8,%r15
jle    1a3c <f_iir_yline_filter+0x90c>
mov    %r12,%r9
mov    %r15,%r12
mov    %r13,%r8
mov    %rax,%r13
test   %r11d,%r11d
jle    1780 <f_iir_yline_filter+0x650>
cmpl   $0x0,0x30(%rsp)
je     19a0 <f_iir_yline_filter+0x870>
lea    -0x8(%r14),%rax
mov    0x80(%rsp),%rcx
lea    (%r14,%rcx,8),%rcx
add    $0xfffffffffffffff8,%rcx
cmp    %rax,%rcx
mov    0x8(%rsp),%r10
ja     19a5 <f_iir_yline_filter+0x875>
lea    0x0(,%r10,8),%rax
add    %r13,%rax
cmp    %rax,%r13
ja     19a5 <f_iir_yline_filter+0x875>
lea    (%r8,%r10,8),%rax
cmp    %rax,%r8
ja     19a5 <f_iir_yline_filter+0x875>
lea    (%r12,%r10,8),%rax
cmp    %rax,%r12
ja     19a5 <f_iir_yline_filter+0x875>
lea    (%r9,%r10,8),%rax
cmp    %rax,%r9
ja     19a5 <f_iir_yline_filter+0x875>
mov    0xc8(%rsp),%rax
lea    (%r14,%rax,8),%rdx
mov    0x58(%rsp),%rax
lea    0x0(,%rax,8),%r11
add    %r13,%r11
lea    (%r8,%rax,8),%rsi
lea    (%r12,%rax,8),%rdi
mov    %r8,%rbp
lea    (%r9,%rax,8),%r15
cmp    %r11,%rdx
setb   0x70(%rsp)
cmp    %r14,%r13
setb   %r10b
cmp    %rsi,%rdx
setb   %al
cmp    %r14,%r8
setb   0x60(%rsp)
cmp    %rdi,%rdx
setb   %cl
cmp    %r14,%r12
setb   0x7(%rsp)
cmp    %r15,%rdx
setb   %dl
cmp    %r14,%r9
setb   0x6(%rsp)
cmp    %rsi,%r13
setb   %bl
cmp    %r11,%r8
setb   %bpl
cmp    %rdi,%r13
setb   %sil
cmp    %r11,%r12
setb   0x5(%rsp)
cmp    %r15,%r13
setb   %dil
cmp    %r11,%r9
setb   %r15b
test   %r10b,0x70(%rsp)
jne    1a2a <f_iir_yline_filter+0x8fa>
and    0x60(%rsp),%al
mov    0x28(%rsp),%r11
mov    0x8(%rsp),%r10
jne    19a5 <f_iir_yline_filter+0x875>
and    0x7(%rsp),%cl
jne    19a5 <f_iir_yline_filter+0x875>
and    0x6(%rsp),%dl
jne    19a5 <f_iir_yline_filter+0x875>
and    %bpl,%bl
jne    19a5 <f_iir_yline_filter+0x875>
and    0x5(%rsp),%sil
jne    19a5 <f_iir_yline_filter+0x875>
and    %r15b,%dil
jne    19a5 <f_iir_yline_filter+0x875>
mov    0xb0(%rsp),%rbp
lea    (%r14,%rbp,8),%r15
mov    0xa8(%rsp),%rdx
lea    0x0(,%rdx,8),%rcx
add    %r13,%rcx
lea    (%r9,%rdx,8),%rax
lea    (%r12,%rdx,8),%rdi
lea    (%r8,%rdx,8),%rsi
xor    %edx,%edx
nop
movupd -0x10(%r14,%rdx,8),%xmm4
shufpd $0x1,%xmm4,%xmm4
mulpd  %xmm1,%xmm4
movupd (%rsi,%rdx,8),%xmm5
shufpd $0x1,%xmm5,%xmm5
mulpd  %xmm6,%xmm5
addpd  %xmm4,%xmm5
movupd (%rdi,%rdx,8),%xmm4
shufpd $0x1,%xmm4,%xmm4
mulpd  %xmm2,%xmm4
addpd  %xmm5,%xmm4
movupd (%rax,%rdx,8),%xmm5
shufpd $0x1,%xmm5,%xmm5
mulpd  %xmm3,%xmm5
addpd  %xmm4,%xmm5
shufpd $0x1,%xmm5,%xmm5
movupd %xmm5,-0x10(%r14,%rdx,8)
movupd %xmm5,(%rcx,%rdx,8)
add    $0xfffffffffffffffe,%rdx
cmp    %rdx,%rbp
jne    1920 <f_iir_yline_filter+0x7f0>
mov    0xb8(%rsp),%r10
mov    %r15,%r14
mov    0xc0(%rsp),%rax
cmp    %rax,0x58(%rsp)
je     1780 <f_iir_yline_filter+0x650>
jmp    19a8 <f_iir_yline_filter+0x878>
mov    0x8(%rsp),%r10
mov    %r14,%r15
lea    0x1(%r10),%rax
lea    0x0(,%r10,8),%rcx
add    %r13,%rcx
lea    (%r9,%r10,8),%rsi
lea    (%r12,%r10,8),%rdi
lea    (%r8,%r10,8),%rdx
xor    %ebx,%ebx
mov    %r15,%r14
nopl   0x0(%rax,%rax,1)
add    $0xfffffffffffffff8,%r14
movsd  (%rdx,%rbx,8),%xmm4
mulsd  %xmm9,%xmm4
movsd  -0x8(%r15,%rbx,8),%xmm5
mulsd  %xmm7,%xmm5
addsd  %xmm4,%xmm5
movsd  (%rdi,%rbx,8),%xmm4
mulsd  %xmm0,%xmm4
addsd  %xmm5,%xmm4
movsd  (%rsi,%rbx,8),%xmm5
mulsd  %xmm10,%xmm5
addsd  %xmm4,%xmm5
movsd  %xmm5,-0x8(%r15,%rbx,8)
movsd  %xmm5,(%rcx,%rbx,8)
lea    (%rax,%rbx,1),%rbp
add    $0xffffffffffffffff,%rbp
add    $0xffffffffffffffff,%rbx
test   %rbp,%rbp
jg     19d0 <f_iir_yline_filter+0x8a0>
jmp    1780 <f_iir_yline_filter+0x650>
mov    0x8(%rsp),%r10
mov    %r14,%r15
mov    0x28(%rsp),%r11
jmp    19a8 <f_iir_yline_filter+0x878>
mov    0xa0(%rsp),%rdi
call   1030 <free@plt>
mov    0x20(%rsp),%rdi
call   1030 <free@plt>
mov    0x18(%rsp),%rdi
call   1030 <free@plt>
mov    0x98(%rsp),%rdi
call   1030 <free@plt>
mov    0x10(%rsp),%rdi
call   1030 <free@plt>
add    $0x118,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @f_iir_yline_filter(double* nocapture %0, double* nocapture %1, i32 %2, i32 %3, double* %4) {
%6 = alloca [9 x double]
%7 = bitcast [9 x double]* %6 to i8*
%8 = getelementptr inbounds double, double* %4, i64 3
%9 = load double, double* %8
%10 = fmul double %9, %9
%11 = shl i32 %2, 3
%12 = tail call double* @malloc(i32 %11)
%13 = tail call double* @malloc(i32 %11)
%14 = tail call double* @malloc(i32 %11)
%15 = tail call double* @malloc(i32 %11)
%16 = tail call double* @malloc(i32 %11)
%17 = getelementptr inbounds double, double* %4, i64 2
%18 = load double, double* %17
%19 = getelementptr inbounds double, double* %4, i64 1
%20 = load double, double* %19
%21 = load double, double* %4
%22 = icmp sgt i32 %2, 0
br i1 %22, label %28, label %23
23: ; preds = %5
%24 = add nsw i32 %3, -2
%25 = mul nsw i32 %24, %2
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, double* %0, i64 %26
br label %194
28: ; preds = %5
%29 = zext i32 %2 to i64
%30 = icmp eq i32 %2, 1
br i1 %30, label %86, label %31
31: ; preds = %28
%32 = and i64 %29, 4294967294
%33 = getelementptr double, double* %0, i64 %32
%34 = insertelement <2 x double> poison, double %9, i64 0
%35 = shufflevector <2 x double> %34, <2 x double> poison, <2 x i32> zeroinitializer
%36 = add nsw i64 %32, -2
%37 = lshr exact i64 %36, 1
%38 = add nuw i64 %37, 1
%39 = and i64 %38, 1
%40 = icmp eq i64 %36, 0
br i1 %40, label %70, label %41
41: ; preds = %31
%42 = and i64 %38, -2
br label %43
43: ; preds = %43, %41
%44 = phi i64 [ 0, %41 ], [ %67, %43 ]
%45 = phi i64 [ 0, %41 ], [ %68, %43 ]
%46 = getelementptr double, double* %0, i64 %44
%47 = bitcast double* %46 to <2 x double>*
%48 = load <2 x double>, <2 x double>* %47
%49 = fdiv <2 x double> %48, %35
%50 = getelementptr inbounds double, double* %14, i64 %44
%51 = bitcast double* %50 to <2 x double>*
store <2 x double> %49, <2 x double>* %51
%52 = getelementptr inbounds double, double* %15, i64 %44
%53 = bitcast double* %52 to <2 x double>*
store <2 x double> %49, <2 x double>* %53
%54 = getelementptr inbounds double, double* %16, i64 %44
%55 = bitcast double* %54 to <2 x double>*
store <2 x double> %49, <2 x double>* %55
%56 = or i64 %44, 2
%57 = getelementptr double, double* %0, i64 %56
%58 = bitcast double* %57 to <2 x double>*
%59 = load <2 x double>, <2 x double>* %58
%60 = fdiv <2 x double> %59, %35
%61 = getelementptr inbounds double, double* %14, i64 %56
%62 = bitcast double* %61 to <2 x double>*
store <2 x double> %60, <2 x double>* %62
%63 = getelementptr inbounds double, double* %15, i64 %56
%64 = bitcast double* %63 to <2 x double>*
store <2 x double> %60, <2 x double>* %64
%65 = getelementptr inbounds double, double* %16, i64 %56
%66 = bitcast double* %65 to <2 x double>*
store <2 x double> %60, <2 x double>* %66
%67 = add nuw i64 %44, 4
%68 = add nuw i64 %45, 2
%69 = icmp eq i64 %68, %42
br i1 %69, label %70, label %43
70: ; preds = %43, %31
%71 = phi i64 [ 0, %31 ], [ %67, %43 ]
%72 = icmp eq i64 %39, 0
br i1 %72, label %84, label %73
73: ; preds = %70
%74 = getelementptr double, double* %0, i64 %71
%75 = bitcast double* %74 to <2 x double>*
%76 = load <2 x double>, <2 x double>* %75
%77 = fdiv <2 x double> %76, %35
%78 = getelementptr inbounds double, double* %14, i64 %71
%79 = bitcast double* %78 to <2 x double>*
store <2 x double> %77, <2 x double>* %79
%80 = getelementptr inbounds double, double* %15, i64 %71
%81 = bitcast double* %80 to <2 x double>*
store <2 x double> %77, <2 x double>* %81
%82 = getelementptr inbounds double, double* %16, i64 %71
%83 = bitcast double* %82 to <2 x double>*
store <2 x double> %77, <2 x double>* %83
br label %84
84: ; preds = %70, %73
%85 = icmp eq i64 %32, %29
br i1 %85, label %100, label %86
86: ; preds = %28, %84
%87 = phi i64 [ 0, %28 ], [ %32, %84 ]
%88 = phi double* [ %0, %28 ], [ %33, %84 ]
br label %89
89: ; preds = %86, %89
%90 = phi i64 [ %98, %89 ], [ %87, %86 ]
%91 = phi double* [ %92, %89 ], [ %88, %86 ]
%92 = getelementptr inbounds double, double* %91, i64 1
%93 = load double, double* %91
%94 = fdiv double %93, %9
%95 = getelementptr inbounds double, double* %14, i64 %90
store double %94, double* %95
%96 = getelementptr inbounds double, double* %15, i64 %90
store double %94, double* %96
%97 = getelementptr inbounds double, double* %16, i64 %90
store double %94, double* %97
%98 = add nuw nsw i64 %90, 1
%99 = icmp eq i64 %98, %29
br i1 %99, label %100, label %89
100: ; preds = %89, %84
%101 = phi double* [ %33, %84 ], [ %92, %89 ]
%102 = add nsw i32 %3, -2
%103 = mul nsw i32 %102, %2
%104 = sext i32 %103 to i64
%105 = getelementptr double, double* %101, i64 %104
br i1 %22, label %106, label %194
106: ; preds = %100
%107 = fsub double 1.000000e+00, %18
%108 = fsub double %107, %20
%109 = fsub double %108, %21
%110 = zext i32 %2 to i64
%111 = icmp eq i32 %2, 1
br i1 %111, label %162, label %112
112: ; preds = %106
%113 = getelementptr double, double* %12, i64 %29
%114 = add nsw i64 %104, %29
%115 = getelementptr double, double* %101, i64 %114
%116 = icmp ult double* %12, %115
%117 = icmp ult double* %105, %113
%118 = and i1 %116, %117
br i1 %118, label %162, label %119
119: ; preds = %112
%120 = and i64 %29, 4294967294
%121 = getelementptr double, double* %105, i64 %120
%122 = insertelement <2 x double> poison, double %109, i64 0
%123 = shufflevector <2 x double> %122, <2 x double> poison, <2 x i32> zeroinitializer
%124 = add nsw i64 %120, -2
%125 = lshr exact i64 %124, 1
%126 = add nuw i64 %125, 1
%127 = and i64 %126, 1
%128 = icmp eq i64 %124, 0
br i1 %128, label %150, label %129
129: ; preds = %119
%130 = and i64 %126, -2
br label %131
131: ; preds = %131, %129
%132 = phi i64 [ 0, %129 ], [ %147, %131 ]
%133 = phi i64 [ 0, %129 ], [ %148, %131 ]
%134 = getelementptr double, double* %105, i64 %132
%135 = bitcast double* %134 to <2 x double>*
%136 = load <2 x double>, <2 x double>* %135
%137 = fdiv <2 x double> %136, %123
%138 = getelementptr inbounds double, double* %12, i64 %132
%139 = bitcast double* %138 to <2 x double>*
store <2 x double> %137, <2 x double>* %139
%140 = or i64 %132, 2
%141 = getelementptr double, double* %105, i64 %140
%142 = bitcast double* %141 to <2 x double>*
%143 = load <2 x double>, <2 x double>* %142
%144 = fdiv <2 x double> %143, %123
%145 = getelementptr inbounds double, double* %12, i64 %140
%146 = bitcast double* %145 to <2 x double>*
store <2 x double> %144, <2 x double>* %146
%147 = add nuw i64 %132, 4
%148 = add nuw i64 %133, 2
%149 = icmp eq i64 %148, %130
br i1 %149, label %150, label %131
150: ; preds = %131, %119
%151 = phi i64 [ 0, %119 ], [ %147, %131 ]
%152 = icmp eq i64 %127, 0
br i1 %152, label %160, label %153
153: ; preds = %150
%154 = getelementptr double, double* %105, i64 %151
%155 = bitcast double* %154 to <2 x double>*
%156 = load <2 x double>, <2 x double>* %155
%157 = fdiv <2 x double> %156, %123
%158 = getelementptr inbounds double, double* %12, i64 %151
%159 = bitcast double* %158 to <2 x double>*
store <2 x double> %157, <2 x double>* %159
br label %160
160: ; preds = %150, %153
%161 = icmp eq i64 %120, %29
br i1 %161, label %194, label %162
162: ; preds = %112, %106, %160
%163 = phi i64 [ 0, %112 ], [ 0, %106 ], [ %120, %160 ]
%164 = phi double* [ %105, %112 ], [ %105, %106 ], [ %121, %160 ]
%165 = xor i64 %163, -1
%166 = and i64 %29, 1
%167 = icmp eq i64 %166, 0
br i1 %167, label %174, label %168
168: ; preds = %162
%169 = getelementptr inbounds double, double* %164, i64 1
%170 = load double, double* %164
%171 = fdiv double %170, %109
%172 = getelementptr inbounds double, double* %12, i64 %163
store double %171, double* %172
%173 = or i64 %163, 1
br label %174
174: ; preds = %168, %162
%175 = phi double* [ undef, %162 ], [ %169, %168 ]
%176 = phi i64 [ %163, %162 ], [ %173, %168 ]
%177 = phi double* [ %164, %162 ], [ %169, %168 ]
%178 = sub nsw i64 0, %29
%179 = icmp eq i64 %165, %178
br i1 %179, label %194, label %180
180: ; preds = %174, %180
%181 = phi i64 [ %192, %180 ], [ %176, %174 ]
%182 = phi double* [ %188, %180 ], [ %177, %174 ]
%183 = getelementptr inbounds double, double* %182, i64 1
%184 = load double, double* %182
%185 = fdiv double %184, %109
%186 = getelementptr inbounds double, double* %12, i64 %181
store double %185, double* %186
%187 = add nuw nsw i64 %181, 1
%188 = getelementptr inbounds double, double* %182, i64 2
%189 = load double, double* %183
%190 = fdiv double %189, %109
%191 = getelementptr inbounds double, double* %12, i64 %187
store double %190, double* %191
%192 = add nuw nsw i64 %181, 2
%193 = icmp eq i64 %192, %110
br i1 %193, label %194, label %180
194: ; preds = %174, %180, %160, %23, %100
%195 = phi i32 [ %102, %100 ], [ %24, %23 ], [ %102, %160 ], [ %102, %180 ], [ %102, %174 ]
%196 = phi double* [ %105, %100 ], [ %27, %23 ], [ %121, %160 ], [ %175, %174 ], [ %188, %180 ]
%197 = icmp sgt i32 %3, 0
br i1 %197, label %198, label %236
198: ; preds = %194
%199 = mul nsw i32 %3, %2
%200 = sext i32 %199 to i64
%201 = sub nsw i64 0, %200
%202 = getelementptr inbounds double, double* %196, i64 %201
%203 = zext i32 %2 to i64
br label %204
204: ; preds = %198, %231
%205 = phi double* [ %202, %198 ], [ %233, %231 ]
%206 = phi double* [ %1, %198 ], [ %232, %231 ]
%207 = phi double* [ %13, %198 ], [ %210, %231 ]
%208 = phi double* [ %14, %198 ], [ %207, %231 ]
%209 = phi double* [ %15, %198 ], [ %208, %231 ]
%210 = phi double* [ %16, %198 ], [ %209, %231 ]
%211 = phi i32 [ 0, %198 ], [ %234, %231 ]
br i1 %22, label %212, label %231
212: ; preds = %204, %212
%213 = phi i64 [ %229, %212 ], [ 0, %204 ]
%214 = phi double* [ %216, %212 ], [ %205, %204 ]
%215 = phi double* [ %227, %212 ], [ %206, %204 ]
%216 = getelementptr inbounds double, double* %214, i64 1
%217 = load double, double* %214
%218 = getelementptr inbounds double, double* %208, i64 %213
%219 = load double, double* %218
%220 = tail call double @llvm.fmuladd.f64(double %18, double %219, double %217)
%221 = getelementptr inbounds double, double* %209, i64 %213
%222 = load double, double* %221
%223 = tail call double @llvm.fmuladd.f64(double %20, double %222, double %220)
%224 = getelementptr inbounds double, double* %210, i64 %213
%225 = load double, double* %224
%226 = tail call double @llvm.fmuladd.f64(double %21, double %225, double %223)
%227 = getelementptr inbounds double, double* %215, i64 1
store double %226, double* %215
%228 = getelementptr inbounds double, double* %207, i64 %213
store double %226, double* %228
%229 = add nuw nsw i64 %213, 1
%230 = icmp eq i64 %229, %203
br i1 %230, label %231, label %212
231: ; preds = %212, %204
%232 = phi double* [ %206, %204 ], [ %227, %212 ]
%233 = phi double* [ %205, %204 ], [ %216, %212 ]
%234 = add nuw nsw i32 %211, 1
%235 = icmp eq i32 %234, %3
br i1 %235, label %236, label %204
236: ; preds = %231, %194
%237 = phi double* [ %16, %194 ], [ %209, %231 ]
%238 = phi double* [ %15, %194 ], [ %208, %231 ]
%239 = phi double* [ %14, %194 ], [ %207, %231 ]
%240 = phi double* [ %1, %194 ], [ %232, %231 ]
%241 = getelementptr inbounds double, double* %4, i64 4
%242 = load double, double* %241
%243 = getelementptr inbounds double, double* %4, i64 5
%244 = load double, double* %243
%245 = getelementptr inbounds double, double* %4, i64 6
%246 = load double, double* %245
%247 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 0
%248 = call i32 @TriggsM(double* %4, double* %247)
%249 = add i32 %2, -1
br i1 %22, label %250, label %263
250: ; preds = %236
%251 = fsub double 1.000000e+00, %242
%252 = fsub double %251, %244
%253 = fsub double %252, %246
%254 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 1
%255 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 2
%256 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 3
%257 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 4
%258 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 5
%259 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 6
%260 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 7
%261 = getelementptr inbounds [9 x double], [9 x double]* %6, i64 0, i64 8
%262 = zext i32 %249 to i64
br label %285
263: ; preds = %285, %236
%264 = phi double* [ %240, %236 ], [ %308, %285 ]
%265 = icmp sgt i32 %3, 1
br i1 %265, label %266, label %447
266: ; preds = %263
%267 = zext i32 %249 to i64
%268 = xor i64 %267, -1
%269 = add nuw nsw i64 %267, 1
%270 = add nuw nsw i64 %267, 1
%271 = icmp eq i32 %249, 0
%272 = sub nsw i64 0, %267
%273 = and i64 %270, 8589934590
%274 = sub nsw i64 %267, %273
%275 = sub nsw i64 0, %273
%276 = insertelement <2 x double> poison, double %242, i64 0
%277 = shufflevector <2 x double> %276, <2 x double> poison, <2 x i32> zeroinitializer
%278 = insertelement <2 x double> poison, double %10, i64 0
%279 = shufflevector <2 x double> %278, <2 x double> poison, <2 x i32> zeroinitializer
%280 = insertelement <2 x double> poison, double %244, i64 0
%281 = shufflevector <2 x double> %280, <2 x double> poison, <2 x i32> zeroinitializer
%282 = insertelement <2 x double> poison, double %246, i64 0
%283 = shufflevector <2 x double> %282, <2 x double> poison, <2 x i32> zeroinitializer
%284 = icmp eq i64 %270, %273
br label %327
285: ; preds = %250, %285
%286 = phi i64 [ %262, %250 ], [ %325, %285 ]
%287 = phi double* [ %240, %250 ], [ %308, %285 ]
%288 = getelementptr inbounds double, double* %12, i64 %286
%289 = load double, double* %288
%290 = fdiv double %289, %253
%291 = getelementptr inbounds double, double* %239, i64 %286
%292 = load double, double* %291
%293 = fsub double %292, %289
%294 = getelementptr inbounds double, double* %238, i64 %286
%295 = load double, double* %294
%296 = fsub double %295, %289
%297 = getelementptr inbounds double, double* %237, i64 %286
%298 = load double, double* %297
%299 = fsub double %298, %289
%300 = load double, double* %247
%301 = load double, double* %254
%302 = fmul double %296, %301
%303 = call double @llvm.fmuladd.f64(double %300, double %293, double %302)
%304 = load double, double* %255
%305 = call double @llvm.fmuladd.f64(double %304, double %299, double %303)
%306 = fadd double %290, %305
%307 = fmul double %10, %306
%308 = getelementptr inbounds double, double* %287, i64 -1
store double %307, double* %308
store double %307, double* %291
%309 = load double, double* %256
%310 = load double, double* %257
%311 = fmul double %296, %310
%312 = call double @llvm.fmuladd.f64(double %309, double %293, double %311)
%313 = load double, double* %258
%314 = call double @llvm.fmuladd.f64(double %313, double %299, double %312)
%315 = fadd double %290, %314
%316 = fmul double %10, %315
store double %316, double* %294
%317 = load double, double* %259
%318 = load double, double* %260
%319 = fmul double %296, %318
%320 = call double @llvm.fmuladd.f64(double %317, double %293, double %319)
%321 = load double, double* %261
%322 = call double @llvm.fmuladd.f64(double %321, double %299, double %320)
%323 = fadd double %290, %322
%324 = fmul double %10, %323
store double %324, double* %297
%325 = add nsw i64 %286, -1
%326 = icmp eq i64 %286, 0
br i1 %326, label %263, label %285
327: ; preds = %266, %443
%328 = phi double* [ %264, %266 ], [ %444, %443 ]
%329 = phi double* [ %12, %266 ], [ %332, %443 ]
%330 = phi double* [ %239, %266 ], [ %329, %443 ]
%331 = phi double* [ %238, %266 ], [ %330, %443 ]
%332 = phi double* [ %237, %266 ], [ %331, %443 ]
%333 = phi i32 [ %195, %266 ], [ %445, %443 ]
br i1 %22, label %334, label %443
334: ; preds = %327
br i1 %271, label %422, label %335
335: ; preds = %334
%336 = getelementptr double, double* %328, i64 -1
%337 = getelementptr double, double* %336, i64 %272
%338 = icmp ugt double* %337, %336
%339 = getelementptr double, double* %329, i64 %267
%340 = icmp ugt double* %329, %339
%341 = getelementptr double, double* %330, i64 %267
%342 = icmp ugt double* %330, %341
%343 = getelementptr double, double* %331, i64 %267
%344 = icmp ugt double* %331, %343
%345 = getelementptr double, double* %332, i64 %267
%346 = icmp ugt double* %332, %345
%347 = or i1 %338, %340
%348 = or i1 %347, %342
%349 = or i1 %348, %344
%350 = or i1 %349, %346
br i1 %350, label %422, label %351
351: ; preds = %335
%352 = getelementptr double, double* %328, i64 %268
%353 = getelementptr double, double* %329, i64 %269
%354 = getelementptr double, double* %330, i64 %269
%355 = getelementptr double, double* %331, i64 %269
%356 = getelementptr double, double* %332, i64 %269
%357 = icmp ult double* %352, %353
%358 = icmp ult double* %329, %328
%359 = and i1 %357, %358
%360 = icmp ult double* %352, %354
%361 = icmp ult double* %330, %328
%362 = and i1 %360, %361
%363 = or i1 %359, %362
%364 = icmp ult double* %352, %355
%365 = icmp ult double* %331, %328
%366 = and i1 %364, %365
%367 = or i1 %363, %366
%368 = icmp ult double* %352, %356
%369 = icmp ult double* %332, %328
%370 = and i1 %368, %369
%371 = or i1 %367, %370
%372 = icmp ult double* %329, %354
%373 = icmp ult double* %330, %353
%374 = and i1 %372, %373
%375 = or i1 %371, %374
%376 = icmp ult double* %329, %355
%377 = icmp ult double* %331, %353
%378 = and i1 %376, %377
%379 = or i1 %375, %378
%380 = icmp ult double* %329, %356
%381 = icmp ult double* %332, %353
%382 = and i1 %380, %381
%383 = or i1 %379, %382
br i1 %383, label %422, label %384
384: ; preds = %351
%385 = getelementptr double, double* %328, i64 %275
%386 = getelementptr double, double* %328, i64 -2
%387 = getelementptr inbounds double, double* %330, i64 -1
%388 = getelementptr inbounds double, double* %331, i64 -1
%389 = getelementptr inbounds double, double* %332, i64 -1
%390 = getelementptr inbounds double, double* %329, i64 -1
br label %391
391: ; preds = %391, %384
%392 = phi i64 [ 0, %384 ], [ %419, %391 ]
%393 = sub i64 %267, %392
%394 = sub i64 0, %392
%395 = getelementptr inbounds double, double* %386, i64 %394
%396 = bitcast double* %395 to <2 x double>*
%397 = load <2 x double>, <2 x double>* %396
%398 = shufflevector <2 x double> %397, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%399 = getelementptr inbounds double, double* %387, i64 %393
%400 = bitcast double* %399 to <2 x double>*
%401 = load <2 x double>, <2 x double>* %400
%402 = shufflevector <2 x double> %401, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%403 = fmul <2 x double> %277, %402
%404 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %279, <2 x double> %398, <2 x double> %403)
%405 = getelementptr inbounds double, double* %388, i64 %393
%406 = bitcast double* %405 to <2 x double>*
%407 = load <2 x double>, <2 x double>* %406
%408 = shufflevector <2 x double> %407, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%409 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %281, <2 x double> %408, <2 x double> %404)
%410 = getelementptr inbounds double, double* %389, i64 %393
%411 = bitcast double* %410 to <2 x double>*
%412 = load <2 x double>, <2 x double>* %411
%413 = shufflevector <2 x double> %412, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%414 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %283, <2 x double> %413, <2 x double> %409)
%415 = shufflevector <2 x double> %414, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%416 = bitcast double* %395 to <2 x double>*
store <2 x double> %415, <2 x double>* %416
%417 = getelementptr inbounds double, double* %390, i64 %393
%418 = bitcast double* %417 to <2 x double>*
store <2 x double> %415, <2 x double>* %418
%419 = add nuw i64 %392, 2
%420 = icmp eq i64 %419, %273
br i1 %420, label %421, label %391
421: ; preds = %391
br i1 %284, label %443, label %422
422: ; preds = %351, %335, %334, %421
%423 = phi i64 [ %267, %351 ], [ %267, %335 ], [ %267, %334 ], [ %274, %421 ]
%424 = phi double* [ %328, %351 ], [ %328, %335 ], [ %328, %334 ], [ %385, %421 ]
br label %425
425: ; preds = %422, %425
%426 = phi i64 [ %441, %425 ], [ %423, %422 ]
%427 = phi double* [ %428, %425 ], [ %424, %422 ]
%428 = getelementptr inbounds double, double* %427, i64 -1
%429 = load double, double* %428
%430 = getelementptr inbounds double, double* %330, i64 %426
%431 = load double, double* %430
%432 = fmul double %242, %431
%433 = call double @llvm.fmuladd.f64(double %10, double %429, double %432)
%434 = getelementptr inbounds double, double* %331, i64 %426
%435 = load double, double* %434
%436 = call double @llvm.fmuladd.f64(double %244, double %435, double %433)
%437 = getelementptr inbounds double, double* %332, i64 %426
%438 = load double, double* %437
%439 = call double @llvm.fmuladd.f64(double %246, double %438, double %436)
store double %439, double* %428
%440 = getelementptr inbounds double, double* %329, i64 %426
store double %439, double* %440
%441 = add nsw i64 %426, -1
%442 = icmp sgt i64 %426, 0
br i1 %442, label %425, label %443
443: ; preds = %425, %421, %327
%444 = phi double* [ %328, %327 ], [ %385, %421 ], [ %428, %425 ]
%445 = add nsw i32 %333, -1
%446 = icmp sgt i32 %333, 0
br i1 %446, label %327, label %447
447: ; preds = %443, %263
%448 = call i32 @free(double* %13)
%449 = call i32 @free(double* %14)
%450 = call i32 @free(double* %15)
%451 = call i32 @free(double* %16)
%452 = call i32 @free(double* %12)
ret void
}