void kern_r4_n_f(double *restrict o0, double *restrict o1, double *restrict o2,
                 double *restrict o3, double *i0, double *i1, double *i2,
                 double *i3, double *w, long bsize, long blocks) {
  long i, j;
  for (i = 0; i < blocks; i++) {
    double wr1, wi1;
    double wr2, wi2;
    double wr3, wi3;
    wr1 = w[2 * i * bsize];
    wi1 = w[2 * i * bsize + 1];
    wr2 = w[4 * i * bsize];
    wi2 = w[4 * i * bsize + 1];
    wr3 = w[6 * i * bsize];
    wi3 = w[6 * i * bsize + 1];
    for (j = 0; j < bsize; j++) {
      double pr1, pi1;
      double pr2, pi2;
      double pr3, pi3;
      double qr0, qi0;
      double qr1, qi1;
      double qr2, qi2;
      double qr3, qi3;
      pr1 = i1[2 * j] * wr1 + i1[2 * j + 1] * wi1;
      pi1 = i1[2 * j + 1] * wr1 - i1[2 * j] * wi1;
      pr2 = i2[2 * j] * wr2 + i2[2 * j + 1] * wi2;
      pi2 = i2[2 * j + 1] * wr2 - i2[2 * j] * wi2;
      pr3 = i3[2 * j] * wr3 + i3[2 * j + 1] * wi3;
      pi3 = i3[2 * j + 1] * wr3 - i3[2 * j] * wi3;
      qr0 = i0[2 * j] + pr2;
      qr2 = i0[2 * j] - pr2;
      qi0 = i0[2 * j + 1] + pi2;
      qi2 = i0[2 * j + 1] - pi2;
      qr1 = pr1 + pr3;
      qr3 = pr1 - pr3;
      qi1 = pi1 + pi3;
      qi3 = pi1 - pi3;
      o0[2 * j] = qr0 + qr1;
      o0[2 * j + 1] = qi0 + qi1;
      o2[2 * j] = qr0 - qr1;
      o2[2 * j + 1] = qi0 - qi1;
      o1[2 * j] = qr2 + qi3;
      o1[2 * j + 1] = qi2 - qr3;
      o3[2 * j] = qr2 - qi3;
      o3[2 * j + 1] = qi2 + qr3;
    }
    i0 += 8 * bsize;
    i1 += 8 * bsize;
    i2 += 8 * bsize;
    i3 += 8 * bsize;
    o0 += 2 * bsize;
    o1 += 2 * bsize;
    o2 += 2 * bsize;
    o3 += 2 * bsize;
  }
}


