void kern_r4_n_b(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] * wi1 + i1[2 * j + 1] * wr1;
      pr2 = i2[2 * j] * wr2 - i2[2 * j + 1] * wi2;
      pi2 = i2[2 * j] * wi2 + i2[2 * j + 1] * wr2;
      pr3 = i3[2 * j] * wr3 - i3[2 * j + 1] * wi3;
      pi3 = i3[2 * j] * wi3 + i3[2 * j + 1] * wr3;
      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_b>:
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_b+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_b+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
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x50(%rbp),%xmm2
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x48(%rbp),%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
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x60(%rbp),%xmm2
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x58(%rbp),%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
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x70(%rbp),%xmm2
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x68(%rbp),%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
subsd  -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
addsd  -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
addsd  -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
subsd  -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_b+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_b+0x3c>
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kern_r4_n_b>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
mov    %rcx,-0x40(%rsp)
mov    %rdx,-0x48(%rsp)
mov    %rsi,-0x50(%rsp)
mov    %rdi,-0x58(%rsp)
cmpq   $0x0,0xa0(%rsp)
jle    16c2 <kern_r4_n_b+0x5c2>
mov    0x98(%rsp),%rsi
mov    0x88(%rsp),%rdi
mov    0x80(%rsp),%rbx
lea    (%rsi,%rsi,1),%rbp
lea    -0x1(%rsi),%rax
mov    $0x10,%ecx
mul    %rcx
mov    %rbp,-0x20(%rsp)
lea    0x0(%rbp,%rbp,2),%rcx
mov    %rcx,-0x18(%rsp)
seto   -0x79(%rsp)
mov    %rsi,%rcx
and    $0xfffffffffffffffe,%rcx
mov    %rcx,-0x60(%rsp)
shl    $0x6,%rsi
mov    %rsi,-0x8(%rsp)
mov    %rax,-0x28(%rsp)
add    $0x10,%rax
mov    %rax,-0x10(%rsp)
lea    0x8(%r9),%rax
mov    %rax,-0x38(%rsp)
xor    %edx,%edx
movapd 0xe5d(%rip),%xmm5
mov    -0x58(%rsp),%rsi
mov    -0x48(%rsp),%r10
mov    -0x50(%rsp),%r11
mov    -0x40(%rsp),%r15
jmp    120d <kern_r4_n_b+0x10d>
nopl   0x0(%rax)
mov    -0x30(%rsp),%rdx
add    $0x1,%rdx
mov    -0x8(%rsp),%rax
add    %rax,%r8
mov    -0x68(%rsp),%rdi
add    %rax,%rdi
mov    -0x70(%rsp),%rbx
add    %rax,%rbx
mov    -0x10(%rsp),%rcx
add    %rcx,%r15
add    %rcx,%r11
add    %rcx,%r10
mov    -0x78(%rsp),%rsi
add    %rcx,%rsi
add    %rax,%r9
add    %rax,-0x38(%rsp)
cmp    0xa0(%rsp),%rdx
je     16c2 <kern_r4_n_b+0x5c2>
mov    %rsi,-0x78(%rsp)
mov    %rdx,-0x30(%rsp)
mov    %rbx,-0x70(%rsp)
mov    %rdi,-0x68(%rsp)
cmpq   $0x0,0x98(%rsp)
jle    11c0 <kern_r4_n_b+0xc0>
mov    -0x30(%rsp),%rbx
mov    %rbx,%rax
mov    0x98(%rsp),%rsi
imul   %rsi,%rax
mov    %rax,%rcx
shl    $0x4,%rcx
shl    $0x5,%rax
mov    -0x18(%rsp),%rdx
imul   %rbx,%rdx
mov    0x90(%rsp),%rdi
movupd (%rdi,%rcx,1),%xmm15
movupd (%rdi,%rax,1),%xmm11
movupd (%rdi,%rdx,8),%xmm13
cmp    $0x1,%rsi
jne    13e0 <kern_r4_n_b+0x2e0>
xor    %edx,%edx
mov    0x98(%rsp),%r13
sub    %rdx,%r13
shl    $0x4,%rdx
mov    -0x78(%rsp),%rdi
mov    %r8,%rsi
mov    -0x68(%rsp),%rbx
mov    -0x70(%rsp),%rax
mov    -0x38(%rsp),%rbp
mov    %r10,%rcx
mov    %r11,%r12
mov    %r15,%r14
nopl   0x0(%rax)
movsd  -0x8(%rbp,%rdx,1),%xmm0
movsd  0x0(%rbp,%rdx,1),%xmm1
movapd %xmm1,%xmm2
xorpd  %xmm5,%xmm2
unpcklpd %xmm1,%xmm2
movapd %xmm15,%xmm1
shufpd $0x1,%xmm15,%xmm1
mulpd  %xmm2,%xmm1
unpcklpd %xmm0,%xmm0
mulpd  %xmm15,%xmm0
addpd  %xmm1,%xmm0
movsd  (%rax,%rdx,1),%xmm1
movsd  0x8(%rax,%rdx,1),%xmm2
movapd %xmm2,%xmm3
xorpd  %xmm5,%xmm3
unpcklpd %xmm2,%xmm3
movapd %xmm11,%xmm2
shufpd $0x1,%xmm11,%xmm2
mulpd  %xmm3,%xmm2
unpcklpd %xmm1,%xmm1
mulpd  %xmm11,%xmm1
addpd  %xmm2,%xmm1
movsd  (%rbx,%rdx,1),%xmm2
movsd  0x8(%rbx,%rdx,1),%xmm3
movapd %xmm3,%xmm4
xorpd  %xmm5,%xmm4
unpcklpd %xmm3,%xmm4
movapd %xmm13,%xmm3
shufpd $0x1,%xmm13,%xmm3
mulpd  %xmm4,%xmm3
unpcklpd %xmm2,%xmm2
mulpd  %xmm13,%xmm2
addpd  %xmm3,%xmm2
movupd (%rsi,%rdx,1),%xmm3
movapd %xmm1,%xmm4
addpd  %xmm3,%xmm4
subpd  %xmm1,%xmm3
movapd %xmm0,%xmm1
addpd  %xmm2,%xmm1
subpd  %xmm2,%xmm0
shufpd $0x1,%xmm0,%xmm0
movapd %xmm4,%xmm2
addpd  %xmm1,%xmm2
movupd %xmm2,(%rdi,%rdx,1)
subpd  %xmm1,%xmm4
movupd %xmm4,(%rcx,%rdx,1)
movapd %xmm3,%xmm1
subpd  %xmm0,%xmm1
addpd  %xmm3,%xmm0
movapd %xmm0,%xmm2
movsd  %xmm1,%xmm2
movupd %xmm2,(%r12,%rdx,1)
shufpd $0x2,%xmm1,%xmm0
movupd %xmm0,(%r14,%rdx,1)
add    $0x10,%r14
add    $0x10,%r12
add    $0x10,%rcx
add    $0x10,%rbp
add    $0x10,%rax
add    $0x10,%rbx
add    $0x10,%rsi
add    $0x10,%rdi
add    $0xffffffffffffffff,%r13
jne    12b0 <kern_r4_n_b+0x1b0>
jmp    11c0 <kern_r4_n_b+0xc0>
cs nopw 0x0(%rax,%rax,1)
mov    -0x20(%rsp),%rax
imul   %rbx,%rax
shl    $0x3,%rax
or     $0x8,%rax
mov    -0x58(%rsp),%rcx
add    %rax,%rcx
mov    -0x48(%rsp),%rdx
lea    (%rdx,%rax,1),%r14
mov    -0x50(%rsp),%rsi
add    %rax,%rsi
add    -0x40(%rsp),%rax
mov    -0x28(%rsp),%rbp
lea    (%rcx,%rbp,1),%rdi
cmp    %rcx,%rdi
setb   %bl
mov    -0x79(%rsp),%dl
or     %dl,%bl
lea    (%r14,%rbp,1),%rcx
cmp    %r14,%rcx
setb   %dil
lea    (%rsi,%rbp,1),%rcx
cmp    %rsi,%rcx
setb   %cl
lea    (%rax,%rbp,1),%rsi
cmp    %rax,%rsi
setb   %al
test   %bl,%bl
jne    1278 <kern_r4_n_b+0x178>
or     %dl,%dil
jne    1278 <kern_r4_n_b+0x178>
or     %dl,%cl
jne    1278 <kern_r4_n_b+0x178>
or     %dl,%al
mov    $0x0,%edx
jne    127a <kern_r4_n_b+0x17a>
movapd %xmm15,%xmm0
unpckhpd %xmm15,%xmm0
movapd %xmm0,0x30(%rsp)
movapd %xmm15,%xmm0
unpcklpd %xmm15,%xmm0
movapd %xmm0,0x20(%rsp)
movapd %xmm11,%xmm0
unpckhpd %xmm11,%xmm0
movapd %xmm0,0x10(%rsp)
movapd %xmm11,%xmm0
unpcklpd %xmm11,%xmm0
movapd %xmm0,(%rsp)
movapd %xmm13,%xmm12
unpckhpd %xmm13,%xmm12
movapd %xmm13,%xmm14
unpcklpd %xmm13,%xmm14
mov    -0x60(%rsp),%rdx
xor    %r13d,%r13d
mov    %r9,%rax
mov    %r8,%rcx
mov    -0x68(%rsp),%rsi
mov    -0x70(%rsp),%rdi
mov    -0x78(%rsp),%rbx
nopl   0x0(%rax)
movupd (%rax,%r13,1),%xmm0
movupd 0x10(%rax,%r13,1),%xmm1
movapd %xmm0,%xmm5
unpcklpd %xmm1,%xmm5
unpckhpd %xmm1,%xmm0
movapd 0x30(%rsp),%xmm2
movapd %xmm2,%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm5,%xmm6
movapd 0x20(%rsp),%xmm3
mulpd  %xmm3,%xmm6
subpd  %xmm1,%xmm6
mulpd  %xmm3,%xmm0
mulpd  %xmm2,%xmm5
addpd  %xmm0,%xmm5
movupd (%rdi,%r13,1),%xmm0
movupd 0x10(%rdi,%r13,1),%xmm1
movapd %xmm0,%xmm4
unpcklpd %xmm1,%xmm4
unpckhpd %xmm1,%xmm0
movapd 0x10(%rsp),%xmm2
movapd %xmm2,%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm4,%xmm9
movapd (%rsp),%xmm3
mulpd  %xmm3,%xmm9
subpd  %xmm1,%xmm9
mulpd  %xmm3,%xmm0
mulpd  %xmm2,%xmm4
addpd  %xmm0,%xmm4
movupd (%rsi,%r13,1),%xmm0
movupd 0x10(%rsi,%r13,1),%xmm1
movapd %xmm0,%xmm8
unpcklpd %xmm1,%xmm8
unpckhpd %xmm1,%xmm0
movapd %xmm12,%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm8,%xmm10
mulpd  %xmm14,%xmm10
subpd  %xmm1,%xmm10
mulpd  %xmm14,%xmm0
mulpd  %xmm12,%xmm8
addpd  %xmm0,%xmm8
movupd (%rcx,%r13,1),%xmm7
movupd 0x10(%rcx,%r13,1),%xmm1
movapd %xmm7,%xmm0
unpcklpd %xmm1,%xmm0
unpckhpd %xmm1,%xmm7
movapd %xmm9,%xmm1
addpd  %xmm0,%xmm1
subpd  %xmm9,%xmm0
movapd %xmm4,%xmm2
addpd  %xmm7,%xmm2
subpd  %xmm4,%xmm7
movapd %xmm6,%xmm9
addpd  %xmm10,%xmm9
subpd  %xmm10,%xmm6
movapd %xmm5,%xmm10
addpd  %xmm8,%xmm10
subpd  %xmm8,%xmm5
movapd %xmm1,%xmm4
addpd  %xmm9,%xmm4
movapd %xmm2,%xmm3
addpd  %xmm10,%xmm3
movapd %xmm4,%xmm8
unpcklpd %xmm3,%xmm8
movhlps %xmm4,%xmm3
movups %xmm3,0x10(%rbx,%r13,1)
movupd %xmm8,(%rbx,%r13,1)
subpd  %xmm9,%xmm1
subpd  %xmm10,%xmm2
movapd %xmm1,%xmm3
unpcklpd %xmm2,%xmm3
movhlps %xmm1,%xmm2
movups %xmm2,0x10(%r10,%r13,1)
movupd %xmm3,(%r10,%r13,1)
movapd %xmm0,%xmm1
subpd  %xmm5,%xmm1
movapd %xmm7,%xmm2
addpd  %xmm6,%xmm2
movapd %xmm1,%xmm3
unpcklpd %xmm2,%xmm3
movhlps %xmm1,%xmm2
movups %xmm2,0x10(%r11,%r13,1)
movupd %xmm3,(%r11,%r13,1)
addpd  %xmm0,%xmm5
subpd  %xmm6,%xmm7
movapd %xmm5,%xmm0
unpcklpd %xmm7,%xmm0
movhlps %xmm5,%xmm7
movups %xmm7,0x10(%r15,%r13,1)
movupd %xmm0,(%r15,%r13,1)
add    $0x20,%r13
add    $0xfffffffffffffffe,%rdx
jne    14e0 <kern_r4_n_b+0x3e0>
mov    -0x60(%rsp),%rax
mov    %rax,%rdx
cmp    0x98(%rsp),%rax
movapd 0x949(%rip),%xmm5
je     11c0 <kern_r4_n_b+0xc0>
jmp    127a <kern_r4_n_b+0x17a>
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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