void kern_r4_o_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 (j = 0; j < bsize; j++) {
    double qr0, qi0;
    double qr1, qi1;
    double qr2, qi2;
    double qr3, qi3;
    qr0 = i0[2 * j] + i2[2 * j];
    qr2 = i0[2 * j] - i2[2 * j];
    qi0 = i0[2 * j + 1] + i2[2 * j + 1];
    qi2 = i0[2 * j + 1] - i2[2 * j + 1];
    qr1 = i1[2 * j] + i3[2 * j];
    qr3 = i1[2 * j] - i3[2 * j];
    qi1 = i1[2 * j + 1] + i3[2 * j + 1];
    qi3 = i1[2 * j + 1] - i3[2 * j + 1];
    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;
  for (i = 1; 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_o_b>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%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,-0x40(%rbp)
mov    -0x40(%rbp),%rax
cmp    0x28(%rbp),%rax
jge    137a <kern_r4_o_b+0x27a>
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
addsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
subsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
addsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
subsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
addsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
subsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
addsd  -0x58(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x50(%rbp),%xmm0
addsd  -0x60(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0x48(%rbp),%xmm0
subsd  -0x58(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x50(%rbp),%xmm0
subsd  -0x60(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0x68(%rbp),%xmm0
subsd  -0x80(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
addsd  -0x78(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0x68(%rbp),%xmm0
addsd  -0x80(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
subsd  -0x78(%rbp),%xmm0
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    113f <kern_r4_o_b+0x3f>
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)
movq   $0x1,-0x38(%rbp)
mov    -0x38(%rbp),%rax
cmp    0x30(%rbp),%rax
jge    1982 <kern_r4_o_b+0x882>
mov    0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x1,%rcx
imul   0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x1,%rcx
imul   0x28(%rbp),%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
mov    0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x2,%rcx
imul   0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
mov    0x20(%rbp),%rax
mov    -0x38(%rbp),%rcx
shl    $0x2,%rcx
imul   0x28(%rbp),%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
mov    0x20(%rbp),%rax
imul   $0x6,-0x38(%rbp),%rcx
imul   0x28(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
mov    0x20(%rbp),%rax
imul   $0x6,-0x38(%rbp),%rcx
imul   0x28(%rbp),%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movq   $0x0,-0x40(%rbp)
mov    -0x40(%rbp),%rax
cmp    0x28(%rbp),%rax
jge    18d1 <kern_r4_o_b+0x7d1>
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x90(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x90(%rbp),%xmm2
ff
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0x98(%rbp),%xmm2
ff
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0xa0(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0xa0(%rbp),%xmm2
ff
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd0(%rbp)
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0xa8(%rbp),%xmm2
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0xb0(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
movsd  -0xb0(%rbp),%xmm2
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm1
mulsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xe0(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
addsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0xe8(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%rax,%rcx,8),%xmm0
subsd  -0xc8(%rbp),%xmm0
ff
movsd  %xmm0,-0x108(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
addsd  -0xd0(%rbp),%xmm0
ff
movsd  %xmm0,-0xf0(%rbp)
ff
mov    -0x28(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
subsd  -0xd0(%rbp),%xmm0
ff
movsd  %xmm0,-0x110(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
addsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm0,-0xf8(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
subsd  -0xd8(%rbp),%xmm0
ff
movsd  %xmm0,-0x118(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
addsd  -0xe0(%rbp),%xmm0
ff
movsd  %xmm0,-0x100(%rbp)
ff
movsd  -0xc0(%rbp),%xmm0
ff
subsd  -0xe0(%rbp),%xmm0
ff
movsd  %xmm0,-0x120(%rbp)
ff
movsd  -0xe8(%rbp),%xmm0
ff
addsd  -0xf8(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xf0(%rbp),%xmm0
ff
addsd  -0x100(%rbp),%xmm0
ff
mov    -0x8(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0xe8(%rbp),%xmm0
ff
subsd  -0xf8(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0xf0(%rbp),%xmm0
ff
subsd  -0x100(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0x108(%rbp),%xmm0
ff
subsd  -0x120(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x110(%rbp),%xmm0
ff
addsd  -0x118(%rbp),%xmm0
ff
mov    -0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0x108(%rbp),%xmm0
ff
addsd  -0x120(%rbp),%xmm0
ff
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x110(%rbp),%xmm0
ff
subsd  -0x118(%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    14e9 <kern_r4_o_b+0x3e9>
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    1422 <kern_r4_o_b+0x322>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kern_r4_o_b>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x58,%rsp
mov    %rdx,-0x68(%rsp)
mov    %rsi,-0x70(%rsp)
mov    %rdi,-0x78(%rsp)
mov    0x98(%rsp),%r11
mov    0x90(%rsp),%r10
cmpq   $0x0,0xa8(%rsp)
jle    137e <kern_r4_o_b+0x27e>
mov    0xa8(%rsp),%rbp
cmp    $0x1,%rbp
jne    1152 <kern_r4_o_b+0x52>
xor    %r14d,%r14d
jmp    12ae <kern_r4_o_b+0x1ae>
mov    %rbp,%r14
and    $0xfffffffffffffffe,%r14
xor    %edx,%edx
mov    %r14,%rdi
mov    -0x68(%rsp),%rax
mov    -0x70(%rsp),%rsi
mov    -0x78(%rsp),%rbx
nopl   (%rax)
movupd (%r8,%rdx,1),%xmm3
movupd 0x10(%r8,%rdx,1),%xmm2
movapd %xmm3,%xmm8
unpcklpd %xmm2,%xmm8
unpckhpd %xmm2,%xmm3
movupd (%r10,%rdx,1),%xmm2
movupd 0x10(%r10,%rdx,1),%xmm0
movapd %xmm2,%xmm5
unpcklpd %xmm0,%xmm5
unpckhpd %xmm0,%xmm2
movapd %xmm8,%xmm4
addpd  %xmm5,%xmm4
subpd  %xmm5,%xmm8
movapd %xmm3,%xmm0
addpd  %xmm2,%xmm0
subpd  %xmm2,%xmm3
movupd (%r9,%rdx,1),%xmm2
movupd 0x10(%r9,%rdx,1),%xmm6
movapd %xmm2,%xmm9
unpcklpd %xmm6,%xmm9
unpckhpd %xmm6,%xmm2
movupd (%r11,%rdx,1),%xmm6
movupd 0x10(%r11,%rdx,1),%xmm7
movapd %xmm6,%xmm1
unpcklpd %xmm7,%xmm1
unpckhpd %xmm7,%xmm6
movapd %xmm9,%xmm10
addpd  %xmm1,%xmm10
subpd  %xmm1,%xmm9
movapd %xmm2,%xmm1
addpd  %xmm6,%xmm1
subpd  %xmm6,%xmm2
movapd %xmm4,%xmm6
addpd  %xmm10,%xmm6
movapd %xmm0,%xmm5
addpd  %xmm1,%xmm5
movapd %xmm6,%xmm7
unpcklpd %xmm5,%xmm7
movhlps %xmm6,%xmm5
movups %xmm5,0x10(%rbx,%rdx,1)
movupd %xmm7,(%rbx,%rdx,1)
subpd  %xmm10,%xmm4
subpd  %xmm1,%xmm0
movapd %xmm4,%xmm1
unpcklpd %xmm0,%xmm1
movhlps %xmm4,%xmm0
movups %xmm0,0x10(%rax,%rdx,1)
movupd %xmm1,(%rax,%rdx,1)
movapd %xmm8,%xmm0
subpd  %xmm2,%xmm0
movapd %xmm3,%xmm1
addpd  %xmm9,%xmm1
movapd %xmm0,%xmm4
unpcklpd %xmm1,%xmm4
movhlps %xmm0,%xmm1
movups %xmm1,0x10(%rsi,%rdx,1)
movupd %xmm4,(%rsi,%rdx,1)
addpd  %xmm8,%xmm2
subpd  %xmm9,%xmm3
movapd %xmm2,%xmm0
unpcklpd %xmm3,%xmm0
movhlps %xmm2,%xmm3
movups %xmm3,0x10(%rcx,%rdx,1)
movupd %xmm0,(%rcx,%rdx,1)
add    $0x20,%rdx
add    $0xfffffffffffffffe,%rdi
jne    1170 <kern_r4_o_b+0x70>
cmp    %rbp,%r14
je     137e <kern_r4_o_b+0x27e>
mov    0xa8(%rsp),%r15
sub    %r14,%r15
shl    $0x4,%r14
mov    %rcx,%r12
mov    -0x70(%rsp),%r13
mov    -0x68(%rsp),%rbx
mov    -0x78(%rsp),%rbp
mov    %r11,%rsi
mov    %r9,%rax
mov    %r10,%rdx
mov    %r8,%rdi
nopl   0x0(%rax,%rax,1)
movupd (%rdi,%r14,1),%xmm0
movupd (%rdx,%r14,1),%xmm1
movapd %xmm0,%xmm2
addpd  %xmm1,%xmm2
subpd  %xmm1,%xmm0
movupd (%rax,%r14,1),%xmm1
movupd (%rsi,%r14,1),%xmm3
movapd %xmm1,%xmm4
addpd  %xmm3,%xmm4
subpd  %xmm3,%xmm1
shufpd $0x1,%xmm1,%xmm1
movapd %xmm2,%xmm3
addpd  %xmm4,%xmm3
movupd %xmm3,0x0(%rbp,%r14,1)
subpd  %xmm4,%xmm2
movupd %xmm2,(%rbx,%r14,1)
movapd %xmm0,%xmm2
subpd  %xmm1,%xmm2
addpd  %xmm0,%xmm1
movapd %xmm1,%xmm0
movsd  %xmm2,%xmm0
movupd %xmm0,0x0(%r13,%r14,1)
shufpd $0x2,%xmm2,%xmm1
movupd %xmm1,(%r12,%r14,1)
add    $0x10,%rdi
add    $0x10,%rdx
add    $0x10,%rax
add    $0x10,%rsi
add    $0x10,%rbp
add    $0x10,%rbx
add    $0x10,%r13
add    $0x10,%r12
add    $0xffffffffffffffff,%r15
jne    12e0 <kern_r4_o_b+0x1e0>
mov    %rcx,-0x40(%rsp)
cmpq   $0x2,0xb0(%rsp)
jl     195a <kern_r4_o_b+0x85a>
mov    0xa8(%rsp),%rsi
lea    (%rsi,%rsi,1),%rdi
lea    -0x1(%rsi),%rax
mov    %rdi,%rcx
or     $0x1,%rcx
mov    %rcx,-0x18(%rsp)
mov    $0x10,%ecx
mul    %rcx
lea    0x0(,%rsi,8),%rcx
seto   -0x79(%rsp)
mov    %rsi,%rdx
and    $0xfffffffffffffffe,%rdx
mov    %rdx,-0x48(%rsp)
lea    (%r8,%rcx,8),%r14
mov    %rsi,%rdx
shl    $0x6,%rdx
mov    %rdx,0x8(%rsp)
lea    (%r11,%rcx,8),%rbp
lea    (%r10,%rcx,8),%rbx
mov    %rsi,%r11
shl    $0x4,%r11
mov    -0x40(%rsp),%rdx
lea    (%rdx,%r11,1),%rsi
mov    -0x70(%rsp),%rdx
lea    (%rdx,%r11,1),%r8
lea    (%r9,%rcx,8),%rdx
lea    0x8(%r9,%rcx,8),%rcx
mov    %rcx,-0x30(%rsp)
mov    -0x68(%rsp),%rcx
lea    (%rcx,%r11,1),%r13
add    -0x78(%rsp),%r11
movapd 0xbdc(%rip),%xmm5
mov    %rdi,-0x10(%rsp)
lea    (%rdi,%rdi,2),%rcx
mov    %rcx,-0x8(%rsp)
mov    %rax,-0x20(%rsp)
add    $0x10,%rax
mov    %rax,(%rsp)
mov    %r14,%rax
mov    $0x1,%ecx
mov    %rcx,-0x60(%rsp)
xor    %ecx,%ecx
mov    %rcx,-0x38(%rsp)
jmp    14b7 <kern_r4_o_b+0x3b7>
cs nopw 0x0(%rax,%rax,1)
nop
mov    -0x60(%rsp),%rdi
add    $0x1,%rdi
addq   $0x1,-0x38(%rsp)
mov    0x8(%rsp),%rcx
add    %rcx,%rax
mov    -0x50(%rsp),%rbp
add    %rcx,%rbp
mov    -0x58(%rsp),%rbx
add    %rcx,%rbx
mov    (%rsp),%rdx
add    %rdx,%rsi
add    %rdx,%r8
add    %rdx,%r13
add    %rdx,%r11
mov    -0x28(%rsp),%rdx
add    %rcx,%rdx
add    %rcx,-0x30(%rsp)
mov    %rdi,-0x60(%rsp)
cmp    0xb0(%rsp),%rdi
je     195a <kern_r4_o_b+0x85a>
mov    %rdx,-0x28(%rsp)
mov    %rbx,-0x58(%rsp)
mov    %rbp,-0x50(%rsp)
cmpq   $0x0,0xa8(%rsp)
jle    1460 <kern_r4_o_b+0x360>
mov    -0x60(%rsp),%rbx
mov    %rbx,%rcx
mov    0xa8(%rsp),%rbp
imul   %rbp,%rcx
mov    %rcx,%rdx
shl    $0x4,%rdx
shl    $0x5,%rcx
mov    -0x8(%rsp),%rdi
imul   %rbx,%rdi
mov    0xa0(%rsp),%rbx
movupd (%rbx,%rdx,1),%xmm15
movupd (%rbx,%rcx,1),%xmm11
movupd (%rbx,%rdi,8),%xmm13
cmp    $0x1,%rbp
jne    1520 <kern_r4_o_b+0x420>
xor    %edi,%edi
jmp    1800 <kern_r4_o_b+0x700>
mov    %rax,%r10
mov    -0x10(%rsp),%rcx
imul   -0x38(%rsp),%rcx
add    -0x18(%rsp),%rcx
mov    -0x78(%rsp),%rdx
lea    (%rdx,%rcx,8),%rdx
mov    -0x68(%rsp),%rdi
lea    (%rdi,%rcx,8),%rdi
mov    -0x70(%rsp),%rbp
lea    0x0(%rbp,%rcx,8),%rbp
mov    -0x40(%rsp),%rbx
lea    (%rbx,%rcx,8),%r9
mov    -0x20(%rsp),%rax
lea    (%rdx,%rax,1),%rbx
cmp    %rdx,%rbx
setb   %dl
mov    -0x79(%rsp),%cl
or     %cl,%dl
lea    (%rdi,%rax,1),%rbx
cmp    %rdi,%rbx
setb   %bl
lea    (%rax,%rbp,1),%rdi
cmp    %rbp,%rdi
setb   %dil
lea    (%r9,%rax,1),%rbp
cmp    %r9,%rbp
setb   %al
test   %dl,%dl
jne    17fb <kern_r4_o_b+0x6fb>
or     %cl,%bl
jne    17fb <kern_r4_o_b+0x6fb>
or     %cl,%dil
jne    17fb <kern_r4_o_b+0x6fb>
or     %cl,%al
mov    $0x0,%edi
mov    %r10,%rax
jne    1800 <kern_r4_o_b+0x700>
movapd %xmm15,%xmm0
unpckhpd %xmm15,%xmm0
movapd %xmm0,0x40(%rsp)
movapd %xmm15,%xmm0
unpcklpd %xmm15,%xmm0
movapd %xmm0,0x30(%rsp)
movapd %xmm11,%xmm0
unpckhpd %xmm11,%xmm0
movapd %xmm0,0x20(%rsp)
movapd %xmm11,%xmm0
unpcklpd %xmm11,%xmm0
movapd %xmm0,0x10(%rsp)
movapd %xmm13,%xmm12
unpckhpd %xmm13,%xmm12
movapd %xmm13,%xmm14
unpcklpd %xmm13,%xmm14
mov    -0x48(%rsp),%rdi
xor    %ecx,%ecx
mov    -0x50(%rsp),%rdx
mov    -0x58(%rsp),%rbp
mov    -0x28(%rsp),%rbx
nop
movupd (%rbx,%rcx,1),%xmm0
movupd 0x10(%rbx,%rcx,1),%xmm1
movapd %xmm0,%xmm5
unpcklpd %xmm1,%xmm5
unpckhpd %xmm1,%xmm0
movapd 0x40(%rsp),%xmm2
movapd %xmm2,%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm5,%xmm6
movapd 0x30(%rsp),%xmm3
mulpd  %xmm3,%xmm6
subpd  %xmm1,%xmm6
mulpd  %xmm3,%xmm0
mulpd  %xmm2,%xmm5
addpd  %xmm0,%xmm5
movupd 0x0(%rbp,%rcx,1),%xmm0
movupd 0x10(%rbp,%rcx,1),%xmm1
movapd %xmm0,%xmm4
unpcklpd %xmm1,%xmm4
unpckhpd %xmm1,%xmm0
movapd 0x20(%rsp),%xmm2
movapd %xmm2,%xmm1
mulpd  %xmm0,%xmm1
movapd %xmm4,%xmm9
movapd 0x10(%rsp),%xmm3
mulpd  %xmm3,%xmm9
subpd  %xmm1,%xmm9
mulpd  %xmm3,%xmm0
mulpd  %xmm2,%xmm4
addpd  %xmm0,%xmm4
movupd (%rdx,%rcx,1),%xmm0
movupd 0x10(%rdx,%rcx,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 (%rax,%rcx,1),%xmm7
movupd 0x10(%rax,%rcx,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(%r11,%rcx,1)
movupd %xmm8,(%r11,%rcx,1)
subpd  %xmm9,%xmm1
subpd  %xmm10,%xmm2
movapd %xmm1,%xmm3
unpcklpd %xmm2,%xmm3
movhlps %xmm1,%xmm2
movups %xmm2,0x10(%r13,%rcx,1)
movupd %xmm3,0x0(%r13,%rcx,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(%r8,%rcx,1)
movupd %xmm3,(%r8,%rcx,1)
addpd  %xmm0,%xmm5
subpd  %xmm6,%xmm7
movapd %xmm5,%xmm0
unpcklpd %xmm7,%xmm0
movhlps %xmm5,%xmm7
movups %xmm7,0x10(%rsi,%rcx,1)
movupd %xmm0,(%rsi,%rcx,1)
add    $0x20,%rcx
add    $0xfffffffffffffffe,%rdi
jne    1620 <kern_r4_o_b+0x520>
mov    -0x48(%rsp),%rax
mov    %rax,%rdi
cmp    0xa8(%rsp),%rax
mov    %r10,%rax
movapd 0x80d(%rip),%xmm5
je     1460 <kern_r4_o_b+0x360>
jmp    1800 <kern_r4_o_b+0x700>
xor    %edi,%edi
mov    %r10,%rax
mov    0xa8(%rsp),%rcx
sub    %rdi,%rcx
shl    $0x4,%rdi
mov    %r11,%r12
mov    %rax,%rdx
mov    -0x50(%rsp),%rbp
mov    -0x58(%rsp),%rbx
mov    -0x30(%rsp),%r9
mov    %r13,%r10
mov    %r8,%r14
mov    %rsi,%r15
nopl   (%rax)
movsd  -0x8(%r9,%rdi,1),%xmm0
movsd  (%r9,%rdi,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  (%rbx,%rdi,1),%xmm1
movsd  0x8(%rbx,%rdi,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  0x0(%rbp,%rdi,1),%xmm2
movsd  0x8(%rbp,%rdi,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 (%rdx,%rdi,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,(%r12,%rdi,1)
subpd  %xmm1,%xmm4
movupd %xmm4,(%r10,%rdi,1)
movapd %xmm3,%xmm1
subpd  %xmm0,%xmm1
addpd  %xmm3,%xmm0
movapd %xmm0,%xmm2
movsd  %xmm1,%xmm2
movupd %xmm2,(%r14,%rdi,1)
shufpd $0x2,%xmm1,%xmm0
movupd %xmm0,(%r15,%rdi,1)
add    $0x10,%r15
add    $0x10,%r14
add    $0x10,%r10
add    $0x10,%r9
add    $0x10,%rbx
add    $0x10,%rbp
add    $0x10,%rdx
add    $0x10,%r12
add    $0xffffffffffffffff,%rcx
jne    1830 <kern_r4_o_b+0x730>
jmp    1460 <kern_r4_o_b+0x360>
add    $0x58,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @kern_r4_o_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
%45 = alloca double
%46 = alloca double
%47 = alloca double
%48 = alloca double
%49 = alloca double
%50 = alloca double
%51 = alloca double
%52 = 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* %24
br label %53
53: ; preds = %214, %11
%54 = load i64, i64* %24
%55 = load i64, i64* %21
%56 = icmp slt i64 %54, %55
br i1 %56, label %57, label %217
57: ; preds = %53
%58 = load double*, double** %16
%59 = load i64, i64* %24
%60 = mul nsw i64 2, %59
%61 = getelementptr inbounds double, double* %58, i64 %60
%62 = load double, double* %61
%63 = load double*, double** %18
%64 = load i64, i64* %24
%65 = mul nsw i64 2, %64
%66 = getelementptr inbounds double, double* %63, i64 %65
%67 = load double, double* %66
%68 = fadd double %62, %67
store double %68, double* %25
%69 = load double*, double** %16
%70 = load i64, i64* %24
%71 = mul nsw i64 2, %70
%72 = getelementptr inbounds double, double* %69, i64 %71
%73 = load double, double* %72
%74 = load double*, double** %18
%75 = load i64, i64* %24
%76 = mul nsw i64 2, %75
%77 = getelementptr inbounds double, double* %74, i64 %76
%78 = load double, double* %77
%79 = fsub double %73, %78
store double %79, double* %29
%80 = load double*, double** %16
%81 = load i64, i64* %24
%82 = mul nsw i64 2, %81
%83 = add nsw i64 %82, 1
%84 = getelementptr inbounds double, double* %80, i64 %83
%85 = load double, double* %84
%86 = load double*, double** %18
%87 = load i64, i64* %24
%88 = mul nsw i64 2, %87
%89 = add nsw i64 %88, 1
%90 = getelementptr inbounds double, double* %86, i64 %89
%91 = load double, double* %90
%92 = fadd double %85, %91
store double %92, double* %26
%93 = load double*, double** %16
%94 = load i64, i64* %24
%95 = mul nsw i64 2, %94
%96 = add nsw i64 %95, 1
%97 = getelementptr inbounds double, double* %93, i64 %96
%98 = load double, double* %97
%99 = load double*, double** %18
%100 = load i64, i64* %24
%101 = mul nsw i64 2, %100
%102 = add nsw i64 %101, 1
%103 = getelementptr inbounds double, double* %99, i64 %102
%104 = load double, double* %103
%105 = fsub double %98, %104
store double %105, double* %30
%106 = load double*, double** %17
%107 = load i64, i64* %24
%108 = mul nsw i64 2, %107
%109 = getelementptr inbounds double, double* %106, i64 %108
%110 = load double, double* %109
%111 = load double*, double** %19
%112 = load i64, i64* %24
%113 = mul nsw i64 2, %112
%114 = getelementptr inbounds double, double* %111, i64 %113
%115 = load double, double* %114
%116 = fadd double %110, %115
store double %116, double* %27
%117 = load double*, double** %17
%118 = load i64, i64* %24
%119 = mul nsw i64 2, %118
%120 = getelementptr inbounds double, double* %117, i64 %119
%121 = load double, double* %120
%122 = load double*, double** %19
%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 = fsub double %121, %126
store double %127, double* %31
%128 = load double*, double** %17
%129 = load i64, i64* %24
%130 = mul nsw i64 2, %129
%131 = add nsw i64 %130, 1
%132 = getelementptr inbounds double, double* %128, i64 %131
%133 = load double, double* %132
%134 = load double*, double** %19
%135 = load i64, i64* %24
%136 = mul nsw i64 2, %135
%137 = add nsw i64 %136, 1
%138 = getelementptr inbounds double, double* %134, i64 %137
%139 = load double, double* %138
%140 = fadd double %133, %139
store double %140, double* %28
%141 = load double*, double** %17
%142 = load i64, i64* %24
%143 = mul nsw i64 2, %142
%144 = add nsw i64 %143, 1
%145 = getelementptr inbounds double, double* %141, i64 %144
%146 = load double, double* %145
%147 = load double*, double** %19
%148 = load i64, i64* %24
%149 = mul nsw i64 2, %148
%150 = add nsw i64 %149, 1
%151 = getelementptr inbounds double, double* %147, i64 %150
%152 = load double, double* %151
%153 = fsub double %146, %152
store double %153, double* %32
%154 = load double, double* %25
%155 = load double, double* %27
%156 = fadd double %154, %155
%157 = load double*, double** %12
%158 = load i64, i64* %24
%159 = mul nsw i64 2, %158
%160 = getelementptr inbounds double, double* %157, i64 %159
store double %156, double* %160
%161 = load double, double* %26
%162 = load double, double* %28
%163 = fadd double %161, %162
%164 = load double*, double** %12
%165 = load i64, i64* %24
%166 = mul nsw i64 2, %165
%167 = add nsw i64 %166, 1
%168 = getelementptr inbounds double, double* %164, i64 %167
store double %163, double* %168
%169 = load double, double* %25
%170 = load double, double* %27
%171 = fsub double %169, %170
%172 = load double*, double** %14
%173 = load i64, i64* %24
%174 = mul nsw i64 2, %173
%175 = getelementptr inbounds double, double* %172, i64 %174
store double %171, double* %175
%176 = load double, double* %26
%177 = load double, double* %28
%178 = fsub double %176, %177
%179 = load double*, double** %14
%180 = load i64, i64* %24
%181 = mul nsw i64 2, %180
%182 = add nsw i64 %181, 1
%183 = getelementptr inbounds double, double* %179, i64 %182
store double %178, double* %183
%184 = load double, double* %29
%185 = load double, double* %32
%186 = fsub double %184, %185
%187 = load double*, double** %13
%188 = load i64, i64* %24
%189 = mul nsw i64 2, %188
%190 = getelementptr inbounds double, double* %187, i64 %189
store double %186, double* %190
%191 = load double, double* %30
%192 = load double, double* %31
%193 = fadd double %191, %192
%194 = load double*, double** %13
%195 = load i64, i64* %24
%196 = mul nsw i64 2, %195
%197 = add nsw i64 %196, 1
%198 = getelementptr inbounds double, double* %194, i64 %197
store double %193, double* %198
%199 = load double, double* %29
%200 = load double, double* %32
%201 = fadd double %199, %200
%202 = load double*, double** %15
%203 = load i64, i64* %24
%204 = mul nsw i64 2, %203
%205 = getelementptr inbounds double, double* %202, i64 %204
store double %201, double* %205
%206 = load double, double* %30
%207 = load double, double* %31
%208 = fsub double %206, %207
%209 = load double*, double** %15
%210 = load i64, i64* %24
%211 = mul nsw i64 2, %210
%212 = add nsw i64 %211, 1
%213 = getelementptr inbounds double, double* %209, i64 %212
store double %208, double* %213
br label %214
214: ; preds = %57
%215 = load i64, i64* %24
%216 = add nsw i64 %215, 1
store i64 %216, i64* %24
br label %53
217: ; preds = %53
%218 = load i64, i64* %21
%219 = mul nsw i64 8, %218
%220 = load double*, double** %16
%221 = getelementptr inbounds double, double* %220, i64 %219
store double* %221, double** %16
%222 = load i64, i64* %21
%223 = mul nsw i64 8, %222
%224 = load double*, double** %17
%225 = getelementptr inbounds double, double* %224, i64 %223
store double* %225, double** %17
%226 = load i64, i64* %21
%227 = mul nsw i64 8, %226
%228 = load double*, double** %18
%229 = getelementptr inbounds double, double* %228, i64 %227
store double* %229, double** %18
%230 = load i64, i64* %21
%231 = mul nsw i64 8, %230
%232 = load double*, double** %19
%233 = getelementptr inbounds double, double* %232, i64 %231
store double* %233, double** %19
%234 = load i64, i64* %21
%235 = mul nsw i64 2, %234
%236 = load double*, double** %12
%237 = getelementptr inbounds double, double* %236, i64 %235
store double* %237, double** %12
%238 = load i64, i64* %21
%239 = mul nsw i64 2, %238
%240 = load double*, double** %13
%241 = getelementptr inbounds double, double* %240, i64 %239
store double* %241, double** %13
%242 = load i64, i64* %21
%243 = mul nsw i64 2, %242
%244 = load double*, double** %14
%245 = getelementptr inbounds double, double* %244, i64 %243
store double* %245, double** %14
%246 = load i64, i64* %21
%247 = mul nsw i64 2, %246
%248 = load double*, double** %15
%249 = getelementptr inbounds double, double* %248, i64 %247
store double* %249, double** %15
store i64 1, i64* %23
br label %250
250: ; preds = %536, %217
%251 = load i64, i64* %23
%252 = load i64, i64* %22
%253 = icmp slt i64 %251, %252
br i1 %253, label %254, label %539
254: ; preds = %250
%255 = load double*, double** %20
%256 = load i64, i64* %23
%257 = mul nsw i64 2, %256
%258 = load i64, i64* %21
%259 = mul nsw i64 %257, %258
%260 = getelementptr inbounds double, double* %255, i64 %259
%261 = load double, double* %260
store double %261, double* %33
%262 = load double*, double** %20
%263 = load i64, i64* %23
%264 = mul nsw i64 2, %263
%265 = load i64, i64* %21
%266 = mul nsw i64 %264, %265
%267 = add nsw i64 %266, 1
%268 = getelementptr inbounds double, double* %262, i64 %267
%269 = load double, double* %268
store double %269, double* %34
%270 = load double*, double** %20
%271 = load i64, i64* %23
%272 = mul nsw i64 4, %271
%273 = load i64, i64* %21
%274 = mul nsw i64 %272, %273
%275 = getelementptr inbounds double, double* %270, i64 %274
%276 = load double, double* %275
store double %276, double* %35
%277 = load double*, double** %20
%278 = load i64, i64* %23
%279 = mul nsw i64 4, %278
%280 = load i64, i64* %21
%281 = mul nsw i64 %279, %280
%282 = add nsw i64 %281, 1
%283 = getelementptr inbounds double, double* %277, i64 %282
%284 = load double, double* %283
store double %284, double* %36
%285 = load double*, double** %20
%286 = load i64, i64* %23
%287 = mul nsw i64 6, %286
%288 = load i64, i64* %21
%289 = mul nsw i64 %287, %288
%290 = getelementptr inbounds double, double* %285, i64 %289
%291 = load double, double* %290
store double %291, double* %37
%292 = load double*, double** %20
%293 = load i64, i64* %23
%294 = mul nsw i64 6, %293
%295 = load i64, i64* %21
%296 = mul nsw i64 %294, %295
%297 = add nsw i64 %296, 1
%298 = getelementptr inbounds double, double* %292, i64 %297
%299 = load double, double* %298
store double %299, double* %38
store i64 0, i64* %24
br label %300
300: ; preds = %500, %254
%301 = load i64, i64* %24
%302 = load i64, i64* %21
%303 = icmp slt i64 %301, %302
br i1 %303, label %304, label %503
304: ; preds = %300
%305 = load double*, double** %17
%306 = load i64, i64* %24
%307 = mul nsw i64 2, %306
%308 = getelementptr inbounds double, double* %305, i64 %307
%309 = load double, double* %308
%310 = load double, double* %33
%311 = load double*, double** %17
%312 = load i64, i64* %24
%313 = mul nsw i64 2, %312
%314 = add nsw i64 %313, 1
%315 = getelementptr inbounds double, double* %311, i64 %314
%316 = load double, double* %315
%317 = load double, double* %34
%318 = fmul double %316, %317
%319 = fneg double %318
%320 = call double @llvm.fmuladd.f64(double %309, double %310, double %319)
store double %320, double* %39
%321 = load double*, double** %17
%322 = load i64, i64* %24
%323 = mul nsw i64 2, %322
%324 = getelementptr inbounds double, double* %321, i64 %323
%325 = load double, double* %324
%326 = load double, double* %34
%327 = load double*, double** %17
%328 = load i64, i64* %24
%329 = mul nsw i64 2, %328
%330 = add nsw i64 %329, 1
%331 = getelementptr inbounds double, double* %327, i64 %330
%332 = load double, double* %331
%333 = load double, double* %33
%334 = fmul double %332, %333
%335 = call double @llvm.fmuladd.f64(double %325, double %326, double %334)
store double %335, double* %40
%336 = load double*, double** %18
%337 = load i64, i64* %24
%338 = mul nsw i64 2, %337
%339 = getelementptr inbounds double, double* %336, i64 %338
%340 = load double, double* %339
%341 = load double, double* %35
%342 = load double*, double** %18
%343 = load i64, i64* %24
%344 = mul nsw i64 2, %343
%345 = add nsw i64 %344, 1
%346 = getelementptr inbounds double, double* %342, i64 %345
%347 = load double, double* %346
%348 = load double, double* %36
%349 = fmul double %347, %348
%350 = fneg double %349
%351 = call double @llvm.fmuladd.f64(double %340, double %341, double %350)
store double %351, double* %41
%352 = load double*, double** %18
%353 = load i64, i64* %24
%354 = mul nsw i64 2, %353
%355 = getelementptr inbounds double, double* %352, i64 %354
%356 = load double, double* %355
%357 = load double, double* %36
%358 = load double*, double** %18
%359 = load i64, i64* %24
%360 = mul nsw i64 2, %359
%361 = add nsw i64 %360, 1
%362 = getelementptr inbounds double, double* %358, i64 %361
%363 = load double, double* %362
%364 = load double, double* %35
%365 = fmul double %363, %364
%366 = call double @llvm.fmuladd.f64(double %356, double %357, double %365)
store double %366, double* %42
%367 = load double*, double** %19
%368 = load i64, i64* %24
%369 = mul nsw i64 2, %368
%370 = getelementptr inbounds double, double* %367, i64 %369
%371 = load double, double* %370
%372 = load double, double* %37
%373 = load double*, double** %19
%374 = load i64, i64* %24
%375 = mul nsw i64 2, %374
%376 = add nsw i64 %375, 1
%377 = getelementptr inbounds double, double* %373, i64 %376
%378 = load double, double* %377
%379 = load double, double* %38
%380 = fmul double %378, %379
%381 = fneg double %380
%382 = call double @llvm.fmuladd.f64(double %371, double %372, double %381)
store double %382, double* %43
%383 = load double*, double** %19
%384 = load i64, i64* %24
%385 = mul nsw i64 2, %384
%386 = getelementptr inbounds double, double* %383, i64 %385
%387 = load double, double* %386
%388 = load double, double* %38
%389 = load double*, double** %19
%390 = load i64, i64* %24
%391 = mul nsw i64 2, %390
%392 = add nsw i64 %391, 1
%393 = getelementptr inbounds double, double* %389, i64 %392
%394 = load double, double* %393
%395 = load double, double* %37
%396 = fmul double %394, %395
%397 = call double @llvm.fmuladd.f64(double %387, double %388, double %396)
store double %397, double* %44
%398 = load double*, double** %16
%399 = load i64, i64* %24
%400 = mul nsw i64 2, %399
%401 = getelementptr inbounds double, double* %398, i64 %400
%402 = load double, double* %401
%403 = load double, double* %41
%404 = fadd double %402, %403
store double %404, double* %45
%405 = load double*, double** %16
%406 = load i64, i64* %24
%407 = mul nsw i64 2, %406
%408 = getelementptr inbounds double, double* %405, i64 %407
%409 = load double, double* %408
%410 = load double, double* %41
%411 = fsub double %409, %410
store double %411, double* %49
%412 = load double*, double** %16
%413 = load i64, i64* %24
%414 = mul nsw i64 2, %413
%415 = add nsw i64 %414, 1
%416 = getelementptr inbounds double, double* %412, i64 %415
%417 = load double, double* %416
%418 = load double, double* %42
%419 = fadd double %417, %418
store double %419, double* %46
%420 = load double*, double** %16
%421 = load i64, i64* %24
%422 = mul nsw i64 2, %421
%423 = add nsw i64 %422, 1
%424 = getelementptr inbounds double, double* %420, i64 %423
%425 = load double, double* %424
%426 = load double, double* %42
%427 = fsub double %425, %426
store double %427, double* %50
%428 = load double, double* %39
%429 = load double, double* %43
%430 = fadd double %428, %429
store double %430, double* %47
%431 = load double, double* %39
%432 = load double, double* %43
%433 = fsub double %431, %432
store double %433, double* %51
%434 = load double, double* %40
%435 = load double, double* %44
%436 = fadd double %434, %435
store double %436, double* %48
%437 = load double, double* %40
%438 = load double, double* %44
%439 = fsub double %437, %438
store double %439, double* %52
%440 = load double, double* %45
%441 = load double, double* %47
%442 = fadd double %440, %441
%443 = load double*, double** %12
%444 = load i64, i64* %24
%445 = mul nsw i64 2, %444
%446 = getelementptr inbounds double, double* %443, i64 %445
store double %442, double* %446
%447 = load double, double* %46
%448 = load double, double* %48
%449 = fadd double %447, %448
%450 = load double*, double** %12
%451 = load i64, i64* %24
%452 = mul nsw i64 2, %451
%453 = add nsw i64 %452, 1
%454 = getelementptr inbounds double, double* %450, i64 %453
store double %449, double* %454
%455 = load double, double* %45
%456 = load double, double* %47
%457 = fsub double %455, %456
%458 = load double*, double** %14
%459 = load i64, i64* %24
%460 = mul nsw i64 2, %459
%461 = getelementptr inbounds double, double* %458, i64 %460
store double %457, double* %461
%462 = load double, double* %46
%463 = load double, double* %48
%464 = fsub double %462, %463
%465 = load double*, double** %14
%466 = load i64, i64* %24
%467 = mul nsw i64 2, %466
%468 = add nsw i64 %467, 1
%469 = getelementptr inbounds double, double* %465, i64 %468
store double %464, double* %469
%470 = load double, double* %49
%471 = load double, double* %52
%472 = fsub double %470, %471
%473 = load double*, double** %13
%474 = load i64, i64* %24
%475 = mul nsw i64 2, %474
%476 = getelementptr inbounds double, double* %473, i64 %475
store double %472, double* %476
%477 = load double, double* %50
%478 = load double, double* %51
%479 = fadd double %477, %478
%480 = load double*, double** %13
%481 = load i64, i64* %24
%482 = mul nsw i64 2, %481
%483 = add nsw i64 %482, 1
%484 = getelementptr inbounds double, double* %480, i64 %483
store double %479, double* %484
%485 = load double, double* %49
%486 = load double, double* %52
%487 = fadd double %485, %486
%488 = load double*, double** %15
%489 = load i64, i64* %24
%490 = mul nsw i64 2, %489
%491 = getelementptr inbounds double, double* %488, i64 %490
store double %487, double* %491
%492 = load double, double* %50
%493 = load double, double* %51
%494 = fsub double %492, %493
%495 = load double*, double** %15
%496 = load i64, i64* %24
%497 = mul nsw i64 2, %496
%498 = add nsw i64 %497, 1
%499 = getelementptr inbounds double, double* %495, i64 %498
store double %494, double* %499
br label %500
500: ; preds = %304
%501 = load i64, i64* %24
%502 = add nsw i64 %501, 1
store i64 %502, i64* %24
br label %300
503: ; preds = %300
%504 = load i64, i64* %21
%505 = mul nsw i64 8, %504
%506 = load double*, double** %16
%507 = getelementptr inbounds double, double* %506, i64 %505
store double* %507, double** %16
%508 = load i64, i64* %21
%509 = mul nsw i64 8, %508
%510 = load double*, double** %17
%511 = getelementptr inbounds double, double* %510, i64 %509
store double* %511, double** %17
%512 = load i64, i64* %21
%513 = mul nsw i64 8, %512
%514 = load double*, double** %18
%515 = getelementptr inbounds double, double* %514, i64 %513
store double* %515, double** %18
%516 = load i64, i64* %21
%517 = mul nsw i64 8, %516
%518 = load double*, double** %19
%519 = getelementptr inbounds double, double* %518, i64 %517
store double* %519, double** %19
%520 = load i64, i64* %21
%521 = mul nsw i64 2, %520
%522 = load double*, double** %12
%523 = getelementptr inbounds double, double* %522, i64 %521
store double* %523, double** %12
%524 = load i64, i64* %21
%525 = mul nsw i64 2, %524
%526 = load double*, double** %13
%527 = getelementptr inbounds double, double* %526, i64 %525
store double* %527, double** %13
%528 = load i64, i64* %21
%529 = mul nsw i64 2, %528
%530 = load double*, double** %14
%531 = getelementptr inbounds double, double* %530, i64 %529
store double* %531, double** %14
%532 = load i64, i64* %21
%533 = mul nsw i64 2, %532
%534 = load double*, double** %15
%535 = getelementptr inbounds double, double* %534, i64 %533
store double* %535, double** %15
br label %536
536: ; preds = %503
%537 = load i64, i64* %23
%538 = add nsw i64 %537, 1
store i64 %538, i64* %23
br label %250
539: ; preds = %250
ret void
}

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