user: 下面的汇编指令对应的C源代码是什么：

```asm
<kernel_dgemv_n_8_vs_lib4>:
  endbr64
  push   %r13
  mov    %esi,%r10d
  push   %r12
  push   %rbp
  push   %rbx
  mov    0x28(%rsp),%rbx
  mov    0x30(%rsp),%ebp
  test   %esi,%esi
  jle    L50
  shl    $0x2,%ecx
  mov    %rdx,%rsi
  movslq %ecx,%rcx
  lea    (%rdx,%rcx,8),%r11
  cmp    $0x3,%r10d
  jle    L21
  lea    -0x4(%r10),%edx
  pxor   %xmm11,%xmm11
  mov    %rsi,%rax
  shr    $0x2,%edx
  movapd %xmm11,%xmm10
  movapd %xmm11,%xmm9
  lea    0x1(%rdx),%r13d
  movapd %xmm11,%xmm4
  mov    %r11,%rdx
  mov    %r13,%r12
  movapd %xmm11,%xmm5
  movapd %xmm11,%xmm6
  mov    %r13,%rcx
  shl    $0x5,%r12
  movapd %xmm11,%xmm7
  movapd %xmm11,%xmm8
  add    %r8,%r12
  nopl   0x0(%rax,%rax,1)
L53:
  movsd  (%r8),%xmm2
  movsd  (%rax),%xmm12
  add    $0x20,%r8
  sub    $0xffffffffffffff80,%rax
  movsd  -0x68(%rax),%xmm13
  movsd  -0x18(%r8),%xmm1
  sub    $0xffffffffffffff80,%rdx
  mulsd  %xmm2,%xmm12
  movsd  -0x10(%r8),%xmm0
  movsd  -0x8(%r8),%xmm3
  mulsd  %xmm2,%xmm13
  addsd  %xmm12,%xmm8
  movsd  -0x78(%rax),%xmm12
  addsd  %xmm5,%xmm13
  movsd  -0x78(%rdx),%xmm5
  mulsd  %xmm2,%xmm12
  mulsd  %xmm2,%xmm5
  addsd  %xmm12,%xmm7
  movsd  -0x70(%rax),%xmm12
  addsd  %xmm9,%xmm5
  movsd  -0x48(%rax),%xmm9
  mulsd  %xmm2,%xmm12
  mulsd  %xmm1,%xmm9
  addsd  %xmm6,%xmm12
  movsd  -0x80(%rdx),%xmm6
  addsd  %xmm13,%xmm9
  movsd  -0x40(%rax),%xmm13
  mulsd  %xmm2,%xmm6
  mulsd  %xmm0,%xmm13
  addsd  %xmm4,%xmm6
  movsd  -0x70(%rdx),%xmm4
  mulsd  %xmm2,%xmm4
  mulsd  -0x68(%rdx),%xmm2
  addsd  %xmm10,%xmm4
  movsd  -0x60(%rax),%xmm10
  addsd  %xmm11,%xmm2
  movsd  -0x58(%rax),%xmm11
  mulsd  %xmm1,%xmm10
  mulsd  %xmm1,%xmm11
  addsd  %xmm8,%xmm10
  movsd  -0x60(%rdx),%xmm8
  addsd  %xmm7,%xmm11
  movsd  -0x50(%rax),%xmm7
  mulsd  %xmm1,%xmm8
  mulsd  %xmm1,%xmm7
  addsd  %xmm10,%xmm13
  movsd  -0x38(%rdx),%xmm10
  mulsd  %xmm0,%xmm10
  addsd  %xmm6,%xmm8
  movsd  -0x50(%rdx),%xmm6
  addsd  %xmm7,%xmm12
  movsd  -0x58(%rdx),%xmm7
  mulsd  %xmm1,%xmm6
  mulsd  %xmm1,%xmm7
  mulsd  -0x48(%rdx),%xmm1
  addsd  %xmm4,%xmm6
  movsd  -0x28(%rax),%xmm4
  addsd  %xmm5,%xmm7
  movsd  -0x30(%rax),%xmm5
  addsd  %xmm2,%xmm1
  movsd  -0x38(%rax),%xmm2
  mulsd  %xmm0,%xmm4
  mulsd  %xmm0,%xmm5
  mulsd  %xmm0,%xmm2
  addsd  %xmm7,%xmm10
  movsd  -0x18(%rax),%xmm7
  mulsd  %xmm3,%xmm7
  addsd  %xmm9,%xmm4
  movsd  -0x40(%rdx),%xmm9
  addsd  %xmm12,%xmm5
  addsd  %xmm2,%xmm11
  movsd  -0x30(%rdx),%xmm2
  mulsd  %xmm0,%xmm9
  mulsd  %xmm0,%xmm2
  mulsd  -0x28(%rdx),%xmm0
  addsd  %xmm11,%xmm7
  addsd  %xmm8,%xmm9
  movsd  -0x20(%rax),%xmm8
  addsd  %xmm6,%xmm2
  movsd  -0x10(%rax),%xmm6
  mulsd  %xmm3,%xmm8
  addsd  %xmm1,%xmm0
  mulsd  %xmm3,%xmm6
  addsd  %xmm13,%xmm8
  addsd  %xmm5,%xmm6
  movsd  -0x8(%rax),%xmm5
  mulsd  %xmm3,%xmm5
  addsd  %xmm4,%xmm5
  movsd  -0x20(%rdx),%xmm4
  mulsd  %xmm3,%xmm4
  addsd  %xmm9,%xmm4
  movsd  -0x18(%rdx),%xmm9
  mulsd  %xmm3,%xmm9
  addsd  %xmm10,%xmm9
  movsd  -0x10(%rdx),%xmm10
  mulsd  %xmm3,%xmm10
  mulsd  -0x8(%rdx),%xmm3
  addsd  %xmm2,%xmm10
  addsd  %xmm0,%xmm3
  movapd %xmm3,%xmm11
  cmp    %r12,%r8
  jne    L53
  mov    %r13,%rax
  lea    0x0(,%rcx,4),%edx
  shl    $0x7,%rax
  add    %rax,%rsi
  add    %rax,%r11
  cmp    %edx,%r10d
  jle    L36
L127:
  xor    %eax,%eax
L81:
  movsd  (%r12,%rax,1),%xmm0
  movsd  (%rsi,%rax,4),%xmm1
  add    $0x1,%edx
  mulsd  %xmm0,%xmm1
  addsd  %xmm1,%xmm8
  movsd  0x8(%rsi,%rax,4),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm1,%xmm7
  movsd  0x10(%rsi,%rax,4),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm1,%xmm6
  movsd  0x18(%rsi,%rax,4),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm1,%xmm5
  movsd  (%r11,%rax,4),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm1,%xmm4
  movsd  0x8(%r11,%rax,4),%xmm1
  mulsd  %xmm0,%xmm1
  addsd  %xmm1,%xmm9
  movsd  0x10(%r11,%rax,4),%xmm1
  mulsd  %xmm0,%xmm1
  mulsd  0x18(%r11,%rax,4),%xmm0
  add    $0x8,%rax
  addsd  %xmm1,%xmm10
  addsd  %xmm0,%xmm11
  cmp    %edx,%r10d
  jg     L81
L36:
  test   %ebp,%ebp
  je     L84
  movsd  (%r9),%xmm15
  movsd  0x8(%r9),%xmm14
  movsd  0x10(%r9),%xmm13
  movsd  0x18(%r9),%xmm12
  movsd  0x20(%r9),%xmm3
  movsd  0x28(%r9),%xmm2
  movsd  0x30(%r9),%xmm1
  movsd  0x38(%r9),%xmm0
  cmp    $0x1,%ebp
  je     L7
  subsd  %xmm8,%xmm15
  subsd  %xmm7,%xmm14
  subsd  %xmm6,%xmm13
  subsd  %xmm5,%xmm12
  subsd  %xmm4,%xmm3
  subsd  %xmm9,%xmm2
  subsd  %xmm10,%xmm1
  subsd  %xmm11,%xmm0
  movapd %xmm15,%xmm8
  movapd %xmm14,%xmm7
  movapd %xmm13,%xmm6
  movapd %xmm12,%xmm5
  movapd %xmm3,%xmm4
  movapd %xmm2,%xmm9
  movapd %xmm1,%xmm10
  movapd %xmm0,%xmm11
L84:
  movsd  %xmm8,(%rbx)
  movsd  %xmm7,0x8(%rbx)
  movsd  %xmm6,0x10(%rbx)
  movsd  %xmm5,0x18(%rbx)
  movsd  %xmm4,0x20(%rbx)
  cmp    $0x7,%edi
  jle    L67
  movsd  %xmm9,0x28(%rbx)
  movsd  %xmm10,0x30(%rbx)
  movsd  %xmm11,0x38(%rbx)
L50:
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  ret
  nop
L67:
  cmp    $0x5,%edi
  jle    L50
  movsd  %xmm9,0x28(%rbx)
  cmp    $0x7,%edi
  jne    L50
  movsd  %xmm10,0x30(%rbx)
  jmp    L50
  nopl   0x0(%rax,%rax,1)
L7:
  addsd  %xmm15,%xmm8
  addsd  %xmm14,%xmm7
  addsd  %xmm13,%xmm6
  addsd  %xmm12,%xmm5
  addsd  %xmm3,%xmm4
  addsd  %xmm2,%xmm9
  addsd  %xmm1,%xmm10
  addsd  %xmm0,%xmm11
  jmp    L84
  nopl   0x0(%rax)
L21:
  pxor   %xmm11,%xmm11
  mov    %r8,%r12
  xor    %edx,%edx
  movapd %xmm11,%xmm10
  movapd %xmm11,%xmm9
  movapd %xmm11,%xmm4
  movapd %xmm11,%xmm5
  movapd %xmm11,%xmm6
  movapd %xmm11,%xmm7
  movapd %xmm11,%xmm8
  jmp    L127
```

