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

```asm
<stdlib_strided_sdsnansumpw>:
  endbr64
  test   %edi,%edi
  jle    L299
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rsi,%rbp
  push   %rbx
  mov    %edi,%ebx
  sub    $0x88,%rsp
  cmp    $0x1,%edi
  je     L328
  movslq %edx,%r12
  test   %r12d,%r12d
  je     L328
  mov    $0x0,%r13d
  jns    L80
  mov    $0x1,%r13d
  sub    %edi,%r13d
  imul   %r12d,%r13d
L80:
  cmp    $0x7,%ebx
  jle    L123
  cmp    $0x80,%ebx
  jle    L8
  mov    %ebx,%r13d
  sar    %r13d
  and    $0xfffffff8,%r13d
  test   %r12d,%r12d
  js     L152
  mov    %r12d,%eax
  imul   %r13d,%eax
  cltq
  lea    0x0(%rbp,%rax,4),%r14
L313:
  mov    %r12d,%edx
  mov    %rbp,%rsi
  mov    %r13d,%edi
  call   <stdlib_strided_sdsnansumpw>
  mov    %ebx,%edi
  mov    %r12d,%edx
  mov    %r14,%rsi
  sub    %r13d,%edi
  movss  %xmm0,(%rsp)
  call   <stdlib_strided_sdsnansumpw>
  addss  (%rsp),%xmm0
L125:
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L328:
  movss  0x0(%rbp),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L125
  movss  0x0(%rbp),%xmm0
  jmp    L125
  nopw   0x0(%rax,%rax,1)
L152:
  mov    %r13d,%eax
  mov    %rbp,%r14
  sub    %ebx,%eax
  imul   %r12d,%eax
  cltq
  lea    0x0(%rbp,%rax,4),%rbp
  jmp    L313
  nopl   (%rax)
L123:
  movslq %r13d,%r13
  pxor   %xmm3,%xmm3
  shl    $0x2,%r12
  lea    0x0(%rbp,%r13,4),%rbp
  movsd  %xmm3,(%rsp)
  xor    %r13d,%r13d
L350:
  movss  0x0(%rbp),%xmm0
  call   <stdlib_base_is_nanf@plt>
  test   %rax,%rax
  jne    L240
  pxor   %xmm0,%xmm0
  cvtss2sd 0x0(%rbp),%xmm0
  addsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
L240:
  add    $0x1,%r13d
  add    %r12,%rbp
  cmp    %r13d,%ebx
  jne    L350
L156:
  pxor   %xmm0,%xmm0
  cvtsd2ss (%rsp),%xmm0
  jmp    L125
  nopl   0x0(%rax)
L299:
  pxor   %xmm0,%xmm0
  ret
  nopl   (%rax)
L8:
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,4),%r14
  mov    %rax,0x40(%rsp)
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm2,%xmm2
  movsd  %xmm2,(%rsp)
  test   %rax,%rax
  jne    L49
  pxor   %xmm1,%xmm1
  cvtss2sd (%r14),%xmm1
  movsd  %xmm1,(%rsp)
L49:
  add    %r12d,%r13d
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,4),%r14
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm3,%xmm3
  movsd  %xmm3,0x8(%rsp)
  test   %rax,%rax
  jne    L195
  pxor   %xmm1,%xmm1
  cvtss2sd (%r14),%xmm1
  movsd  %xmm1,0x8(%rsp)
L195:
  add    %r12d,%r13d
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,4),%r14
  mov    %rax,0x50(%rsp)
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm2,%xmm2
  movsd  %xmm2,0x10(%rsp)
  test   %rax,%rax
  jne    L256
  pxor   %xmm1,%xmm1
  cvtss2sd (%r14),%xmm1
  movsd  %xmm1,0x10(%rsp)
L256:
  add    %r12d,%r13d
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,4),%r14
  mov    %rax,0x58(%rsp)
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x18(%rsp)
  test   %rax,%rax
  jne    L323
  pxor   %xmm6,%xmm6
  cvtss2sd (%r14),%xmm6
  movsd  %xmm6,0x18(%rsp)
L323:
  add    %r12d,%r13d
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,4),%r14
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm6,%xmm6
  movsd  %xmm6,0x20(%rsp)
  test   %rax,%rax
  jne    L42
  pxor   %xmm3,%xmm3
  cvtss2sd (%r14),%xmm3
  movsd  %xmm3,0x20(%rsp)
L42:
  add    %r12d,%r13d
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,4),%r14
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm3,%xmm3
  movsd  %xmm3,0x28(%rsp)
  test   %rax,%rax
  jne    L130
  pxor   %xmm1,%xmm1
  cvtss2sd (%r14),%xmm1
  movsd  %xmm1,0x28(%rsp)
L130:
  add    %r12d,%r13d
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,4),%r14
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm2,%xmm2
  movsd  %xmm2,0x30(%rsp)
  test   %rax,%rax
  jne    L349
  pxor   %xmm2,%xmm2
  cvtss2sd (%r14),%xmm2
  movsd  %xmm2,0x30(%rsp)
L349:
  add    %r12d,%r13d
  movslq %r13d,%rax
  lea    0x0(%rbp,%rax,4),%r14
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm7,%xmm7
  movsd  %xmm7,0x38(%rsp)
  test   %rax,%rax
  je     L148
L200:
  mov    %ebx,%ecx
  lea    (%r12,%r13,1),%eax
  and    $0xfffffff8,%ecx
  mov    %ecx,0x68(%rsp)
  cmp    $0x8,%ecx
  je     L335
  lea    0x0(,%r12,8),%edx
  movslq %r12d,%r15
  mov    %r12d,0x7c(%rsp)
  movslq %edx,%rdx
  mov    %ebx,0x78(%rsp)
  lea    0x0(,%rdx,4),%rcx
  movslq %eax,%rdx
  lea    (%rax,%r12,2),%eax
  mov    %rbp,0x70(%rsp)
  mov    %rcx,0x60(%rsp)
  lea    (%rdx,%r15,4),%rcx
  add    %r12d,%eax
  lea    0x0(%rbp,%rdx,4),%r13
  lea    0x0(%rbp,%rcx,4),%r14
  mov    %r15,%rcx
  lea    (%rdx,%r15,2),%rdx
  mov    %eax,0x6c(%rsp)
  shl    $0x4,%rcx
  lea    0x0(%rbp,%rdx,4),%rsi
  mov    %rcx,0x48(%rsp)
  mov    $0x8,%ecx
  mov    %rsi,%rbx
  mov    %ecx,%ebp
  nopl   0x0(%rax)
L198:
  movss  0x0(%r13),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L241
  pxor   %xmm0,%xmm0
  cvtss2sd 0x0(%r13),%xmm0
L241:
  addsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
  movss  0x0(%r13,%r15,4),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L252
  pxor   %xmm0,%xmm0
  cvtss2sd 0x0(%r13,%r15,4),%xmm0
L252:
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  movss  (%rbx),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L209
  pxor   %xmm0,%xmm0
  cvtss2sd (%rbx),%xmm0
L209:
  addsd  0x10(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
  movss  (%rbx,%r15,4),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L39
  pxor   %xmm0,%xmm0
  cvtss2sd (%rbx,%r15,4),%xmm0
L39:
  addsd  0x18(%rsp),%xmm0
  movsd  %xmm0,0x18(%rsp)
  movss  (%r14),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L158
  pxor   %xmm0,%xmm0
  cvtss2sd (%r14),%xmm0
L158:
  addsd  0x20(%rsp),%xmm0
  movsd  %xmm0,0x20(%rsp)
  movss  (%r14,%r15,4),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L57
  pxor   %xmm0,%xmm0
  cvtss2sd (%r14,%r15,4),%xmm0
L57:
  addsd  0x28(%rsp),%xmm0
  mov    0x50(%rsp),%r12
  sub    0x40(%rsp),%r12
  movsd  %xmm0,0x28(%rsp)
  movss  (%r14,%r12,4),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L169
  pxor   %xmm0,%xmm0
  cvtss2sd (%r14,%r12,4),%xmm0
L169:
  addsd  0x30(%rsp),%xmm0
  mov    0x58(%rsp),%r12
  add    0x48(%rsp),%r13
  sub    0x40(%rsp),%r12
  movsd  %xmm0,0x30(%rsp)
  movss  0x0(%r13,%r12,4),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L115
  pxor   %xmm0,%xmm0
  cvtss2sd 0x0(%r13,%r12,4),%xmm0
L115:
  addsd  0x38(%rsp),%xmm0
  mov    0x60(%rsp),%rax
  add    $0x8,%ebp
  add    0x48(%rsp),%r13
  add    %rax,%r14
  add    %rax,%rbx
  movsd  %xmm0,0x38(%rsp)
  cmp    0x68(%rsp),%ebp
  jl     L198
  mov    0x68(%rsp),%edx
  movslq 0x7c(%rsp),%r12
  mov    0x6c(%rsp),%eax
  mov    0x78(%rsp),%ebx
  sub    $0x9,%edx
  mov    %r12d,%ecx
  mov    0x70(%rsp),%rbp
  shr    $0x3,%edx
  lea    (%rax,%r12,4),%eax
  imul   %edx,%ecx
  add    %r12d,%eax
  lea    (%rax,%rcx,8),%eax
  lea    0x10(,%rdx,8),%ecx
  mov    %ecx,0x68(%rsp)
L335:
  movsd  (%rsp),%xmm1
  movsd  0x18(%rsp),%xmm0
  addsd  0x8(%rsp),%xmm1
  addsd  0x10(%rsp),%xmm0
  movsd  0x38(%rsp),%xmm2
  addsd  0x30(%rsp),%xmm2
  mov    0x68(%rsp),%r13d
  addsd  %xmm0,%xmm1
  movsd  0x28(%rsp),%xmm0
  addsd  0x20(%rsp),%xmm0
  addsd  %xmm2,%xmm0
  addsd  %xmm0,%xmm1
  movsd  %xmm1,(%rsp)
  cmp    %r13d,%ebx
  jle    L156
  cltq
  shl    $0x2,%r12
  lea    0x0(%rbp,%rax,4),%rbp
  nopw   0x0(%rax,%rax,1)
L155:
  movss  0x0(%rbp),%xmm0
  call   <stdlib_base_is_nanf@plt>
  test   %rax,%rax
  jne    L151
  pxor   %xmm0,%xmm0
  cvtss2sd 0x0(%rbp),%xmm0
  addsd  (%rsp),%xmm0
  movsd  %xmm0,(%rsp)
L151:
  add    $0x1,%r13d
  add    %r12,%rbp
  cmp    %r13d,%ebx
  jne    L155
  jmp    L156
  nopl   0x0(%rax,%rax,1)
L148:
  pxor   %xmm6,%xmm6
  cvtss2sd (%r14),%xmm6
  movsd  %xmm6,0x38(%rsp)
  jmp    L200
```

