user: 这段汇编代码用C语言表示是什么样的：

```asm
<kernel_sgemv_n_2_lib8>:
  endbr64
  test   %edi,%edi
  jle    L88
  mov    %rsi,%rax
  mov    %rdx,%r9
  mov    %rcx,%r10
  cmp    $0x3,%edi
  jle    L111
  lea    -0x4(%rdi),%esi
  xorps  %xmm1,%xmm1
  shr    $0x2,%esi
  lea    0x1(%rsi),%r11d
  mov    %r11,%rcx
  mov    %r11,%rsi
  shl    $0x7,%rcx
  add    %rax,%rcx
  nopl   0x0(%rax,%rax,1)
L3:
  movq   (%rdx),%xmm3
  movq   (%rax),%xmm0
  sub    $0xffffffffffffff80,%rax
  add    $0x10,%rdx
  movq   -0x8(%rdx),%xmm2
  movaps %xmm3,%xmm4
  shufps $0xe5,%xmm3,%xmm3
  shufps $0xe0,%xmm4,%xmm4
  mulps  %xmm4,%xmm0
  addps  %xmm1,%xmm0
  movq   -0x60(%rax),%xmm1
  mulps  %xmm3,%xmm1
  movq   -0x40(%rax),%xmm3
  addps  %xmm1,%xmm0
  movaps %xmm2,%xmm1
  shufps $0xe5,%xmm2,%xmm2
  shufps $0xe0,%xmm1,%xmm1
  mulps  %xmm3,%xmm1
  addps  %xmm1,%xmm0
  movq   -0x20(%rax),%xmm1
  mulps  %xmm2,%xmm1
  addps  %xmm0,%xmm1
  cmp    %rcx,%rax
  jne    L3
  shl    $0x4,%r11
  shl    $0x2,%esi
  add    %r11,%r9
  cmp    %esi,%edi
  jle    L80
L148:
  mov    %edi,%eax
  mov    $0x1,%edx
  push   %rbx
  sub    %esi,%eax
  cmp    %edi,%esi
  cmovl  %eax,%edx
  sub    $0x1,%eax
  cmp    $0x3,%eax
  jbe    L43
  cmp    %edi,%esi
  jge    L43
  sub    $0x1,%edx
  mov    %rcx,%rax
  mov    %r9,%r11
  mov    %edx,%ebx
  shr    $0x2,%ebx
  sub    $0x1,%ebx
  shl    $0x7,%rbx
  lea    0x80(%rcx,%rbx,1),%rbx
L36:
  movups (%rax),%xmm2
  movups 0x10(%rax),%xmm7
  sub    $0xffffffffffffff80,%rax
  add    $0x10,%r11
  movups -0x60(%rax),%xmm5
  movups -0x40(%rax),%xmm3
  movaps %xmm2,%xmm0
  movups -0x20(%rax),%xmm4
  movups -0x10(%rax),%xmm8
  shufps $0x88,%xmm7,%xmm0
  movups -0x50(%rax),%xmm7
  movaps %xmm5,%xmm6
  shufps $0x88,%xmm7,%xmm6
  movups -0x30(%rax),%xmm7
  shufps $0x88,%xmm6,%xmm0
  movaps %xmm3,%xmm6
  shufps $0x88,%xmm7,%xmm6
  movaps %xmm4,%xmm7
  shufps $0xdd,%xmm8,%xmm4
  shufps $0x88,%xmm8,%xmm7
  shufps $0x88,%xmm7,%xmm6
  movups -0x10(%r11),%xmm7
  shufps $0x88,%xmm6,%xmm0
  movups -0x70(%rax),%xmm6
  mulps  %xmm7,%xmm0
  movups -0x50(%rax),%xmm7
  shufps $0xdd,%xmm6,%xmm2
  shufps $0xdd,%xmm7,%xmm5
  shufps $0x88,%xmm5,%xmm2
  movups -0x30(%rax),%xmm5
  shufps $0xdd,%xmm5,%xmm3
  movups -0x10(%r11),%xmm5
  shufps $0x88,%xmm4,%xmm3
  shufps $0x88,%xmm3,%xmm2
  movaps %xmm0,%xmm3
  mulps  %xmm5,%xmm2
  unpcklps %xmm2,%xmm3
  movaps %xmm2,%xmm4
  addps  %xmm3,%xmm1
  movaps %xmm0,%xmm3
  shufps $0x55,%xmm2,%xmm4
  shufps $0x55,%xmm0,%xmm3
  unpcklps %xmm4,%xmm3
  unpckhps %xmm2,%xmm0
  movaps %xmm0,%xmm2
  addps  %xmm3,%xmm1
  shufps $0xd4,%xmm0,%xmm2
  shufps $0xde,%xmm0,%xmm0
  addps  %xmm2,%xmm1
  addps  %xmm0,%xmm1
  cmp    %rbx,%rax
  jne    L36
  and    $0xfffffffc,%edx
  mov    %edx,%eax
  add    %edx,%esi
  mov    %rax,%r11
  lea    (%r9,%rax,4),%r9
  shl    $0x5,%r11
  add    %r11,%rcx
L43:
  movss  (%r9),%xmm2
  movq   (%rcx),%xmm0
  lea    0x1(%rsi),%eax
  shufps $0xe0,%xmm2,%xmm2
  mulps  %xmm2,%xmm0
  addps  %xmm0,%xmm1
  cmp    %edi,%eax
  jge    L120
  movss  0x4(%r9),%xmm2
  movq   0x20(%rcx),%xmm0
  lea    0x2(%rsi),%eax
  shufps $0xe0,%xmm2,%xmm2
  mulps  %xmm2,%xmm0
  addps  %xmm0,%xmm1
  cmp    %eax,%edi
  jle    L120
  movss  0x8(%r9),%xmm2
  movq   0x40(%rcx),%xmm0
  add    $0x3,%esi
  shufps $0xe0,%xmm2,%xmm2
  mulps  %xmm2,%xmm0
  addps  %xmm0,%xmm1
  cmp    %esi,%edi
  jle    L120
  movss  0xc(%r9),%xmm2
  movq   0x60(%rcx),%xmm0
  shufps $0xe0,%xmm2,%xmm2
  mulps  %xmm2,%xmm0
  addps  %xmm0,%xmm1
L120:
  test   %r8d,%r8d
  jne    L85
  movlps %xmm1,(%r10)
  pop    %rbx
  ret
  nopl   0x0(%rax)
L85:
  movq   (%r10),%xmm0
  cmp    $0x1,%r8d
  je     L128
  subps  %xmm1,%xmm0
  movlps %xmm0,(%r10)
  pop    %rbx
  ret
  nopl   0x0(%rax)
L88:
  ret
  nopl   0x0(%rax)
L80:
  test   %r8d,%r8d
  jne    L13
  movlps %xmm1,(%r10)
  ret
  nopw   0x0(%rax,%rax,1)
L128:
  addps  %xmm1,%xmm0
  movlps %xmm0,(%r10)
  pop    %rbx
  ret
  nopl   0x0(%rax)
L13:
  movq   (%r10),%xmm0
  cmp    $0x1,%r8d
  je     L124
  subps  %xmm1,%xmm0
  movlps %xmm0,(%r10)
  ret
  nopl   0x0(%rax,%rax,1)
L111:
  mov    %rsi,%rcx
  xorps  %xmm1,%xmm1
  xor    %esi,%esi
  jmp    L148
L124:
  addps  %xmm1,%xmm0
  movlps %xmm0,(%r10)
  ret
```

assistant: ```c
void kernel_sgemv_n_2_lib8(int kmax, float *A, float *x, float *y, int alg) {
  if (kmax <= 0)
    return;
  const int lda = 8;
  int k;
  float x_0, x_1, x_2, x_3, y_0 = 0, y_1 = 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 += A[0 + lda * 0] * x_0;
    y_1 += A[1 + lda * 0] * x_0;
    y_0 += A[0 + lda * 1] * x_1;
    y_1 += A[1 + lda * 1] * x_1;
    y_0 += A[0 + lda * 2] * x_2;
    y_1 += A[1 + lda * 2] * x_2;
    y_0 += A[0 + lda * 3] * x_3;
    y_1 += A[1 + lda * 3] * x_3;
    A += 4 * lda;
    x += 4;
  }
  for (; k < kmax; k++) {
    x_0 = x[0];
    y_0 += A[0 + lda * 0] * x_0;
    y_1 += A[1 + lda * 0] * x_0;
    A += 1 * lda;
    x += 1;
  }
  if (alg == 0) {
    y[0] = y_0;
    y[1] = y_1;
  } else if (alg == 1) {
    y[0] += y_0;
    y[1] += y_1;
  } else {
    y[0] -= y_0;
    y[1] -= y_1;
  }
}
```