user: Translate the below assembly code into C programming language:

```asm
<stdlib_strided_snansumkbn2>:
  endbr64
  test   %rdi,%rdi
  jle    L97
  push   %r14
  push   %r13
  mov    %rdi,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x20,%rsp
  cmp    $0x1,%rdi
  je     L118
  test   %rdx,%rdx
  je     L118
  mov    $0x0,%eax
  jns    L10
  mov    $0x1,%eax
  sub    %rdi,%rax
  imul   %rdx,%rax
L10:
  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    L128
  nopl   0x0(%rax,%rax,1)
L41:
  add    $0x1,%rbx
  add    %r12,%rbp
  cmp    %rbx,%r13
  je     L49
L128:
  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    L41
  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     L85
  movss  0x10(%rsp),%xmm0
  subss  0xc(%rsp),%xmm0
  addss  %xmm0,%xmm1
L100:
  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     L74
  movss  0x14(%rsp),%xmm0
  subss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
L45:
  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    L128
L49:
  movss  0x10(%rsp),%xmm0
  addss  0x14(%rsp),%xmm0
  addss  0x18(%rsp),%xmm0
L14:
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L118:
  movss  (%rbx),%xmm0
  call   <stdlib_base_is_nanf@plt>
  pxor   %xmm0,%xmm0
  test   %rax,%rax
  jne    L14
  movss  (%rbx),%xmm0
  add    $0x20,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L74:
  subss  %xmm2,%xmm1
  addss  0x14(%rsp),%xmm1
  jmp    L45
  nop
L85:
  subss  0xc(%rsp),%xmm1
  addss  0x10(%rsp),%xmm1
  jmp    L100
  nopl   0x0(%rax)
L97:
  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;
}
```