user: What would the C source look like for the assembly code provided here?

```asm
<kernel_strmv_u_t_8_lib8>:
  endbr64
  cmp    $0x7,%edi
  jle    L29
  shl    $0x3,%edx
  movslq %edx,%rdx
  shl    $0x2,%rdx
  lea    -0x8(%rdi),%r10d
  shr    $0x3,%r10d
  add    $0x1,%r10d
  mov    %r10d,%r10d
  mov    %r10,%rdi
  shl    $0x5,%rdi
  add    %rcx,%rdi
  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
L40:
  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  0x20(%rax),%xmm12
  addss  %xmm10,%xmm12
  movaps %xmm4,%xmm13
  mulss  0x40(%rax),%xmm13
  addss  %xmm9,%xmm13
  movaps %xmm4,%xmm14
  mulss  0x60(%rax),%xmm14
  addss  %xmm8,%xmm14
  movaps %xmm4,%xmm10
  mulss  0x80(%rax),%xmm10
  addss  %xmm7,%xmm10
  movaps %xmm4,%xmm9
  mulss  0xa0(%rax),%xmm9
  addss  %xmm6,%xmm9
  movaps %xmm4,%xmm8
  mulss  0xc0(%rax),%xmm8
  addss  %xmm5,%xmm8
  mulss  0xe0(%rax),%xmm4
  addss  %xmm0,%xmm4
  movaps %xmm3,%xmm0
  mulss  0x4(%rax),%xmm0
  addss  %xmm0,%xmm11
  movaps %xmm3,%xmm0
  mulss  0x24(%rax),%xmm0
  addss  %xmm0,%xmm12
  movaps %xmm3,%xmm0
  mulss  0x44(%rax),%xmm0
  addss  %xmm0,%xmm13
  movaps %xmm3,%xmm7
  mulss  0x64(%rax),%xmm7
  addss  %xmm14,%xmm7
  movaps %xmm3,%xmm6
  mulss  0x84(%rax),%xmm6
  addss  %xmm10,%xmm6
  movaps %xmm3,%xmm0
  mulss  0xa4(%rax),%xmm0
  addss  %xmm9,%xmm0
  movaps %xmm3,%xmm5
  mulss  0xc4(%rax),%xmm5
  addss  %xmm8,%xmm5
  mulss  0xe4(%rax),%xmm3
  addss  %xmm4,%xmm3
  movaps %xmm2,%xmm4
  mulss  0x8(%rax),%xmm4
  addss  %xmm4,%xmm11
  movaps %xmm2,%xmm10
  mulss  0x28(%rax),%xmm10
  addss  %xmm12,%xmm10
  movaps %xmm2,%xmm9
  mulss  0x48(%rax),%xmm9
  addss  %xmm13,%xmm9
  movaps %xmm2,%xmm8
  mulss  0x68(%rax),%xmm8
  addss  %xmm7,%xmm8
  movaps %xmm2,%xmm7
  mulss  0x88(%rax),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm2,%xmm4
  mulss  0xa8(%rax),%xmm4
  addss  %xmm0,%xmm4
  movaps %xmm2,%xmm0
  mulss  0xc8(%rax),%xmm0
  addss  %xmm5,%xmm0
  mulss  0xe8(%rax),%xmm2
  addss  %xmm2,%xmm3
  movaps %xmm1,%xmm6
  mulss  0xc(%rax),%xmm6
  addss  %xmm11,%xmm6
  movaps %xmm1,%xmm5
  mulss  0x2c(%rax),%xmm5
  addss  %xmm10,%xmm5
  movaps %xmm1,%xmm11
  mulss  0x4c(%rax),%xmm11
  addss  %xmm9,%xmm11
  movaps %xmm1,%xmm12
  mulss  0x6c(%rax),%xmm12
  addss  %xmm8,%xmm12
  movaps %xmm1,%xmm10
  mulss  0x8c(%rax),%xmm10
  addss  %xmm7,%xmm10
  movaps %xmm1,%xmm9
  mulss  0xac(%rax),%xmm9
  addss  %xmm4,%xmm9
  movaps %xmm1,%xmm8
  mulss  0xcc(%rax),%xmm8
  addss  %xmm0,%xmm8
  mulss  0xec(%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  0x10(%rax),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm3,%xmm6
  mulss  0x30(%rax),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm3,%xmm5
  mulss  0x50(%rax),%xmm5
  addss  %xmm11,%xmm5
  movaps %xmm3,%xmm11
  mulss  0x70(%rax),%xmm11
  addss  %xmm12,%xmm11
  movaps %xmm3,%xmm12
  mulss  0x90(%rax),%xmm12
  addss  %xmm10,%xmm12
  movaps %xmm3,%xmm10
  mulss  0xb0(%rax),%xmm10
  addss  %xmm9,%xmm10
  movaps %xmm3,%xmm9
  mulss  0xd0(%rax),%xmm9
  addss  %xmm8,%xmm9
  mulss  0xf0(%rax),%xmm3
  addss  %xmm2,%xmm3
  movaps %xmm4,%xmm8
  mulss  0x14(%rax),%xmm8
  addss  %xmm7,%xmm8
  movaps %xmm4,%xmm7
  mulss  0x34(%rax),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm4,%xmm6
  mulss  0x54(%rax),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm4,%xmm5
  mulss  0x74(%rax),%xmm5
  addss  %xmm11,%xmm5
  movaps %xmm4,%xmm11
  mulss  0x94(%rax),%xmm11
  addss  %xmm12,%xmm11
  movaps %xmm4,%xmm2
  mulss  0xb4(%rax),%xmm2
  addss  %xmm10,%xmm2
  movaps %xmm4,%xmm10
  mulss  0xd4(%rax),%xmm10
  addss  %xmm9,%xmm10
  mulss  0xf4(%rax),%xmm4
  addss  %xmm3,%xmm4
  movaps %xmm1,%xmm9
  mulss  0x18(%rax),%xmm9
  addss  %xmm8,%xmm9
  movaps %xmm1,%xmm8
  mulss  0x38(%rax),%xmm8
  addss  %xmm7,%xmm8
  movaps %xmm1,%xmm7
  mulss  0x58(%rax),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm1,%xmm6
  mulss  0x78(%rax),%xmm6
  addss  %xmm5,%xmm6
  movaps %xmm1,%xmm5
  mulss  0x98(%rax),%xmm5
  addss  %xmm11,%xmm5
  movaps %xmm1,%xmm3
  mulss  0xb8(%rax),%xmm3
  addss  %xmm2,%xmm3
  movaps %xmm1,%xmm2
  mulss  0xd8(%rax),%xmm2
  addss  %xmm10,%xmm2
  mulss  0xf8(%rax),%xmm1
  addss  %xmm4,%xmm1
  movaps %xmm0,%xmm11
  mulss  0x1c(%rax),%xmm11
  addss  %xmm9,%xmm11
  movaps %xmm0,%xmm10
  mulss  0x3c(%rax),%xmm10
  addss  %xmm8,%xmm10
  movaps %xmm0,%xmm9
  mulss  0x5c(%rax),%xmm9
  addss  %xmm7,%xmm9
  movaps %xmm0,%xmm8
  mulss  0x7c(%rax),%xmm8
  addss  %xmm6,%xmm8
  movaps %xmm0,%xmm7
  mulss  0x9c(%rax),%xmm7
  addss  %xmm5,%xmm7
  movaps %xmm0,%xmm6
  mulss  0xbc(%rax),%xmm6
  addss  %xmm3,%xmm6
  movaps %xmm0,%xmm5
  mulss  0xdc(%rax),%xmm5
  addss  %xmm2,%xmm5
  mulss  0xfc(%rax),%xmm0
  addss  %xmm1,%xmm0
  add    %rdx,%rax
  add    $0x20,%rcx
  cmp    %rdi,%rcx
  jne    L40
  imul   %r10,%rdx
  add    %rdx,%rsi
L21:
  movss  (%rdi),%xmm1
  movss  0x4(%rdi),%xmm2
  movss  0x8(%rdi),%xmm4
  movss  0xc(%rdi),%xmm3
  movaps %xmm1,%xmm12
  mulss  (%rsi),%xmm12
  addss  %xmm11,%xmm12
  movaps %xmm1,%xmm11
  mulss  0x20(%rsi),%xmm11
  addss  %xmm11,%xmm10
  movaps %xmm1,%xmm11
  mulss  0x40(%rsi),%xmm11
  addss  %xmm11,%xmm9
  movaps %xmm1,%xmm11
  mulss  0x60(%rsi),%xmm11
  addss  %xmm8,%xmm11
  movaps %xmm1,%xmm13
  mulss  0x80(%rsi),%xmm13
  addss  %xmm7,%xmm13
  movaps %xmm1,%xmm8
  mulss  0xa0(%rsi),%xmm8
  addss  %xmm6,%xmm8
  movaps %xmm1,%xmm7
  mulss  0xc0(%rsi),%xmm7
  addss  %xmm5,%xmm7
  mulss  0xe0(%rsi),%xmm1
  addss  %xmm0,%xmm1
  movaps %xmm2,%xmm0
  mulss  0x24(%rsi),%xmm0
  addss  %xmm10,%xmm0
  movaps %xmm0,%xmm14
  movaps %xmm2,%xmm10
  mulss  0x44(%rsi),%xmm10
  addss  %xmm9,%xmm10
  movaps %xmm2,%xmm9
  mulss  0x64(%rsi),%xmm9
  addss  %xmm11,%xmm9
  movaps %xmm2,%xmm6
  mulss  0x84(%rsi),%xmm6
  addss  %xmm13,%xmm6
  movaps %xmm2,%xmm5
  mulss  0xa4(%rsi),%xmm5
  addss  %xmm8,%xmm5
  movaps %xmm2,%xmm0
  mulss  0xc4(%rsi),%xmm0
  addss  %xmm7,%xmm0
  mulss  0xe4(%rsi),%xmm2
  addss  %xmm1,%xmm2
  movaps %xmm4,%xmm1
  mulss  0x48(%rsi),%xmm1
  addss  %xmm1,%xmm10
  movaps %xmm4,%xmm8
  mulss  0x68(%rsi),%xmm8
  addss  %xmm9,%xmm8
  movaps %xmm4,%xmm7
  mulss  0x88(%rsi),%xmm7
  addss  %xmm6,%xmm7
  movaps %xmm4,%xmm1
  mulss  0xa8(%rsi),%xmm1
  addss  %xmm5,%xmm1
  movaps %xmm4,%xmm6
  mulss  0xc8(%rsi),%xmm6
  addss  %xmm0,%xmm6
  mulss  0xe8(%rsi),%xmm4
  movaps %xmm4,%xmm0
  addss  %xmm2,%xmm0
  movaps %xmm3,%xmm5
  mulss  0x6c(%rsi),%xmm5
  addss  %xmm5,%xmm8
  movaps %xmm3,%xmm4
  mulss  0x8c(%rsi),%xmm4
  addss  %xmm4,%xmm7
  movaps %xmm3,%xmm2
  mulss  0xac(%rsi),%xmm2
  addss  %xmm1,%xmm2
  movaps %xmm2,%xmm5
  movaps %xmm3,%xmm1
  mulss  0xcc(%rsi),%xmm1
  addss  %xmm1,%xmm6
  mulss  0xec(%rsi),%xmm3
  addss  %xmm3,%xmm0
  movss  0x10(%rdi),%xmm1
  movss  0x14(%rdi),%xmm2
  movss  0x18(%rdi),%xmm3
  movaps %xmm1,%xmm4
  mulss  0x90(%rsi),%xmm4
  addss  %xmm4,%xmm7
  movaps %xmm1,%xmm4
  mulss  0xb0(%rsi),%xmm4
  addss  %xmm5,%xmm4
  movaps %xmm1,%xmm5
  mulss  0xd0(%rsi),%xmm5
  addss  %xmm6,%xmm5
  mulss  0xf0(%rsi),%xmm1
  addss  %xmm0,%xmm1
  movaps %xmm2,%xmm0
  mulss  0xb4(%rsi),%xmm0
  movaps %xmm0,%xmm6
  addss  %xmm4,%xmm6
  movaps %xmm2,%xmm4
  mulss  0xd4(%rsi),%xmm4
  addss  %xmm5,%xmm4
  mulss  0xf4(%rsi),%xmm2
  movaps %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movaps %xmm3,%xmm1
  mulss  0xd8(%rsi),%xmm1
  addss  %xmm4,%xmm1
  mulss  0xf8(%rsi),%xmm3
  addss  %xmm0,%xmm3
  movss  0xfc(%rsi),%xmm0
  mulss  0x1c(%rdi),%xmm0
  addss  %xmm3,%xmm0
  test   %r9d,%r9d
  jne    L1
  movss  %xmm12,(%r8)
  movss  %xmm14,0x4(%r8)
  movss  %xmm10,0x8(%r8)
  movss  %xmm8,0xc(%r8)
  movss  %xmm7,0x10(%r8)
  movss  %xmm6,0x14(%r8)
  movss  %xmm1,0x18(%r8)
L50:
  movss  %xmm0,0x1c(%r8)
  ret
L29:
  mov    %rcx,%rdi
  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    L21
L1:
  cmp    $0x1,%r9d
  je     L69
  movss  (%r8),%xmm2
  subss  %xmm12,%xmm2
  movss  %xmm2,(%r8)
  movss  0x4(%r8),%xmm2
  subss  %xmm14,%xmm2
  movss  %xmm2,0x4(%r8)
  movss  0x8(%r8),%xmm2
  subss  %xmm10,%xmm2
  movss  %xmm2,0x8(%r8)
  movss  0xc(%r8),%xmm2
  subss  %xmm8,%xmm2
  movss  %xmm2,0xc(%r8)
  movss  0x10(%r8),%xmm2
  subss  %xmm7,%xmm2
  movss  %xmm2,0x10(%r8)
  movss  0x14(%r8),%xmm2
  subss  %xmm6,%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    L50
L69:
  addss  (%r8),%xmm12
  movss  %xmm12,(%r8)
  addss  0x4(%r8),%xmm14
  movss  %xmm14,0x4(%r8)
  addss  0x8(%r8),%xmm10
  movss  %xmm10,0x8(%r8)
  addss  0xc(%r8),%xmm8
  movss  %xmm8,0xc(%r8)
  addss  0x10(%r8),%xmm7
  movss  %xmm7,0x10(%r8)
  addss  0x14(%r8),%xmm6
  movss  %xmm6,0x14(%r8)
  addss  0x18(%r8),%xmm1
  movss  %xmm1,0x18(%r8)
  addss  0x1c(%r8),%xmm0
  jmp    L50
```

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