user: Translate the below assembly code into C programming language:

```asm
<kernel_strmv_u_n_4_lib4>:
  endbr64
  test   %edi,%edi
  jle    L61
  push   %rbx
  mov    %rsi,%rbx
  movq   (%rdx),%xmm4
  pxor   %xmm2,%xmm2
  movss  (%rbx),%xmm7
  mulss  (%rdx),%xmm7
  mov    %rdx,%rsi
  mov    %rcx,%r9
  movq   0x10(%rbx),%xmm3
  shufps $0xe5,%xmm4,%xmm4
  movq   0x8(%rdx),%xmm0
  lea    0x40(%rbx),%rax
  movss  0x28(%rbx),%xmm1
  add    $0x10,%rsi
  mulps  %xmm4,%xmm3
  movaps %xmm0,%xmm4
  movaps %xmm0,%xmm5
  shufps $0xe0,%xmm4,%xmm4
  mulss  %xmm0,%xmm1
  shufps $0xe5,%xmm5,%xmm5
  shufps $0xe5,%xmm0,%xmm0
  addss  %xmm2,%xmm7
  movaps %xmm5,%xmm9
  mulss  0x3c(%rbx),%xmm9
  unpcklps %xmm2,%xmm7
  addps  %xmm3,%xmm7
  movq   0x20(%rbx),%xmm3
  addss  %xmm2,%xmm1
  mulps  %xmm4,%xmm3
  movss  0x38(%rbx),%xmm4
  addss  %xmm2,%xmm9
  mulss  %xmm5,%xmm4
  addps  %xmm3,%xmm7
  movq   0x30(%rbx),%xmm3
  mulps  %xmm0,%xmm3
  addss  %xmm1,%xmm4
  addps  %xmm3,%xmm7
  cmp    $0x7,%edi
  jle    L98
  lea    -0x8(%rdi),%r11d
  shr    $0x2,%r11d
  mov    %r11d,%r10d
  lea    0x2(%r10),%rdx
  shl    $0x6,%rdx
  lea    (%rbx,%rdx,1),%rcx
  mov    %rsi,%rdx
  nopl   (%rax)
L86:
  movq   (%rdx),%xmm2
  movss  0x8(%rax),%xmm8
  add    $0x40,%rax
  add    $0x10,%rdx
  movq   -0x8(%rdx),%xmm1
  mulss  %xmm2,%xmm8
  movaps %xmm2,%xmm3
  movaps %xmm2,%xmm6
  mulss  -0x34(%rax),%xmm3
  shufps $0xe5,%xmm6,%xmm6
  movaps %xmm6,%xmm0
  movaps %xmm1,%xmm5
  mulss  -0x14(%rax),%xmm5
  movaps %xmm1,%xmm6
  shufps $0xe5,%xmm6,%xmm6
  addss  %xmm4,%xmm8
  movss  -0x28(%rax),%xmm4
  addss  %xmm9,%xmm3
  mulss  %xmm0,%xmm4
  mulss  -0x24(%rax),%xmm0
  addss  %xmm8,%xmm4
  addss  %xmm3,%xmm0
  movss  -0x18(%rax),%xmm3
  mulss  %xmm1,%xmm3
  addss  %xmm0,%xmm5
  movq   -0x40(%rax),%xmm0
  addss  %xmm4,%xmm3
  movaps %xmm2,%xmm4
  shufps $0xe5,%xmm2,%xmm2
  shufps $0xe0,%xmm4,%xmm4
  mulps  %xmm4,%xmm0
  movq   -0x30(%rax),%xmm4
  mulps  %xmm2,%xmm4
  movq   -0x20(%rax),%xmm2
  addps  %xmm7,%xmm0
  addps  %xmm4,%xmm0
  movaps %xmm1,%xmm4
  shufps $0xe5,%xmm1,%xmm1
  shufps $0xe0,%xmm4,%xmm4
  mulps  %xmm4,%xmm2
  movss  -0x8(%rax),%xmm4
  mulss  %xmm6,%xmm4
  mulss  -0x4(%rax),%xmm6
  addps  %xmm2,%xmm0
  movq   -0x10(%rax),%xmm2
  mulps  %xmm2,%xmm1
  addss  %xmm3,%xmm4
  movaps %xmm0,%xmm7
  movaps %xmm6,%xmm0
  addss  %xmm5,%xmm0
  addps  %xmm1,%xmm7
  movaps %xmm0,%xmm9
  cmp    %rcx,%rax
  jne    L86
  add    $0x1,%r10
  lea    0x8(,%r11,4),%eax
  shl    $0x4,%r10
  add    %r10,%rsi
L16:
  cmp    %eax,%edi
  jle    L50
  mov    %edi,%edx
  sub    %eax,%edx
  lea    -0x1(%rdx),%r10d
  cmp    $0x2,%r10d
  jbe    L23
  movups (%rcx),%xmm0
  movups 0x10(%rcx),%xmm6
  mov    %edx,%r10d
  movups 0x20(%rcx),%xmm3
  movups (%rsi),%xmm5
  and    $0xfffffffc,%r10d
  movaps %xmm0,%xmm1
  shufps $0xdd,%xmm6,%xmm0
  movaps %xmm0,%xmm10
  mov    %r10d,%r11d
  shufps $0x88,%xmm6,%xmm1
  movups 0x30(%rcx),%xmm6
  movaps %xmm1,%xmm2
  mov    %r11,%rbx
  movaps %xmm3,%xmm8
  shl    $0x4,%rbx
  lea    (%rsi,%r11,4),%rsi
  add    %r10d,%eax
  shufps $0x88,%xmm6,%xmm8
  shufps $0x88,%xmm8,%xmm2
  mulps  %xmm5,%xmm2
  shufps $0xdd,%xmm6,%xmm3
  shufps $0x88,%xmm3,%xmm10
  mulps  %xmm5,%xmm10
  shufps $0xdd,%xmm8,%xmm1
  shufps $0xdd,%xmm3,%xmm0
  mulps  %xmm5,%xmm1
  add    %rbx,%rcx
  mulps  %xmm5,%xmm0
  movaps %xmm2,%xmm6
  unpcklps %xmm10,%xmm6
  movaps %xmm10,%xmm11
  addps  %xmm7,%xmm6
  movaps %xmm2,%xmm7
  shufps $0x55,%xmm10,%xmm11
  shufps $0x55,%xmm2,%xmm7
  unpcklps %xmm11,%xmm7
  unpckhps %xmm10,%xmm2
  addps  %xmm7,%xmm6
  movaps %xmm2,%xmm7
  shufps $0xd4,%xmm2,%xmm7
  shufps $0xde,%xmm2,%xmm2
  addps  %xmm7,%xmm6
  movdqa %xmm2,%xmm7
  movaps %xmm1,%xmm2
  addss  %xmm4,%xmm2
  movaps %xmm1,%xmm4
  shufps $0x55,%xmm1,%xmm4
  addps  %xmm6,%xmm7
  addss  %xmm2,%xmm4
  movaps %xmm1,%xmm2
  unpckhps %xmm1,%xmm2
  shufps $0xff,%xmm1,%xmm1
  addss  %xmm2,%xmm4
  movaps %xmm0,%xmm2
  shufps $0x55,%xmm0,%xmm2
  addss  %xmm1,%xmm4
  movaps %xmm0,%xmm1
  addss  %xmm9,%xmm1
  addss  %xmm2,%xmm1
  movaps %xmm0,%xmm2
  unpckhps %xmm0,%xmm2
  shufps $0xff,%xmm0,%xmm0
  addss  %xmm2,%xmm1
  addss  %xmm0,%xmm1
  movaps %xmm1,%xmm9
  cmp    %edx,%r10d
  je     L50
L23:
  movss  (%rsi),%xmm0
  movq   (%rcx),%xmm1
  lea    0x1(%rax),%edx
  movaps %xmm0,%xmm2
  shufps $0xe0,%xmm2,%xmm2
  mulps  %xmm2,%xmm1
  addps  %xmm1,%xmm7
  movss  0x8(%rcx),%xmm1
  mulss  %xmm0,%xmm1
  mulss  0xc(%rcx),%xmm0
  addss  %xmm1,%xmm4
  addss  %xmm0,%xmm9
  cmp    %edx,%edi
  jle    L50
  movss  0x4(%rsi),%xmm0
  movq   0x10(%rcx),%xmm1
  add    $0x2,%eax
  movaps %xmm0,%xmm2
  shufps $0xe0,%xmm2,%xmm2
  mulps  %xmm2,%xmm1
  addps  %xmm1,%xmm7
  movss  0x18(%rcx),%xmm1
  mulss  %xmm0,%xmm1
  mulss  0x1c(%rcx),%xmm0
  addss  %xmm1,%xmm4
  addss  %xmm0,%xmm9
  cmp    %eax,%edi
  jle    L50
  movss  0x8(%rsi),%xmm0
  movq   0x20(%rcx),%xmm1
  movaps %xmm0,%xmm2
  shufps $0xe0,%xmm2,%xmm2
  mulps  %xmm2,%xmm1
  addps  %xmm1,%xmm7
  movss  0x28(%rcx),%xmm1
  mulss  %xmm0,%xmm1
  mulss  0x2c(%rcx),%xmm0
  addss  %xmm1,%xmm4
  addss  %xmm0,%xmm9
L50:
  movaps %xmm7,%xmm5
  shufps $0xe5,%xmm5,%xmm5
  movaps %xmm5,%xmm3
  test   %r8d,%r8d
  je     L28
  movq   (%r9),%xmm0
  movss  0x8(%r9),%xmm2
  movss  0xc(%r9),%xmm1
  movaps %xmm0,%xmm6
  movaps %xmm0,%xmm8
  shufps $0xe5,%xmm6,%xmm6
  cmp    $0x1,%r8d
  je     L79
  subps  %xmm7,%xmm0
  subss  %xmm4,%xmm2
  subss  %xmm9,%xmm1
  movlps %xmm0,(%r9)
  movss  %xmm2,0x8(%r9)
  movss  %xmm1,0xc(%r9)
  pop    %rbx
  ret
  nopl   0x0(%rax,%rax,1)
L28:
  movss  %xmm7,(%r9)
  movss  %xmm3,0x4(%r9)
  movss  %xmm4,0x8(%r9)
  movss  %xmm9,0xc(%r9)
  pop    %rbx
  ret
  nopl   0x0(%rax)
L61:
  ret
  nopl   0x0(%rax)
L79:
  addss  %xmm7,%xmm8
  addss  %xmm3,%xmm6
  addss  %xmm4,%xmm2
  addss  %xmm9,%xmm1
  movss  %xmm8,(%r9)
  movss  %xmm6,0x4(%r9)
  movss  %xmm2,0x8(%r9)
  movss  %xmm1,0xc(%r9)
  pop    %rbx
  ret
  nopl   0x0(%rax,%rax,1)
L98:
  mov    %rax,%rcx
  mov    $0x4,%eax
  jmp    L16
```

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;
  }
}
```