assistant: ```c
void kernel_dgemv_n_8_vs_lib4(int km, int kmax, double *A0, int sda, double *x, double *y, double *z, int alg) {
  if (kmax <= 0)
    return;
  double *A1 = A0 + 4 * sda;
  const int lda = 4;
  int k;
  double x_0, x_1, x_2, x_3, y_0 = 0, y_1 = 0, y_2 = 0, y_3 = 0, y_4 = 0, y_5 = 0, y_6 = 0, y_7 = 0;
  k = 0;
  for (; k < kmax - 3; k += 4) {
    x_0 = x[0];
    x_1 = x[1];
    x_2 = x[2];
    x_3 = x[3];
    y_0 += A0[0 + lda * 0] * x_0;
    y_1 += A0[1 + lda * 0] * x_0;
    y_2 += A0[2 + lda * 0] * x_0;
    y_3 += A0[3 + lda * 0] * x_0;
    y_4 += A1[0 + lda * 0] * x_0;
    y_5 += A1[1 + lda * 0] * x_0;
    y_6 += A1[2 + lda * 0] * x_0;
    y_7 += A1[3 + lda * 0] * x_0;
    y_0 += A0[0 + lda * 1] * x_1;
    y_1 += A0[1 + lda * 1] * x_1;
    y_2 += A0[2 + lda * 1] * x_1;
    y_3 += A0[3 + lda * 1] * x_1;
    y_4 += A1[0 + lda * 1] * x_1;
    y_5 += A1[1 + lda * 1] * x_1;
    y_6 += A1[2 + lda * 1] * x_1;
    y_7 += A1[3 + lda * 1] * x_1;
    y_0 += A0[0 + lda * 2] * x_2;
    y_1 += A0[1 + lda * 2] * x_2;
    y_2 += A0[2 + lda * 2] * x_2;
    y_3 += A0[3 + lda * 2] * x_2;
    y_4 += A1[0 + lda * 2] * x_2;
    y_5 += A1[1 + lda * 2] * x_2;
    y_6 += A1[2 + lda * 2] * x_2;
    y_7 += A1[3 + lda * 2] * x_2;
    y_0 += A0[0 + lda * 3] * x_3;
    y_1 += A0[1 + lda * 3] * x_3;
    y_2 += A0[2 + lda * 3] * x_3;
    y_3 += A0[3 + lda * 3] * x_3;
    y_4 += A1[0 + lda * 3] * x_3;
    y_5 += A1[1 + lda * 3] * x_3;
    y_6 += A1[2 + lda * 3] * x_3;
    y_7 += A1[3 + lda * 3] * x_3;
    A0 += 4 * lda;
    A1 += 4 * lda;
    x += 4;
  }
  for (; k < kmax; k++) {
    x_0 = x[0];
    y_0 += A0[0 + lda * 0] * x_0;
    y_1 += A0[1 + lda * 0] * x_0;
    y_2 += A0[2 + lda * 0] * x_0;
    y_3 += A0[3 + lda * 0] * x_0;
    y_4 += A1[0 + lda * 0] * x_0;
    y_5 += A1[1 + lda * 0] * x_0;
    y_6 += A1[2 + lda * 0] * x_0;
    y_7 += A1[3 + lda * 0] * x_0;
    A0 += 1 * lda;
    A1 += 1 * lda;
    x += 1;
  }
  if (alg == 0) {
    goto store;
  } else if (alg == 1) {
    y_0 += y[0];
    y_1 += y[1];
    y_2 += y[2];
    y_3 += y[3];
    y_4 += y[4];
    y_5 += y[5];
    y_6 += y[6];
    y_7 += y[7];
    goto store;
  } else {
    y_0 = y[0] - y_0;
    y_1 = y[1] - y_1;
    y_2 = y[2] - y_2;
    y_3 = y[3] - y_3;
    y_4 = y[4] - y_4;
    y_5 = y[5] - y_5;
    y_6 = y[6] - y_6;
    y_7 = y[7] - y_7;
    goto store;
  }
store:
  z[0] = y_0;
  z[1] = y_1;
  z[2] = y_2;
  z[3] = y_3;
  if (km >= 8) {
    z[4] = y_4;
    z[5] = y_5;
    z[6] = y_6;
    z[7] = y_7;
  } else {
    z[4] = y_4;
    if (km >= 6) {
      z[5] = y_5;
      if (km > 6) {
        z[6] = y_6;
      }
    }
  }
}
```