user: 请将以下的汇编代码转换成C语言代码:

```asm
<kernel_strmv_u_n_4_lib4>:
  endbr64
  test   %edi,%edi
  jle    L64
  push   %rbx
  movss  (%rsi),%xmm2
  pxor   %xmm3,%xmm3
  mov    %edi,%r9d
  mulss  (%rdx),%xmm2
  movss  0x4(%rdx),%xmm1
  mov    %rcx,%r10
  lea    0x40(%rsi),%rax
  movss  0x10(%rsi),%xmm4
  movss  0x8(%rdx),%xmm0
  lea    0x10(%rdx),%rdi
  movss  0xc(%rdx),%xmm8
  movss  0x30(%rsi),%xmm6
  mulss  %xmm1,%xmm4
  movss  0x34(%rsi),%xmm5
  mulss  %xmm8,%xmm6
  addss  %xmm3,%xmm2
  mulss  0x14(%rsi),%xmm1
  mulss  %xmm8,%xmm5
  addss  %xmm4,%xmm2
  movss  0x20(%rsi),%xmm4
  mulss  %xmm0,%xmm4
  addss  %xmm3,%xmm1
  addss  %xmm2,%xmm4
  movss  0x24(%rsi),%xmm2
  mulss  %xmm0,%xmm2
  mulss  0x28(%rsi),%xmm0
  addss  %xmm4,%xmm6
  movss  0x38(%rsi),%xmm4
  mulss  %xmm8,%xmm4
  mulss  0x3c(%rsi),%xmm8
  addss  %xmm2,%xmm1
  addss  %xmm3,%xmm0
  addss  %xmm1,%xmm5
  addss  %xmm0,%xmm4
  addss  %xmm3,%xmm8
  cmp    $0x7,%r9d
  jle    L65
  lea    -0x8(%r9),%ebx
  shr    $0x2,%ebx
  mov    %ebx,%r11d
  lea    0x2(%r11),%rdx
  shl    $0x6,%rdx
  lea    (%rsi,%rdx,1),%rcx
  mov    %rdi,%rdx
  nopl   0x0(%rax)
L14:
  movss  (%rdx),%xmm2
  movss  (%rax),%xmm7
  add    $0x40,%rax
  add    $0x10,%rdx
  movss  -0xc(%rdx),%xmm1
  movss  -0x8(%rdx),%xmm0
  mulss  %xmm2,%xmm7
  movss  -0x4(%rdx),%xmm3
  addss  %xmm6,%xmm7
  movss  -0x3c(%rax),%xmm6
  mulss  %xmm2,%xmm6
  addss  %xmm5,%xmm6
  movss  -0x38(%rax),%xmm5
  mulss  %xmm2,%xmm5
  mulss  -0x34(%rax),%xmm2
  addss  %xmm4,%xmm5
  movss  -0x30(%rax),%xmm4
  addss  %xmm8,%xmm2
  mulss  %xmm1,%xmm4
  addss  %xmm7,%xmm4
  movss  -0x2c(%rax),%xmm7
  mulss  %xmm1,%xmm7
  addss  %xmm6,%xmm7
  movss  -0x28(%rax),%xmm6
  mulss  %xmm1,%xmm6
  mulss  -0x24(%rax),%xmm1
  addss  %xmm5,%xmm6
  movss  -0x20(%rax),%xmm5
  addss  %xmm2,%xmm1
  movss  -0x18(%rax),%xmm2
  mulss  %xmm0,%xmm5
  mulss  %xmm0,%xmm2
  addss  %xmm4,%xmm5
  movss  -0x1c(%rax),%xmm4
  addss  %xmm6,%xmm2
  movss  -0x10(%rax),%xmm6
  mulss  %xmm0,%xmm4
  mulss  %xmm3,%xmm6
  mulss  -0x14(%rax),%xmm0
  addss  %xmm7,%xmm4
  addss  %xmm5,%xmm6
  movss  -0xc(%rax),%xmm5
  addss  %xmm1,%xmm0
  mulss  %xmm3,%xmm5
  addss  %xmm4,%xmm5
  movss  -0x8(%rax),%xmm4
  mulss  %xmm3,%xmm4
  mulss  -0x4(%rax),%xmm3
  addss  %xmm2,%xmm4
  addss  %xmm0,%xmm3
  movaps %xmm3,%xmm8
  cmp    %rcx,%rax
  jne    L14
  add    $0x1,%r11
  lea    0x8(,%rbx,4),%edx
  shl    $0x4,%r11
  add    %r11,%rdi
L69:
  cmp    %edx,%r9d
  jle    L1
  lea    -0x1(%r9),%eax
  sub    %edx,%eax
  lea    0x4(%rdi,%rax,4),%rax
L21:
  movss  (%rdi),%xmm0
  movss  (%rcx),%xmm1
  add    $0x4,%rdi
  add    $0x10,%rcx
  mulss  %xmm0,%xmm1
  addss  %xmm1,%xmm6
  movss  -0xc(%rcx),%xmm1
  mulss  %xmm0,%xmm1
  addss  %xmm1,%xmm5
  movss  -0x8(%rcx),%xmm1
  mulss  %xmm0,%xmm1
  mulss  -0x4(%rcx),%xmm0
  addss  %xmm1,%xmm4
  addss  %xmm0,%xmm8
  cmp    %rax,%rdi
  jne    L21
L1:
  test   %r8d,%r8d
  je     L77
  movss  (%r10),%xmm3
  movss  0x4(%r10),%xmm2
  movss  0x8(%r10),%xmm1
  movss  0xc(%r10),%xmm0
  cmp    $0x1,%r8d
  je     L17
  subss  %xmm6,%xmm3
  subss  %xmm5,%xmm2
  subss  %xmm4,%xmm1
  subss  %xmm8,%xmm0
  movss  %xmm3,(%r10)
  movss  %xmm2,0x4(%r10)
  movss  %xmm1,0x8(%r10)
  movss  %xmm0,0xc(%r10)
  pop    %rbx
  ret
  nopw   0x0(%rax,%rax,1)
L77:
  movss  %xmm6,(%r10)
  movss  %xmm5,0x4(%r10)
  movss  %xmm4,0x8(%r10)
  movss  %xmm8,0xc(%r10)
  pop    %rbx
  ret
  nopl   0x0(%rax)
L64:
  ret
  nopl   0x0(%rax)
L17:
  addss  %xmm6,%xmm3
  addss  %xmm5,%xmm2
  addss  %xmm4,%xmm1
  addss  %xmm8,%xmm0
  movss  %xmm3,(%r10)
  movss  %xmm2,0x4(%r10)
  movss  %xmm1,0x8(%r10)
  movss  %xmm0,0xc(%r10)
  pop    %rbx
  ret
  nopw   0x0(%rax,%rax,1)
L65:
  mov    %rax,%rcx
  mov    $0x4,%edx
  jmp    L69
```

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