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,%rsi
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L33
L180:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L180
L33:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L163
L118:
  mov    %rax,%rsi
  mov    %rsp,%rcx
  mov    %rax,%rdx
  mov    %rsp,%rbx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L68
L130:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L130
L68:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L9
L35:
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%r12
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L167
L45:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L45
L167:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L131
  orq    $0x0,-0x8(%rsp,%rdx,1)
L131:
  lea    0x7(%rsp),%r9
  mov    %r9,%rax
  and    $0xfffffffffffffff8,%r9
  shr    $0x3,%rax
  mov    %r9,%r14
  mov    %rax,-0x58(%rbp)
  test   %r13d,%r13d
  jle    L29
  xor    %r15d,%r15d
  nopl   (%rax)
L172:
  mov    D23(%rip),%rax
  movq   %rax,%xmm1
  mov    D32(%rip),%rax
  movq   %rax,%xmm0
  call   <rand_uniform@plt>
  movq   $0x0,(%r14,%r15,8)
  movq   $0x0,(%rbx,%r15,8)
  movsd  %xmm0,(%r12,%r15,8)
  add    $0x1,%r15
  cmp    -0x50(%rbp),%r15
  jne    L172
L29:
  xor    %eax,%eax
  call   <tic@plt>
  mov    -0x48(%rbp),%ecx
  movsd  %xmm0,-0x50(%rbp)
  test   %ecx,%ecx
  jle    L117
  xor    %r15d,%r15d
  jmp    L78
  nopl   (%rax)
L24:
  add    $0x1,%r15d
  cmp    %r15d,-0x48(%rbp)
  je     L117
L78:
  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_dmskramp@plt>
  movsd  (%r14),%xmm0
  pop    %rax
  pop    %rdx
  ucomisd %xmm0,%xmm0
  jnp    L24
  lea    D17(%rip),%rdi
  call   <printf@plt>
L117:
  xor    %eax,%eax
  call   <tic@plt>
  mov    -0x58(%rbp),%rax
  subsd  -0x50(%rbp),%xmm0
  movsd  0x0(,%rax,8),%xmm1
  ucomisd %xmm1,%xmm1
  jp     L38
L166:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L80
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopw   0x0(%rax,%rax,1)
L163:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L118
L9:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L35
  xchg   %ax,%ax
L38:
  lea    D17(%rip),%rdi
  movsd  %xmm0,-0x48(%rbp)
  call   <printf@plt>
  movsd  -0x48(%rbp),%xmm0
  jmp    L166
L80:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D23
type_guessed: f64
name: unpack_data
arguments: label: D32
type_guessed: f32[2]
name: unpack_data
arguments: label: D17
type_guessed: string

tool: D23: 10

tool: {"D32": [0.0,-2.5625]}

tool: D17: should not return NaN


assistant: ```c
double benchmark(int iterations, int len) {
  double elapsed;
  uint8_t m[len];
  double x[len];
  double y[len];
  double t;
  int i;
  for (i = 0; i < len; i++) {
    x[i] = rand_uniform(-10.0, 10.0);
    y[i] = 0.0;
    m[i] = 0;
  }
  t = tic();
  for (i = 0; i < iterations; i++) {
    stdlib_strided_dmskramp(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;
}
```