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

```asm
<kernel_strmv_u_n_8_lib4>:
  endbr64
  mov    %edi,%r11d
  test   %edi,%edi
  jle    L7
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdx,%rdi
  movss  0x4(%rcx),%xmm1
  movss  0x8(%rcx),%xmm0
  movss  0xc(%rcx),%xmm3
  movss  (%rsi),%xmm4
  mulss  (%rcx),%xmm4
  pxor   %xmm2,%xmm2
  addss  %xmm2,%xmm4
  movaps %xmm1,%xmm5
  mulss  0x10(%rsi),%xmm5
  addss  %xmm5,%xmm4
  mulss  0x14(%rsi),%xmm1
  addss  %xmm2,%xmm1
  movaps %xmm0,%xmm5
  mulss  0x20(%rsi),%xmm5
  addss  %xmm4,%xmm5
  movaps %xmm0,%xmm4
  mulss  0x24(%rsi),%xmm4
  addss  %xmm4,%xmm1
  mulss  0x28(%rsi),%xmm0
  addss  %xmm2,%xmm0
  movaps %xmm3,%xmm8
  mulss  0x30(%rsi),%xmm8
  addss  %xmm5,%xmm8
  movaps %xmm3,%xmm7
  mulss  0x34(%rsi),%xmm7
  addss  %xmm1,%xmm7
  movaps %xmm3,%xmm6
  mulss  0x38(%rsi),%xmm6
  addss  %xmm0,%xmm6
  mulss  0x3c(%rsi),%xmm3
  addss  %xmm2,%xmm3
  movss  0x10(%rcx),%xmm4
  movss  0x14(%rcx),%xmm1
  movss  0x18(%rcx),%xmm0
  movss  0x1c(%rcx),%xmm11
  movaps %xmm4,%xmm5
  mulss  0x40(%rsi),%xmm5
  addss  %xmm8,%xmm5
  movaps %xmm4,%xmm9
  mulss  0x44(%rsi),%xmm9
  addss  %xmm7,%xmm9
  movaps %xmm4,%xmm8
  mulss  0x48(%rsi),%xmm8
  addss  %xmm6,%xmm8
  movaps %xmm4,%xmm7
  mulss  0x4c(%rsi),%xmm7
  addss  %xmm3,%xmm7
  mulss  0x40(%rdx),%xmm4
  addss  %xmm2,%xmm4
  movaps %xmm1,%xmm6
  mulss  0x50(%rsi),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm1,%xmm5
  mulss  0x54(%rsi),%xmm5
  addss  %xmm9,%xmm5
  movaps %xmm1,%xmm9
  mulss  0x58(%rsi),%xmm9
  addss  %xmm8,%xmm9
  movaps %xmm1,%xmm3
  mulss  0x5c(%rsi),%xmm3
  addss  %xmm7,%xmm3
  movaps %xmm1,%xmm8
  mulss  0x50(%rdx),%xmm8
  addss  %xmm4,%xmm8
  mulss  0x54(%rdx),%xmm1
  addss  %xmm2,%xmm1
  movaps %xmm0,%xmm7
  mulss  0x60(%rsi),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm0,%xmm6
  mulss  0x64(%rsi),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm0,%xmm5
  mulss  0x68(%rsi),%xmm5
  addss  %xmm9,%xmm5
  movaps %xmm0,%xmm4
  mulss  0x6c(%rsi),%xmm4
  addss  %xmm3,%xmm4
  movaps %xmm0,%xmm3
  mulss  0x60(%rdx),%xmm3
  addss  %xmm8,%xmm3
  movaps %xmm0,%xmm8
  mulss  0x64(%rdx),%xmm8
  addss  %xmm8,%xmm1
  mulss  0x68(%rdx),%xmm0
  addss  %xmm2,%xmm0
  movaps %xmm11,%xmm10
  mulss  0x70(%rsi),%xmm10
  addss  %xmm7,%xmm10
  movaps %xmm11,%xmm9
  mulss  0x74(%rsi),%xmm9
  addss  %xmm6,%xmm9
  movaps %xmm11,%xmm8
  mulss  0x78(%rsi),%xmm8
  addss  %xmm5,%xmm8
  movaps %xmm11,%xmm7
  mulss  0x7c(%rsi),%xmm7
  addss  %xmm4,%xmm7
  movaps %xmm11,%xmm6
  mulss  0x70(%rdx),%xmm6
  addss  %xmm3,%xmm6
  movaps %xmm11,%xmm5
  mulss  0x74(%rdx),%xmm5
  addss  %xmm1,%xmm5
  movaps %xmm11,%xmm4
  mulss  0x78(%rdx),%xmm4
  addss  %xmm0,%xmm4
  mulss  0x7c(%rdx),%xmm11
  addss  %xmm2,%xmm11
  lea    0x80(%rsi),%rbx
  sub    $0xffffffffffffff80,%rdi
  lea    0x20(%rcx),%r10
  cmp    $0xb,%r11d
  jle    L12
  lea    -0xc(%r11),%r12d
  shr    $0x2,%r12d
  mov    %r12d,%ebp
  lea    0x3(%rbp),%rdx
  shl    $0x6,%rdx
  lea    (%rsi,%rdx,1),%rsi
  mov    %r10,%rcx
  mov    %rdi,%rdx
  mov    %rbx,%rax
L30:
  movss  (%rcx),%xmm2
  movss  0x4(%rcx),%xmm1
  movss  0x8(%rcx),%xmm0
  movss  0xc(%rcx),%xmm3
  movaps %xmm2,%xmm12
  mulss  (%rax),%xmm12
  addss  %xmm12,%xmm10
  movaps %xmm2,%xmm12
  mulss  0x4(%rax),%xmm12
  addss  %xmm12,%xmm9
  movaps %xmm2,%xmm12
  mulss  0x8(%rax),%xmm12
  addss  %xmm8,%xmm12
  movaps %xmm2,%xmm13
  mulss  0xc(%rax),%xmm13
  addss  %xmm7,%xmm13
  movaps %xmm2,%xmm8
  mulss  (%rdx),%xmm8
  addss  %xmm6,%xmm8
  movaps %xmm2,%xmm7
  mulss  0x4(%rdx),%xmm7
  addss  %xmm5,%xmm7
  movaps %xmm2,%xmm6
  mulss  0x8(%rdx),%xmm6
  addss  %xmm4,%xmm6
  mulss  0xc(%rdx),%xmm2
  addss  %xmm11,%xmm2
  movaps %xmm1,%xmm4
  mulss  0x10(%rax),%xmm4
  addss  %xmm4,%xmm10
  movaps %xmm1,%xmm11
  mulss  0x14(%rax),%xmm11
  addss  %xmm9,%xmm11
  movaps %xmm1,%xmm4
  mulss  0x18(%rax),%xmm4
  addss  %xmm4,%xmm12
  movaps %xmm1,%xmm5
  mulss  0x1c(%rax),%xmm5
  addss  %xmm13,%xmm5
  movaps %xmm1,%xmm4
  mulss  0x10(%rdx),%xmm4
  addss  %xmm8,%xmm4
  movaps %xmm1,%xmm9
  mulss  0x14(%rdx),%xmm9
  addss  %xmm7,%xmm9
  movaps %xmm1,%xmm8
  mulss  0x18(%rdx),%xmm8
  addss  %xmm6,%xmm8
  mulss  0x1c(%rdx),%xmm1
  addss  %xmm2,%xmm1
  movaps %xmm0,%xmm13
  mulss  0x20(%rax),%xmm13
  addss  %xmm10,%xmm13
  movaps %xmm0,%xmm2
  mulss  0x24(%rax),%xmm2
  addss  %xmm2,%xmm11
  movaps %xmm0,%xmm7
  mulss  0x28(%rax),%xmm7
  addss  %xmm12,%xmm7
  movaps %xmm0,%xmm6
  mulss  0x2c(%rax),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm0,%xmm5
  mulss  0x20(%rdx),%xmm5
  addss  %xmm4,%xmm5
  movaps %xmm0,%xmm4
  mulss  0x24(%rdx),%xmm4
  addss  %xmm9,%xmm4
  movaps %xmm0,%xmm2
  mulss  0x28(%rdx),%xmm2
  addss  %xmm8,%xmm2
  mulss  0x2c(%rdx),%xmm0
  addss  %xmm1,%xmm0
  movaps %xmm3,%xmm10
  mulss  0x30(%rax),%xmm10
  addss  %xmm13,%xmm10
  movaps %xmm3,%xmm9
  mulss  0x34(%rax),%xmm9
  addss  %xmm11,%xmm9
  movaps %xmm3,%xmm8
  mulss  0x38(%rax),%xmm8
  addss  %xmm7,%xmm8
  movaps %xmm3,%xmm7
  mulss  0x3c(%rax),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm3,%xmm6
  mulss  0x30(%rdx),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm3,%xmm5
  mulss  0x34(%rdx),%xmm5
  addss  %xmm4,%xmm5
  movaps %xmm3,%xmm4
  mulss  0x38(%rdx),%xmm4
  addss  %xmm2,%xmm4
  mulss  0x3c(%rdx),%xmm3
  addss  %xmm0,%xmm3
  movaps %xmm3,%xmm11
  add    $0x40,%rax
  add    $0x40,%rdx
  add    $0x10,%rcx
  cmp    %rsi,%rax
  jne    L30
  lea    0x1(%rbp),%rax
  mov    %rax,%rdx
  shl    $0x6,%rdx
  add    %rdx,%rbx
  add    %rdx,%rdi
  shl    $0x4,%rax
  add    %rax,%r10
  lea    0xc(,%r12,4),%eax
L71:
  cmp    %eax,%r11d
  jle    L61
  sub    $0x1,%r11d
  sub    %eax,%r11d
  lea    0x4(,%r11,4),%rdx
  mov    $0x0,%eax
L29:
  movss  (%r10,%rax,1),%xmm0
  movaps %xmm0,%xmm1
  mulss  (%rbx,%rax,4),%xmm1
  addss  %xmm1,%xmm10
  movaps %xmm0,%xmm1
  mulss  0x4(%rbx,%rax,4),%xmm1
  addss  %xmm1,%xmm9
  movaps %xmm0,%xmm1
  mulss  0x8(%rbx,%rax,4),%xmm1
  addss  %xmm1,%xmm8
  movaps %xmm0,%xmm1
  mulss  0xc(%rbx,%rax,4),%xmm1
  addss  %xmm1,%xmm7
  movaps %xmm0,%xmm1
  mulss  (%rdi,%rax,4),%xmm1
  addss  %xmm1,%xmm6
  movaps %xmm0,%xmm1
  mulss  0x4(%rdi,%rax,4),%xmm1
  addss  %xmm1,%xmm5
  movaps %xmm0,%xmm1
  mulss  0x8(%rdi,%rax,4),%xmm1
  addss  %xmm1,%xmm4
  mulss  0xc(%rdi,%rax,4),%xmm0
  addss  %xmm0,%xmm11
  add    $0x4,%rax
  cmp    %rdx,%rax
  jne    L29
L61:
  test   %r9d,%r9d
  jne    L78
  movss  %xmm10,(%r8)
  movss  %xmm9,0x4(%r8)
  movss  %xmm8,0x8(%r8)
  movss  %xmm7,0xc(%r8)
  movss  %xmm6,0x10(%r8)
  movss  %xmm5,0x14(%r8)
  movss  %xmm4,0x18(%r8)
  movss  %xmm11,0x1c(%r8)
L35:
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
L12:
  mov    $0x8,%eax
  jmp    L71
L78:
  cmp    $0x1,%r9d
  je     L51
  movss  (%r8),%xmm0
  subss  %xmm10,%xmm0
  movss  %xmm0,(%r8)
  movss  0x4(%r8),%xmm0
  subss  %xmm9,%xmm0
  movss  %xmm0,0x4(%r8)
  movss  0x8(%r8),%xmm0
  subss  %xmm8,%xmm0
  movss  %xmm0,0x8(%r8)
  movss  0xc(%r8),%xmm0
  subss  %xmm7,%xmm0
  movss  %xmm0,0xc(%r8)
  movss  0x10(%r8),%xmm0
  subss  %xmm6,%xmm0
  movss  %xmm0,0x10(%r8)
  movss  0x14(%r8),%xmm0
  subss  %xmm5,%xmm0
  movss  %xmm0,0x14(%r8)
  movss  0x18(%r8),%xmm0
  subss  %xmm4,%xmm0
  movss  %xmm0,0x18(%r8)
  movss  0x1c(%r8),%xmm0
  subss  %xmm11,%xmm0
  movss  %xmm0,0x1c(%r8)
  jmp    L35
L51:
  addss  (%r8),%xmm10
  movss  %xmm10,(%r8)
  addss  0x4(%r8),%xmm9
  movss  %xmm9,0x4(%r8)
  addss  0x8(%r8),%xmm8
  movss  %xmm8,0x8(%r8)
  addss  0xc(%r8),%xmm7
  movss  %xmm7,0xc(%r8)
  addss  0x10(%r8),%xmm6
  movss  %xmm6,0x10(%r8)
  addss  0x14(%r8),%xmm5
  movss  %xmm5,0x14(%r8)
  addss  0x18(%r8),%xmm4
  movss  %xmm4,0x18(%r8)
  addss  0x1c(%r8),%xmm11
  movss  %xmm11,0x1c(%r8)
  jmp    L35
L7:
  ret
```

assistant: ```c
void kernel_strmv_u_n_8_lib4(int kmax, float *A0, float *A1, 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, y_4 = 0, y_5 = 0, y_6 = 0, y_7 = 0;
  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_0 += A0[0 + lda * 1] * x_1;
  y_1 += A0[1 + 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_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;
  A0 += 4 * lda;
  A1 += 4 * lda;
  x += 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_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_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_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;
  k = 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 += 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) {
    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;
  }
}
```