user: What would the C source look like for the assembly code provided here?

```asm
<c_ssort2ins>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x88,%rsp
  mov    %edi,0x48(%rsp)
  mov    %edx,0x50(%rsp)
  mov    %r8d,0x4c(%rsp)
  test   %edi,%edi
  jle    L91
  pxor   %xmm1,%xmm1
  mov    %rsi,%r13
  mov    %edx,%esi
  setle  %dl
  ucomiss %xmm1,%xmm0
  setnp  %al
  cmovne %edx,%eax
  test   %al,%al
  jne    L91
  comiss %xmm0,%xmm1
  mov    %rcx,%r15
  ja     L220
  mov    0x4c(%rsp),%edx
  test   %edx,%edx
  js     L106
L180:
  mov    0x48(%rsp),%eax
  mov    0x50(%rsp),%esi
  mov    %edx,0x40(%rsp)
  sub    $0x1,%eax
  imul   %edx,%eax
  test   %esi,%esi
  js     L232
L65:
  mov    0x48(%rsp),%edx
  mov    0x50(%rsp),%esi
  lea    -0x1(%rdx),%ebp
  mov    %ebp,%edi
  imul   %esi,%edi
  mov    %edi,0x54(%rsp)
  cmp    $0x1,%edx
  je     L91
  cltq
  movslq %esi,%rsi
  movslq 0x4c(%rsp),%rbp
  movslq %edi,%rdx
  lea    (%r15,%rax,4),%rax
  lea    0x0(%r13,%rsi,4),%r12
  mov    %rsi,0x70(%rsp)
  mov    %rax,0x60(%rsp)
  mov    %rsi,%rax
  lea    0x0(%r13,%rdx,4),%rdx
  lea    0x0(,%rbp,4),%rdi
  mov    %eax,0x3c(%rsp)
  neg    %eax
  lea    (%r15,%rdi,1),%rsi
  mov    %r12,%r14
  cltq
  mov    %rdx,0x58(%rsp)
  mov    %r15,%r12
  mov    %rbp,%r15
  mov    %rax,0x8(%rsp)
  mov    %ebp,%eax
  mov    %r13,%rbp
  neg    %eax
  mov    %rdi,0x68(%rsp)
  cltq
  mov    %rsi,(%rsp)
  movl   $0x1,0x34(%rsp)
  mov    %rax,0x10(%rsp)
  nopl   0x0(%rax)
L59:
  movslq 0x3c(%rsp),%r13
  movslq 0x40(%rsp),%rax
  lea    0x0(%rbp,%r13,4),%rbx
  lea    (%r12,%rax,4),%rcx
  movss  (%rbx),%xmm1
  movss  (%rcx),%xmm2
  mov    %rcx,0x20(%rsp)
  movaps %xmm1,%xmm0
  movss  %xmm1,0x18(%rsp)
  movss  %xmm2,0x44(%rsp)
  call   <stdlib_base_is_nanf@plt>
  movss  0x18(%rsp),%xmm1
  mov    0x20(%rsp),%rcx
  test   %rax,%rax
  je     L49
  mov    0x3c(%rsp),%edi
  mov    %rcx,%rax
  cmp    %edi,0x54(%rsp)
  jle    L265
  mov    0x54(%rsp),%edx
  mov    0x68(%rsp),%rcx
  mov    0x70(%rsp),%rsi
  nopl   0x0(%rax,%rax,1)
L160:
  movss  (%r14,%r13,4),%xmm0
  movss  %xmm0,0x0(%rbp,%r13,4)
  movss  (%rax,%r15,4),%xmm0
  add    %rsi,%r13
  movss  %xmm0,(%rax)
  add    %rcx,%rax
  cmp    %r13d,%edx
  jg     L160
L265:
  mov    0x58(%rsp),%rax
  movss  0x44(%rsp),%xmm3
  movss  %xmm1,(%rax)
  mov    0x60(%rsp),%rax
  movss  %xmm3,(%rax)
L108:
  addl   $0x1,0x34(%rsp)
  mov    0x34(%rsp),%eax
  cmp    %eax,0x48(%rsp)
  jne    L59
L91:
  add    $0x88,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L106:
  mov    $0x2,%eax
  sub    0x48(%rsp),%eax
  mov    0x50(%rsp),%esi
  imul   %edx,%eax
  mov    %eax,0x40(%rsp)
  xor    %eax,%eax
  test   %esi,%esi
  jns    L65
L232:
  mov    0x48(%rsp),%ecx
  mov    0x50(%rsp),%edi
  mov    $0x1,%edx
  sub    %ecx,%edx
  mov    %edi,%esi
  imul   %edi,%edx
  add    %edx,%esi
  mov    %edx,(%rsp)
  mov    %esi,0x44(%rsp)
  cmp    $0x1,%ecx
  je     L91
  cltq
  movslq %edi,%rsi
  movslq 0x4c(%rsp),%rbp
  mov    %r15,%r14
  lea    (%r15,%rax,4),%rax
  lea    0x0(%r13,%rsi,4),%r12
  mov    %rsi,0x68(%rsp)
  mov    %rax,0x58(%rsp)
  mov    %rsi,%rax
  lea    0x0(,%rbp,4),%rsi
  neg    %eax
  lea    (%r15,%rsi,1),%rdx
  mov    %rsi,0x60(%rsp)
  mov    %r12,%r15
  cltq
  mov    %rdx,0x8(%rsp)
  mov    %rbp,%r12
  mov    %rax,0x10(%rsp)
  mov    %ebp,%eax
  mov    %r13,%rbp
  neg    %eax
  movl   $0x1,0x38(%rsp)
  cltq
  mov    %rax,0x18(%rsp)
  xchg   %ax,%ax
L41:
  movslq 0x44(%rsp),%r13
  movslq 0x40(%rsp),%rax
  lea    0x0(%rbp,%r13,4),%rbx
  lea    (%r14,%rax,4),%rcx
  movss  (%rbx),%xmm1
  movss  (%rcx),%xmm4
  mov    %rcx,0x28(%rsp)
  movaps %xmm1,%xmm0
  movss  %xmm1,0x20(%rsp)
  movss  %xmm4,0x54(%rsp)
  call   <stdlib_base_is_nanf@plt>
  movss  0x20(%rsp),%xmm1
  mov    0x28(%rsp),%rcx
  test   %rax,%rax
  je     L25
  mov    %rcx,%rax
  mov    0x44(%rsp),%ecx
  test   %ecx,%ecx
  jle    L275
  mov    0x60(%rsp),%rdx
  mov    0x68(%rsp),%rcx
  nopl   (%rax)
L184:
  movss  (%r15,%r13,4),%xmm0
  movss  %xmm0,0x0(%rbp,%r13,4)
  movss  (%rax,%r12,4),%xmm0
  add    %rcx,%r13
  movss  %xmm0,(%rax)
  add    %rdx,%rax
  test   %r13d,%r13d
  jg     L184
L275:
  mov    0x58(%rsp),%rax
  movss  0x54(%rsp),%xmm6
  movss  %xmm1,0x0(%rbp)
  movss  %xmm6,(%rax)
L111:
  addl   $0x1,0x38(%rsp)
  mov    0x38(%rsp),%eax
  cmp    %eax,0x48(%rsp)
  jne    L41
  jmp    L91
  xchg   %ax,%ax
L220:
  neg    %r8d
  neg    %esi
  mov    %r8d,0x4c(%rsp)
  mov    0x4c(%rsp),%edx
  mov    %esi,0x50(%rsp)
  test   %edx,%edx
  jns    L180
  jmp    L106
  nop
L49:
  movaps %xmm1,%xmm0
  mov    %rcx,0x20(%rsp)
  movss  %xmm1,0x18(%rsp)
  call   <stdlib_base_is_negative_zerof@plt>
  mov    0x40(%rsp),%r10d
  mov    0x3c(%rsp),%edx
  sub    0x4c(%rsp),%r10d
  sub    0x50(%rsp),%edx
  mov    %eax,0x38(%rsp)
  movss  0x18(%rsp),%xmm1
  mov    0x20(%rsp),%rcx
  js     L211
  movslq %edx,%rdx
  movslq %r10d,%r10
  mov    %r15,0x78(%rsp)
  mov    %r14,%r15
  mov    %rdx,%rbx
  mov    %r10,%r14
  xchg   %ax,%ax
L346:
  movss  0x0(%rbp,%rbx,4),%xmm0
  mov    %r14d,%ecx
  mov    %ebx,%r11d
  lea    0x0(%rbp,%rbx,4),%r13
  comiss %xmm0,%xmm1
  jb     L326
  mov    0x38(%rsp),%eax
  test   %eax,%eax
  je     L97
  ucomiss %xmm0,%xmm1
  mov    $0x1,%edi
  setp   %al
  cmovne %edi,%eax
  test   %al,%al
  jne    L97
  movss  %xmm1,0x20(%rsp)
  movss  %xmm0,0x18(%rsp)
  mov    %r14d,0x30(%rsp)
  mov    %ebx,0x28(%rsp)
  call   <stdlib_base_is_negative_zerof@plt>
  movss  0x18(%rsp),%xmm0
  movss  0x20(%rsp),%xmm1
  test   %eax,%eax
  mov    0x28(%rsp),%r11d
  mov    0x30(%rsp),%ecx
  jne    L97
L326:
  movss  %xmm0,(%r15,%rbx,4)
  mov    (%rsp),%rax
  movss  (%r12,%r14,4),%xmm0
  lea    (%r12,%r14,4),%rcx
  add    0x8(%rsp),%rbx
  movss  %xmm0,(%rax,%r14,4)
  add    0x10(%rsp),%r14
  test   %ebx,%ebx
  jns    L346
  mov    %r15,%r14
  mov    0x78(%rsp),%r15
  mov    %r13,%rbx
L211:
  movss  0x44(%rsp),%xmm5
  mov    0x50(%rsp),%edi
  movss  %xmm1,(%rbx)
  mov    0x4c(%rsp),%esi
  add    %edi,0x3c(%rsp)
  add    %esi,0x40(%rsp)
  movss  %xmm5,(%rcx)
  jmp    L108
  nopl   (%rax)
L97:
  mov    0x50(%rsp),%eax
  mov    %r15,%r14
  mov    0x78(%rsp),%r15
  add    %r11d,%eax
  cltq
  lea    0x0(%rbp,%rax,4),%rbx
  mov    0x4c(%rsp),%eax
  add    %ecx,%eax
  cltq
  lea    (%r12,%rax,4),%rcx
  jmp    L211
  nopl   0x0(%rax)
L25:
  movaps %xmm1,%xmm0
  mov    %rcx,0x28(%rsp)
  movss  %xmm1,0x20(%rsp)
  call   <stdlib_base_is_negative_zerof@plt>
  mov    0x44(%rsp),%edx
  mov    0x40(%rsp),%r10d
  sub    0x50(%rsp),%edx
  sub    0x4c(%rsp),%r10d
  mov    %eax,0x3c(%rsp)
  cmp    %edx,(%rsp)
  movss  0x20(%rsp),%xmm1
  mov    0x28(%rsp),%rcx
  jl     L161
  movslq %edx,%rdx
  movslq %r10d,%r10
  mov    %r12,0x70(%rsp)
  mov    %r14,%r12
  mov    %rdx,%rbx
  mov    %r10,%r14
  nopl   0x0(%rax)
L268:
  movss  0x0(%rbp,%rbx,4),%xmm0
  mov    %r14d,%ecx
  mov    %ebx,%r11d
  lea    0x0(%rbp,%rbx,4),%r13
  comiss %xmm0,%xmm1
  jb     L63
  mov    0x3c(%rsp),%edx
  test   %edx,%edx
  je     L117
  ucomiss %xmm0,%xmm1
  mov    $0x1,%edi
  setp   %al
  cmovne %edi,%eax
  test   %al,%al
  jne    L117
  movss  %xmm1,0x28(%rsp)
  movss  %xmm0,0x20(%rsp)
  mov    %r14d,0x34(%rsp)
  mov    %ebx,0x30(%rsp)
  call   <stdlib_base_is_negative_zerof@plt>
  movss  0x20(%rsp),%xmm0
  movss  0x28(%rsp),%xmm1
  test   %eax,%eax
  mov    0x30(%rsp),%r11d
  mov    0x34(%rsp),%ecx
  jne    L117
L63:
  movss  %xmm0,(%r15,%rbx,4)
  mov    0x8(%rsp),%rax
  lea    (%r12,%r14,4),%rcx
  movss  (%r12,%r14,4),%xmm0
  add    0x10(%rsp),%rbx
  movss  %xmm0,(%rax,%r14,4)
  add    0x18(%rsp),%r14
  cmp    %ebx,(%rsp)
  jge    L268
  mov    %r12,%r14
  mov    0x70(%rsp),%r12
  mov    %r13,%rbx
L161:
  movss  0x54(%rsp),%xmm7
  mov    0x50(%rsp),%edi
  movss  %xmm1,(%rbx)
  add    %edi,0x44(%rsp)
  mov    0x4c(%rsp),%edi
  movss  %xmm7,(%rcx)
  add    %edi,0x40(%rsp)
  jmp    L111
L117:
  mov    0x50(%rsp),%eax
  mov    %r12,%r14
  mov    0x70(%rsp),%r12
  add    %r11d,%eax
  cltq
  lea    0x0(%rbp,%rax,4),%rbx
  mov    0x4c(%rsp),%eax
  add    %ecx,%eax
  cltq
  lea    (%r14,%rax,4),%rcx
  jmp    L161
```

