void Daub97Analysis1D(double *signal_in, double *signal_out,
                      int signal_length) {
  double *even, *odd;
  int i, half;
  for (i = 1; i < signal_length - 2; i += 2)
    signal_in[i] += -1.58615986717275 * (signal_in[i - 1] + signal_in[i + 1]);
  signal_in[signal_length - 1] +=
      2 * -1.58615986717275 * signal_in[signal_length - 2];
  signal_in[0] += 2 * -0.05297864003258 * signal_in[1];
  for (i = 2; i < signal_length; i += 2)
    signal_in[i] += -0.05297864003258 * (signal_in[i + 1] + signal_in[i - 1]);
  for (i = 1; i < signal_length - 2; i += 2)
    signal_in[i] += 0.88293362717904 * (signal_in[i - 1] + signal_in[i + 1]);
  signal_in[signal_length - 1] +=
      2 * 0.88293362717904 * signal_in[signal_length - 2];
  signal_in[0] =
      1.14960430535816 * (signal_in[0] + 2 * 0.44350482244527 * signal_in[1]);
  for (i = 2; i < signal_length; i += 2)
    signal_in[i] = 1.14960430535816 *
                   (signal_in[i] +
                    0.44350482244527 * (signal_in[i + 1] + signal_in[i - 1]));
  for (i = 1; i < signal_length; i += 2)
    signal_in[i] /= (-1.14960430535816);
  half = signal_length >> 1;
  even = signal_out;
  odd = signal_out + half;
  for (i = 0; i < half; i++) {
    even[i] = signal_in[i << 1];
    odd[i] = signal_in[(i << 1) + 1];
  }
}


