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

```asm
<benchmark>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x48,%rsp
  mov    %edi,-0x44(%rbp)
  mov    %esi,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  mov    %rsp,%rax
  mov    %rax,%rbx
  mov    -0x48(%rbp),%eax
  movslq %eax,%rdx
  sub    $0x1,%rdx
  mov    %rdx,-0x38(%rbp)
  movslq %eax,%rdx
  mov    %rdx,%r10
  mov    $0x0,%r11d
  movslq %eax,%rdx
  mov    %rdx,%r8
  mov    $0x0,%r9d
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    $0x10,%eax
  sub    $0x1,%rax
  add    %rdx,%rax
  mov    $0x10,%esi
  mov    $0x0,%edx
  div    %rsi
  imul   $0x10,%rax,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffff000,%rcx
  mov    %rsp,%rdx
  sub    %rcx,%rdx
L80:
  cmp    %rdx,%rsp
  je     L39
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L80
L39:
  mov    %rax,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  mov    %rax,%rdx
  and    $0xfff,%edx
  test   %rdx,%rdx
  je     L106
  and    $0xfff,%eax
  sub    $0x8,%rax
  add    %rsp,%rax
  orq    $0x0,(%rax)
L106:
  mov    %rsp,%rax
  add    $0x3,%rax
  shr    $0x2,%rax
  shl    $0x2,%rax
  mov    %rax,-0x30(%rbp)
  movl   $0x0,-0x3c(%rbp)
  jmp    L42
L75:
  mov    $0x0,%eax
  call   <rand_float@plt>
  movss  D30(%rip),%xmm1
  mulss  %xmm1,%xmm0
  movss  D13(%rip),%xmm1
  subss  %xmm1,%xmm0
  mov    -0x30(%rbp),%rax
  mov    -0x3c(%rbp),%edx
  movslq %edx,%rdx
  movss  %xmm0,(%rax,%rdx,4)
  addl   $0x1,-0x3c(%rbp)
L42:
  mov    -0x3c(%rbp),%eax
  cmp    -0x48(%rbp),%eax
  jl     L75
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0x40(%rbp)
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x28(%rbp)
  movl   $0x0,-0x3c(%rbp)
  jmp    L26
L11:
  mov    -0x30(%rbp),%rcx
  mov    -0x48(%rbp),%eax
  mov    $0x1,%edx
  mov    %rcx,%rsi
  mov    D40(%rip),%ecx
  movd   %ecx,%xmm0
  mov    %eax,%edi
  call   <stdlib_strided_sapxsumkbn@plt>
  movd   %xmm0,%eax
  mov    %eax,-0x40(%rbp)
  movss  -0x40(%rbp),%xmm0
  ucomiss -0x40(%rbp),%xmm0
  jnp    L66
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
  jmp    L105
L66:
  addl   $0x1,-0x3c(%rbp)
L26:
  mov    -0x3c(%rbp),%eax
  cmp    -0x44(%rbp),%eax
  jl     L11
L105:
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  subsd  -0x28(%rbp),%xmm0
  movsd  %xmm0,-0x20(%rbp)
  movss  -0x40(%rbp),%xmm0
  ucomiss -0x40(%rbp),%xmm0
  jnp    L74
  lea    D2(%rip),%rax
  mov    %rax,%rdi
  call   <printf@plt>
L74:
  movsd  -0x20(%rbp),%xmm0
  mov    %rbx,%rsp
  movq   %xmm0,%rax
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L19
  call   <__stack_chk_fail@plt>
L19:
  movq   %rax,%xmm0
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_tag: D30
data_type: byte[4]
name: unpack_data
arguments: data_tag: D13
data_type: byte[4]
name: unpack_data
arguments: data_tag: D40
data_type: byte[4]
name: unpack_data
arguments: data_tag: D2
data_type: string

tool: {"D30": [0x00,0x40,0x9c,0x46]}

tool: {"D13": [0x00,0x40,0x1c,0x46]}

tool: {"D40": [0x00,0x00,0xa0,0x40]}

tool: D2: 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] = (rand_float() * 20000.0f) - 10000.0f;
  }
  v = 0.0f;
  t = tic();
  for (i = 0; i < iterations; i++) {
    v = stdlib_strided_sapxsumkbn(len, 5.0f, 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;
}
```