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

```asm
<kernel_strmv_u_t_2_lib4>:
  endbr64
  push   %r12
  mov    %rsi,%r11
  mov    %edx,%r10d
  mov    %rcx,%rax
  push   %rbp
  push   %rbx
  mov    %edi,%ebx
  cmp    $0x7,%edi
  jle    L14
  lea    -0x8(%rbx),%ebp
  lea    0x0(,%rdx,4),%edx
  pxor   %xmm0,%xmm0
  shr    $0x3,%ebp
  movslq %edx,%rdx
  movaps %xmm0,%xmm5
  lea    0x1(%rbp),%r12d
  lea    (%rsi,%rdx,4),%rcx
  mov    %r12,%rsi
  lea    0x0(,%rdx,8),%rdi
  mov    %r12,%rbp
  mov    %r11,%rdx
  shl    $0x5,%rsi
  add    %rax,%rsi
  nopl   0x0(%rax,%rax,1)
L75:
  movss  (%rax),%xmm3
  movss  (%rdx),%xmm6
  add    $0x20,%rax
  movss  -0x1c(%rax),%xmm2
  movss  -0x18(%rax),%xmm1
  mulss  %xmm3,%xmm6
  movss  -0x14(%rax),%xmm4
  mulss  0x10(%rdx),%xmm3
  addss  %xmm5,%xmm6
  movss  0x4(%rdx),%xmm5
  addss  %xmm0,%xmm3
  movss  0x8(%rdx),%xmm0
  mulss  %xmm2,%xmm5
  mulss  0x14(%rdx),%xmm2
  mulss  %xmm1,%xmm0
  mulss  0x18(%rdx),%xmm1
  addss  %xmm6,%xmm5
  movss  0xc(%rdx),%xmm6
  addss  %xmm3,%xmm2
  movss  -0x10(%rax),%xmm3
  mulss  %xmm4,%xmm6
  mulss  0x1c(%rdx),%xmm4
  addss  %xmm5,%xmm0
  movss  (%rcx),%xmm5
  add    %rdi,%rdx
  addss  %xmm2,%xmm1
  movss  -0xc(%rax),%xmm2
  mulss  %xmm3,%xmm5
  mulss  0x10(%rcx),%xmm3
  addss  %xmm0,%xmm6
  movss  -0x4(%rax),%xmm0
  addss  %xmm1,%xmm4
  movss  -0x8(%rax),%xmm1
  addss  %xmm6,%xmm5
  addss  %xmm4,%xmm3
  movss  0x4(%rcx),%xmm4
  mulss  %xmm2,%xmm4
  mulss  0x14(%rcx),%xmm2
  addss  %xmm5,%xmm4
  movss  0xc(%rcx),%xmm5
  addss  %xmm3,%xmm2
  movss  0x8(%rcx),%xmm3
  mulss  %xmm0,%xmm5
  mulss  %xmm1,%xmm3
  mulss  0x18(%rcx),%xmm1
  mulss  0x1c(%rcx),%xmm0
  add    %rdi,%rcx
  addss  %xmm4,%xmm3
  addss  %xmm2,%xmm1
  addss  %xmm3,%xmm5
  addss  %xmm1,%xmm0
  cmp    %rsi,%rax
  jne    L75
  imul   %rdi,%r12
  lea    0x0(,%rbp,8),%eax
  lea    -0x3(%rbx),%edx
  add    %r12,%r11
  cmp    %eax,%edx
  jle    L66
L15:
  lea    -0x4(%rbx),%ecx
  lea    0x0(,%r10,4),%edx
  sub    %eax,%ecx
  movslq %edx,%rdx
  mov    %r11,%rax
  shr    $0x2,%ecx
  shl    $0x2,%rdx
  add    $0x1,%ecx
  mov    %rcx,%rdi
  shl    $0x4,%rdi
  add    %rsi,%rdi
L44:
  movss  (%rsi),%xmm3
  movss  (%rax),%xmm6
  add    $0x10,%rsi
  movss  -0xc(%rsi),%xmm2
  movss  -0x8(%rsi),%xmm1
  mulss  %xmm3,%xmm6
  movss  -0x4(%rsi),%xmm4
  mulss  0x10(%rax),%xmm3
  addss  %xmm5,%xmm6
  movss  0x4(%rax),%xmm5
  addss  %xmm0,%xmm3
  movss  0x8(%rax),%xmm0
  mulss  %xmm2,%xmm5
  mulss  %xmm1,%xmm0
  mulss  0x14(%rax),%xmm2
  mulss  0x18(%rax),%xmm1
  addss  %xmm6,%xmm5
  addss  %xmm3,%xmm2
  addss  %xmm5,%xmm0
  movss  0xc(%rax),%xmm5
  mulss  %xmm4,%xmm5
  addss  %xmm2,%xmm1
  mulss  0x1c(%rax),%xmm4
  add    %rdx,%rax
  addss  %xmm0,%xmm5
  movaps %xmm4,%xmm0
  addss  %xmm1,%xmm0
  cmp    %rdi,%rsi
  jne    L44
  imul   %rcx,%rdx
  add    %rdx,%r11
L31:
  movss  (%rdi),%xmm1
  movss  (%r11),%xmm2
  mulss  %xmm1,%xmm2
  mulss  0x10(%r11),%xmm1
  addss  %xmm5,%xmm2
  addss  %xmm0,%xmm1
  movss  0x14(%r11),%xmm0
  mulss  0x4(%rdi),%xmm0
  addss  %xmm1,%xmm0
  test   %r9d,%r9d
  je     L55
  movss  (%r8),%xmm3
  movss  0x4(%r8),%xmm1
  cmp    $0x1,%r9d
  je     L50
  subss  %xmm2,%xmm3
  subss  %xmm0,%xmm1
  movaps %xmm3,%xmm2
  movaps %xmm1,%xmm0
L55:
  pop    %rbx
  movss  %xmm2,(%r8)
  pop    %rbp
  movss  %xmm0,0x4(%r8)
  pop    %r12
  ret
  xchg   %ax,%ax
L50:
  addss  %xmm3,%xmm2
  addss  %xmm1,%xmm0
  pop    %rbx
  pop    %rbp
  pop    %r12
  movss  %xmm2,(%r8)
  movss  %xmm0,0x4(%r8)
  ret
  nopl   0x0(%rax,%rax,1)
L14:
  pxor   %xmm0,%xmm0
  xor    %eax,%eax
  lea    -0x3(%rbx),%edx
  mov    %rcx,%rsi
  movaps %xmm0,%xmm5
  cmp    %eax,%edx
  jg     L15
  nopw   0x0(%rax,%rax,1)
L66:
  mov    %rsi,%rdi
  jmp    L31
```