x86 assembly (clang, -O0):
<Daub97Analysis1D>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x2,%ecx
cmp    %ecx,%eax
jge    117b <Daub97Analysis1D+0x7b>
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  0xee8(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x2c(%rbp)
jmp    1116 <Daub97Analysis1D+0x16>
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  0xe61(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm1
movsd  0xe33(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax)
movl   $0x2,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1240 <Daub97Analysis1D+0x140>
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  0xe1b(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x2c(%rbp)
jmp    11e0 <Daub97Analysis1D+0xe0>
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
mov    -0x14(%rbp),%ecx
sub    $0x2,%ecx
cmp    %ecx,%eax
jge    12ac <Daub97Analysis1D+0x1ac>
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  0xda7(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x2c(%rbp)
jmp    1247 <Daub97Analysis1D+0x147>
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  0xd48(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm1
movsd  0xd1a(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xd02(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movl   $0x2,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1395 <Daub97Analysis1D+0x295>
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
addsd  (%rax,%rcx,8),%xmm1
movsd  0xcca(%rip),%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xc9a(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x2c(%rbp)
jmp    1321 <Daub97Analysis1D+0x221>
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    13d4 <Daub97Analysis1D+0x2d4>
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  0xc6b(%rip),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x2,%eax
mov    %eax,-0x2c(%rbp)
jmp    139c <Daub97Analysis1D+0x29c>
mov    -0x14(%rbp),%eax
sar    $0x1,%eax
mov    %eax,-0x30(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x10(%rbp),%rax
movslq -0x30(%rbp),%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x30(%rbp),%eax
jge    145a <Daub97Analysis1D+0x35a>
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
shl    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x20(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
shl    $0x1,%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    13ff <Daub97Analysis1D+0x2ff>
pop    %rbp
ret

x86 assembly (clang, -O2):
<Daub97Analysis1D>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
lea    -0x2(%rdx),%eax
cmp    $0x3,%edx
jle    11e7 <Daub97Analysis1D+0xe7>
mov    %eax,%r9d
cmp    $0x4,%r9
mov    $0x3,%r10d
cmovae %r9,%r10
movsd  (%rdi),%xmm0
add    $0xfffffffffffffffe,%r10
mov    $0x1,%eax
cmp    $0x2,%r10
jb     11ae <Daub97Analysis1D+0xae>
shr    %r10
add    $0x1,%r10
movabs $0x7ffffffffffffffe,%r8
ff ff 7f
and    %r10,%r8
lea    (%r8,%r8,1),%rax
add    $0x1,%rax
movlhps %xmm0,%xmm0
lea    0x8(%rdi),%rcx
movapd 0xe9b(%rip),%xmm1
mov    %r8,%rbx
nopl   0x0(%rax,%rax,1)
movaps %xmm0,%xmm2
movups (%rcx),%xmm3
movups 0x10(%rcx),%xmm0
movaps %xmm3,%xmm4
movlhps %xmm0,%xmm4
movhlps %xmm3,%xmm0
unpckhpd %xmm3,%xmm2
addpd  %xmm0,%xmm2
mulpd  %xmm1,%xmm2
addpd  %xmm4,%xmm2
movlpd %xmm2,(%rcx)
movhpd %xmm2,0x10(%rcx)
add    $0x20,%rcx
add    $0xfffffffffffffffe,%rbx
jne    1170 <Daub97Analysis1D+0x70>
cmp    %r8,%r10
je     11ea <Daub97Analysis1D+0xea>
movhlps %xmm0,%xmm0
movsd  0xeaa(%rip),%xmm1
cs nopw 0x0(%rax,%rax,1)
movsd  0x8(%rdi,%rax,8),%xmm2
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  (%rdi,%rax,8),%xmm0
movsd  %xmm0,(%rdi,%rax,8)
add    $0x2,%rax
movapd %xmm2,%xmm0
cmp    %r9,%rax
jb     11c0 <Daub97Analysis1D+0xc0>
jmp    11ea <Daub97Analysis1D+0xea>
movslq %eax,%r9
movsd  (%rdi,%r9,8),%xmm0
movslq %edx,%r8
mulsd  0xe6d(%rip),%xmm0
addsd  -0x8(%rdi,%r8,8),%xmm0
movsd  %xmm0,-0x8(%rdi,%r8,8)
movsd  0x8(%rdi),%xmm0
mulsd  0xe5a(%rip),%xmm0
addsd  (%rdi),%xmm0
movsd  %xmm0,(%rdi)
mov    %edx,%r10d
cmp    $0x3,%edx
jl     12fe <Daub97Analysis1D+0x1fe>
cmp    $0x5,%r10
mov    $0x4,%eax
cmovae %r10,%rax
add    $0xfffffffffffffffd,%rax
mov    $0x2,%ecx
cmp    $0x3,%rax
jbe    12ba <Daub97Analysis1D+0x1ba>
shr    %rax
add    $0x1,%rax
mov    %eax,%ecx
and    $0x1,%ecx
test   %rcx,%rcx
mov    $0x2,%ebp
cmovne %rcx,%rbp
sub    %rbp,%rax
lea    (%rax,%rax,1),%rcx
add    $0x2,%rcx
lea    0x20(%rdi),%rbx
movapd 0xd9b(%rip),%xmm1
cs nopw 0x0(%rax,%rax,1)
nop
movupd -0x18(%rbx),%xmm2
movupd -0x8(%rbx),%xmm3
movapd %xmm2,%xmm4
unpckhpd %xmm3,%xmm4
unpcklpd %xmm3,%xmm2
movhpd 0x8(%rbx),%xmm3
addpd  %xmm2,%xmm3
mulpd  %xmm1,%xmm3
addpd  %xmm4,%xmm3
movlpd %xmm3,-0x10(%rbx)
movhpd %xmm3,(%rbx)
add    $0x20,%rbx
add    $0xfffffffffffffffe,%rax
jne    1280 <Daub97Analysis1D+0x180>
movsd  0xdb6(%rip),%xmm1
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
lea    0x0(,%rcx,8),%rax
or     $0x8,%rax
movsd  (%rdi,%rax,1),%xmm2
addsd  -0x8(%rdi,%rcx,8),%xmm2
mulsd  %xmm1,%xmm2
addsd  (%rdi,%rcx,8),%xmm2
movsd  %xmm2,(%rdi,%rcx,8)
add    $0x2,%rcx
cmp    %r10,%rcx
jb     12d0 <Daub97Analysis1D+0x1d0>
add    $0xffffffffffffffff,%r8
cmp    $0x4,%edx
jl     13d5 <Daub97Analysis1D+0x2d5>
cmp    $0x4,%r9
mov    $0x3,%r14d
cmovge %r9,%r14
add    $0xfffffffffffffffe,%r14
mov    $0x1,%ecx
cmp    $0x2,%r14
jb     13a0 <Daub97Analysis1D+0x2a0>
shr    %r14
add    $0x1,%r14
movabs $0x7ffffffffffffffe,%r11
ff ff 7f
and    %r14,%r11
lea    (%r11,%r11,1),%rcx
add    $0x1,%rcx
unpcklpd %xmm0,%xmm0
lea    0x8(%rdi),%rbx
movapd 0xccc(%rip),%xmm1
mov    %r11,%rax
nopw   0x0(%rax,%rax,1)
movapd %xmm0,%xmm2
movups (%rbx),%xmm3
movups 0x10(%rbx),%xmm0
movaps %xmm3,%xmm4
movlhps %xmm0,%xmm4
movhlps %xmm3,%xmm0
unpckhpd %xmm3,%xmm2
addpd  %xmm0,%xmm2
mulpd  %xmm1,%xmm2
addpd  %xmm4,%xmm2
movlpd %xmm2,(%rbx)
movhpd %xmm2,0x10(%rbx)
add    $0x20,%rbx
add    $0xfffffffffffffffe,%rax
jne    1360 <Daub97Analysis1D+0x260>
cmp    %r11,%r14
je     13d5 <Daub97Analysis1D+0x2d5>
unpckhpd %xmm0,%xmm0
movsd  0xcd8(%rip),%xmm1
nopl   0x0(%rax,%rax,1)
movsd  0x8(%rdi,%rcx,8),%xmm2
addsd  %xmm2,%xmm0
mulsd  %xmm1,%xmm0
addsd  (%rdi,%rcx,8),%xmm0
movsd  %xmm0,(%rdi,%rcx,8)
add    $0x2,%rcx
movapd %xmm2,%xmm0
cmp    %r9,%rcx
jl     13b0 <Daub97Analysis1D+0x2b0>
movsd  (%rdi,%r9,8),%xmm0
mulsd  0xca5(%rip),%xmm0
addsd  (%rdi,%r8,8),%xmm0
movsd  %xmm0,(%rdi,%r8,8)
movsd  0x8(%rdi),%xmm0
mulsd  0xc94(%rip),%xmm0
addsd  (%rdi),%xmm0
mulsd  0xc90(%rip),%xmm0
movsd  %xmm0,(%rdi)
cmp    $0x3,%edx
jl     14f2 <Daub97Analysis1D+0x3f2>
cmp    $0x5,%r10
mov    $0x4,%eax
cmovae %r10,%rax
add    $0xfffffffffffffffd,%rax
mov    $0x2,%ecx
cmp    $0x3,%rax
jbe    14ae <Daub97Analysis1D+0x3ae>
shr    %rax
add    $0x1,%rax
mov    %eax,%ecx
and    $0x1,%ecx
test   %rcx,%rcx
mov    $0x2,%ebp
cmovne %rcx,%rbp
sub    %rbp,%rax
lea    (%rax,%rax,1),%rcx
add    $0x2,%rcx
lea    0x20(%rdi),%rbx
movapd 0xbcc(%rip),%xmm0
movapd 0xbd4(%rip),%xmm1
nopl   0x0(%rax)
movupd -0x18(%rbx),%xmm2
movupd -0x8(%rbx),%xmm3
movapd %xmm2,%xmm4
unpckhpd %xmm3,%xmm4
unpcklpd %xmm3,%xmm2
movhpd 0x8(%rbx),%xmm3
addpd  %xmm2,%xmm3
mulpd  %xmm0,%xmm3
addpd  %xmm4,%xmm3
mulpd  %xmm1,%xmm3
movlpd %xmm3,-0x10(%rbx)
movhpd %xmm3,(%rbx)
add    $0x20,%rbx
add    $0xfffffffffffffffe,%rax
jne    1470 <Daub97Analysis1D+0x370>
movsd  0xbea(%rip),%xmm0
movsd  0xbda(%rip),%xmm1
xchg   %ax,%ax
lea    0x0(,%rcx,8),%rax
or     $0x8,%rax
movsd  (%rdi,%rax,1),%xmm2
addsd  -0x8(%rdi,%rcx,8),%xmm2
mulsd  %xmm0,%xmm2
addsd  (%rdi,%rcx,8),%xmm2
mulsd  %xmm1,%xmm2
movsd  %xmm2,(%rdi,%rcx,8)
add    $0x2,%rcx
cmp    %r10,%rcx
jb     14c0 <Daub97Analysis1D+0x3c0>
cmp    $0x2,%edx
jl     1756 <Daub97Analysis1D+0x656>
lea    -0x2(%r10),%rcx
mov    $0x1,%eax
cmp    $0x3,%rcx
jbe    1560 <Daub97Analysis1D+0x460>
shr    %rcx
add    $0x1,%rcx
mov    %ecx,%eax
and    $0x1,%eax
test   %rax,%rax
mov    $0x2,%ebp
cmovne %rax,%rbp
sub    %rbp,%rcx
lea    (%rcx,%rcx,1),%rax
add    $0x1,%rax
lea    0x18(%rdi),%rbx
movapd 0xb17(%rip),%xmm0
nopl   0x0(%rax)
movsd  -0x10(%rbx),%xmm1
movhpd (%rbx),%xmm1
divpd  %xmm0,%xmm1
movlpd %xmm1,-0x10(%rbx)
movhpd %xmm1,(%rbx)
add    $0x20,%rbx
add    $0xfffffffffffffffe,%rcx
jne    1540 <Daub97Analysis1D+0x440>
movsd  0xb40(%rip),%xmm0
nopl   0x0(%rax,%rax,1)
movsd  (%rdi,%rax,8),%xmm1
divsd  %xmm0,%xmm1
movsd  %xmm1,(%rdi,%rax,8)
add    $0x2,%rax
cmp    %r10,%rax
jb     1570 <Daub97Analysis1D+0x470>
cmp    $0x2,%edx
jl     1756 <Daub97Analysis1D+0x656>
sar    %edx
movslq %edx,%r10
lea    (%rsi,%r10,8),%r11
cmp    $0x2,%r10d
mov    $0x1,%r9d
cmovge %r10d,%r9d
cmp    $0x4,%r9d
jae    15b4 <Daub97Analysis1D+0x4b4>
xor    %eax,%eax
jmp    16ce <Daub97Analysis1D+0x5ce>
lea    (%rsi,%r9,8),%rax
lea    (%r10,%r9,1),%rcx
lea    (%rsi,%rcx,8),%rbp
mov    %r9,%rbx
shl    $0x4,%rbx
lea    (%rdi,%rbx,1),%rdx
add    $0xfffffffffffffff8,%rdx
add    %rdi,%rbx
cmp    %rsi,%rbp
seta   -0x9(%rsp)
cmp    %rax,%r11
setb   %r14b
cmp    %rsi,%rdx
seta   %cl
lea    0x8(%rdi),%r15
cmp    %rdi,%rax
seta   %r13b
cmp    %rsi,%rbx
seta   %r12b
cmp    %rax,%r15
setb   -0xa(%rsp)
cmp    %rdx,%r11
setb   %r8b
cmp    %rdi,%rbp
seta   %dl
mov    %r11,-0x8(%rsp)
cmp    %rbx,%r11
setb   %r11b
cmp    %rbp,%r15
setb   %bl
xor    %eax,%eax
test   %r14b,-0x9(%rsp)
jne    16c9 <Daub97Analysis1D+0x5c9>
and    %r13b,%cl
jne    16c9 <Daub97Analysis1D+0x5c9>
and    -0xa(%rsp),%r12b
jne    16c9 <Daub97Analysis1D+0x5c9>
and    %dl,%r8b
jne    16c9 <Daub97Analysis1D+0x5c9>
and    %bl,%r11b
mov    -0x8(%rsp),%r11
jne    16ce <Daub97Analysis1D+0x5ce>
mov    %r9d,%eax
and    $0x7ffffffc,%eax
lea    0x20(%rdi),%rdx
lea    0x10(%rsi),%rcx
mov    %rax,%rbx
nopw   0x0(%rax,%rax,1)
movupd -0x20(%rdx),%xmm0
movupd -0x10(%rdx),%xmm1
movupd (%rdx),%xmm2
movupd 0x10(%rdx),%xmm3
movapd %xmm0,%xmm4
unpcklpd %xmm1,%xmm4
movapd %xmm2,%xmm5
unpcklpd %xmm3,%xmm5
unpckhpd %xmm1,%xmm0
unpckhpd %xmm3,%xmm2
movupd %xmm4,-0x10(%rcx)
movupd %xmm5,(%rcx)
movupd %xmm0,-0x10(%rcx,%r10,8)
movupd %xmm2,(%rcx,%r10,8)
add    $0x40,%rdx
add    $0x20,%rcx
add    $0xfffffffffffffffc,%rbx
jne    1670 <Daub97Analysis1D+0x570>
cmp    %r9,%rax
jne    16ce <Daub97Analysis1D+0x5ce>
jmp    1756 <Daub97Analysis1D+0x656>
mov    -0x8(%rsp),%r11
mov    %rax,%rcx
not    %rcx
test   $0x1,%r9b
je     16fb <Daub97Analysis1D+0x5fb>
mov    %rax,%rdx
shl    $0x4,%rdx
movsd  (%rdi,%rdx,1),%xmm0
movsd  %xmm0,(%rsi,%rax,8)
movsd  0x8(%rdi,%rdx,1),%xmm0
movsd  %xmm0,(%r11,%rax,8)
or     $0x1,%rax
add    %r9,%rcx
je     1756 <Daub97Analysis1D+0x656>
mov    %rax,%rcx
shl    $0x4,%rcx
add    %rdi,%rcx
add    $0x18,%rcx
lea    (%rsi,%r10,8),%rdx
add    $0x8,%rdx
cs nopw 0x0(%rax,%rax,1)
movsd  -0x18(%rcx),%xmm0
movsd  %xmm0,(%rsi,%rax,8)
movsd  -0x10(%rcx),%xmm0
movsd  %xmm0,-0x8(%rdx,%rax,8)
movsd  -0x8(%rcx),%xmm0
movsd  %xmm0,0x8(%rsi,%rax,8)
movsd  (%rcx),%xmm0
movsd  %xmm0,(%rdx,%rax,8)
add    $0x2,%rax
add    $0x20,%rcx
cmp    %rax,%r9
jne    1720 <Daub97Analysis1D+0x620>
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @Daub97Analysis1D(double* %0, double* %1, i32 %2) {
%4 = alloca double*
%5 = alloca double*
%6 = alloca i32
%7 = alloca double*
%8 = alloca double*
%9 = alloca i32
%10 = alloca i32
store double* %0, double** %4
store double* %1, double** %5
store i32 %2, i32* %6
store i32 1, i32* %9
br label %11
11: ; preds = %36, %3
%12 = load i32, i32* %9
%13 = load i32, i32* %6
%14 = sub nsw i32 %13, 2
%15 = icmp slt i32 %12, %14
br i1 %15, label %16, label %39
16: ; preds = %11
%17 = load double*, double** %4
%18 = load i32, i32* %9
%19 = sub nsw i32 %18, 1
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds double, double* %17, i64 %20
%22 = load double, double* %21
%23 = load double*, double** %4
%24 = load i32, i32* %9
%25 = add nsw i32 %24, 1
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds double, double* %23, i64 %26
%28 = load double, double* %27
%29 = fadd double %22, %28
%30 = load double*, double** %4
%31 = load i32, i32* %9
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds double, double* %30, i64 %32
%34 = load double, double* %33
%35 = call double @llvm.fmuladd.f64(double 0xBFF960E92B3BC130, double %29, double %34)
store double %35, double* %33
br label %36
36: ; preds = %16
%37 = load i32, i32* %9
%38 = add nsw i32 %37, 2
store i32 %38, i32* %9
br label %11
39: ; preds = %11
%40 = load double*, double** %4
%41 = load i32, i32* %6
%42 = sub nsw i32 %41, 2
%43 = sext i32 %42 to i64
%44 = getelementptr inbounds double, double* %40, i64 %43
%45 = load double, double* %44
%46 = load double*, double** %4
%47 = load i32, i32* %6
%48 = sub nsw i32 %47, 1
%49 = sext i32 %48 to i64
%50 = getelementptr inbounds double, double* %46, i64 %49
%51 = load double, double* %50
%52 = call double @llvm.fmuladd.f64(double 0xC00960E92B3BC130, double %45, double %51)
store double %52, double* %50
%53 = load double*, double** %4
%54 = getelementptr inbounds double, double* %53, i64 1
%55 = load double, double* %54
%56 = load double*, double** %4
%57 = getelementptr inbounds double, double* %56, i64 0
%58 = load double, double* %57
%59 = call double @llvm.fmuladd.f64(double 0xBFBB20042CA7295E, double %55, double %58)
store double %59, double* %57
store i32 2, i32* %9
br label %60
60: ; preds = %84, %39
%61 = load i32, i32* %9
%62 = load i32, i32* %6
%63 = icmp slt i32 %61, %62
br i1 %63, label %64, label %87
64: ; preds = %60
%65 = load double*, double** %4
%66 = load i32, i32* %9
%67 = add nsw i32 %66, 1
%68 = sext i32 %67 to i64
%69 = getelementptr inbounds double, double* %65, i64 %68
%70 = load double, double* %69
%71 = load double*, double** %4
%72 = load i32, i32* %9
%73 = sub nsw i32 %72, 1
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, double* %71, i64 %74
%76 = load double, double* %75
%77 = fadd double %70, %76
%78 = load double*, double** %4
%79 = load i32, i32* %9
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, double* %78, i64 %80
%82 = load double, double* %81
%83 = call double @llvm.fmuladd.f64(double 0xBFAB20042CA7295E, double %77, double %82)
store double %83, double* %81
br label %84
84: ; preds = %64
%85 = load i32, i32* %9
%86 = add nsw i32 %85, 2
store i32 %86, i32* %9
br label %60
87: ; preds = %60
store i32 1, i32* %9
br label %88
88: ; preds = %113, %87
%89 = load i32, i32* %9
%90 = load i32, i32* %6
%91 = sub nsw i32 %90, 2
%92 = icmp slt i32 %89, %91
br i1 %92, label %93, label %116
93: ; preds = %88
%94 = load double*, double** %4
%95 = load i32, i32* %9
%96 = sub nsw i32 %95, 1
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, double* %94, i64 %97
%99 = load double, double* %98
%100 = load double*, double** %4
%101 = load i32, i32* %9
%102 = add nsw i32 %101, 1
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, double* %100, i64 %103
%105 = load double, double* %104
%106 = fadd double %99, %105
%107 = load double*, double** %4
%108 = load i32, i32* %9
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, double* %107, i64 %109
%111 = load double, double* %110
%112 = call double @llvm.fmuladd.f64(double 0x3FEC40FE05A8B96A, double %106, double %111)
store double %112, double* %110
br label %113
113: ; preds = %93
%114 = load i32, i32* %9
%115 = add nsw i32 %114, 2
store i32 %115, i32* %9
br label %88
116: ; preds = %88
%117 = load double*, double** %4
%118 = load i32, i32* %6
%119 = sub nsw i32 %118, 2
%120 = sext i32 %119 to i64
%121 = getelementptr inbounds double, double* %117, i64 %120
%122 = load double, double* %121
%123 = load double*, double** %4
%124 = load i32, i32* %6
%125 = sub nsw i32 %124, 1
%126 = sext i32 %125 to i64
%127 = getelementptr inbounds double, double* %123, i64 %126
%128 = load double, double* %127
%129 = call double @llvm.fmuladd.f64(double 0x3FFC40FE05A8B96A, double %122, double %128)
store double %129, double* %127
%130 = load double*, double** %4
%131 = getelementptr inbounds double, double* %130, i64 0
%132 = load double, double* %131
%133 = load double*, double** %4
%134 = getelementptr inbounds double, double* %133, i64 1
%135 = load double, double* %134
%136 = call double @llvm.fmuladd.f64(double 0x3FEC62620D015380, double %135, double %132)
%137 = fmul double 0x3FF264C77BEDAA5F, %136
%138 = load double*, double** %4
%139 = getelementptr inbounds double, double* %138, i64 0
store double %137, double* %139
store i32 2, i32* %9
br label %140
140: ; preds = %169, %116
%141 = load i32, i32* %9
%142 = load i32, i32* %6
%143 = icmp slt i32 %141, %142
br i1 %143, label %144, label %172
144: ; preds = %140
%145 = load double*, double** %4
%146 = load i32, i32* %9
%147 = sext i32 %146 to i64
%148 = getelementptr inbounds double, double* %145, i64 %147
%149 = load double, double* %148
%150 = load double*, double** %4
%151 = load i32, i32* %9
%152 = add nsw i32 %151, 1
%153 = sext i32 %152 to i64
%154 = getelementptr inbounds double, double* %150, i64 %153
%155 = load double, double* %154
%156 = load double*, double** %4
%157 = load i32, i32* %9
%158 = sub nsw i32 %157, 1
%159 = sext i32 %158 to i64
%160 = getelementptr inbounds double, double* %156, i64 %159
%161 = load double, double* %160
%162 = fadd double %155, %161
%163 = call double @llvm.fmuladd.f64(double 0x3FDC62620D015380, double %162, double %149)
%164 = fmul double 0x3FF264C77BEDAA5F, %163
%165 = load double*, double** %4
%166 = load i32, i32* %9
%167 = sext i32 %166 to i64
%168 = getelementptr inbounds double, double* %165, i64 %167
store double %164, double* %168
br label %169
169: ; preds = %144
%170 = load i32, i32* %9
%171 = add nsw i32 %170, 2
store i32 %171, i32* %9
br label %140
172: ; preds = %140
store i32 1, i32* %9
br label %173
173: ; preds = %184, %172
%174 = load i32, i32* %9
%175 = load i32, i32* %6
%176 = icmp slt i32 %174, %175
br i1 %176, label %177, label %187
177: ; preds = %173
%178 = load double*, double** %4
%179 = load i32, i32* %9
%180 = sext i32 %179 to i64
%181 = getelementptr inbounds double, double* %178, i64 %180
%182 = load double, double* %181
%183 = fdiv double %182, 0xBFF264C77BEDAA5F
store double %183, double* %181
br label %184
184: ; preds = %177
%185 = load i32, i32* %9
%186 = add nsw i32 %185, 2
store i32 %186, i32* %9
br label %173
187: ; preds = %173
%188 = load i32, i32* %6
%189 = ashr i32 %188, 1
store i32 %189, i32* %10
%190 = load double*, double** %5
store double* %190, double** %7
%191 = load double*, double** %5
%192 = load i32, i32* %10
%193 = sext i32 %192 to i64
%194 = getelementptr inbounds double, double* %191, i64 %193
store double* %194, double** %8
store i32 0, i32* %9
br label %195
195: ; preds = %221, %187
%196 = load i32, i32* %9
%197 = load i32, i32* %10
%198 = icmp slt i32 %196, %197
br i1 %198, label %199, label %224
199: ; preds = %195
%200 = load double*, double** %4
%201 = load i32, i32* %9
%202 = shl i32 %201, 1
%203 = sext i32 %202 to i64
%204 = getelementptr inbounds double, double* %200, i64 %203
%205 = load double, double* %204
%206 = load double*, double** %7
%207 = load i32, i32* %9
%208 = sext i32 %207 to i64
%209 = getelementptr inbounds double, double* %206, i64 %208
store double %205, double* %209
%210 = load double*, double** %4
%211 = load i32, i32* %9
%212 = shl i32 %211, 1
%213 = add nsw i32 %212, 1
%214 = sext i32 %213 to i64
%215 = getelementptr inbounds double, double* %210, i64 %214
%216 = load double, double* %215
%217 = load double*, double** %8
%218 = load i32, i32* %9
%219 = sext i32 %218 to i64
%220 = getelementptr inbounds double, double* %217, i64 %219
store double %216, double* %220
br label %221
221: ; preds = %199
%222 = load i32, i32* %9
%223 = add nsw i32 %222, 1
store i32 %223, i32* %9
br label %195
224: ; preds = %195
ret void
}

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