user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<kernel_strmv_u_t_2_lib8>:
  endbr64
  push   %rbx
  cmp    $0x7,%edi
  jle    L39
  lea    -0x8(%rdi),%eax
  shl    $0x3,%edx
  pxor   %xmm0,%xmm0
  shr    $0x3,%eax
  movslq %edx,%rdx
  movaps %xmm0,%xmm5
  lea    0x1(%rax),%ebx
  shl    $0x2,%rdx
  mov    %rsi,%rax
  mov    %rbx,%r10
  mov    %rbx,%r11
  shl    $0x5,%r10
  add    %rcx,%r10
  nopl   0x0(%rax,%rax,1)
L87:
  movss  (%rcx),%xmm3
  movss  (%rax),%xmm6
  add    $0x20,%rcx
  movss  -0x1c(%rcx),%xmm2
  movss  -0x18(%rcx),%xmm1
  mulss  %xmm3,%xmm6
  movss  -0x14(%rcx),%xmm4
  mulss  0x20(%rax),%xmm3
  addss  %xmm5,%xmm6
  movss  0x4(%rax),%xmm5
  addss  %xmm0,%xmm3
  movss  0x8(%rax),%xmm0
  mulss  %xmm2,%xmm5
  mulss  0x24(%rax),%xmm2
  mulss  %xmm1,%xmm0
  mulss  0x28(%rax),%xmm1
  addss  %xmm6,%xmm5
  movss  0xc(%rax),%xmm6
  addss  %xmm3,%xmm2
  movss  -0x10(%rcx),%xmm3
  mulss  %xmm4,%xmm6
  mulss  0x2c(%rax),%xmm4
  addss  %xmm5,%xmm0
  movss  0x10(%rax),%xmm5
  addss  %xmm2,%xmm1
  movss  -0xc(%rcx),%xmm2
  mulss  %xmm3,%xmm5
  mulss  0x30(%rax),%xmm3
  addss  %xmm0,%xmm6
  movss  -0x4(%rcx),%xmm0
  addss  %xmm1,%xmm4
  movss  -0x8(%rcx),%xmm1
  addss  %xmm6,%xmm5
  addss  %xmm4,%xmm3
  movss  0x14(%rax),%xmm4
  mulss  %xmm2,%xmm4
  mulss  0x34(%rax),%xmm2
  addss  %xmm5,%xmm4
  movss  0x1c(%rax),%xmm5
  addss  %xmm3,%xmm2
  movss  0x18(%rax),%xmm3
  mulss  %xmm0,%xmm5
  mulss  %xmm1,%xmm3
  mulss  0x38(%rax),%xmm1
  mulss  0x3c(%rax),%xmm0
  add    %rdx,%rax
  addss  %xmm4,%xmm3
  addss  %xmm2,%xmm1
  addss  %xmm3,%xmm5
  addss  %xmm1,%xmm0
  cmp    %r10,%rcx
  jne    L87
  imul   %rbx,%rdx
  lea    0x0(,%r11,8),%eax
  add    %rdx,%rsi
  lea    -0x3(%rdi),%edx
  movss  (%rsi),%xmm3
  cmp    %eax,%edx
  jle    L48
L74:
  lea    -0x4(%rdi),%edx
  movss  0x10(%rsi),%xmm8
  sub    %eax,%edx
  mov    %r10,%rax
  shr    $0x2,%edx
  add    $0x1,%edx
  shl    $0x4,%rdx
  lea    (%rsi,%rdx,1),%rcx
  jmp    L59
  nopw   0x0(%rax,%rax,1)
L6:
  movaps %xmm7,%xmm8
L59:
  movss  (%rax),%xmm2
  movss  0x20(%rsi),%xmm7
  add    $0x10,%rsi
  add    $0x10,%rax
  movss  -0xc(%rax),%xmm1
  movss  -0x8(%rax),%xmm4
  mulss  %xmm2,%xmm3
  movss  -0x4(%rax),%xmm6
  mulss  %xmm7,%xmm2
  addss  %xmm5,%xmm3
  movss  -0x4(%rsi),%xmm5
  addss  %xmm0,%xmm2
  movss  -0xc(%rsi),%xmm0
  mulss  %xmm6,%xmm5
  mulss  %xmm1,%xmm0
  mulss  0x14(%rsi),%xmm1
  mulss  0x1c(%rsi),%xmm6
  addss  %xmm3,%xmm0
  movaps %xmm8,%xmm3
  addss  %xmm2,%xmm1
  movss  -0x8(%rsi),%xmm2
  mulss  %xmm4,%xmm2
  mulss  0x18(%rsi),%xmm4
  addss  %xmm0,%xmm2
  movaps %xmm4,%xmm0
  addss  %xmm1,%xmm0
  addss  %xmm2,%xmm5
  addss  %xmm6,%xmm0
  cmp    %rcx,%rsi
  jne    L6
  add    %rdx,%r10
L75:
  movss  (%r10),%xmm1
  mulss  %xmm1,%xmm8
  mulss  0x20(%rcx),%xmm1
  addss  %xmm5,%xmm8
  addss  %xmm0,%xmm1
  movss  0x24(%rcx),%xmm0
  mulss  0x4(%r10),%xmm0
  addss  %xmm1,%xmm0
  test   %r9d,%r9d
  je     L30
  movss  (%r8),%xmm2
  movss  0x4(%r8),%xmm1
  cmp    $0x1,%r9d
  je     L83
  subss  %xmm8,%xmm2
  subss  %xmm0,%xmm1
  movaps %xmm2,%xmm8
  movaps %xmm1,%xmm0
L30:
  movss  %xmm8,(%r8)
  pop    %rbx
  movss  %xmm0,0x4(%r8)
  ret
  nopl   0x0(%rax,%rax,1)
L83:
  addss  %xmm2,%xmm8
  addss  %xmm1,%xmm0
  pop    %rbx
  movss  %xmm8,(%r8)
  movss  %xmm0,0x4(%r8)
  ret
  cs nopw 0x0(%rax,%rax,1)
L39:
  pxor   %xmm0,%xmm0
  xor    %eax,%eax
  lea    -0x3(%rdi),%edx
  movss  (%rsi),%xmm3
  mov    %rcx,%r10
  movaps %xmm0,%xmm5
  cmp    %eax,%edx
  jg     L74
  nopl   0x0(%rax,%rax,1)
L48:
  movaps %xmm3,%xmm8
  mov    %rsi,%rcx
  jmp    L75
```

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