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

```asm
<kernel_strmv_un_4_lib4>:
  endbr64
  push   %rbp
  movss  0x4(%rdx),%xmm1
  pxor   %xmm3,%xmm3
  mov    %rdx,%r10
  push   %rbx
  movss  (%rsi),%xmm2
  mov    %ecx,%r11d
  add    $0x10,%rdx
  mulss  -0x10(%rdx),%xmm2
  movss  0x10(%rsi),%xmm4
  lea    0x40(%rsi),%rcx
  movss  -0x8(%rdx),%xmm0
  movss  -0x4(%rdx),%xmm8
  mulss  %xmm1,%xmm4
  movss  0x30(%rsi),%xmm6
  movss  0x34(%rsi),%xmm5
  mulss  0x14(%rsi),%xmm1
  mulss  %xmm8,%xmm6
  addss  %xmm3,%xmm2
  mulss  %xmm8,%xmm5
  addss  %xmm4,%xmm2
  movss  0x20(%rsi),%xmm4
  addss  %xmm3,%xmm1
  mulss  %xmm0,%xmm4
  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,%edi
  jle    L49
  lea    -0x8(%rdi),%ebp
  mov    %rcx,%rax
  shr    $0x2,%ebp
  mov    %ebp,%ebx
  lea    0x2(%rbx),%rsi
  shl    $0x4,%rsi
  add    %r10,%rsi
  nopw   0x0(%rax,%rax,1)
L16:
  movss  (%rdx),%xmm2
  movss  (%rax),%xmm7
  add    $0x10,%rdx
  add    $0x40,%rax
  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    %rsi,%rdx
  jne    L16
  add    $0x1,%rbx
  lea    0x8(,%rbp,4),%eax
  shl    $0x6,%rbx
  add    %rbx,%rcx
L15:
  cmp    %eax,%edi
  jle    L30
  sub    $0x1,%edi
  sub    %eax,%edi
  lea    0x4(%rsi,%rdi,4),%rax
L36:
  movss  (%rsi),%xmm0
  movss  (%rcx),%xmm1
  add    $0x4,%rsi
  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,%rsi
  jne    L36
L30:
  test   %r11d,%r11d
  jne    L50
  pop    %rbx
  movss  %xmm6,(%r9)
  pop    %rbp
  movss  %xmm5,0x4(%r9)
  movss  %xmm4,0x8(%r9)
  movss  %xmm8,0xc(%r9)
  ret
L50:
  movss  (%r8),%xmm0
  cmp    $0x1,%r11d
  je     L2
  subss  %xmm6,%xmm0
  pop    %rbx
  pop    %rbp
  movss  %xmm0,(%r9)
  movss  0x4(%r8),%xmm0
  subss  %xmm5,%xmm0
  movss  %xmm0,0x4(%r9)
  movss  0x8(%r8),%xmm0
  subss  %xmm4,%xmm0
  movss  %xmm0,0x8(%r9)
  movss  0xc(%r8),%xmm0
  subss  %xmm8,%xmm0
  movaps %xmm0,%xmm8
  movss  %xmm8,0xc(%r9)
  ret
  nopl   0x0(%rax)
L2:
  addss  %xmm6,%xmm0
  pop    %rbx
  pop    %rbp
  movss  %xmm0,(%r9)
  addss  0x4(%r8),%xmm5
  movss  %xmm5,0x4(%r9)
  addss  0x8(%r8),%xmm4
  movss  %xmm4,0x8(%r9)
  addss  0xc(%r8),%xmm8
  movss  %xmm8,0xc(%r9)
  ret
L49:
  mov    %rdx,%rsi
  mov    $0x4,%eax
  jmp    L15
```

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