user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<stdlib_strided_snansumkbn2>:
  endbr64
  test   %rdi,%rdi
  jle    L1
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x20,%rsp
  cmp    $0x1,%rdi
  je     L48
  test   %rdx,%rdx
  je     L48
  mov    $0x0,%eax
  jns    L20
  mov    $0x1,%eax
  sub    %rdi,%rax
  imul   %rdx,%rax
L20:
  pxor   %xmm6,%xmm6
  lea    (%rbx,%rax,4),%rbp
  lea    0x0(,%rdx,4),%r12
  xor    %ebx,%ebx
  movss  %xmm6,0x14(%rsp)
  movss  %xmm6,0x18(%rsp)
  movss  %xmm6,0x10(%rsp)
  jmp    L54
  nopl   0x0(%rax,%rax,1)
L119:
  add    $0x1,%rbx
  add    %r12,%rbp
  cmp    %rbx,%r13
  je     L87
L54:
  movss  0x0(%rbp),%xmm1
  movaps %xmm1,%xmm0
  movss  %xmm1,0xc(%rsp)
  call   <stdlib_base_is_nanf@plt>
  movss  0xc(%rsp),%xmm1
  test   %rax,%rax
  jne    L119
  movss  0x10(%rsp),%xmm3
  movss  %xmm1,0x1c(%rsp)
  movaps %xmm3,%xmm4
  movaps %xmm3,%xmm0
  addss  %xmm1,%xmm4
  movss  %xmm4,0xc(%rsp)
  call   <fabsf@plt>
  movss  0x1c(%rsp),%xmm1
  mov    %rax,%r14
  movaps %xmm1,%xmm0
  call   <fabsf@plt>
  movss  0x1c(%rsp),%xmm1
  cmp    %rax,%r14
  jl     L78
  movss  0x10(%rsp),%xmm0
  subss  0xc(%rsp),%xmm0
  addss  %xmm0,%xmm1
L60:
  movss  0x14(%rsp),%xmm5
  movss  %xmm1,0x10(%rsp)
  movaps %xmm5,%xmm2
  movaps %xmm5,%xmm0
  addss  %xmm1,%xmm2
  movss  %xmm2,0x1c(%rsp)
  call   <fabsf@plt>
  movss  0x10(%rsp),%xmm1
  mov    %rax,%r14
  movaps %xmm1,%xmm0
  call   <fabsf@plt>
  movss  0x10(%rsp),%xmm1
  movss  0x1c(%rsp),%xmm2
  cmp    %rax,%r14
  jl     L3
  movss  0x14(%rsp),%xmm0
  subss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
L42:
  addss  0x18(%rsp),%xmm1
  movss  0xc(%rsp),%xmm7
  add    $0x1,%rbx
  add    %r12,%rbp
  movss  %xmm2,0x14(%rsp)
  movss  %xmm7,0x10(%rsp)
  movss  %xmm1,0x18(%rsp)
  cmp    %rbx,%r13
  jne    L54
L87:
  movss  0x10(%rsp),%xmm0
  addss  0x14(%rsp),%xmm0
  addss  0x18(%rsp),%xmm0
L81:
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L48:
  movss  (%rbx),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L81
  movss  (%rbx),%xmm0
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L3:
  subss  %xmm2,%xmm1
  addss  0x14(%rsp),%xmm1
  jmp    L42
  nop
L78:
  subss  0xc(%rsp),%xmm1
  addss  0x10(%rsp),%xmm1
  jmp    L60
  nopl   0x0(%rax)
L1:
  pxor   %xmm0,%xmm0
  ret
```

assistant: ```c
float stdlib_strided_snansumkbn2(const int64_t N, const float *X, const int64_t stride) {
  int64_t ix;
  int64_t i;
  float sum;
  float ccs;
  float cs;
  float cc;
  float v;
  float t;
  float c;
  sum = 0.0f;
  if (N <= 0) {
    return sum;
  }
  if (N == 1 || stride == 0) {
    if (stdlib_base_is_nanf(X[0])) {
      return sum;
    }
    return X[0];
  }
  if (stride < 0) {
    ix = (1 - N) * stride;
  } else {
    ix = 0;
  }
  ccs = 0.0f;
  cs = 0.0f;
  for (i = 0; i < N; i++) {
    v = X[ix];
    if (!stdlib_base_is_nanf(v)) {
      t = sum + v;
      if (fabsf(sum) >= fabsf(v)) {
        c = (sum - t) + v;
      } else {
        c = (v - t) + sum;
      }
      sum = t;
      t = cs + c;
      if (fabsf(cs) >= fabsf(c)) {
        cc = (cs - t) + c;
      } else {
        cc = (c - t) + cs;
      }
      cs = t;
      ccs += cc;
    }
    ix += stride;
  }
  return sum + cs + ccs;
}
```