assistant: ```c
void c_ssort2ins(const int64_t N, const float order, float *X, const int64_t strideX, float *Y, const int64_t strideY) {
  int64_t sx;
  int64_t sy;
  int64_t ix;
  int64_t jx;
  int64_t fx;
  int64_t lx;
  int64_t iy;
  int64_t jy;
  int64_t fy;
  int64_t ly;
  int64_t i;
  float vx;
  float vy;
  float ux;
  bool flg;
  if (N <= 0 || order == 0.0f) {
    return;
  }
  if (order < 0.0f) {
    sx = -strideX;
    sy = -strideY;
  } else {
    sx = strideX;
    sy = strideY;
  }
  if (sy < 0) {
    fy = (1 - N) * sy;
    ly = 0;
  } else {
    fy = 0;
    ly = (N - 1) * sy;
  }
  iy = fy + sy;
  if (sx < 0) {
    fx = (1 - N) * sx;
    lx = 0;
    ix = fx + sx;
    for (i = 1; i < N; i++) {
      vx = X[ix];
      vy = Y[iy];
      if (stdlib_base_is_nanf(vx)) {
        jx = ix;
        jy = iy;
        while (jx > lx) {
          X[jx] = X[jx + sx];
          Y[jy] = Y[jy + sy];
          jx += sx;
          jy += sy;
        }
        X[lx] = vx;
        Y[ly] = vy;
      } else {
        flg = stdlib_base_is_negative_zerof(vx);
        jx = ix - sx;
        jy = iy - sy;
        while (jx <= fx) {
          ux = X[jx];
          if (ux <= vx && !(flg && ux == vx && !stdlib_base_is_negative_zerof(ux))) {
            break;
          }
          X[jx + sx] = ux;
          Y[jy + sy] = Y[jy];
          jx -= sx;
          jy -= sy;
        }
        X[jx + sx] = vx;
        Y[jy + sy] = vy;
        ix += sx;
        iy += sy;
      }
    }
    return;
  }
  fx = 0;
  lx = (N - 1) * sx;
  ix = fx + sx;
  for (i = 1; i < N; i++) {
    vx = X[ix];
    vy = Y[iy];
    if (stdlib_base_is_nanf(vx)) {
      jx = ix;
      jy = iy;
      while (jx < lx) {
        X[jx] = X[jx + sx];
        Y[jy] = Y[jy + sy];
        jx += sx;
        jy += sy;
      }
      X[lx] = vx;
      Y[ly] = vy;
    } else {
      flg = stdlib_base_is_negative_zerof(vx);
      jx = ix - sx;
      jy = iy - sy;
      while (jx >= fx) {
        ux = X[jx];
        if (ux <= vx && !(flg && ux == vx && !stdlib_base_is_negative_zerof(ux))) {
          break;
        }
        X[jx + sx] = ux;
        Y[jy + sy] = Y[jy];
        jx -= sx;
        jy -= sy;
      }
      X[jx + sx] = vx;
      Y[jy + sy] = vy;
      ix += sx;
      iy += sy;
    }
  }
  return;
}
```