void kernel_dsymv_4_lib4(int kmax, double *A, int sda, double *x_n, double *y_n,
                         double *z_n, double *x_t, double *y_t, double *z_t,
                         int tri, int alg) {
  if (kmax <= 0)
    return;
  const int bs = 4;
  int k;
  double a_00, a_01, a_02, a_03, x_n_0, x_n_1, x_n_2, x_n_3, y_n_0, x_t_0,
      y_t_0, y_t_1, y_t_2, y_t_3;
  if (alg == 1) {
    x_n_0 = x_n[0];
    x_n_1 = x_n[1];
    x_n_2 = x_n[2];
    x_n_3 = x_n[3];
  } else {
    x_n_0 = -x_n[0];
    x_n_1 = -x_n[1];
    x_n_2 = -x_n[2];
    x_n_3 = -x_n[3];
  }
  y_t_0 = 0;
  y_t_1 = 0;
  y_t_2 = 0;
  y_t_3 = 0;
  k = 0;
  if (tri == 1) {
    y_n_0 = y_n[0];
    x_t_0 = x_t[0];
    a_00 = A[0 + bs * 0];
    y_t_0 += a_00 * x_t_0;
    z_n[0] = y_n_0;
    y_n_0 = y_n[1];
    x_t_0 = x_t[1];
    a_00 = A[1 + bs * 0];
    a_01 = A[1 + bs * 1];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_t_1 += a_01 * x_t_0;
    z_n[1] = y_n_0;
    y_n_0 = y_n[2];
    x_t_0 = x_t[2];
    a_00 = A[2 + bs * 0];
    a_01 = A[2 + bs * 1];
    a_02 = A[2 + bs * 2];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_t_2 += a_02 * x_t_0;
    z_n[2] = y_n_0;
    y_n_0 = y_n[3];
    x_t_0 = x_t[3];
    a_00 = A[3 + bs * 0];
    a_01 = A[3 + bs * 1];
    a_02 = A[3 + bs * 2];
    a_03 = A[3 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_t_3 += a_03 * x_t_0;
    z_n[3] = y_n_0;
    A += 4;
    y_n += 4;
    z_n += 4;
    x_t += 4;
    k += 4;
    A += (sda - 1) * bs;
  }
  for (; k < kmax - 3; k += bs) {
    y_n_0 = y_n[0];
    x_t_0 = x_t[0];
    a_00 = A[0 + bs * 0];
    a_01 = A[0 + bs * 1];
    a_02 = A[0 + bs * 2];
    a_03 = A[0 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[0] = y_n_0;
    y_n_0 = y_n[1];
    x_t_0 = x_t[1];
    a_00 = A[1 + bs * 0];
    a_01 = A[1 + bs * 1];
    a_02 = A[1 + bs * 2];
    a_03 = A[1 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[1] = y_n_0;
    y_n_0 = y_n[2];
    x_t_0 = x_t[2];
    a_00 = A[2 + bs * 0];
    a_01 = A[2 + bs * 1];
    a_02 = A[2 + bs * 2];
    a_03 = A[2 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[2] = y_n_0;
    y_n_0 = y_n[3];
    x_t_0 = x_t[3];
    a_00 = A[3 + bs * 0];
    a_01 = A[3 + bs * 1];
    a_02 = A[3 + bs * 2];
    a_03 = A[3 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[3] = y_n_0;
    A += sda * bs;
    y_n += 4;
    z_n += 4;
    x_t += 4;
  }
  for (; k < kmax; k++) {
    y_n_0 = y_n[0];
    x_t_0 = x_t[0];
    a_00 = A[0 + bs * 0];
    a_01 = A[0 + bs * 1];
    a_02 = A[0 + bs * 2];
    a_03 = A[0 + bs * 3];
    y_n_0 += a_00 * x_n_0;
    y_t_0 += a_00 * x_t_0;
    y_n_0 += a_01 * x_n_1;
    y_t_1 += a_01 * x_t_0;
    y_n_0 += a_02 * x_n_2;
    y_t_2 += a_02 * x_t_0;
    y_n_0 += a_03 * x_n_3;
    y_t_3 += a_03 * x_t_0;
    z_n[0] = y_n_0;
    A += 1;
    y_n += 1;
    z_n += 1;
    x_t += 1;
  }
  if (alg == 1) {
    z_t[0] = y_t[0] + y_t_0;
    z_t[1] = y_t[1] + y_t_1;
    z_t[2] = y_t[2] + y_t_2;
    z_t[3] = y_t[3] + y_t_3;
  } else {
    z_t[0] = y_t[0] - y_t_0;
    z_t[1] = y_t[1] - y_t_1;
    z_t[2] = y_t[2] - y_t_2;
    z_t[3] = y_t[3] - y_t_3;
  }
}


x86 assembly (clang, -O0):
<kernel_dsymv_4_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x28,%rsp
mov    0x30(%rbp),%eax
mov    0x28(%rbp),%eax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8,-0x28(%rbp)
mov    %r9,-0x30(%rbp)
cmpl   $0x0,-0x4(%rbp)
jg     113f <kernel_dsymv_4_lib4+0x3f>
jmp    1e95 <kernel_dsymv_4_lib4+0xd95>
movl   $0x4,-0x34(%rbp)
cmpl   $0x1,0x30(%rbp)
jne    118c <kernel_dsymv_4_lib4+0x8c>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
jmp    121f <kernel_dsymv_4_lib4+0x11f>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x68(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x18(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movl   $0x0,-0x38(%rbp)
cmpl   $0x1,0x28(%rbp)
jne    1606 <kernel_dsymv_4_lib4+0x506>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x30(%rbp)
mov    0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,0x10(%rbp)
mov    -0x38(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x38(%rbp)
mov    -0x14(%rbp),%ecx
sub    $0x1,%ecx
shl    $0x2,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
jmp    160b <kernel_dsymv_4_lib4+0x50b>
mov    -0x38(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    1c06 <kernel_dsymv_4_lib4+0xb06>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x68(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x70(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x78(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x14(%rbp),%ecx
shl    $0x2,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rax
add    $0x20,%rax
mov    %rax,-0x30(%rbp)
mov    0x10(%rbp),%rax
add    $0x20,%rax
mov    %rax,0x10(%rbp)
mov    -0x38(%rbp),%eax
add    $0x4,%eax
mov    %eax,-0x38(%rbp)
jmp    160b <kernel_dsymv_4_lib4+0x50b>
jmp    1c0b <kernel_dsymv_4_lib4+0xb0b>
mov    -0x38(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1dba <kernel_dsymv_4_lib4+0xcba>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x80(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x60(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x70(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x58(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x10(%rbp)
mov    -0x28(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x28(%rbp)
mov    -0x30(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x30(%rbp)
mov    0x10(%rbp),%rax
add    $0x8,%rax
mov    %rax,0x10(%rbp)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1c0b <kernel_dsymv_4_lib4+0xb0b>
cmpl   $0x1,0x30(%rbp)
jne    1e2f <kernel_dsymv_4_lib4+0xd2f>
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm0
addsd  -0x90(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
addsd  -0x98(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
addsd  -0xa0(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    0x18(%rbp),%rax
movsd  0x18(%rax),%xmm0
addsd  -0xa8(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
jmp    1e95 <kernel_dsymv_4_lib4+0xd95>
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm0
subsd  -0x90(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
subsd  -0x98(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
subsd  -0xa0(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    0x18(%rbp),%rax
movsd  0x18(%rax),%xmm0
subsd  -0xa8(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x18(%rax)
add    $0x28,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dsymv_4_lib4>:
test   %edi,%edi
jle    15b4 <kernel_dsymv_4_lib4+0x4b4>
mov    0x28(%rsp),%r10d
mov    0x20(%rsp),%eax
movsd  (%rcx),%xmm8
cmp    $0x1,%r10d
jne    112a <kernel_dsymv_4_lib4+0x2a>
movupd 0x8(%rcx),%xmm10
movsd  0x18(%rcx),%xmm9
jmp    114d <kernel_dsymv_4_lib4+0x4d>
movapd 0xece(%rip),%xmm0
xorpd  %xmm0,%xmm8
movupd 0x8(%rcx),%xmm10
xorpd  %xmm0,%xmm10
movsd  0x18(%rcx),%xmm9
xorpd  %xmm0,%xmm9
mov    0x8(%rsp),%rcx
movapd %xmm10,%xmm11
unpckhpd %xmm10,%xmm11
cmp    $0x1,%eax
jne    1281 <kernel_dsymv_4_lib4+0x181>
movsd  (%rsi),%xmm2
mulsd  (%rcx),%xmm2
movsd  (%r8),%xmm4
xorpd  %xmm0,%xmm0
addsd  %xmm0,%xmm2
movsd  %xmm4,(%r9)
movsd  0x8(%rsi),%xmm4
movapd %xmm4,%xmm5
mulsd  %xmm8,%xmm5
addsd  0x8(%r8),%xmm5
movhpd 0x28(%rsi),%xmm4
movsd  0x8(%rcx),%xmm6
unpcklpd %xmm6,%xmm6
mulpd  %xmm4,%xmm6
movq   %xmm2,%xmm2
addpd  %xmm6,%xmm2
movsd  %xmm5,0x8(%r9)
movsd  0x10(%rcx),%xmm4
movsd  0x10(%rsi),%xmm6
movsd  0x30(%rsi),%xmm7
movapd %xmm6,%xmm5
mulsd  %xmm8,%xmm5
addsd  0x10(%r8),%xmm5
unpcklpd %xmm7,%xmm6
mulsd  %xmm10,%xmm7
addsd  %xmm5,%xmm7
movapd %xmm4,%xmm5
unpcklpd %xmm4,%xmm5
mulpd  %xmm6,%xmm5
addpd  %xmm2,%xmm5
mulsd  0x50(%rsi),%xmm4
addsd  %xmm0,%xmm4
movsd  %xmm7,0x10(%r9)
movsd  0x18(%rsi),%xmm6
movsd  0x38(%rsi),%xmm2
movsd  0x58(%rsi),%xmm0
movapd %xmm6,%xmm7
mulsd  %xmm8,%xmm7
addsd  0x18(%r8),%xmm7
unpcklpd %xmm2,%xmm6
mulsd  %xmm10,%xmm2
addsd  %xmm7,%xmm2
movapd %xmm0,%xmm7
mulsd  %xmm11,%xmm7
movhpd 0x78(%rsi),%xmm0
addsd  %xmm2,%xmm7
movsd  0x18(%rcx),%xmm2
unpcklpd %xmm2,%xmm2
movq   %xmm4,%xmm4
mulpd  %xmm2,%xmm0
addpd  %xmm4,%xmm0
mulpd  %xmm6,%xmm2
addpd  %xmm5,%xmm2
movsd  %xmm7,0x18(%r9)
add    $0x20,%r8
add    $0x20,%r9
add    $0x20,%rcx
lea    -0x4(,%rdx,4),%eax
cltq
lea    (%rsi,%rax,8),%rsi
add    $0x20,%rsi
mov    $0x4,%eax
jmp    128b <kernel_dsymv_4_lib4+0x18b>
xorpd  %xmm2,%xmm2
xor    %eax,%eax
xorpd  %xmm0,%xmm0
lea    -0x3(%rdi),%r11d
cmp    %r11d,%eax
jge    1483 <kernel_dsymv_4_lib4+0x383>
shl    $0x2,%edx
movslq %edx,%rdx
shl    $0x3,%rdx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movsd  (%rsi),%xmm6
movsd  0x20(%rsi),%xmm4
movsd  0x40(%rsi),%xmm5
movapd %xmm6,%xmm7
mulsd  %xmm8,%xmm7
addsd  (%r8),%xmm7
movsd  0x60(%rsi),%xmm1
unpcklpd %xmm4,%xmm6
mulsd  %xmm10,%xmm4
addsd  %xmm7,%xmm4
movapd %xmm5,%xmm7
mulsd  %xmm11,%xmm7
addsd  %xmm4,%xmm7
unpcklpd %xmm1,%xmm5
mulsd  %xmm9,%xmm1
addsd  %xmm7,%xmm1
movsd  (%rcx),%xmm4
unpcklpd %xmm4,%xmm4
mulpd  %xmm4,%xmm6
addpd  %xmm2,%xmm6
mulpd  %xmm5,%xmm4
addpd  %xmm0,%xmm4
movsd  %xmm1,(%r9)
movsd  0x8(%rsi),%xmm1
movsd  0x28(%rsi),%xmm2
movsd  0x48(%rsi),%xmm0
movsd  0x68(%rsi),%xmm5
movapd %xmm1,%xmm7
mulsd  %xmm8,%xmm7
addsd  0x8(%r8),%xmm7
unpcklpd %xmm2,%xmm1
mulsd  %xmm10,%xmm2
addsd  %xmm7,%xmm2
movapd %xmm0,%xmm7
mulsd  %xmm11,%xmm7
addsd  %xmm2,%xmm7
unpcklpd %xmm5,%xmm0
mulsd  %xmm9,%xmm5
addsd  %xmm7,%xmm5
movsd  0x8(%rcx),%xmm2
unpcklpd %xmm2,%xmm2
mulpd  %xmm2,%xmm0
addpd  %xmm4,%xmm0
mulpd  %xmm1,%xmm2
addpd  %xmm6,%xmm2
movsd  %xmm5,0x8(%r9)
movsd  0x10(%rsi),%xmm6
movsd  0x30(%rsi),%xmm1
movsd  0x50(%rsi),%xmm4
movapd %xmm6,%xmm5
mulsd  %xmm8,%xmm5
addsd  0x10(%r8),%xmm5
movsd  0x70(%rsi),%xmm3
unpcklpd %xmm1,%xmm6
mulsd  %xmm10,%xmm1
addsd  %xmm5,%xmm1
movapd %xmm4,%xmm5
mulsd  %xmm11,%xmm5
addsd  %xmm1,%xmm5
unpcklpd %xmm3,%xmm4
mulsd  %xmm9,%xmm3
addsd  %xmm5,%xmm3
movsd  0x10(%rcx),%xmm7
unpcklpd %xmm7,%xmm7
mulpd  %xmm7,%xmm6
addpd  %xmm2,%xmm6
mulpd  %xmm4,%xmm7
addpd  %xmm0,%xmm7
movsd  %xmm3,0x10(%r9)
movsd  0x18(%rsi),%xmm1
movsd  0x38(%rsi),%xmm0
movsd  0x58(%rsi),%xmm4
movsd  0x78(%rsi),%xmm3
movapd %xmm1,%xmm2
mulsd  %xmm8,%xmm2
addsd  0x18(%r8),%xmm2
unpcklpd %xmm0,%xmm1
mulsd  %xmm10,%xmm0
addsd  %xmm2,%xmm0
movapd %xmm4,%xmm2
mulsd  %xmm11,%xmm2
addsd  %xmm0,%xmm2
unpcklpd %xmm3,%xmm4
mulsd  %xmm9,%xmm3
addsd  %xmm2,%xmm3
movsd  0x18(%rcx),%xmm5
unpcklpd %xmm5,%xmm5
mulpd  %xmm5,%xmm4
movapd %xmm4,%xmm0
addpd  %xmm7,%xmm0
mulpd  %xmm1,%xmm5
movapd %xmm5,%xmm2
addpd  %xmm6,%xmm2
movsd  %xmm3,0x18(%r9)
add    $0x20,%r8
add    $0x20,%r9
add    $0x20,%rcx
add    $0x4,%eax
add    %rdx,%rsi
cmp    %r11d,%eax
jl     12b0 <kernel_dsymv_4_lib4+0x1b0>
addpd  %xmm6,%xmm5
addpd  %xmm7,%xmm4
movapd %xmm5,%xmm2
movapd %xmm4,%xmm0
mov    0x10(%rsp),%rdx
cmp    %edi,%eax
jge    1538 <kernel_dsymv_4_lib4+0x438>
sub    %eax,%edi
xor    %eax,%eax
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
movapd %xmm0,%xmm4
movapd %xmm2,%xmm6
movsd  (%rsi,%rax,8),%xmm1
movsd  0x20(%rsi,%rax,8),%xmm0
movsd  0x40(%rsi,%rax,8),%xmm7
movsd  0x60(%rsi,%rax,8),%xmm3
movapd %xmm1,%xmm2
mulsd  %xmm8,%xmm2
addsd  (%r8,%rax,8),%xmm2
unpcklpd %xmm0,%xmm1
mulsd  %xmm10,%xmm0
addsd  %xmm2,%xmm0
movapd %xmm7,%xmm2
mulsd  %xmm11,%xmm2
addsd  %xmm0,%xmm2
unpcklpd %xmm3,%xmm7
mulsd  %xmm9,%xmm3
addsd  %xmm2,%xmm3
movsd  (%rcx,%rax,8),%xmm5
unpcklpd %xmm5,%xmm5
mulpd  %xmm5,%xmm7
movapd %xmm7,%xmm0
addpd  %xmm4,%xmm0
mulpd  %xmm1,%xmm5
movapd %xmm5,%xmm2
addpd  %xmm6,%xmm2
movsd  %xmm3,(%r9,%rax,8)
add    $0x1,%rax
cmp    %eax,%edi
jne    14a0 <kernel_dsymv_4_lib4+0x3a0>
addpd  %xmm6,%xmm5
addpd  %xmm4,%xmm7
movapd %xmm5,%xmm2
movapd %xmm7,%xmm0
mov    0x18(%rsp),%rax
movsd  (%rdx),%xmm1
cmp    $0x1,%r10d
jne    1576 <kernel_dsymv_4_lib4+0x476>
addsd  %xmm2,%xmm1
movsd  %xmm1,(%rax)
unpckhpd %xmm2,%xmm2
addsd  0x8(%rdx),%xmm2
movsd  %xmm2,0x8(%rax)
movsd  0x10(%rdx),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rax)
unpckhpd %xmm0,%xmm0
addsd  0x18(%rdx),%xmm0
jmp    15af <kernel_dsymv_4_lib4+0x4af>
subsd  %xmm2,%xmm1
movsd  %xmm1,(%rax)
movsd  0x8(%rdx),%xmm1
unpckhpd %xmm2,%xmm2
subsd  %xmm2,%xmm1
movsd  %xmm1,0x8(%rax)
movsd  0x10(%rdx),%xmm1
subsd  %xmm0,%xmm1
movsd  %xmm1,0x10(%rax)
movsd  0x18(%rdx),%xmm1
unpckhpd %xmm0,%xmm0
subsd  %xmm0,%xmm1
movapd %xmm1,%xmm0
movsd  %xmm0,0x18(%rax)
ret

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

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