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

```asm
<kernel_strmv_u_t_8_lib4>:
  endbr64
  push   %rbx
  mov    %edx,%r11d
  cmp    $0x7,%edi
  jle    L10
  mov    %edi,%eax
  lea    0x0(,%rdx,4),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,8),%rdi
  lea    (%rsi,%rdx,4),%rdx
  lea    -0x8(%rax),%r10d
  shr    $0x3,%r10d
  add    $0x1,%r10d
  mov    %r10d,%r10d
  mov    %r10,%rbx
  shl    $0x5,%rbx
  add    %rcx,%rbx
  mov    %rsi,%rax
  pxor   %xmm0,%xmm0
  movaps %xmm0,%xmm5
  movaps %xmm0,%xmm6
  movaps %xmm0,%xmm7
  movaps %xmm0,%xmm8
  movaps %xmm0,%xmm9
  movaps %xmm0,%xmm10
  movaps %xmm0,%xmm11
L65:
  movss  (%rcx),%xmm4
  movss  0x4(%rcx),%xmm3
  movss  0x8(%rcx),%xmm2
  movss  0xc(%rcx),%xmm1
  movaps %xmm4,%xmm12
  mulss  (%rax),%xmm12
  addss  %xmm12,%xmm11
  movaps %xmm4,%xmm12
  mulss  0x10(%rax),%xmm12
  addss  %xmm10,%xmm12
  movaps %xmm4,%xmm13
  mulss  0x20(%rax),%xmm13
  addss  %xmm9,%xmm13
  movaps %xmm4,%xmm14
  mulss  0x30(%rax),%xmm14
  addss  %xmm8,%xmm14
  movaps %xmm4,%xmm10
  mulss  0x40(%rax),%xmm10
  addss  %xmm7,%xmm10
  movaps %xmm4,%xmm9
  mulss  0x50(%rax),%xmm9
  addss  %xmm6,%xmm9
  movaps %xmm4,%xmm8
  mulss  0x60(%rax),%xmm8
  addss  %xmm5,%xmm8
  mulss  0x70(%rax),%xmm4
  addss  %xmm0,%xmm4
  movaps %xmm3,%xmm0
  mulss  0x4(%rax),%xmm0
  addss  %xmm0,%xmm11
  movaps %xmm3,%xmm0
  mulss  0x14(%rax),%xmm0
  addss  %xmm0,%xmm12
  movaps %xmm3,%xmm0
  mulss  0x24(%rax),%xmm0
  addss  %xmm0,%xmm13
  movaps %xmm3,%xmm7
  mulss  0x34(%rax),%xmm7
  addss  %xmm14,%xmm7
  movaps %xmm3,%xmm6
  mulss  0x44(%rax),%xmm6
  addss  %xmm10,%xmm6
  movaps %xmm3,%xmm0
  mulss  0x54(%rax),%xmm0
  addss  %xmm9,%xmm0
  movaps %xmm3,%xmm5
  mulss  0x64(%rax),%xmm5
  addss  %xmm8,%xmm5
  mulss  0x74(%rax),%xmm3
  addss  %xmm4,%xmm3
  movaps %xmm2,%xmm4
  mulss  0x8(%rax),%xmm4
  addss  %xmm4,%xmm11
  movaps %xmm2,%xmm10
  mulss  0x18(%rax),%xmm10
  addss  %xmm12,%xmm10
  movaps %xmm2,%xmm9
  mulss  0x28(%rax),%xmm9
  addss  %xmm13,%xmm9
  movaps %xmm2,%xmm8
  mulss  0x38(%rax),%xmm8
  addss  %xmm7,%xmm8
  movaps %xmm2,%xmm7
  mulss  0x48(%rax),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm2,%xmm4
  mulss  0x58(%rax),%xmm4
  addss  %xmm0,%xmm4
  movaps %xmm2,%xmm0
  mulss  0x68(%rax),%xmm0
  addss  %xmm5,%xmm0
  mulss  0x78(%rax),%xmm2
  addss  %xmm2,%xmm3
  movaps %xmm1,%xmm6
  mulss  0xc(%rax),%xmm6
  addss  %xmm11,%xmm6
  movaps %xmm1,%xmm5
  mulss  0x1c(%rax),%xmm5
  addss  %xmm10,%xmm5
  movaps %xmm1,%xmm11
  mulss  0x2c(%rax),%xmm11
  addss  %xmm9,%xmm11
  movaps %xmm1,%xmm12
  mulss  0x3c(%rax),%xmm12
  addss  %xmm8,%xmm12
  movaps %xmm1,%xmm10
  mulss  0x4c(%rax),%xmm10
  addss  %xmm7,%xmm10
  movaps %xmm1,%xmm9
  mulss  0x5c(%rax),%xmm9
  addss  %xmm4,%xmm9
  movaps %xmm1,%xmm8
  mulss  0x6c(%rax),%xmm8
  addss  %xmm0,%xmm8
  mulss  0x7c(%rax),%xmm1
  movaps %xmm1,%xmm2
  addss  %xmm3,%xmm2
  movss  0x10(%rcx),%xmm3
  movss  0x14(%rcx),%xmm4
  movss  0x18(%rcx),%xmm1
  movss  0x1c(%rcx),%xmm0
  movaps %xmm3,%xmm7
  mulss  (%rdx),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm3,%xmm6
  mulss  0x10(%rdx),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm3,%xmm5
  mulss  0x20(%rdx),%xmm5
  addss  %xmm11,%xmm5
  movaps %xmm3,%xmm11
  mulss  0x30(%rdx),%xmm11
  addss  %xmm12,%xmm11
  movaps %xmm3,%xmm12
  mulss  0x40(%rdx),%xmm12
  addss  %xmm10,%xmm12
  movaps %xmm3,%xmm10
  mulss  0x50(%rdx),%xmm10
  addss  %xmm9,%xmm10
  movaps %xmm3,%xmm9
  mulss  0x60(%rdx),%xmm9
  addss  %xmm8,%xmm9
  mulss  0x70(%rdx),%xmm3
  addss  %xmm2,%xmm3
  movaps %xmm4,%xmm8
  mulss  0x4(%rdx),%xmm8
  addss  %xmm7,%xmm8
  movaps %xmm4,%xmm7
  mulss  0x14(%rdx),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm4,%xmm6
  mulss  0x24(%rdx),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm4,%xmm5
  mulss  0x34(%rdx),%xmm5
  addss  %xmm11,%xmm5
  movaps %xmm4,%xmm11
  mulss  0x44(%rdx),%xmm11
  addss  %xmm12,%xmm11
  movaps %xmm4,%xmm2
  mulss  0x54(%rdx),%xmm2
  addss  %xmm10,%xmm2
  movaps %xmm4,%xmm10
  mulss  0x64(%rdx),%xmm10
  addss  %xmm9,%xmm10
  mulss  0x74(%rdx),%xmm4
  addss  %xmm3,%xmm4
  movaps %xmm1,%xmm9
  mulss  0x8(%rdx),%xmm9
  addss  %xmm8,%xmm9
  movaps %xmm1,%xmm8
  mulss  0x18(%rdx),%xmm8
  addss  %xmm7,%xmm8
  movaps %xmm1,%xmm7
  mulss  0x28(%rdx),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm1,%xmm6
  mulss  0x38(%rdx),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm1,%xmm5
  mulss  0x48(%rdx),%xmm5
  addss  %xmm11,%xmm5
  movaps %xmm1,%xmm3
  mulss  0x58(%rdx),%xmm3
  addss  %xmm2,%xmm3
  movaps %xmm1,%xmm2
  mulss  0x68(%rdx),%xmm2
  addss  %xmm10,%xmm2
  mulss  0x78(%rdx),%xmm1
  addss  %xmm4,%xmm1
  movaps %xmm0,%xmm11
  mulss  0xc(%rdx),%xmm11
  addss  %xmm9,%xmm11
  movaps %xmm0,%xmm10
  mulss  0x1c(%rdx),%xmm10
  addss  %xmm8,%xmm10
  movaps %xmm0,%xmm9
  mulss  0x2c(%rdx),%xmm9
  addss  %xmm7,%xmm9
  movaps %xmm0,%xmm8
  mulss  0x3c(%rdx),%xmm8
  addss  %xmm6,%xmm8
  movaps %xmm0,%xmm7
  mulss  0x4c(%rdx),%xmm7
  addss  %xmm5,%xmm7
  movaps %xmm0,%xmm6
  mulss  0x5c(%rdx),%xmm6
  addss  %xmm3,%xmm6
  movaps %xmm0,%xmm5
  mulss  0x6c(%rdx),%xmm5
  addss  %xmm2,%xmm5
  mulss  0x7c(%rdx),%xmm0
  addss  %xmm1,%xmm0
  add    %rdi,%rax
  add    $0x20,%rcx
  add    %rdi,%rdx
  cmp    %rcx,%rbx
  jne    L65
  imul   %r10,%rdi
  add    %rdi,%rsi
L50:
  movss  (%rcx),%xmm1
  movss  0x4(%rcx),%xmm2
  movss  0x8(%rcx),%xmm3
  movss  0xc(%rcx),%xmm4
  movaps %xmm1,%xmm12
  mulss  (%rsi),%xmm12
  addss  %xmm12,%xmm11
  movaps %xmm1,%xmm12
  mulss  0x10(%rsi),%xmm12
  addss  %xmm12,%xmm10
  movaps %xmm1,%xmm12
  mulss  0x20(%rsi),%xmm12
  addss  %xmm12,%xmm9
  movaps %xmm1,%xmm12
  mulss  0x30(%rsi),%xmm12
  addss  %xmm8,%xmm12
  movaps %xmm1,%xmm8
  mulss  0x40(%rsi),%xmm8
  addss  %xmm8,%xmm7
  movaps %xmm1,%xmm8
  mulss  0x50(%rsi),%xmm8
  addss  %xmm8,%xmm6
  movaps %xmm1,%xmm8
  mulss  0x60(%rsi),%xmm8
  addss  %xmm8,%xmm5
  mulss  0x70(%rsi),%xmm1
  addss  %xmm0,%xmm1
  movaps %xmm2,%xmm8
  mulss  0x14(%rsi),%xmm8
  addss  %xmm10,%xmm8
  movaps %xmm2,%xmm10
  mulss  0x24(%rsi),%xmm10
  addss  %xmm9,%xmm10
  movaps %xmm2,%xmm9
  mulss  0x34(%rsi),%xmm9
  addss  %xmm12,%xmm9
  movaps %xmm2,%xmm12
  mulss  0x44(%rsi),%xmm12
  addss  %xmm7,%xmm12
  movaps %xmm2,%xmm0
  mulss  0x54(%rsi),%xmm0
  addss  %xmm6,%xmm0
  movaps %xmm2,%xmm6
  mulss  0x64(%rsi),%xmm6
  addss  %xmm5,%xmm6
  mulss  0x74(%rsi),%xmm2
  addss  %xmm1,%xmm2
  movaps %xmm3,%xmm7
  mulss  0x28(%rsi),%xmm7
  addss  %xmm10,%xmm7
  movaps %xmm3,%xmm1
  mulss  0x38(%rsi),%xmm1
  addss  %xmm1,%xmm9
  movaps %xmm3,%xmm5
  mulss  0x48(%rsi),%xmm5
  addss  %xmm12,%xmm5
  movaps %xmm3,%xmm1
  mulss  0x58(%rsi),%xmm1
  addss  %xmm0,%xmm1
  movaps %xmm3,%xmm0
  mulss  0x68(%rsi),%xmm0
  addss  %xmm6,%xmm0
  mulss  0x78(%rsi),%xmm3
  addss  %xmm2,%xmm3
  movaps %xmm4,%xmm6
  mulss  0x3c(%rsi),%xmm6
  addss  %xmm9,%xmm6
  movaps %xmm4,%xmm10
  mulss  0x4c(%rsi),%xmm10
  addss  %xmm5,%xmm10
  movaps %xmm4,%xmm5
  mulss  0x5c(%rsi),%xmm5
  addss  %xmm1,%xmm5
  movaps %xmm4,%xmm9
  mulss  0x6c(%rsi),%xmm9
  addss  %xmm0,%xmm9
  mulss  0x7c(%rsi),%xmm4
  addss  %xmm3,%xmm4
  movaps %xmm4,%xmm0
  shl    $0x2,%r11d
  movslq %r11d,%r11
  lea    (%rsi,%r11,4),%rax
  movss  0x10(%rcx),%xmm4
  movss  0x14(%rcx),%xmm1
  movss  0x18(%rcx),%xmm2
  movaps %xmm4,%xmm3
  mulss  0x40(%rax),%xmm3
  addss  %xmm3,%xmm10
  movaps %xmm4,%xmm3
  mulss  0x50(%rax),%xmm3
  addss  %xmm5,%xmm3
  movaps %xmm4,%xmm5
  mulss  0x60(%rax),%xmm5
  addss  %xmm9,%xmm5
  mulss  0x70(%rax),%xmm4
  addss  %xmm0,%xmm4
  movaps %xmm1,%xmm0
  mulss  0x54(%rax),%xmm0
  addss  %xmm3,%xmm0
  movaps %xmm0,%xmm9
  movaps %xmm1,%xmm3
  mulss  0x64(%rax),%xmm3
  addss  %xmm5,%xmm3
  mulss  0x74(%rax),%xmm1
  movaps %xmm1,%xmm0
  addss  %xmm4,%xmm0
  movaps %xmm2,%xmm1
  mulss  0x68(%rax),%xmm1
  addss  %xmm3,%xmm1
  mulss  0x78(%rax),%xmm2
  addss  %xmm0,%xmm2
  movss  0x7c(%rax),%xmm0
  mulss  0x1c(%rcx),%xmm0
  addss  %xmm2,%xmm0
  test   %r9d,%r9d
  jne    L60
  movss  %xmm11,(%r8)
  movss  %xmm8,0x4(%r8)
  movss  %xmm7,0x8(%r8)
  movss  %xmm6,0xc(%r8)
  movss  %xmm10,0x10(%r8)
  movss  %xmm9,0x14(%r8)
  movss  %xmm1,0x18(%r8)
L28:
  movss  %xmm0,0x1c(%r8)
  pop    %rbx
  ret
L10:
  pxor   %xmm0,%xmm0
  movaps %xmm0,%xmm5
  movaps %xmm0,%xmm6
  movaps %xmm0,%xmm7
  movaps %xmm0,%xmm8
  movaps %xmm0,%xmm9
  movaps %xmm0,%xmm10
  movaps %xmm0,%xmm11
  jmp    L50
L60:
  cmp    $0x1,%r9d
  je     L59
  movss  (%r8),%xmm2
  subss  %xmm11,%xmm2
  movss  %xmm2,(%r8)
  movss  0x4(%r8),%xmm2
  subss  %xmm8,%xmm2
  movss  %xmm2,0x4(%r8)
  movss  0x8(%r8),%xmm2
  subss  %xmm7,%xmm2
  movss  %xmm2,0x8(%r8)
  movss  0xc(%r8),%xmm2
  subss  %xmm6,%xmm2
  movss  %xmm2,0xc(%r8)
  movss  0x10(%r8),%xmm2
  subss  %xmm10,%xmm2
  movss  %xmm2,0x10(%r8)
  movss  0x14(%r8),%xmm2
  subss  %xmm9,%xmm2
  movss  %xmm2,0x14(%r8)
  movss  0x18(%r8),%xmm2
  subss  %xmm1,%xmm2
  movss  %xmm2,0x18(%r8)
  movss  0x1c(%r8),%xmm1
  subss  %xmm0,%xmm1
  movaps %xmm1,%xmm0
  jmp    L28
L59:
  addss  (%r8),%xmm11
  movss  %xmm11,(%r8)
  addss  0x4(%r8),%xmm8
  movss  %xmm8,0x4(%r8)
  addss  0x8(%r8),%xmm7
  movss  %xmm7,0x8(%r8)
  addss  0xc(%r8),%xmm6
  movss  %xmm6,0xc(%r8)
  addss  0x10(%r8),%xmm10
  movss  %xmm10,0x10(%r8)
  addss  0x14(%r8),%xmm9
  movss  %xmm9,0x14(%r8)
  addss  0x18(%r8),%xmm1
  movss  %xmm1,0x18(%r8)
  addss  0x1c(%r8),%xmm0
  jmp    L28
```

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