user: Converte this assembly snippet into its equivalent C code:

```asm
<kernel_strsv_t_1_lib8>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x34(%rbp)
  mov    %esi,-0x38(%rbp)
  mov    %rdx,-0x40(%rbp)
  mov    %ecx,-0x44(%rbp)
  mov    %r8,-0x50(%rbp)
  cmpl   $0x0,-0x34(%rbp)
  jle    L58
  movl   $0x8,-0x28(%rbp)
  movl   $0x8,-0x24(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x50(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0xc(%rax),%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  -0x20(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  -0x1c(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mulss  -0x18(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  movl   $0x4,-0x30(%rbp)
  addq   $0x10,-0x40(%rbp)
  addq   $0x10,-0x50(%rbp)
  jmp    L2
L29:
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0xc(%rax),%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x40(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  -0x14(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  -0x20(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  -0x1c(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mulss  -0x18(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  addq   $0x10,-0x40(%rbp)
  addq   $0x10,-0x50(%rbp)
  addl   $0x4,-0x30(%rbp)
L2:
  mov    -0x38(%rbp),%eax
  cmp    -0x30(%rbp),%eax
  jge    L29
  mov    -0x44(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x28(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  jmp    L61
L57:
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0xc(%rax),%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x40(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  -0x14(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  -0x20(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  -0x1c(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mulss  -0x18(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x10(%rax),%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x14(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x18(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x1c(%rax),%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x10,%rax
  movss  (%rax),%xmm0
  mulss  -0x14(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x14,%rax
  movss  (%rax),%xmm0
  mulss  -0x20(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x18,%rax
  movss  (%rax),%xmm0
  mulss  -0x1c(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x1c,%rax
  movss  (%rax),%xmm0
  mulss  -0x18(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x44(%rbp),%eax
  imul   -0x24(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  addq   $0x20,-0x50(%rbp)
  addl   $0x8,-0x30(%rbp)
L61:
  mov    -0x34(%rbp),%eax
  sub    $0x4,%eax
  cmp    %eax,-0x30(%rbp)
  jl     L57
  jmp    L51
L13:
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x50(%rbp),%rax
  movss  0xc(%rax),%xmm0
  movss  %xmm0,-0x18(%rbp)
  mov    -0x40(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  -0x14(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  -0x20(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  -0x1c(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  add    $0xc,%rax
  movss  (%rax),%xmm0
  mulss  -0x18(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  addl   $0x4,-0x30(%rbp)
L51:
  mov    -0x30(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L13
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x50(%rbp)
  mov    -0x50(%rbp),%rax
  movss  (%rax),%xmm0
  subss  -0x2c(%rbp),%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x40(%rbp),%rax
  movss  (%rax),%xmm0
  movss  -0x2c(%rbp),%xmm1
  mulss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x50(%rbp),%rax
  movss  -0x2c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L70
L58:
  nop
L70:
  pop    %rbp
  ret
```

assistant: ```c
void kernel_strsv_t_1_lib8(int kmax, int kna, float *A, int sda, float *x) {
  if (kmax <= 0)
    return;
  const int lda = 8;
  const int bs = 8;
  int k;
  float *tA, *tx;
  tA = A;
  tx = x;
  float x_0, x_1, x_2, x_3, y_0 = 0;
  x_1 = x[1];
  x_2 = x[2];
  x_3 = x[3];
  y_0 += A[1 + lda * 0] * x_1;
  y_0 += A[2 + lda * 0] * x_2;
  y_0 += A[3 + lda * 0] * x_3;
  k = 4;
  A += 4;
  x += 4;
  for (; k < 4 + kna - 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_0 += A[1 + lda * 0] * x_1;
    y_0 += A[2 + lda * 0] * x_2;
    y_0 += A[3 + lda * 0] * x_3;
    A += 4;
    x += 4;
  }
  A += (sda - 1) * lda;
  for (; k < kmax - 4; 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_0 += A[1 + lda * 0] * x_1;
    y_0 += A[2 + lda * 0] * x_2;
    y_0 += A[3 + lda * 0] * 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_0 += A[5 + lda * 0] * x_1;
    y_0 += A[6 + lda * 0] * x_2;
    y_0 += A[7 + lda * 0] * x_3;
    A += sda * bs;
    x += 8;
  }
  for (; k < kmax; 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_0 += A[1 + lda * 0] * x_1;
    y_0 += A[2 + lda * 0] * x_2;
    y_0 += A[3 + lda * 0] * x_3;
  }
  A = tA;
  x = tx;
  y_0 = x[0] - y_0;
  y_0 *= A[0 + lda * 0];
  x[0] = y_0;
}
```