x86 assembly (clang, -O0):
<kern_r4_n_f>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
mov    0x30(%rbp),%rax
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
movq   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%rax
cmp    0x30(%rbp),%rax
jge    1654 <kern_r4_n_f+0x554>
mov    0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x1,%rcx
imul   0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x1,%rcx
imul   0x28(%rbp),%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x2,%rcx
imul   0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x2,%rcx
imul   0x28(%rbp),%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    0x20(%rbp),%rax
imul   $0x6,-0x38(%rbp),%rcx
imul   0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    0x20(%rbp),%rax
imul   $0x6,-0x38(%rbp),%rcx
imul   0x28(%rbp),%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
movq   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%rax
cmp    0x28(%rbp),%rax
jge    15a3 <kern_r4_n_f+0x4a3>
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x48(%rbp),%xmm2
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x50(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  -0x48(%rbp),%xmm2
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x50(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x58(%rbp),%xmm2
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x60(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  -0x58(%rbp),%xmm2
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x60(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x68(%rbp),%xmm2
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  -0x68(%rbp),%xmm2
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm1
mulsd  -0x70(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0xa8(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0x88(%rbp),%xmm0
ff
movsd  %xmm0,-0xc8(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
addsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0xb0(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
subsd  -0x90(%rbp),%xmm0
ff
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
addsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x78(%rbp),%xmm0
subsd  -0x98(%rbp),%xmm0
ff
movsd  %xmm0,-0xd8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
addsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
subsd  -0xa0(%rbp),%xmm0
ff
movsd  %xmm0,-0xe0(%rbp)
ff
movsd  -0xa8(%rbp),%xmm0
ff
addsd  -0xb8(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xb0(%rbp),%xmm0
ff
addsd  -0xc0(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0xa8(%rbp),%xmm0
ff
subsd  -0xb8(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xb0(%rbp),%xmm0
ff
subsd  -0xc0(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0xc8(%rbp),%xmm0
ff
addsd  -0xe0(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xd0(%rbp),%xmm0
ff
subsd  -0xd8(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0xc8(%rbp),%xmm0
ff
subsd  -0xe0(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xd0(%rbp),%xmm0
ff
addsd  -0xd8(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
mov    -0x40(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x40(%rbp)
jmp    11f1 <kern_r4_n_f+0xf1>
mov    0x28(%rbp),%rax
shl    $0x3,%rax
shl    $0x3,%rax
add    -0x28(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    0x28(%rbp),%rax
shl    $0x3,%rax
shl    $0x3,%rax
add    -0x30(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    0x28(%rbp),%rax
shl    $0x3,%rax
shl    $0x3,%rax
add    0x10(%rbp),%rax
mov    %rax,0x10(%rbp)
mov    0x28(%rbp),%rax
shl    $0x3,%rax
shl    $0x3,%rax
add    0x18(%rbp),%rax
mov    %rax,0x18(%rbp)
mov    0x28(%rbp),%rax
shl    $0x1,%rax
shl    $0x3,%rax
add    -0x8(%rbp),%rax
mov    %rax,-0x8(%rbp)
mov    0x28(%rbp),%rax
shl    $0x1,%rax
shl    $0x3,%rax
add    -0x10(%rbp),%rax
mov    %rax,-0x10(%rbp)
mov    0x28(%rbp),%rax
shl    $0x1,%rax
shl    $0x3,%rax
add    -0x18(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    0x28(%rbp),%rax
shl    $0x1,%rax
shl    $0x3,%rax
add    -0x20(%rbp),%rax
mov    %rax,-0x20(%rbp)
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    113c <kern_r4_n_f+0x3c>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kern_r4_n_f>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %rcx,-0x30(%rsp)
mov    %rdx,-0x38(%rsp)
mov    %rsi,-0x40(%rsp)
mov    %rdi,-0x48(%rsp)
cmpq   $0x0,0x110(%rsp)
jle    1774 <kern_r4_n_f+0x674>
mov    0x108(%rsp),%rsi
mov    0xf8(%rsp),%rbx
mov    0xf0(%rsp),%rdi
lea    (%rsi,%rsi,1),%rbp
lea    -0x1(%rsi),%rax
mov    $0x10,%ecx
mul    %rcx
mov    %rbp,-0x10(%rsp)
lea    0x0(%rbp,%rbp,2),%rcx
mov    %rcx,-0x8(%rsp)
seto   -0x79(%rsp)
mov    %rsi,%rcx
and    $0xfffffffffffffffe,%rcx
mov    %rcx,-0x50(%rsp)
shl    $0x6,%rsi
mov    %rsi,0x8(%rsp)
mov    %rax,-0x18(%rsp)
add    $0x10,%rax
mov    %rax,(%rsp)
lea    0x8(%r9),%rax
mov    %rax,-0x28(%rsp)
xor    %edx,%edx
movapd 0xe5b(%rip),%xmm7
mov    -0x48(%rsp),%rsi
mov    -0x38(%rsp),%rbp
mov    -0x40(%rsp),%r10
mov    -0x30(%rsp),%r11
jmp    1216 <kern_r4_n_f+0x116>
nopl   0x0(%rax,%rax,1)
mov    -0x20(%rsp),%rdx
add    $0x1,%rdx
mov    -0x58(%rsp),%r8
mov    0x8(%rsp),%rax
add    %rax,%r8
mov    -0x60(%rsp),%rbx
add    %rax,%rbx
mov    -0x68(%rsp),%rdi
add    %rax,%rdi
mov    (%rsp),%rcx
add    %rcx,%r11
add    %rcx,%r10
mov    -0x78(%rsp),%rbp
add    %rcx,%rbp
mov    -0x70(%rsp),%rsi
add    %rcx,%rsi
add    %rax,%r9
add    %rax,-0x28(%rsp)
cmp    0x110(%rsp),%rdx
je     1774 <kern_r4_n_f+0x674>
mov    %rbp,-0x78(%rsp)
mov    %rsi,-0x70(%rsp)
mov    %rdx,-0x20(%rsp)
mov    %rdi,-0x68(%rsp)
mov    %rbx,-0x60(%rsp)
mov    %r8,-0x58(%rsp)
cmpq   $0x0,0x108(%rsp)
jle    11c0 <kern_r4_n_f+0xc0>
mov    -0x20(%rsp),%rdi
mov    %rdi,%rax
mov    0x108(%rsp),%r8
imul   %r8,%rax
mov    %rax,%rcx
shl    $0x4,%rcx
shl    $0x5,%rax
mov    -0x8(%rsp),%rdx
imul   %rdi,%rdx
lea    0x0(,%rdx,8),%rbp
or     $0x8,%rbp
mov    0x100(%rsp),%rbx
movsd  (%rbx,%rcx,1),%xmm9
movsd  0x8(%rbx,%rcx,1),%xmm10
movsd  (%rbx,%rax,1),%xmm0
movsd  0x8(%rbx,%rax,1),%xmm2
movsd  (%rbx,%rdx,8),%xmm14
movsd  (%rbx,%rbp,1),%xmm15
cmp    $0x1,%r8
jne    1440 <kern_r4_n_f+0x340>
xor    %r13d,%r13d
movapd %xmm2,%xmm8
unpcklpd %xmm10,%xmm8
movapd %xmm0,%xmm1
unpcklpd %xmm9,%xmm1
unpcklpd %xmm2,%xmm10
unpcklpd %xmm0,%xmm9
unpcklpd %xmm15,%xmm15
unpcklpd %xmm14,%xmm14
mov    0x108(%rsp),%r15
sub    %r13,%r15
shl    $0x4,%r13
mov    -0x78(%rsp),%rax
mov    -0x70(%rsp),%rcx
mov    -0x58(%rsp),%r8
mov    -0x60(%rsp),%r12
mov    -0x68(%rsp),%rbx
mov    -0x28(%rsp),%r14
mov    %r10,%rbp
mov    %r11,%rdx
cs nopw 0x0(%rax,%rax,1)
movsd  -0x8(%r14,%r13,1),%xmm0
movsd  (%r14,%r13,1),%xmm3
movapd %xmm0,%xmm2
xorpd  %xmm7,%xmm2
movsd  (%rbx,%r13,1),%xmm4
movsd  0x8(%rbx,%r13,1),%xmm5
unpcklpd %xmm5,%xmm0
unpcklpd %xmm2,%xmm5
mulpd  %xmm8,%xmm5
movapd %xmm4,%xmm2
unpcklpd %xmm3,%xmm2
mulpd  %xmm1,%xmm2
addpd  %xmm5,%xmm2
xorpd  %xmm7,%xmm4
unpcklpd %xmm4,%xmm3
mulpd  %xmm10,%xmm3
mulpd  %xmm9,%xmm0
addpd  %xmm3,%xmm0
movupd (%r12,%r13,1),%xmm3
movapd %xmm3,%xmm4
xorpd  %xmm7,%xmm4
shufpd $0x2,%xmm3,%xmm4
shufpd $0x1,%xmm3,%xmm3
mulpd  %xmm14,%xmm3
mulpd  %xmm15,%xmm4
addpd  %xmm3,%xmm4
movupd (%r8,%r13,1),%xmm5
movapd %xmm0,%xmm6
movsd  %xmm2,%xmm6
movapd %xmm5,%xmm3
subpd  %xmm6,%xmm3
movapd %xmm4,%xmm6
unpckhpd %xmm5,%xmm6
addpd  %xmm0,%xmm6
unpcklpd %xmm4,%xmm5
addpd  %xmm2,%xmm5
shufpd $0x1,%xmm0,%xmm2
subpd  %xmm4,%xmm2
movapd %xmm5,%xmm0
addpd  %xmm6,%xmm0
movupd %xmm0,(%rcx,%r13,1)
movapd %xmm6,%xmm0
movsd  %xmm5,%xmm0
movsd  %xmm6,%xmm5
subpd  %xmm5,%xmm0
movupd %xmm0,(%rax,%r13,1)
movapd %xmm3,%xmm0
addpd  %xmm2,%xmm0
subpd  %xmm2,%xmm3
movapd %xmm3,%xmm2
movsd  %xmm0,%xmm2
movupd %xmm2,0x0(%rbp,%r13,1)
shufpd $0x2,%xmm0,%xmm3
movupd %xmm3,(%rdx,%r13,1)
add    $0x10,%rdx
add    $0x10,%rbp
add    $0x10,%r14
add    $0x10,%rbx
add    $0x10,%r12
add    $0x10,%r8
add    $0x10,%rcx
add    $0x10,%rax
add    $0xffffffffffffffff,%r15
jne    1310 <kern_r4_n_f+0x210>
jmp    11c0 <kern_r4_n_f+0xc0>
nopw   0x0(%rax,%rax,1)
mov    -0x10(%rsp),%rax
imul   %rdi,%rax
shl    $0x3,%rax
or     $0x8,%rax
mov    -0x48(%rsp),%rcx
add    %rax,%rcx
mov    -0x38(%rsp),%rdx
lea    (%rdx,%rax,1),%r8
mov    -0x40(%rsp),%rbp
add    %rax,%rbp
add    -0x30(%rsp),%rax
mov    -0x18(%rsp),%rdi
lea    (%rcx,%rdi,1),%rbx
cmp    %rcx,%rbx
setb   %bl
mov    -0x79(%rsp),%dl
or     %dl,%bl
lea    (%r8,%rdi,1),%rcx
cmp    %r8,%rcx
setb   %r8b
lea    (%rdi,%rbp,1),%rcx
cmp    %rbp,%rcx
setb   %cl
lea    (%rax,%rdi,1),%rbp
cmp    %rax,%rbp
setb   %al
test   %bl,%bl
jne    12a9 <kern_r4_n_f+0x1a9>
or     %dl,%r8b
jne    12a9 <kern_r4_n_f+0x1a9>
or     %dl,%cl
jne    12a9 <kern_r4_n_f+0x1a9>
or     %dl,%al
mov    $0x0,%r13d
jne    12ac <kern_r4_n_f+0x1ac>
movapd %xmm10,0x50(%rsp)
unpcklpd %xmm10,%xmm10
movapd %xmm10,0xa0(%rsp)
movapd %xmm9,0x60(%rsp)
unpcklpd %xmm9,%xmm9
movapd %xmm9,0x90(%rsp)
movapd %xmm2,0x10(%rsp)
unpcklpd %xmm2,%xmm2
movapd %xmm2,0x80(%rsp)
movapd %xmm0,0x20(%rsp)
unpcklpd %xmm0,%xmm0
movapd %xmm0,0x70(%rsp)
movapd %xmm15,0x30(%rsp)
unpcklpd %xmm15,%xmm15
movapd %xmm14,0x40(%rsp)
unpcklpd %xmm14,%xmm14
mov    -0x50(%rsp),%rcx
xor    %eax,%eax
mov    %r9,%r8
mov    -0x58(%rsp),%rbp
mov    -0x60(%rsp),%rbx
mov    -0x68(%rsp),%rdi
mov    -0x70(%rsp),%rsi
mov    -0x78(%rsp),%rdx
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movupd (%r8,%rax,1),%xmm0
movupd 0x10(%r8,%rax,1),%xmm7
movapd %xmm0,%xmm2
unpcklpd %xmm7,%xmm2
unpckhpd %xmm7,%xmm0
movapd 0xa0(%rsp),%xmm1
movapd %xmm1,%xmm7
mulpd  %xmm0,%xmm7
mulpd  %xmm2,%xmm1
movapd 0x90(%rsp),%xmm3
mulpd  %xmm3,%xmm2
addpd  %xmm7,%xmm2
mulpd  %xmm3,%xmm0
subpd  %xmm1,%xmm0
movupd (%rdi,%rax,1),%xmm9
movupd 0x10(%rdi,%rax,1),%xmm1
movapd %xmm9,%xmm10
unpcklpd %xmm1,%xmm10
unpckhpd %xmm1,%xmm9
movapd 0x80(%rsp),%xmm7
movapd %xmm7,%xmm1
mulpd  %xmm9,%xmm1
mulpd  %xmm10,%xmm7
movapd 0x70(%rsp),%xmm3
mulpd  %xmm3,%xmm10
addpd  %xmm1,%xmm10
mulpd  %xmm3,%xmm9
subpd  %xmm7,%xmm9
movupd (%rbx,%rax,1),%xmm12
movupd 0x10(%rbx,%rax,1),%xmm1
movapd %xmm12,%xmm11
unpcklpd %xmm1,%xmm11
unpckhpd %xmm1,%xmm12
movapd %xmm15,%xmm1
mulpd  %xmm12,%xmm1
movapd %xmm15,%xmm7
mulpd  %xmm11,%xmm7
mulpd  %xmm14,%xmm11
addpd  %xmm1,%xmm11
mulpd  %xmm14,%xmm12
subpd  %xmm7,%xmm12
movupd 0x0(%rbp,%rax,1),%xmm8
movupd 0x10(%rbp,%rax,1),%xmm1
movapd %xmm8,%xmm7
unpcklpd %xmm1,%xmm7
unpckhpd %xmm1,%xmm8
movapd %xmm10,%xmm13
addpd  %xmm7,%xmm13
subpd  %xmm10,%xmm7
movapd %xmm9,%xmm1
addpd  %xmm8,%xmm1
subpd  %xmm9,%xmm8
movapd %xmm2,%xmm9
addpd  %xmm11,%xmm9
subpd  %xmm11,%xmm2
movapd %xmm0,%xmm5
addpd  %xmm12,%xmm5
subpd  %xmm12,%xmm0
movapd %xmm13,%xmm4
addpd  %xmm9,%xmm4
movapd %xmm5,%xmm3
addpd  %xmm1,%xmm3
movapd %xmm4,%xmm6
unpcklpd %xmm3,%xmm6
movhlps %xmm4,%xmm3
movups %xmm3,0x10(%rsi,%rax,1)
movupd %xmm6,(%rsi,%rax,1)
subpd  %xmm9,%xmm13
subpd  %xmm5,%xmm1
movapd %xmm13,%xmm3
unpcklpd %xmm1,%xmm3
movhlps %xmm13,%xmm1
movups %xmm1,0x10(%rdx,%rax,1)
movupd %xmm3,(%rdx,%rax,1)
movapd %xmm7,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm8,%xmm3
subpd  %xmm2,%xmm3
movapd %xmm1,%xmm4
unpcklpd %xmm3,%xmm4
movhlps %xmm1,%xmm3
movups %xmm3,0x10(%r10,%rax,1)
movupd %xmm4,(%r10,%rax,1)
subpd  %xmm0,%xmm7
addpd  %xmm8,%xmm2
movapd %xmm7,%xmm0
unpcklpd %xmm2,%xmm0
movhlps %xmm7,%xmm2
movups %xmm2,0x10(%r11,%rax,1)
movupd %xmm0,(%r11,%rax,1)
add    $0x20,%rax
add    $0xfffffffffffffffe,%rcx
jne    1560 <kern_r4_n_f+0x460>
mov    -0x50(%rsp),%rax
mov    %rax,%r13
cmp    0x108(%rsp),%rax
movapd 0x8bf(%rip),%xmm7
movapd 0x60(%rsp),%xmm9
movapd 0x50(%rsp),%xmm10
movapd 0x40(%rsp),%xmm14
movapd 0x30(%rsp),%xmm15
movapd 0x20(%rsp),%xmm0
movapd 0x10(%rsp),%xmm2
je     11c0 <kern_r4_n_f+0xc0>
jmp    12ac <kern_r4_n_f+0x1ac>
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
define void @kern_r4_n_f(double* noalias nocapture writeonly %0, double* noalias nocapture writeonly %1, double* noalias nocapture writeonly %2, double* noalias nocapture writeonly %3, double* nocapture %4, double* nocapture %5, double* nocapture %6, double* nocapture %7, double* nocapture %8, i64 %9, i64 %10) {
%12 = icmp sgt i64 %10, 0
br i1 %12, label %13, label %268
13: ; preds = %11
%14 = mul i64 %9, 6
%15 = icmp sgt i64 %9, 0
%16 = shl nsw i64 %9, 3
%17 = shl nsw i64 %9, 1
%18 = add i64 %9, -1
%19 = shl i64 %9, 1
%20 = icmp eq i64 %9, 1
%21 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %18, i64 16)
%22 = extractvalue { i64, i1 } %21, 0
%23 = extractvalue { i64, i1 } %21, 1
%24 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %18, i64 16)
%25 = extractvalue { i64, i1 } %24, 0
%26 = extractvalue { i64, i1 } %24, 1
%27 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %18, i64 16)
%28 = extractvalue { i64, i1 } %27, 0
%29 = extractvalue { i64, i1 } %27, 1
%30 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %18, i64 16)
%31 = extractvalue { i64, i1 } %30, 0
%32 = extractvalue { i64, i1 } %30, 1
%33 = and i64 %9, -2
%34 = icmp eq i64 %33, %9
br label %35
35: ; preds = %13, %257
%36 = phi double* [ %0, %13 ], [ %262, %257 ]
%37 = phi double* [ %1, %13 ], [ %263, %257 ]
%38 = phi double* [ %2, %13 ], [ %264, %257 ]
%39 = phi double* [ %3, %13 ], [ %265, %257 ]
%40 = phi double* [ %4, %13 ], [ %258, %257 ]
%41 = phi double* [ %5, %13 ], [ %259, %257 ]
%42 = phi double* [ %6, %13 ], [ %260, %257 ]
%43 = phi double* [ %7, %13 ], [ %261, %257 ]
%44 = phi i64 [ 0, %13 ], [ %266, %257 ]
%45 = mul i64 %19, %44
%46 = or i64 %45, 1
%47 = getelementptr double, double* %0, i64 %46
%48 = bitcast double* %47 to i8*
%49 = getelementptr double, double* %2, i64 %46
%50 = bitcast double* %49 to i8*
%51 = getelementptr double, double* %1, i64 %46
%52 = bitcast double* %51 to i8*
%53 = getelementptr double, double* %3, i64 %46
%54 = bitcast double* %53 to i8*
%55 = shl nuw nsw i64 %44, 1
%56 = mul nsw i64 %55, %9
%57 = getelementptr inbounds double, double* %8, i64 %56
%58 = load double, double* %57
%59 = or i64 %56, 1
%60 = getelementptr inbounds double, double* %8, i64 %59
%61 = load double, double* %60
%62 = shl nsw i64 %44, 2
%63 = mul nsw i64 %62, %9
%64 = getelementptr inbounds double, double* %8, i64 %63
%65 = load double, double* %64
%66 = or i64 %63, 1
%67 = getelementptr inbounds double, double* %8, i64 %66
%68 = load double, double* %67
%69 = mul i64 %14, %44
%70 = getelementptr inbounds double, double* %8, i64 %69
%71 = load double, double* %70
%72 = or i64 %69, 1
%73 = getelementptr inbounds double, double* %8, i64 %72
%74 = load double, double* %73
br i1 %15, label %75, label %257
75: ; preds = %35
br i1 %20, label %179, label %76
76: ; preds = %75
%77 = getelementptr i8, i8* %48, i64 %22
%78 = icmp ult i8* %77, %48
%79 = or i1 %78, %23
%80 = getelementptr i8, i8* %50, i64 %25
%81 = icmp ult i8* %80, %50
%82 = or i1 %81, %26
%83 = getelementptr i8, i8* %52, i64 %28
%84 = icmp ult i8* %83, %52
%85 = or i1 %84, %29
%86 = getelementptr i8, i8* %54, i64 %31
%87 = icmp ult i8* %86, %54
%88 = or i1 %87, %32
%89 = or i1 %79, %82
%90 = or i1 %89, %85
%91 = or i1 %90, %88
br i1 %91, label %179, label %92
92: ; preds = %76
%93 = insertelement <2 x double> poison, double %61, i64 0
%94 = shufflevector <2 x double> %93, <2 x double> poison, <2 x i32> zeroinitializer
%95 = insertelement <2 x double> poison, double %58, i64 0
%96 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> zeroinitializer
%97 = insertelement <2 x double> poison, double %68, i64 0
%98 = shufflevector <2 x double> %97, <2 x double> poison, <2 x i32> zeroinitializer
%99 = insertelement <2 x double> poison, double %65, i64 0
%100 = shufflevector <2 x double> %99, <2 x double> poison, <2 x i32> zeroinitializer
%101 = insertelement <2 x double> poison, double %74, i64 0
%102 = shufflevector <2 x double> %101, <2 x double> poison, <2 x i32> zeroinitializer
%103 = insertelement <2 x double> poison, double %71, i64 0
%104 = shufflevector <2 x double> %103, <2 x double> poison, <2 x i32> zeroinitializer
%105 = getelementptr inbounds double, double* %36, i64 -1
%106 = getelementptr inbounds double, double* %38, i64 -1
%107 = getelementptr inbounds double, double* %37, i64 -1
%108 = getelementptr inbounds double, double* %39, i64 -1
br label %109
109: ; preds = %109, %92
%110 = phi i64 [ 0, %92 ], [ %176, %109 ]
%111 = shl nuw nsw i64 %110, 1
%112 = getelementptr inbounds double, double* %41, i64 %111
%113 = bitcast double* %112 to <4 x double>*
%114 = load <4 x double>, <4 x double>* %113
%115 = shufflevector <4 x double> %114, <4 x double> poison, <2 x i32> <i32 0, i32 2>
%116 = shufflevector <4 x double> %114, <4 x double> poison, <2 x i32> <i32 1, i32 3>
%117 = or i64 %111, 1
%118 = fmul <2 x double> %94, %116
%119 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %115, <2 x double> %96, <2 x double> %118)
%120 = fneg <2 x double> %115
%121 = fmul <2 x double> %94, %120
%122 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %116, <2 x double> %96, <2 x double> %121)
%123 = getelementptr inbounds double, double* %42, i64 %111
%124 = bitcast double* %123 to <4 x double>*
%125 = load <4 x double>, <4 x double>* %124
%126 = shufflevector <4 x double> %125, <4 x double> poison, <2 x i32> <i32 0, i32 2>
%127 = shufflevector <4 x double> %125, <4 x double> poison, <2 x i32> <i32 1, i32 3>
%128 = fmul <2 x double> %98, %127
%129 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %126, <2 x double> %100, <2 x double> %128)
%130 = fneg <2 x double> %126
%131 = fmul <2 x double> %98, %130
%132 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %127, <2 x double> %100, <2 x double> %131)
%133 = getelementptr inbounds double, double* %43, i64 %111
%134 = bitcast double* %133 to <4 x double>*
%135 = load <4 x double>, <4 x double>* %134
%136 = shufflevector <4 x double> %135, <4 x double> poison, <2 x i32> <i32 0, i32 2>
%137 = shufflevector <4 x double> %135, <4 x double> poison, <2 x i32> <i32 1, i32 3>
%138 = fmul <2 x double> %102, %137
%139 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %136, <2 x double> %104, <2 x double> %138)
%140 = fneg <2 x double> %136
%141 = fmul <2 x double> %102, %140
%142 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %137, <2 x double> %104, <2 x double> %141)
%143 = getelementptr inbounds double, double* %40, i64 %111
%144 = bitcast double* %143 to <4 x double>*
%145 = load <4 x double>, <4 x double>* %144
%146 = shufflevector <4 x double> %145, <4 x double> poison, <2 x i32> <i32 0, i32 2>
%147 = shufflevector <4 x double> %145, <4 x double> poison, <2 x i32> <i32 1, i32 3>
%148 = fadd <2 x double> %129, %146
%149 = fsub <2 x double> %146, %129
%150 = fadd <2 x double> %132, %147
%151 = fsub <2 x double> %147, %132
%152 = fadd <2 x double> %119, %139
%153 = fsub <2 x double> %119, %139
%154 = fadd <2 x double> %122, %142
%155 = fsub <2 x double> %122, %142
%156 = fadd <2 x double> %148, %152
%157 = fadd <2 x double> %154, %150
%158 = getelementptr inbounds double, double* %105, i64 %117
%159 = bitcast double* %158 to <4 x double>*
%160 = shufflevector <2 x double> %156, <2 x double> %157, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %160, <4 x double>* %159
%161 = fsub <2 x double> %148, %152
%162 = fsub <2 x double> %150, %154
%163 = getelementptr inbounds double, double* %106, i64 %117
%164 = bitcast double* %163 to <4 x double>*
%165 = shufflevector <2 x double> %161, <2 x double> %162, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %165, <4 x double>* %164
%166 = fadd <2 x double> %149, %155
%167 = fsub <2 x double> %151, %153
%168 = getelementptr inbounds double, double* %107, i64 %117
%169 = bitcast double* %168 to <4 x double>*
%170 = shufflevector <2 x double> %166, <2 x double> %167, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %170, <4 x double>* %169
%171 = fsub <2 x double> %149, %155
%172 = fadd <2 x double> %151, %153
%173 = getelementptr inbounds double, double* %108, i64 %117
%174 = bitcast double* %173 to <4 x double>*
%175 = shufflevector <2 x double> %171, <2 x double> %172, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %175, <4 x double>* %174
%176 = add nuw i64 %110, 2
%177 = icmp eq i64 %176, %33
br i1 %177, label %178, label %109
178: ; preds = %109
br i1 %34, label %257, label %179
179: ; preds = %76, %75, %178
%180 = phi i64 [ 0, %76 ], [ 0, %75 ], [ %33, %178 ]
%181 = insertelement <2 x double> poison, double %68, i64 0
%182 = insertelement <2 x double> %181, double %61, i64 1
%183 = insertelement <2 x double> poison, double %65, i64 0
%184 = insertelement <2 x double> %183, double %58, i64 1
%185 = insertelement <2 x double> poison, double %61, i64 0
%186 = insertelement <2 x double> %185, double %68, i64 1
%187 = insertelement <2 x double> poison, double %58, i64 0
%188 = insertelement <2 x double> %187, double %65, i64 1
%189 = insertelement <2 x double> poison, double %74, i64 0
%190 = shufflevector <2 x double> %189, <2 x double> poison, <2 x i32> zeroinitializer
%191 = insertelement <2 x double> poison, double %71, i64 0
%192 = shufflevector <2 x double> %191, <2 x double> poison, <2 x i32> zeroinitializer
br label %193
193: ; preds = %179, %193
%194 = phi i64 [ %255, %193 ], [ %180, %179 ]
%195 = shl nuw nsw i64 %194, 1
%196 = getelementptr inbounds double, double* %41, i64 %195
%197 = load double, double* %196
%198 = or i64 %195, 1
%199 = getelementptr inbounds double, double* %41, i64 %198
%200 = load double, double* %199
%201 = fneg double %197
%202 = getelementptr inbounds double, double* %42, i64 %195
%203 = load double, double* %202
%204 = getelementptr inbounds double, double* %42, i64 %198
%205 = load double, double* %204
%206 = insertelement <2 x double> poison, double %205, i64 0
%207 = insertelement <2 x double> %206, double %201, i64 1
%208 = fmul <2 x double> %182, %207
%209 = insertelement <2 x double> poison, double %203, i64 0
%210 = insertelement <2 x double> %209, double %200, i64 1
%211 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %210, <2 x double> %184, <2 x double> %208)
%212 = fneg double %203
%213 = insertelement <2 x double> poison, double %200, i64 0
%214 = insertelement <2 x double> %213, double %212, i64 1
%215 = fmul <2 x double> %186, %214
%216 = insertelement <2 x double> poison, double %197, i64 0
%217 = insertelement <2 x double> %216, double %205, i64 1
%218 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %217, <2 x double> %188, <2 x double> %215)
%219 = getelementptr inbounds double, double* %43, i64 %195
%220 = bitcast double* %219 to <2 x double>*
%221 = load <2 x double>, <2 x double>* %220
%222 = shufflevector <2 x double> %221, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%223 = extractelement <2 x double> %221, i64 0
%224 = fneg double %223
%225 = insertelement <2 x double> %221, double %224, i64 0
%226 = fmul <2 x double> %190, %225
%227 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %222, <2 x double> %192, <2 x double> %226)
%228 = getelementptr inbounds double, double* %40, i64 %195
%229 = bitcast double* %228 to <2 x double>*
%230 = load <2 x double>, <2 x double>* %229
%231 = shufflevector <2 x double> %211, <2 x double> %218, <2 x i32> <i32 0, i32 3>
%232 = fsub <2 x double> %230, %231
%233 = shufflevector <2 x double> %227, <2 x double> %230, <2 x i32> <i32 1, i32 3>
%234 = fadd <2 x double> %218, %233
%235 = shufflevector <2 x double> %230, <2 x double> %227, <2 x i32> <i32 0, i32 2>
%236 = fadd <2 x double> %211, %235
%237 = shufflevector <2 x double> %211, <2 x double> %218, <2 x i32> <i32 1, i32 2>
%238 = fsub <2 x double> %237, %227
%239 = getelementptr inbounds double, double* %36, i64 %195
%240 = fadd <2 x double> %236, %234
%241 = bitcast double* %239 to <2 x double>*
store <2 x double> %240, <2 x double>* %241
%242 = getelementptr inbounds double, double* %38, i64 %195
%243 = shufflevector <2 x double> %236, <2 x double> %234, <2 x i32> <i32 0, i32 3>
%244 = shufflevector <2 x double> %234, <2 x double> %236, <2 x i32> <i32 0, i32 3>
%245 = fsub <2 x double> %243, %244
%246 = bitcast double* %242 to <2 x double>*
store <2 x double> %245, <2 x double>* %246
%247 = getelementptr inbounds double, double* %37, i64 %195
%248 = fadd <2 x double> %232, %238
%249 = fsub <2 x double> %232, %238
%250 = shufflevector <2 x double> %248, <2 x double> %249, <2 x i32> <i32 0, i32 3>
%251 = bitcast double* %247 to <2 x double>*
store <2 x double> %250, <2 x double>* %251
%252 = getelementptr inbounds double, double* %39, i64 %195
%253 = shufflevector <2 x double> %249, <2 x double> %248, <2 x i32> <i32 0, i32 3>
%254 = bitcast double* %252 to <2 x double>*
store <2 x double> %253, <2 x double>* %254
%255 = add nuw nsw i64 %194, 1
%256 = icmp eq i64 %255, %9
br i1 %256, label %257, label %193
257: ; preds = %193, %178, %35
%258 = getelementptr inbounds double, double* %40, i64 %16
%259 = getelementptr inbounds double, double* %41, i64 %16
%260 = getelementptr inbounds double, double* %42, i64 %16
%261 = getelementptr inbounds double, double* %43, i64 %16
%262 = getelementptr inbounds double, double* %36, i64 %17
%263 = getelementptr inbounds double, double* %37, i64 %17
%264 = getelementptr inbounds double, double* %38, i64 %17
%265 = getelementptr inbounds double, double* %39, i64 %17
%266 = add nuw nsw i64 %44, 1
%267 = icmp eq i64 %266, %10
br i1 %267, label %268, label %35
268: ; preds = %257, %11
ret void
}