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


x86 assembly (clang, -O0):
<kern_r4_o_f>:
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_f+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
addsd  -0x80(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
subsd  -0x78(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,0x8(%rax,%rcx,8)
movsd  -0x68(%rbp),%xmm0
subsd  -0x80(%rbp),%xmm0
mov    -0x20(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x70(%rbp),%xmm0
addsd  -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_f+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_f+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_f+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
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
mov    -0x30(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%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,-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
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  -0x98(%rbp),%xmm2
ff
mov    0x10(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%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,-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
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xd8(%rbp)
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  0x8(%rax,%rcx,8),%xmm0
movsd  -0xa8(%rbp),%xmm2
ff
mov    0x18(%rbp),%rax
mov    -0x40(%rbp),%rcx
shl    $0x1,%rcx
movsd  (%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,-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
addsd  -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
subsd  -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
subsd  -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
addsd  -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_f+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_f+0x322>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kern_r4_o_f>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0xb8,%rsp
mov    %rdx,-0x68(%rsp)
mov    %rsi,-0x70(%rsp)
mov    %rdi,-0x78(%rsp)
mov    0xf8(%rsp),%r10
mov    0xf0(%rsp),%r11
cmpq   $0x0,0x108(%rsp)
jle    137e <kern_r4_o_f+0x27e>
mov    0x108(%rsp),%rbp
cmp    $0x1,%rbp
jne    1155 <kern_r4_o_f+0x55>
xor    %r14d,%r14d
jmp    12b0 <kern_r4_o_f+0x1b0>
mov    %rbp,%r14
and    $0xfffffffffffffffe,%r14
xor    %edx,%edx
mov    %r14,%rdi
mov    -0x68(%rsp),%rax
mov    -0x70(%rsp),%rsi
mov    -0x78(%rsp),%rbx
movupd (%r8,%rdx,1),%xmm8
movupd 0x10(%r8,%rdx,1),%xmm2
movapd %xmm8,%xmm9
unpcklpd %xmm2,%xmm9
unpckhpd %xmm2,%xmm8
movupd (%r11,%rdx,1),%xmm2
movupd 0x10(%r11,%rdx,1),%xmm3
movapd %xmm2,%xmm5
unpcklpd %xmm3,%xmm5
unpckhpd %xmm3,%xmm2
movapd %xmm9,%xmm4
addpd  %xmm5,%xmm4
subpd  %xmm5,%xmm9
movapd %xmm8,%xmm0
addpd  %xmm2,%xmm0
subpd  %xmm2,%xmm8
movupd (%r9,%rdx,1),%xmm3
movupd 0x10(%r9,%rdx,1),%xmm6
movapd %xmm3,%xmm2
unpcklpd %xmm6,%xmm2
unpckhpd %xmm6,%xmm3
movupd (%r10,%rdx,1),%xmm6
movupd 0x10(%r10,%rdx,1),%xmm7
movapd %xmm6,%xmm1
unpcklpd %xmm7,%xmm1
unpckhpd %xmm7,%xmm6
movapd %xmm2,%xmm10
addpd  %xmm1,%xmm10
subpd  %xmm1,%xmm2
movapd %xmm3,%xmm1
addpd  %xmm6,%xmm1
subpd  %xmm6,%xmm3
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 %xmm9,%xmm0
addpd  %xmm3,%xmm0
movapd %xmm8,%xmm1
subpd  %xmm2,%xmm1
movapd %xmm0,%xmm4
unpcklpd %xmm1,%xmm4
movhlps %xmm0,%xmm1
movups %xmm1,0x10(%rsi,%rdx,1)
movupd %xmm4,(%rsi,%rdx,1)
subpd  %xmm3,%xmm9
addpd  %xmm8,%xmm2
movapd %xmm9,%xmm0
unpcklpd %xmm2,%xmm0
movhlps %xmm9,%xmm2
movups %xmm2,0x10(%rcx,%rdx,1)
movupd %xmm0,(%rcx,%rdx,1)
add    $0x20,%rdx
add    $0xfffffffffffffffe,%rdi
jne    1170 <kern_r4_o_f+0x70>
cmp    %rbp,%r14
je     137e <kern_r4_o_f+0x27e>
mov    0x108(%rsp),%r15
sub    %r14,%r15
shl    $0x4,%r14
mov    %rcx,%r12
mov    -0x70(%rsp),%r13
mov    -0x68(%rsp),%rbx
mov    -0x78(%rsp),%rsi
mov    %r10,%rbp
mov    %r9,%rax
mov    %r11,%rdx
mov    %r8,%rdi
nopl   (%rax)
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 0x0(%rbp,%r14,1),%xmm3
movapd %xmm1,%xmm4
addpd  %xmm3,%xmm4
subpd  %xmm3,%xmm1
shufpd $0x1,%xmm1,%xmm1
movapd %xmm2,%xmm3
addpd  %xmm4,%xmm3
movupd %xmm3,(%rsi,%r14,1)
subpd  %xmm4,%xmm2
movupd %xmm2,(%rbx,%r14,1)
movapd %xmm0,%xmm2
addpd  %xmm1,%xmm2
subpd  %xmm1,%xmm0
movapd %xmm0,%xmm1
movsd  %xmm2,%xmm1
movupd %xmm1,0x0(%r13,%r14,1)
shufpd $0x2,%xmm2,%xmm0
movupd %xmm0,(%r12,%r14,1)
add    $0x10,%rdi
add    $0x10,%rdx
add    $0x10,%rax
add    $0x10,%rbp
add    $0x10,%rsi
add    $0x10,%rbx
add    $0x10,%r13
add    $0x10,%r12
add    $0xffffffffffffffff,%r15
jne    12e0 <kern_r4_o_f+0x1e0>
mov    %rcx,-0x40(%rsp)
cmpq   $0x2,0x110(%rsp)
jl     19f4 <kern_r4_o_f+0x8f4>
mov    0x108(%rsp),%rsi
lea    (%rsi,%rsi,1),%rbx
lea    -0x1(%rsi),%rax
mov    %rbx,%rcx
or     $0x1,%rcx
mov    %rcx,-0x18(%rsp)
mov    $0x10,%ecx
mul    %rcx
mov    %rax,%r14
lea    0x0(,%rsi,8),%rax
seto   -0x79(%rsp)
mov    %rsi,%rcx
and    $0xfffffffffffffffe,%rcx
mov    %rcx,-0x48(%rsp)
lea    (%r8,%rax,8),%rbp
mov    %rsi,%rcx
shl    $0x6,%rcx
mov    %rcx,0x8(%rsp)
lea    (%r10,%rax,8),%rdx
lea    (%r11,%rax,8),%r13
mov    %rsi,%r8
shl    $0x4,%r8
mov    -0x40(%rsp),%rcx
lea    (%rcx,%r8,1),%rsi
mov    -0x70(%rsp),%rcx
lea    (%rcx,%r8,1),%rdi
lea    (%r9,%rax,8),%rcx
lea    0x8(%r9,%rax,8),%rax
mov    %rax,-0x30(%rsp)
mov    -0x68(%rsp),%rax
lea    (%rax,%r8,1),%r11
add    -0x78(%rsp),%r8
movapd 0xbd9(%rip),%xmm7
mov    %rbx,-0x10(%rsp)
lea    (%rbx,%rbx,2),%rax
mov    %rax,-0x8(%rsp)
mov    %r14,-0x20(%rsp)
lea    0x10(%r14),%rax
mov    %rax,(%rsp)
mov    $0x1,%eax
mov    %rax,-0x60(%rsp)
xor    %eax,%eax
mov    %rax,-0x38(%rsp)
jmp    14b7 <kern_r4_o_f+0x3b7>
cs nopw 0x0(%rax,%rax,1)
nop
mov    -0x60(%rsp),%rbx
add    $0x1,%rbx
addq   $0x1,-0x38(%rsp)
mov    -0x50(%rsp),%rbp
mov    0x8(%rsp),%rax
add    %rax,%rbp
mov    -0x58(%rsp),%rdx
add    %rax,%rdx
add    %rax,%r13
mov    (%rsp),%rcx
add    %rcx,%rsi
add    %rcx,%rdi
add    %rcx,%r11
add    %rcx,%r8
mov    -0x28(%rsp),%rcx
add    %rax,%rcx
add    %rax,-0x30(%rsp)
mov    %rbx,-0x60(%rsp)
cmp    0x110(%rsp),%rbx
je     19f4 <kern_r4_o_f+0x8f4>
mov    %rcx,-0x28(%rsp)
mov    %rdx,-0x58(%rsp)
mov    %rbp,-0x50(%rsp)
cmpq   $0x0,0x108(%rsp)
jle    1460 <kern_r4_o_f+0x360>
mov    -0x60(%rsp),%rbp
mov    %rbp,%rax
mov    0x108(%rsp),%r9
imul   %r9,%rax
mov    %rax,%rcx
shl    $0x4,%rcx
shl    $0x5,%rax
mov    -0x8(%rsp),%rdx
imul   %rbp,%rdx
lea    0x0(,%rdx,8),%rbp
or     $0x8,%rbp
mov    0x100(%rsp),%rbx
movsd  (%rbx,%rcx,1),%xmm9
movsd  0x8(%rbx,%rcx,1),%xmm10
movsd  (%rbx,%rax,1),%xmm0
movsd  0x8(%rbx,%rax,1),%xmm2
movsd  (%rbx,%rdx,8),%xmm14
movsd  (%rbx,%rbp,1),%xmm15
cmp    $0x1,%r9
jne    16d0 <kern_r4_o_f+0x5d0>
xor    %ecx,%ecx
movapd %xmm2,%xmm8
unpcklpd %xmm10,%xmm8
movapd %xmm0,%xmm1
unpcklpd %xmm9,%xmm1
unpcklpd %xmm2,%xmm10
unpcklpd %xmm0,%xmm9
unpcklpd %xmm15,%xmm15
unpcklpd %xmm14,%xmm14
mov    0x108(%rsp),%rax
sub    %rcx,%rax
shl    $0x4,%rcx
mov    %r11,%r10
mov    %r8,%r12
mov    -0x50(%rsp),%rdx
mov    -0x58(%rsp),%rbp
mov    %r13,%rbx
mov    -0x30(%rsp),%r9
mov    %rdi,%r14
mov    %rsi,%r15
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
movsd  -0x8(%r9,%rcx,1),%xmm0
movsd  (%r9,%rcx,1),%xmm3
movapd %xmm0,%xmm2
xorpd  %xmm7,%xmm2
movsd  (%rbx,%rcx,1),%xmm4
movsd  0x8(%rbx,%rcx,1),%xmm5
unpcklpd %xmm5,%xmm0
unpcklpd %xmm2,%xmm5
mulpd  %xmm8,%xmm5
movapd %xmm4,%xmm2
unpcklpd %xmm3,%xmm2
mulpd  %xmm1,%xmm2
addpd  %xmm5,%xmm2
xorpd  %xmm7,%xmm4
unpcklpd %xmm4,%xmm3
mulpd  %xmm10,%xmm3
mulpd  %xmm9,%xmm0
addpd  %xmm3,%xmm0
movupd 0x0(%rbp,%rcx,1),%xmm3
movapd %xmm3,%xmm4
xorpd  %xmm7,%xmm4
shufpd $0x2,%xmm3,%xmm4
shufpd $0x1,%xmm3,%xmm3
mulpd  %xmm14,%xmm3
mulpd  %xmm15,%xmm4
addpd  %xmm3,%xmm4
movupd (%rdx,%rcx,1),%xmm5
movapd %xmm0,%xmm6
movsd  %xmm2,%xmm6
movapd %xmm5,%xmm3
subpd  %xmm6,%xmm3
movapd %xmm4,%xmm6
unpckhpd %xmm5,%xmm6
addpd  %xmm0,%xmm6
unpcklpd %xmm4,%xmm5
addpd  %xmm2,%xmm5
shufpd $0x1,%xmm0,%xmm2
subpd  %xmm4,%xmm2
movapd %xmm5,%xmm0
addpd  %xmm6,%xmm0
movupd %xmm0,(%r12,%rcx,1)
movapd %xmm6,%xmm0
movsd  %xmm5,%xmm0
movsd  %xmm6,%xmm5
subpd  %xmm5,%xmm0
movupd %xmm0,(%r10,%rcx,1)
movapd %xmm3,%xmm0
addpd  %xmm2,%xmm0
subpd  %xmm2,%xmm3
movapd %xmm3,%xmm2
movsd  %xmm0,%xmm2
movupd %xmm2,(%r14,%rcx,1)
shufpd $0x2,%xmm0,%xmm3
movupd %xmm3,(%r15,%rcx,1)
add    $0x10,%r15
add    $0x10,%r14
add    $0x10,%r9
add    $0x10,%rbx
add    $0x10,%rbp
add    $0x10,%rdx
add    $0x10,%r12
add    $0x10,%r10
add    $0xffffffffffffffff,%rax
jne    15a0 <kern_r4_o_f+0x4a0>
jmp    1460 <kern_r4_o_f+0x360>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
mov    -0x10(%rsp),%rax
imul   -0x38(%rsp),%rax
add    -0x18(%rsp),%rax
mov    -0x78(%rsp),%rcx
lea    (%rcx,%rax,8),%rcx
mov    -0x68(%rsp),%rdx
lea    (%rdx,%rax,8),%r10
mov    -0x70(%rsp),%rbp
lea    0x0(%rbp,%rax,8),%rbp
mov    -0x40(%rsp),%rbx
lea    (%rbx,%rax,8),%r9
mov    -0x20(%rsp),%rax
lea    (%rcx,%rax,1),%rbx
cmp    %rcx,%rbx
setb   %bl
mov    -0x79(%rsp),%dl
or     %dl,%bl
lea    (%r10,%rax,1),%rcx
cmp    %r10,%rcx
setb   %r10b
lea    (%rax,%rbp,1),%rcx
cmp    %rbp,%rcx
setb   %cl
lea    (%r9,%rax,1),%rbp
cmp    %r9,%rbp
setb   %al
test   %bl,%bl
jne    153b <kern_r4_o_f+0x43b>
or     %dl,%r10b
jne    153b <kern_r4_o_f+0x43b>
or     %dl,%cl
jne    153b <kern_r4_o_f+0x43b>
or     %dl,%al
mov    $0x0,%ecx
jne    153d <kern_r4_o_f+0x43d>
movapd %xmm10,0x50(%rsp)
unpcklpd %xmm10,%xmm10
movapd %xmm10,0xa0(%rsp)
movapd %xmm9,0x60(%rsp)
unpcklpd %xmm9,%xmm9
movapd %xmm9,0x90(%rsp)
movapd %xmm2,0x10(%rsp)
unpcklpd %xmm2,%xmm2
movapd %xmm2,0x80(%rsp)
movapd %xmm0,0x20(%rsp)
unpcklpd %xmm0,%xmm0
movapd %xmm0,0x70(%rsp)
movapd %xmm15,0x30(%rsp)
unpcklpd %xmm15,%xmm15
movapd %xmm14,0x40(%rsp)
unpcklpd %xmm14,%xmm14
mov    -0x48(%rsp),%rax
xor    %ecx,%ecx
mov    -0x50(%rsp),%rdx
mov    -0x58(%rsp),%rbp
mov    -0x28(%rsp),%rbx
nopl   0x0(%rax)
movupd (%rbx,%rcx,1),%xmm0
movupd 0x10(%rbx,%rcx,1),%xmm7
movapd %xmm0,%xmm2
unpcklpd %xmm7,%xmm2
unpckhpd %xmm7,%xmm0
movapd 0xa0(%rsp),%xmm1
movapd %xmm1,%xmm7
mulpd  %xmm0,%xmm7
mulpd  %xmm2,%xmm1
movapd 0x90(%rsp),%xmm3
mulpd  %xmm3,%xmm2
addpd  %xmm7,%xmm2
mulpd  %xmm3,%xmm0
subpd  %xmm1,%xmm0
movupd 0x0(%r13,%rcx,1),%xmm9
movupd 0x10(%r13,%rcx,1),%xmm1
movapd %xmm9,%xmm10
unpcklpd %xmm1,%xmm10
unpckhpd %xmm1,%xmm9
movapd 0x80(%rsp),%xmm7
movapd %xmm7,%xmm1
mulpd  %xmm9,%xmm1
mulpd  %xmm10,%xmm7
movapd 0x70(%rsp),%xmm3
mulpd  %xmm3,%xmm10
addpd  %xmm1,%xmm10
mulpd  %xmm3,%xmm9
subpd  %xmm7,%xmm9
movupd 0x0(%rbp,%rcx,1),%xmm12
movupd 0x10(%rbp,%rcx,1),%xmm1
movapd %xmm12,%xmm11
unpcklpd %xmm1,%xmm11
unpckhpd %xmm1,%xmm12
movapd %xmm15,%xmm1
mulpd  %xmm12,%xmm1
movapd %xmm15,%xmm7
mulpd  %xmm11,%xmm7
mulpd  %xmm14,%xmm11
addpd  %xmm1,%xmm11
mulpd  %xmm14,%xmm12
subpd  %xmm7,%xmm12
movupd (%rdx,%rcx,1),%xmm8
movupd 0x10(%rdx,%rcx,1),%xmm1
movapd %xmm8,%xmm7
unpcklpd %xmm1,%xmm7
unpckhpd %xmm1,%xmm8
movapd %xmm10,%xmm13
addpd  %xmm7,%xmm13
subpd  %xmm10,%xmm7
movapd %xmm9,%xmm1
addpd  %xmm8,%xmm1
subpd  %xmm9,%xmm8
movapd %xmm2,%xmm9
addpd  %xmm11,%xmm9
subpd  %xmm11,%xmm2
movapd %xmm0,%xmm5
addpd  %xmm12,%xmm5
subpd  %xmm12,%xmm0
movapd %xmm13,%xmm4
addpd  %xmm9,%xmm4
movapd %xmm5,%xmm3
addpd  %xmm1,%xmm3
movapd %xmm4,%xmm6
unpcklpd %xmm3,%xmm6
movhlps %xmm4,%xmm3
movups %xmm3,0x10(%r8,%rcx,1)
movupd %xmm6,(%r8,%rcx,1)
subpd  %xmm9,%xmm13
subpd  %xmm5,%xmm1
movapd %xmm13,%xmm3
unpcklpd %xmm1,%xmm3
movhlps %xmm13,%xmm1
movups %xmm1,0x10(%r11,%rcx,1)
movupd %xmm3,(%r11,%rcx,1)
movapd %xmm7,%xmm1
addpd  %xmm0,%xmm1
movapd %xmm8,%xmm3
subpd  %xmm2,%xmm3
movapd %xmm1,%xmm4
unpcklpd %xmm3,%xmm4
movhlps %xmm1,%xmm3
movups %xmm3,0x10(%rdi,%rcx,1)
movupd %xmm4,(%rdi,%rcx,1)
subpd  %xmm0,%xmm7
addpd  %xmm8,%xmm2
movapd %xmm7,%xmm0
unpcklpd %xmm2,%xmm0
movhlps %xmm7,%xmm2
movups %xmm2,0x10(%rsi,%rcx,1)
movupd %xmm0,(%rsi,%rcx,1)
add    $0x20,%rcx
add    $0xfffffffffffffffe,%rax
jne    17e0 <kern_r4_o_f+0x6e0>
mov    -0x48(%rsp),%rax
mov    %rax,%rcx
cmp    0x108(%rsp),%rax
movapd 0x63f(%rip),%xmm7
movapd 0x60(%rsp),%xmm9
movapd 0x50(%rsp),%xmm10
movapd 0x40(%rsp),%xmm14
movapd 0x30(%rsp),%xmm15
movapd 0x20(%rsp),%xmm0
movapd 0x10(%rsp),%xmm2
je     1460 <kern_r4_o_f+0x360>
jmp    153d <kern_r4_o_f+0x43d>
add    $0xb8,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @kern_r4_o_f(double* noalias %0, double* noalias %1, double* noalias %2, double* noalias %3, double* %4, double* %5, double* %6, double* %7, double* %8, i64 %9, i64 %10) {
%12 = alloca double*
%13 = alloca double*
%14 = alloca double*
%15 = alloca double*
%16 = alloca double*
%17 = alloca double*
%18 = alloca double*
%19 = alloca double*
%20 = alloca double*
%21 = alloca i64
%22 = alloca i64
%23 = alloca i64
%24 = alloca i64
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
%29 = alloca double
%30 = alloca double
%31 = alloca double
%32 = alloca double
%33 = alloca double
%34 = alloca double
%35 = alloca double
%36 = alloca double
%37 = alloca double
%38 = alloca double
%39 = alloca double
%40 = alloca double
%41 = alloca double
%42 = alloca double
%43 = alloca double
%44 = alloca double
%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 = fadd 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 = fsub 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 = fsub 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 = fadd 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 = call double @llvm.fmuladd.f64(double %309, double %310, double %318)
store double %319, double* %39
%320 = load double*, double** %17
%321 = load i64, i64* %24
%322 = mul nsw i64 2, %321
%323 = add nsw i64 %322, 1
%324 = getelementptr inbounds double, double* %320, i64 %323
%325 = load double, double* %324
%326 = load double, double* %33
%327 = load double*, double** %17
%328 = load i64, i64* %24
%329 = mul nsw i64 2, %328
%330 = getelementptr inbounds double, double* %327, i64 %329
%331 = load double, double* %330
%332 = load double, double* %34
%333 = fmul double %331, %332
%334 = fneg double %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 = call double @llvm.fmuladd.f64(double %340, double %341, double %349)
store double %350, double* %41
%351 = load double*, double** %18
%352 = load i64, i64* %24
%353 = mul nsw i64 2, %352
%354 = add nsw i64 %353, 1
%355 = getelementptr inbounds double, double* %351, i64 %354
%356 = load double, double* %355
%357 = load double, double* %35
%358 = load double*, double** %18
%359 = load i64, i64* %24
%360 = mul nsw i64 2, %359
%361 = getelementptr inbounds double, double* %358, i64 %360
%362 = load double, double* %361
%363 = load double, double* %36
%364 = fmul double %362, %363
%365 = fneg double %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 = call double @llvm.fmuladd.f64(double %371, double %372, double %380)
store double %381, double* %43
%382 = load double*, double** %19
%383 = load i64, i64* %24
%384 = mul nsw i64 2, %383
%385 = add nsw i64 %384, 1
%386 = getelementptr inbounds double, double* %382, i64 %385
%387 = load double, double* %386
%388 = load double, double* %37
%389 = load double*, double** %19
%390 = load i64, i64* %24
%391 = mul nsw i64 2, %390
%392 = getelementptr inbounds double, double* %389, i64 %391
%393 = load double, double* %392
%394 = load double, double* %38
%395 = fmul double %393, %394
%396 = fneg double %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 = fadd 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 = fsub 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 = fsub 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 = fadd 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_f(double* noalias nocapture writeonly %0, double* noalias nocapture writeonly %1, double* noalias nocapture writeonly %2, double* noalias nocapture writeonly %3, double* nocapture %4, double* nocapture %5, double* nocapture %6, double* nocapture %7, double* nocapture %8, i64 %9, i64 %10) {
%12 = icmp sgt i64 %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 = fadd <2 x double> %35, %52
%64 = fsub <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 = fsub <2 x double> %35, %52
%69 = fadd <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 = fadd <2 x double> %89, %98
%107 = fsub <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 %374
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, %370
%140 = phi i64 [ 0, %119 ], [ %373, %370 ]
%141 = phi double* [ %7, %119 ], [ %167, %370 ]
%142 = phi double* [ %6, %119 ], [ %166, %370 ]
%143 = phi double* [ %5, %119 ], [ %165, %370 ]
%144 = phi double* [ %4, %119 ], [ %164, %370 ]
%145 = phi double* [ %3, %119 ], [ %163, %370 ]
%146 = phi double* [ %2, %119 ], [ %162, %370 ]
%147 = phi double* [ %1, %119 ], [ %161, %370 ]
%148 = phi double* [ %0, %119 ], [ %160, %370 ]
%149 = phi i64 [ 1, %119 ], [ %371, %370 ]
%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 = load double, double* %170
%172 = or i64 %169, 1
%173 = getelementptr inbounds double, double* %8, i64 %172
%174 = load double, double* %173
%175 = shl nsw i64 %149, 2
%176 = mul nsw i64 %175, %9
%177 = getelementptr inbounds double, double* %8, i64 %176
%178 = load double, double* %177
%179 = or i64 %176, 1
%180 = getelementptr inbounds double, double* %8, i64 %179
%181 = load double, double* %180
%182 = mul i64 %120, %149
%183 = getelementptr inbounds double, double* %8, i64 %182
%184 = load double, double* %183
%185 = or i64 %182, 1
%186 = getelementptr inbounds double, double* %8, i64 %185
%187 = load double, double* %186
br i1 %12, label %188, label %370
188: ; preds = %139
br i1 %124, label %292, label %189
189: ; preds = %188
%190 = getelementptr i8, i8* %153, i64 %126
%191 = icmp ult i8* %190, %153
%192 = or i1 %191, %127
%193 = getelementptr i8, i8* %155, i64 %129
%194 = icmp ult i8* %193, %155
%195 = or i1 %194, %130
%196 = getelementptr i8, i8* %157, i64 %132
%197 = icmp ult i8* %196, %157
%198 = or i1 %197, %133
%199 = getelementptr i8, i8* %159, i64 %135
%200 = icmp ult i8* %199, %159
%201 = or i1 %200, %136
%202 = or i1 %192, %195
%203 = or i1 %202, %198
%204 = or i1 %203, %201
br i1 %204, label %292, label %205
205: ; preds = %189
%206 = insertelement <2 x double> poison, double %174, i64 0
%207 = shufflevector <2 x double> %206, <2 x double> poison, <2 x i32> zeroinitializer
%208 = insertelement <2 x double> poison, double %171, i64 0
%209 = shufflevector <2 x double> %208, <2 x double> poison, <2 x i32> zeroinitializer
%210 = insertelement <2 x double> poison, double %181, i64 0
%211 = shufflevector <2 x double> %210, <2 x double> poison, <2 x i32> zeroinitializer
%212 = insertelement <2 x double> poison, double %178, i64 0
%213 = shufflevector <2 x double> %212, <2 x double> poison, <2 x i32> zeroinitializer
%214 = insertelement <2 x double> poison, double %187, i64 0
%215 = shufflevector <2 x double> %214, <2 x double> poison, <2 x i32> zeroinitializer
%216 = insertelement <2 x double> poison, double %184, i64 0
%217 = shufflevector <2 x double> %216, <2 x double> poison, <2 x i32> zeroinitializer
%218 = getelementptr inbounds double, double* %160, i64 -1
%219 = getelementptr inbounds double, double* %162, i64 -1
%220 = getelementptr inbounds double, double* %161, i64 -1
%221 = getelementptr inbounds double, double* %163, i64 -1
br label %222
222: ; preds = %222, %205
%223 = phi i64 [ 0, %205 ], [ %289, %222 ]
%224 = shl nuw nsw i64 %223, 1
%225 = getelementptr inbounds double, double* %165, i64 %224
%226 = bitcast double* %225 to <4 x double>*
%227 = load <4 x double>, <4 x double>* %226
%228 = shufflevector <4 x double> %227, <4 x double> poison, <2 x i32> <i32 0, i32 2>
%229 = shufflevector <4 x double> %227, <4 x double> poison, <2 x i32> <i32 1, i32 3>
%230 = or i64 %224, 1
%231 = fmul <2 x double> %207, %229
%232 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %228, <2 x double> %209, <2 x double> %231)
%233 = fneg <2 x double> %228
%234 = fmul <2 x double> %207, %233
%235 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %229, <2 x double> %209, <2 x double> %234)
%236 = getelementptr inbounds double, double* %166, i64 %224
%237 = bitcast double* %236 to <4 x double>*
%238 = load <4 x double>, <4 x double>* %237
%239 = shufflevector <4 x double> %238, <4 x double> poison, <2 x i32> <i32 0, i32 2>
%240 = shufflevector <4 x double> %238, <4 x double> poison, <2 x i32> <i32 1, i32 3>
%241 = fmul <2 x double> %211, %240
%242 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %239, <2 x double> %213, <2 x double> %241)
%243 = fneg <2 x double> %239
%244 = fmul <2 x double> %211, %243
%245 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %240, <2 x double> %213, <2 x double> %244)
%246 = getelementptr inbounds double, double* %167, i64 %224
%247 = bitcast double* %246 to <4 x double>*
%248 = load <4 x double>, <4 x double>* %247
%249 = shufflevector <4 x double> %248, <4 x double> poison, <2 x i32> <i32 0, i32 2>
%250 = shufflevector <4 x double> %248, <4 x double> poison, <2 x i32> <i32 1, i32 3>
%251 = fmul <2 x double> %215, %250
%252 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %249, <2 x double> %217, <2 x double> %251)
%253 = fneg <2 x double> %249
%254 = fmul <2 x double> %215, %253
%255 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %250, <2 x double> %217, <2 x double> %254)
%256 = getelementptr inbounds double, double* %164, i64 %224
%257 = bitcast double* %256 to <4 x double>*
%258 = load <4 x double>, <4 x double>* %257
%259 = shufflevector <4 x double> %258, <4 x double> poison, <2 x i32> <i32 0, i32 2>
%260 = shufflevector <4 x double> %258, <4 x double> poison, <2 x i32> <i32 1, i32 3>
%261 = fadd <2 x double> %242, %259
%262 = fsub <2 x double> %259, %242
%263 = fadd <2 x double> %245, %260
%264 = fsub <2 x double> %260, %245
%265 = fadd <2 x double> %232, %252
%266 = fsub <2 x double> %232, %252
%267 = fadd <2 x double> %235, %255
%268 = fsub <2 x double> %235, %255
%269 = fadd <2 x double> %261, %265
%270 = fadd <2 x double> %267, %263
%271 = getelementptr inbounds double, double* %218, i64 %230
%272 = bitcast double* %271 to <4 x double>*
%273 = shufflevector <2 x double> %269, <2 x double> %270, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %273, <4 x double>* %272
%274 = fsub <2 x double> %261, %265
%275 = fsub <2 x double> %263, %267
%276 = getelementptr inbounds double, double* %219, i64 %230
%277 = bitcast double* %276 to <4 x double>*
%278 = shufflevector <2 x double> %274, <2 x double> %275, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %278, <4 x double>* %277
%279 = fadd <2 x double> %262, %268
%280 = fsub <2 x double> %264, %266
%281 = getelementptr inbounds double, double* %220, i64 %230
%282 = bitcast double* %281 to <4 x double>*
%283 = shufflevector <2 x double> %279, <2 x double> %280, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %283, <4 x double>* %282
%284 = fsub <2 x double> %262, %268
%285 = fadd <2 x double> %264, %266
%286 = getelementptr inbounds double, double* %221, i64 %230
%287 = bitcast double* %286 to <4 x double>*
%288 = shufflevector <2 x double> %284, <2 x double> %285, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
store <4 x double> %288, <4 x double>* %287
%289 = add nuw i64 %223, 2
%290 = icmp eq i64 %289, %137
br i1 %290, label %291, label %222
291: ; preds = %222
br i1 %138, label %370, label %292
292: ; preds = %189, %188, %291
%293 = phi i64 [ 0, %189 ], [ 0, %188 ], [ %137, %291 ]
%294 = insertelement <2 x double> poison, double %181, i64 0
%295 = insertelement <2 x double> %294, double %174, i64 1
%296 = insertelement <2 x double> poison, double %178, i64 0
%297 = insertelement <2 x double> %296, double %171, i64 1
%298 = insertelement <2 x double> poison, double %174, i64 0
%299 = insertelement <2 x double> %298, double %181, i64 1
%300 = insertelement <2 x double> poison, double %171, i64 0
%301 = insertelement <2 x double> %300, double %178, i64 1
%302 = insertelement <2 x double> poison, double %187, i64 0
%303 = shufflevector <2 x double> %302, <2 x double> poison, <2 x i32> zeroinitializer
%304 = insertelement <2 x double> poison, double %184, i64 0
%305 = shufflevector <2 x double> %304, <2 x double> poison, <2 x i32> zeroinitializer
br label %306
306: ; preds = %292, %306
%307 = phi i64 [ %368, %306 ], [ %293, %292 ]
%308 = shl nuw nsw i64 %307, 1
%309 = getelementptr inbounds double, double* %165, i64 %308
%310 = load double, double* %309
%311 = or i64 %308, 1
%312 = getelementptr inbounds double, double* %165, i64 %311
%313 = load double, double* %312
%314 = fneg double %310
%315 = getelementptr inbounds double, double* %166, i64 %308
%316 = load double, double* %315
%317 = getelementptr inbounds double, double* %166, i64 %311
%318 = load double, double* %317
%319 = insertelement <2 x double> poison, double %318, i64 0
%320 = insertelement <2 x double> %319, double %314, i64 1
%321 = fmul <2 x double> %295, %320
%322 = insertelement <2 x double> poison, double %316, i64 0
%323 = insertelement <2 x double> %322, double %313, i64 1
%324 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %323, <2 x double> %297, <2 x double> %321)
%325 = fneg double %316
%326 = insertelement <2 x double> poison, double %313, i64 0
%327 = insertelement <2 x double> %326, double %325, i64 1
%328 = fmul <2 x double> %299, %327
%329 = insertelement <2 x double> poison, double %310, i64 0
%330 = insertelement <2 x double> %329, double %318, i64 1
%331 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %330, <2 x double> %301, <2 x double> %328)
%332 = getelementptr inbounds double, double* %167, i64 %308
%333 = bitcast double* %332 to <2 x double>*
%334 = load <2 x double>, <2 x double>* %333
%335 = shufflevector <2 x double> %334, <2 x double> poison, <2 x i32> <i32 1, i32 0>
%336 = extractelement <2 x double> %334, i64 0
%337 = fneg double %336
%338 = insertelement <2 x double> %334, double %337, i64 0
%339 = fmul <2 x double> %303, %338
%340 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %335, <2 x double> %305, <2 x double> %339)
%341 = getelementptr inbounds double, double* %164, i64 %308
%342 = bitcast double* %341 to <2 x double>*
%343 = load <2 x double>, <2 x double>* %342
%344 = shufflevector <2 x double> %324, <2 x double> %331, <2 x i32> <i32 0, i32 3>
%345 = fsub <2 x double> %343, %344
%346 = shufflevector <2 x double> %340, <2 x double> %343, <2 x i32> <i32 1, i32 3>
%347 = fadd <2 x double> %331, %346
%348 = shufflevector <2 x double> %343, <2 x double> %340, <2 x i32> <i32 0, i32 2>
%349 = fadd <2 x double> %324, %348
%350 = shufflevector <2 x double> %324, <2 x double> %331, <2 x i32> <i32 1, i32 2>
%351 = fsub <2 x double> %350, %340
%352 = getelementptr inbounds double, double* %160, i64 %308
%353 = fadd <2 x double> %349, %347
%354 = bitcast double* %352 to <2 x double>*
store <2 x double> %353, <2 x double>* %354
%355 = getelementptr inbounds double, double* %162, i64 %308
%356 = shufflevector <2 x double> %349, <2 x double> %347, <2 x i32> <i32 0, i32 3>
%357 = shufflevector <2 x double> %347, <2 x double> %349, <2 x i32> <i32 0, i32 3>
%358 = fsub <2 x double> %356, %357
%359 = bitcast double* %355 to <2 x double>*
store <2 x double> %358, <2 x double>* %359
%360 = getelementptr inbounds double, double* %161, i64 %308
%361 = fadd <2 x double> %345, %351
%362 = fsub <2 x double> %345, %351
%363 = shufflevector <2 x double> %361, <2 x double> %362, <2 x i32> <i32 0, i32 3>
%364 = bitcast double* %360 to <2 x double>*
store <2 x double> %363, <2 x double>* %364
%365 = getelementptr inbounds double, double* %163, i64 %308
%366 = shufflevector <2 x double> %362, <2 x double> %361, <2 x i32> <i32 0, i32 3>
%367 = bitcast double* %365 to <2 x double>*
store <2 x double> %366, <2 x double>* %367
%368 = add nuw nsw i64 %307, 1
%369 = icmp eq i64 %368, %9
br i1 %369, label %370, label %306
370: ; preds = %306, %291, %139
%371 = add nuw nsw i64 %149, 1
%372 = icmp eq i64 %371, %10
%373 = add i64 %140, 1
br i1 %372, label %374, label %139
374: ; preds = %370, %115
ret void
}