user: Demonstrate the C code that generates the assembly output below:

```asm
<kernel_strmv_un_4_lib4>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x34(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %ecx,-0x38(%rbp)
  mov    %r8,-0x50(%rbp)
  mov    %r9,-0x58(%rbp)
  movl   $0x4,-0x14(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x24(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x20(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x48(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x10(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0xc(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x8(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0xc(%rax),%xmm0
  movss  %xmm0,-0x4(%rbp)
  mov    -0x40(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0xc(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0xc(%rbp),%xmm0
  movss  -0x20(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x14(%rbp),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x8(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x14(%rbp),%eax
  add    %eax,%eax
  add    $0x1,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x8(%rbp),%xmm0
  movss  -0x20(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x8(%rbp),%xmm0
  movss  -0x1c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x14(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x4(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x14(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    $0x1,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x4(%rbp),%xmm0
  movss  -0x20(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x14(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    $0x2,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x4(%rbp),%xmm0
  movss  -0x1c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x4(%rbp),%xmm0
  movss  -0x18(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x14(%rbp),%eax
  shl    $0x2,%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  addq   $0x10,-0x48(%rbp)
  movl   $0x4,-0x28(%rbp)
  jmp    L14
L44:
  mov    -0x48(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x10(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0xc(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x8(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0xc(%rax),%xmm0
  movss  %xmm0,-0x4(%rbp)
  mov    -0x40(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x20(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x1c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x18(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x14(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0xc(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0xc(%rbp),%xmm0
  movss  -0x20(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0x2,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0xc(%rbp),%xmm0
  movss  -0x1c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0x3,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0xc(%rbp),%xmm0
  movss  -0x18(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x14(%rbp),%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x8(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x14(%rbp),%eax
  add    %eax,%eax
  add    $0x1,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x8(%rbp),%xmm0
  movss  -0x20(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x14(%rbp),%eax
  add    $0x1,%eax
  add    %eax,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x8(%rbp),%xmm0
  movss  -0x1c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x14(%rbp),%eax
  add    %eax,%eax
  add    $0x3,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x8(%rbp),%xmm0
  movss  -0x18(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x14(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x4(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x14(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    $0x1,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x4(%rbp),%xmm0
  movss  -0x20(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x14(%rbp),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  add    $0x2,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x4(%rbp),%xmm0
  movss  -0x1c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x14(%rbp),%eax
  lea    0x1(%rax),%edx
  mov    %edx,%eax
  add    %eax,%eax
  add    %edx,%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  mulss  -0x4(%rbp),%xmm0
  movss  -0x18(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x14(%rbp),%eax
  shl    $0x2,%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  addq   $0x10,-0x48(%rbp)
  addl   $0x4,-0x28(%rbp)
L14:
  mov    -0x34(%rbp),%eax
  sub    $0x3,%eax
  cmp    %eax,-0x28(%rbp)
  jl     L44
  jmp    L42
L15:
  mov    -0x48(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x10(%rbp)
  mov    -0x40(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x24(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x20(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x1c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mulss  -0x10(%rbp),%xmm0
  movss  -0x18(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  addq   $0x4,-0x48(%rbp)
  addl   $0x1,-0x28(%rbp)
L42:
  mov    -0x28(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L15
  cmpl   $0x0,-0x38(%rbp)
  jne    L70
  mov    -0x58(%rbp),%rax
  movss  -0x24(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x58(%rbp),%rax
  add    $0x4,%rax
  movss  -0x20(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x58(%rbp),%rax
  add    $0x8,%rax
  movss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x58(%rbp),%rax
  add    $0xc,%rax
  movss  -0x18(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L11
L70:
  cmpl   $0x1,-0x38(%rbp)
  jne    L79
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm0
  addss  -0x24(%rbp),%xmm0
  mov    -0x58(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x50(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mov    -0x58(%rbp),%rax
  add    $0x4,%rax
  addss  -0x20(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x50(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mov    -0x58(%rbp),%rax
  add    $0x8,%rax
  addss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x50(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mov    -0x58(%rbp),%rax
  add    $0xc,%rax
  addss  -0x18(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L11
L79:
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm0
  subss  -0x24(%rbp),%xmm0
  mov    -0x58(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x50(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mov    -0x58(%rbp),%rax
  add    $0x4,%rax
  subss  -0x20(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x50(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mov    -0x58(%rbp),%rax
  add    $0x8,%rax
  subss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x50(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mov    -0x58(%rbp),%rax
  add    $0xc,%rax
  subss  -0x18(%rbp),%xmm0
  movss  %xmm0,(%rax)
L11:
  nop
  pop    %rbp
  ret
```

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