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

```asm
<benchmark>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  mov    %esi,%r13d
  push   %r12
  push   %rbx
  sub    $0x38,%rsp
  mov    %edi,-0x48(%rbp)
  mov    %rsp,%rcx
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %esi,%rax
  mov    %rax,-0x50(%rbp)
  lea    0xf(,%rax,8),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L110
L158:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L158
L110:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L10
L122:
  mov    -0x50(%rbp),%rax
  mov    %rsp,%rcx
  mov    %rsp,%rbx
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L8
L98:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L98
L8:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L154
L41:
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%r12
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L138
L193:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L193
L138:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L195
  orq    $0x0,-0x8(%rsp,%rdx,1)
L195:
  lea    0x3(%rsp),%r9
  mov    %r9,%rax
  and    $0xfffffffffffffffc,%r9
  shr    $0x2,%rax
  mov    %r9,%r14
  mov    %rax,-0x58(%rbp)
  test   %r13d,%r13d
  jle    L173
  xor    %r15d,%r15d
  nopl   (%rax)
L189:
  movss  D0(%rip),%xmm1
  movss  D29(%rip),%xmm0
  call   <rand_uniformf@plt>
  movl   $0x0,(%r14,%r15,4)
  movq   $0x0,(%rbx,%r15,8)
  movss  %xmm0,(%r12,%r15,4)
  add    $0x1,%r15
  cmp    -0x50(%rbp),%r15
  jne    L189
L173:
  xor    %eax,%eax
  call   <tic@plt>
  mov    -0x48(%rbp),%ecx
  movsd  %xmm0,-0x50(%rbp)
  test   %ecx,%ecx
  jle    L85
  xor    %r15d,%r15d
  jmp    L43
  nopl   (%rax)
L83:
  add    $0x1,%r15d
  cmp    %r15d,-0x48(%rbp)
  je     L85
L43:
  sub    $0x8,%rsp
  mov    $0x1,%edx
  mov    %r14,%r9
  mov    %rbx,%rcx
  push   $0x1
  mov    $0x1,%r8d
  mov    %r12,%rsi
  mov    %r13d,%edi
  call   <stdlib_strided_smskinv@plt>
  movss  (%r14),%xmm0
  pop    %rax
  pop    %rdx
  ucomiss %xmm0,%xmm0
  jnp    L83
  lea    D5(%rip),%rdi
  call   <printf@plt>
L85:
  xor    %eax,%eax
  call   <tic@plt>
  mov    -0x58(%rbp),%rax
  subsd  -0x50(%rbp),%xmm0
  movss  0x0(,%rax,4),%xmm1
  ucomiss %xmm1,%xmm1
  jp     L179
L90:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L148
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L10:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L122
L154:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L41
  cs nopw 0x0(%rax,%rax,1)
L179:
  lea    D5(%rip),%rdi
  movsd  %xmm0,-0x48(%rbp)
  call   <printf@plt>
  movsd  -0x48(%rbp),%xmm0
  jmp    L90
L148:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_label: D0
datatype: byte[4]
name: unpack_data
arguments: data_label: D29
datatype: byte[4]
name: unpack_data
arguments: data_label: D5
datatype: string

tool: {"D0": [0x00,0x00,0x48,0x42]}

tool: {"D29": [0x00,0x00,0x48,0xc2]}

tool: D5: should not return NaN


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