user: What is the c source code of the assembly code below?

```asm
<benchmark>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r14
  push   %r13
  mov    %edi,%r13d
  push   %r12
  mov    %esi,%r12d
  push   %rbx
  sub    $0x20,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x28(%rbp)
  xor    %eax,%eax
  movslq %esi,%rax
  mov    %rsp,%rcx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L123
L151:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L151
L123:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L94
L96:
  mov    %rsp,%r14
  test   %r12d,%r12d
  jle    L14
  lea    -0x1(%r12),%eax
  cmp    $0x2,%eax
  jbe    L119
  mov    %r12d,%edx
  movdqa D29(%rip),%xmm1
  movdqa D16(%rip),%xmm2
  mov    %r14,%rax
  shr    $0x2,%edx
  shl    $0x4,%rdx
  add    %r14,%rdx
  nopl   0x0(%rax)
L72:
  movdqa %xmm1,%xmm0
  add    $0x10,%rax
  paddd  %xmm2,%xmm1
  cvtdq2ps %xmm0,%xmm0
  movups %xmm0,-0x10(%rax)
  cmp    %rdx,%rax
  jne    L72
  mov    %r12d,%eax
  and    $0xfffffffc,%eax
  test   $0x3,%r12b
  je     L14
L58:
  pxor   %xmm0,%xmm0
  movslq %eax,%rdx
  lea    0x1(%rax),%ecx
  cvtsi2ss %eax,%xmm0
  lea    (%r14,%rdx,4),%rdx
  movss  %xmm0,(%rdx)
  cmp    %ecx,%r12d
  jle    L14
  pxor   %xmm0,%xmm0
  add    $0x2,%eax
  cvtsi2ss %ecx,%xmm0
  movss  %xmm0,0x4(%rdx)
  cmp    %eax,%r12d
  jle    L14
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,0x8(%rdx)
L14:
  xor    %eax,%eax
  call   <tic@plt>
  movsd  %xmm0,-0x38(%rbp)
  test   %r13d,%r13d
  jle    L40
  xor    %ebx,%ebx
  jmp    L28
  cs nopw 0x0(%rax,%rax,1)
L1:
  add    $0x1,%ebx
  cmp    %ebx,%r13d
  je     L40
L28:
  mov    $0x1,%edx
  mov    %r14,%rsi
  mov    %r12d,%edi
  call   <stdlib_strided_smediansorted@plt>
  ucomiss %xmm0,%xmm0
  jnp    L1
  lea    D12(%rip),%r12
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <tic@plt>
  subsd  -0x38(%rbp),%xmm0
  mov    %r12,%rdi
  movsd  %xmm0,-0x38(%rbp)
  call   <printf@plt>
  movsd  -0x38(%rbp),%xmm0
L144:
  mov    -0x28(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L168
  lea    -0x20(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %rbp
  ret
  cs nopw 0x0(%rax,%rax,1)
L40:
  xor    %eax,%eax
  call   <tic@plt>
  subsd  -0x38(%rbp),%xmm0
  jmp    L144
  xchg   %ax,%ax
L94:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L96
L119:
  xor    %eax,%eax
  jmp    L58
L168:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D29
type: byte[16]
name: unpack_data
arguments: data_label: D16
type: byte[16]
name: unpack_data
arguments: data_label: D12
type: string

tool: {"D29": [0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x02,0x00,0x00,0x00,0x03,0x00,0x00,0x00]}

tool: {"D16": [0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00,0x04,0x00,0x00,0x00]}

tool: D12: should not return NaN


assistant: ```c
double benchmark(int iterations, int len) {
  double elapsed;
  float x[len];
  float v;
  double t;
  int i;
  for (i = 0; i < len; i++) {
    x[i] = i;
  }
  v = 0.0f;
  t = tic();
  for (i = 0; i < iterations; i++) {
    v = stdlib_strided_smediansorted(len, x, 1);
    if (v != v) {
      printf("should not return NaN\n");
      break;
    }
  }
  elapsed = tic() - t;
  if (v != v) {
    printf("should not return NaN\n");
  }
  return elapsed;
}
```