user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<kernel_strsv_t_1_lib4>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  mov    %edi,-0x34(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %edx,-0x38(%rbp)
  mov    %rcx,-0x48(%rbp)
  cmpl   $0x0,-0x34(%rbp)
  jle    L28
  movl   $0x4,-0x28(%rbp)
  movl   $0x4,-0x24(%rbp)
  mov    -0x40(%rbp),%rax
  mov    %rax,-0x10(%rbp)
  mov    -0x48(%rbp),%rax
  mov    %rax,-0x8(%rbp)
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x48(%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)
  mov    -0x38(%rbp),%eax
  sub    $0x1,%eax
  imul   -0x28(%rbp),%eax
  add    $0x4,%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  addq   $0x10,-0x48(%rbp)
  jmp    L13
L12:
  mov    -0x48(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x48(%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    -0x38(%rbp),%eax
  imul   -0x24(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  addq   $0x10,-0x48(%rbp)
  mov    -0x48(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x48(%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    -0x38(%rbp),%eax
  imul   -0x24(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  addq   $0x10,-0x48(%rbp)
  addl   $0x8,-0x30(%rbp)
L13:
  mov    -0x34(%rbp),%eax
  sub    $0x7,%eax
  cmp    %eax,-0x30(%rbp)
  jl     L12
  jmp    L40
L58:
  mov    -0x48(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x4(%rax),%xmm0
  movss  %xmm0,-0x20(%rbp)
  mov    -0x48(%rbp),%rax
  movss  0x8(%rax),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  mov    -0x48(%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    -0x38(%rbp),%eax
  imul   -0x24(%rbp),%eax
  cltq
  shl    $0x2,%rax
  add    %rax,-0x40(%rbp)
  addq   $0x10,-0x48(%rbp)
  addl   $0x4,-0x30(%rbp)
L40:
  mov    -0x34(%rbp),%eax
  sub    $0x3,%eax
  cmp    %eax,-0x30(%rbp)
  jl     L58
  jmp    L51
L39:
  mov    -0x48(%rbp),%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x14(%rbp)
  mov    -0x40(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  -0x14(%rbp),%xmm0
  movss  -0x2c(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0x2c(%rbp)
  addq   $0x4,-0x40(%rbp)
  addq   $0x4,-0x48(%rbp)
  addl   $0x1,-0x30(%rbp)
L51:
  mov    -0x30(%rbp),%eax
  cmp    -0x34(%rbp),%eax
  jl     L39
  mov    -0x10(%rbp),%rax
  mov    %rax,-0x40(%rbp)
  mov    -0x8(%rbp),%rax
  mov    %rax,-0x48(%rbp)
  mov    -0x48(%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    -0x48(%rbp),%rax
  movss  -0x2c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L18
L28:
  nop
L18:
  pop    %rbp
  ret
```

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