assistant: ```c
void kernel_strmv_u_t_2_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;
  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_0 += A[1 + lda * 0] * x_1;
    y_1 += A[1 + lda * 1] * x_1;
    y_0 += A[2 + lda * 0] * x_2;
    y_1 += A[2 + lda * 1] * x_2;
    y_0 += A[3 + lda * 0] * x_3;
    y_1 += A[3 + lda * 1] * 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_0 += A[1 + lda * 0] * x_1;
    y_1 += A[1 + lda * 1] * x_1;
    y_0 += A[2 + lda * 0] * x_2;
    y_1 += A[2 + lda * 1] * x_2;
    y_0 += A[3 + lda * 0] * x_3;
    y_1 += A[3 + lda * 1] * x_3;
    A += sda * bs;
    x += 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[0 + lda * 1] * x_0;
    y_0 += A[1 + lda * 0] * x_1;
    y_1 += A[1 + lda * 1] * x_1;
    y_0 += A[2 + lda * 0] * x_2;
    y_1 += A[2 + lda * 1] * x_2;
    y_0 += A[3 + lda * 0] * x_3;
    y_1 += A[3 + lda * 1] * 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_1 += A[1 + lda * 1] * x_1;
  if (alg == 0) {
    y[0] = y_0;
    y[1] = y_1;
  } else if (alg == 1) {
    y[0] += y_0;
    y[1] += y_1;
  } else {
    y[0] -= y_0;
    y[1] -= y_1;
  }
}
```