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

```asm
<_inner_vec_daxpy>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  mov    %rdi,-0x10(%rbp)
  mov    %esi,-0x14(%rbp)
  mov    %rdx,-0x20(%rbp)
  mov    %rcx,-0x28(%rbp)
  mov    %r8d,-0x18(%rbp)
  movsd  %xmm0,-0x30(%rbp)
  mov    %r9d,-0x34(%rbp)
  mov    -0x28(%rbp),%rax
  movsd  (%rax),%xmm0
  mulsd  -0x30(%rbp),%xmm0
  movapd %xmm0,%xmm5
  mov    $0x0,%ebx
  jmp    L58
L13:
  mov    -0x10(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x20(%rbp),%rax
  movsd  (%rax),%xmm0
  movapd %xmm5,%xmm2
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x10,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x18,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x10(%rbp)
  addq   $0x20,-0x20(%rbp)
  add    $0x4,%ebx
L58:
  mov    -0x34(%rbp),%eax
  sub    $0x3,%eax
  cmp    %eax,%ebx
  jl     L13
  cmp    -0x34(%rbp),%ebx
  je     L20
  mov    -0x34(%rbp),%eax
  sub    $0x1,%eax
  cmp    %eax,%ebx
  jge    L59
  mov    -0x10(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x20(%rbp),%rax
  movsd  (%rax),%xmm0
  movapd %xmm5,%xmm3
  mulsd  %xmm3,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x10(%rbp)
  mov    -0x10(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x20(%rbp),%rax
  add    $0x8,%rax
  movsd  (%rax),%xmm0
  mulsd  %xmm3,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x10(%rbp)
  addq   $0x10,-0x20(%rbp)
  add    $0x2,%ebx
L59:
  cmp    -0x34(%rbp),%ebx
  jge    L40
  mov    -0x10(%rbp),%rax
  movsd  (%rax),%xmm1
  mov    -0x20(%rbp),%rax
  movsd  (%rax),%xmm0
  movapd %xmm5,%xmm4
  mulsd  %xmm4,%xmm0
  addsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movsd  %xmm0,(%rax)
  mov    -0x14(%rbp),%eax
  cltq
  shl    $0x3,%rax
  add    %rax,-0x10(%rbp)
  add    $0x1,%ebx
  jmp    L40
L20:
  nop
L40:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

assistant: ```c
void _inner_vec_daxpy(double *y0, int incY, const double *a0, const double *x0, int incX, double alpha, int nRE) {
  register int i;
  register double cf0 = alpha * x0[0];
  for (i = 0; i < nRE - 3; i += 4) {
    y0[0] += a0[0] * cf0;
    y0 += incY;
    y0[0] += a0[1] * cf0;
    y0 += incY;
    y0[0] += a0[2] * cf0;
    y0 += incY;
    y0[0] += a0[3] * cf0;
    y0 += incY;
    a0 += 4;
  }
  if (i == nRE)
    return;
  if (i < nRE - 1) {
    y0[0] += a0[0] * cf0;
    y0 += incY;
    y0[0] += a0[1] * cf0;
    y0 += incY;
    a0 += 2;
    i += 2;
  }
  if (i < nRE) {
    y0[0] += a0[0] * cf0;
    y0 += incY;
    i++;
  }
}
```