assistant: ```c
float stdlib_strided_sdsnansumpw(const int64_t N, const float *X, const int64_t stride) {
  float *xp1;
  float *xp2;
  double sum;
  int64_t ix;
  int64_t M;
  int64_t n;
  int64_t i;
  double s0;
  double s1;
  double s2;
  double s3;
  double s4;
  double s5;
  double s6;
  double s7;
  if (N <= 0) {
    return 0.0f;
  }
  if (N == 1 || stride == 0) {
    if (stdlib_base_is_nanf(X[0])) {
      return 0.0f;
    }
    return X[0];
  }
  if (stride < 0) {
    ix = (1 - N) * stride;
  } else {
    ix = 0;
  }
  if (N < 8) {
    sum = 0.0;
    for (i = 0; i < N; i++) {
      if (!stdlib_base_is_nanf(X[ix])) {
        sum += X[ix];
      }
      ix += stride;
    }
    return sum;
  }
  if (N <= 128) {
    s0 = (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
    ix += stride;
    s1 = (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
    ix += stride;
    s2 = (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
    ix += stride;
    s3 = (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
    ix += stride;
    s4 = (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
    ix += stride;
    s5 = (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
    ix += stride;
    s6 = (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
    ix += stride;
    s7 = (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
    ix += stride;
    M = N % 8;
    for (i = 8; i < N - M; i += 8) {
      s0 += (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
      ix += stride;
      s1 += (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
      ix += stride;
      s2 += (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
      ix += stride;
      s3 += (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
      ix += stride;
      s4 += (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
      ix += stride;
      s5 += (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
      ix += stride;
      s6 += (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
      ix += stride;
      s7 += (stdlib_base_is_nanf(X[ix])) ? 0.0 : X[ix];
      ix += stride;
    }
    sum = ((s0 + s1) + (s2 + s3)) + ((s4 + s5) + (s6 + s7));
    for (; i < N; i++) {
      if (!stdlib_base_is_nanf(X[ix])) {
        sum += X[ix];
      }
      ix += stride;
    }
    return sum;
  }
  n = N / 2;
  n -= n % 8;
  if (stride < 0) {
    xp1 = (float *)X + ((n - N) * stride);
    xp2 = (float *)X;
  } else {
    xp1 = (float *)X;
    xp2 = (float *)X + (n * stride);
  }
  return stdlib_strided_sdsnansumpw(n, xp1, stride) + stdlib_strided_sdsnansumpw(N - n, xp2, stride);
}
```