void kernel_dsymv_3_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, x_n_0, x_n_1, x_n_2, y_n_0, x_t_0, y_t_0, y_t_1,
      y_t_2;
  if (alg == 1) {
    x_n_0 = x_n[0];
    x_n_1 = x_n[1];
    x_n_2 = x_n[2];
  } else {
    x_n_0 = -x_n[0];
    x_n_1 = -x_n[1];
    x_n_2 = -x_n[2];
  }
  y_t_0 = 0;
  y_t_1 = 0;
  y_t_2 = 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;
    if (kmax == 3)
      goto STORE_3;
    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];
    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;
    z_n[3] = y_n_0;
    if (kmax == 4)
      goto STORE_3;
    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];
    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;
    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];
    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;
    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_n_0 += a_02 * x_n_2;
    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];
    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;
    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];
    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;
    z_n[0] = y_n_0;
    A += 1;
    y_n += 1;
    z_n += 1;
    x_t += 1;
  }
STORE_3:
  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;
  } 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;
  }
}


x86 assembly (clang, -O0):
<kernel_dsymv_3_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%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_3_lib4+0x3f>
jmp    1be6 <kernel_dsymv_3_lib4+0xae6>
movl   $0x4,-0x34(%rbp)
cmpl   $0x1,0x30(%rbp)
jne    117e <kernel_dsymv_3_lib4+0x7e>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x68(%rbp)
jmp    11ec <kernel_dsymv_3_lib4+0xec>
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x8(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x20(%rbp),%rax
movsd  0x10(%rax),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
movsd  %xmm0,-0x68(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movl   $0x0,-0x38(%rbp)
cmpl   $0x1,0x28(%rbp)
jne    1571 <kernel_dsymv_3_lib4+0x471>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x70(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
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  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
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  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
cmpl   $0x3,-0x4(%rbp)
jne    1406 <kernel_dsymv_3_lib4+0x306>
jmp    1b45 <kernel_dsymv_3_lib4+0xa45>
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
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)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x18(%rax)
cmpl   $0x4,-0x4(%rbp)
jne    151d <kernel_dsymv_3_lib4+0x41d>
jmp    1b45 <kernel_dsymv_3_lib4+0xa45>
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    1576 <kernel_dsymv_3_lib4+0x476>
mov    -0x38(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x3,%ecx
cmp    %ecx,%eax
jge    19ed <kernel_dsymv_3_lib4+0x8ed>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
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)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
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)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    -0x28(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
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  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x30(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x28(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
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)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%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    1576 <kernel_dsymv_3_lib4+0x476>
jmp    19f2 <kernel_dsymv_3_lib4+0x8f2>
mov    -0x38(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    1b40 <kernel_dsymv_3_lib4+0xa40>
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
mov    0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x78(%rbp)
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)
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
movsd  -0x68(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x70(%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    19f2 <kernel_dsymv_3_lib4+0x8f2>
jmp    1b45 <kernel_dsymv_3_lib4+0xa45>
cmpl   $0x1,0x30(%rbp)
jne    1b9d <kernel_dsymv_3_lib4+0xa9d>
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm0
addsd  -0x80(%rbp),%xmm0
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
addsd  -0x88(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
addsd  -0x90(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
jmp    1be6 <kernel_dsymv_3_lib4+0xae6>
mov    0x18(%rbp),%rax
movsd  (%rax),%xmm0
subsd  -0x80(%rbp),%xmm0
mov    0x20(%rbp),%rax
movsd  %xmm0,(%rax)
mov    0x18(%rbp),%rax
movsd  0x8(%rax),%xmm0
subsd  -0x88(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    0x18(%rbp),%rax
movsd  0x10(%rax),%xmm0
subsd  -0x90(%rbp),%xmm0
ff
mov    0x20(%rbp),%rax
movsd  %xmm0,0x10(%rax)
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<kernel_dsymv_3_lib4>:
test   %edi,%edi
jle    1521 <kernel_dsymv_3_lib4+0x421>
push   %rbx
mov    0x30(%rsp),%r10d
mov    0x28(%rsp),%ebx
movsd  (%rcx),%xmm10
cmp    $0x1,%r10d
jne    1125 <kernel_dsymv_3_lib4+0x25>
movupd 0x8(%rcx),%xmm11
jmp    113d <kernel_dsymv_3_lib4+0x3d>
movapd 0xed3(%rip),%xmm2
xorpd  %xmm2,%xmm10
movupd 0x8(%rcx),%xmm11
xorpd  %xmm2,%xmm11
mov    0x18(%rsp),%r11
mov    0x10(%rsp),%rax
cmp    $0x1,%ebx
jne    11f6 <kernel_dsymv_3_lib4+0xf6>
movsd  (%r8),%xmm3
movsd  (%rsi),%xmm4
mulsd  (%rax),%xmm4
xorpd  %xmm2,%xmm2
movsd  %xmm3,(%r9)
movsd  0x8(%rsi),%xmm3
movapd %xmm3,%xmm5
mulsd  %xmm10,%xmm5
addsd  0x8(%r8),%xmm5
movhpd 0x28(%rsi),%xmm3
addsd  %xmm2,%xmm4
movsd  0x8(%rax),%xmm6
unpcklpd %xmm6,%xmm6
mulpd  %xmm3,%xmm6
movq   %xmm4,%xmm4
addpd  %xmm6,%xmm4
movsd  %xmm5,0x8(%r9)
movsd  0x10(%rax),%xmm0
movsd  0x10(%rsi),%xmm6
movapd %xmm6,%xmm5
mulsd  %xmm10,%xmm5
addsd  0x10(%r8),%xmm5
movsd  0x30(%rsi),%xmm7
unpcklpd %xmm7,%xmm6
mulsd  %xmm11,%xmm7
addsd  %xmm5,%xmm7
movapd %xmm0,%xmm5
unpcklpd %xmm0,%xmm5
mulpd  %xmm6,%xmm5
mulsd  0x50(%rsi),%xmm0
addpd  %xmm4,%xmm5
addsd  %xmm2,%xmm0
movsd  %xmm7,0x10(%r9)
cmp    $0x3,%edi
jne    1205 <kernel_dsymv_3_lib4+0x105>
movapd %xmm0,%xmm3
jmp    14c3 <kernel_dsymv_3_lib4+0x3c3>
xorpd  %xmm4,%xmm4
xorpd  %xmm3,%xmm3
xor    %ecx,%ecx
jmp    1297 <kernel_dsymv_3_lib4+0x197>
movsd  0x18(%rax),%xmm4
movsd  0x18(%rsi),%xmm9
movsd  0x38(%rsi),%xmm8
movsd  0x58(%rsi),%xmm3
movapd %xmm9,%xmm6
mulsd  %xmm10,%xmm6
addsd  0x18(%r8),%xmm6
unpcklpd %xmm8,%xmm9
movapd %xmm11,%xmm7
mulsd  %xmm8,%xmm7
addsd  %xmm6,%xmm7
movapd %xmm11,%xmm6
unpckhpd %xmm11,%xmm6
mulsd  %xmm3,%xmm6
mulsd  %xmm4,%xmm3
unpcklpd %xmm4,%xmm4
mulpd  %xmm9,%xmm4
addpd  %xmm5,%xmm4
addsd  %xmm7,%xmm6
addsd  %xmm0,%xmm3
movsd  %xmm6,0x18(%r9)
cmp    $0x4,%edi
je     14bf <kernel_dsymv_3_lib4+0x3bf>
add    $0x20,%r8
add    $0x20,%r9
add    $0x20,%rax
lea    -0x4(,%rdx,4),%ecx
movslq %ecx,%rcx
lea    (%rsi,%rcx,8),%rsi
add    $0x20,%rsi
mov    $0x4,%ecx
lea    -0x3(%rdi),%ebx
movapd %xmm11,%xmm8
unpckhpd %xmm11,%xmm8
cmp    %ebx,%ecx
jge    143e <kernel_dsymv_3_lib4+0x33e>
shl    $0x2,%edx
movslq %edx,%rdx
shl    $0x3,%rdx
cs nopw 0x0(%rax,%rax,1)
movsd  (%rax),%xmm6
movsd  (%rsi),%xmm1
movsd  0x20(%rsi),%xmm0
movapd %xmm1,%xmm7
mulsd  %xmm10,%xmm7
addsd  (%r8),%xmm7
movsd  0x40(%rsi),%xmm5
unpcklpd %xmm0,%xmm1
mulsd  %xmm11,%xmm0
addsd  %xmm7,%xmm0
movapd %xmm5,%xmm7
mulsd  %xmm6,%xmm5
unpcklpd %xmm6,%xmm6
mulpd  %xmm1,%xmm6
addpd  %xmm4,%xmm6
mulsd  %xmm8,%xmm7
addsd  %xmm0,%xmm7
addsd  %xmm3,%xmm5
movsd  %xmm7,(%r9)
movsd  0x8(%rax),%xmm0
movsd  0x8(%rsi),%xmm1
movsd  0x28(%rsi),%xmm4
movsd  0x48(%rsi),%xmm2
movapd %xmm1,%xmm7
mulsd  %xmm10,%xmm7
addsd  0x8(%r8),%xmm7
unpcklpd %xmm4,%xmm1
mulsd  %xmm11,%xmm4
addsd  %xmm7,%xmm4
movapd %xmm2,%xmm7
mulsd  %xmm0,%xmm2
unpcklpd %xmm0,%xmm0
mulpd  %xmm1,%xmm0
addpd  %xmm6,%xmm0
mulsd  %xmm8,%xmm7
addsd  %xmm4,%xmm7
addsd  %xmm5,%xmm2
movsd  %xmm7,0x8(%r9)
movsd  0x10(%rax),%xmm5
movsd  0x10(%rsi),%xmm1
movsd  0x30(%rsi),%xmm4
movapd %xmm1,%xmm7
mulsd  %xmm10,%xmm7
addsd  0x10(%r8),%xmm7
movsd  0x50(%rsi),%xmm6
unpcklpd %xmm4,%xmm1
mulsd  %xmm11,%xmm4
addsd  %xmm7,%xmm4
movapd %xmm6,%xmm7
mulsd  %xmm5,%xmm6
unpcklpd %xmm5,%xmm5
mulpd  %xmm1,%xmm5
addpd  %xmm0,%xmm5
mulsd  %xmm8,%xmm7
addsd  %xmm4,%xmm7
addsd  %xmm2,%xmm6
movsd  %xmm7,0x10(%r9)
movsd  0x18(%rax),%xmm7
movsd  0x18(%rsi),%xmm0
movsd  0x38(%rsi),%xmm1
movsd  0x58(%rsi),%xmm3
movapd %xmm0,%xmm4
mulsd  %xmm10,%xmm4
addsd  0x18(%r8),%xmm4
unpcklpd %xmm1,%xmm0
mulsd  %xmm11,%xmm1
addsd  %xmm4,%xmm1
movapd %xmm3,%xmm2
mulsd  %xmm7,%xmm3
unpcklpd %xmm7,%xmm7
mulpd  %xmm0,%xmm7
movapd %xmm7,%xmm4
addpd  %xmm5,%xmm4
mulsd  %xmm8,%xmm2
addsd  %xmm1,%xmm2
addsd  %xmm6,%xmm3
movsd  %xmm2,0x18(%r9)
add    $0x20,%r8
add    $0x20,%r9
add    $0x20,%rax
add    $0x4,%ecx
add    %rdx,%rsi
cmp    %ebx,%ecx
jl     12c0 <kernel_dsymv_3_lib4+0x1c0>
addpd  %xmm5,%xmm7
movapd %xmm7,%xmm4
cmp    %edi,%ecx
jge    14bf <kernel_dsymv_3_lib4+0x3bf>
sub    %ecx,%edi
xor    %ecx,%ecx
nopw   0x0(%rax,%rax,1)
movapd %xmm4,%xmm6
movsd  (%rax,%rcx,8),%xmm5
movsd  (%rsi,%rcx,8),%xmm0
movsd  0x20(%rsi,%rcx,8),%xmm1
movsd  0x40(%rsi,%rcx,8),%xmm2
movapd %xmm0,%xmm4
mulsd  %xmm10,%xmm4
addsd  (%r8,%rcx,8),%xmm4
unpcklpd %xmm1,%xmm0
mulsd  %xmm11,%xmm1
addsd  %xmm4,%xmm1
movapd %xmm2,%xmm7
mulsd  %xmm5,%xmm2
unpcklpd %xmm5,%xmm5
mulpd  %xmm0,%xmm5
movapd %xmm5,%xmm4
addpd  %xmm6,%xmm4
mulsd  %xmm8,%xmm7
addsd  %xmm1,%xmm7
addsd  %xmm2,%xmm3
movsd  %xmm7,(%r9,%rcx,8)
add    $0x1,%rcx
cmp    %ecx,%edi
jne    1450 <kernel_dsymv_3_lib4+0x350>
addpd  %xmm6,%xmm5
jmp    14c3 <kernel_dsymv_3_lib4+0x3c3>
movapd %xmm4,%xmm5
mov    0x20(%rsp),%rax
movsd  (%r11),%xmm0
cmp    $0x1,%r10d
jne    14f2 <kernel_dsymv_3_lib4+0x3f2>
addsd  %xmm5,%xmm0
movsd  %xmm0,(%rax)
unpckhpd %xmm5,%xmm5
addsd  0x8(%r11),%xmm5
movsd  %xmm5,0x8(%rax)
addsd  0x10(%r11),%xmm3
jmp    151b <kernel_dsymv_3_lib4+0x41b>
subsd  %xmm5,%xmm0
movsd  %xmm0,(%rax)
movsd  0x8(%r11),%xmm0
unpckhpd %xmm5,%xmm5
subsd  %xmm5,%xmm0
movsd  %xmm0,0x8(%rax)
movsd  0x10(%r11),%xmm0
subsd  %xmm3,%xmm0
movapd %xmm0,%xmm3
movsd  %xmm3,0x10(%rax)
pop    %rbx
ret

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

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