user: 请将这段汇编代码片段转换成等效的C代码：

```asm
<benchmark>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  mov    %edi,%r13d
  push   %r12
  mov    %esi,%r12d
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %esi,%rax
  mov    %rsp,%rcx
  mov    %rax,-0x48(%rbp)
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L18
L2:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L2
L18:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L88
L125:
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rbx
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L119
L110:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L110
L119:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L158
L123:
  lea    0x3(%rsp),%rcx
  mov    %rcx,%rax
  and    $0xfffffffffffffffc,%rcx
  shr    $0x2,%rax
  mov    %rcx,%r15
  mov    %rax,-0x50(%rbp)
  test   %r12d,%r12d
  jle    L44
  xor    %r14d,%r14d
  nopl   (%rax)
L67:
  movss  D1(%rip),%xmm1
  pxor   %xmm0,%xmm0
  call   <rand_uniformf@plt>
  movl   $0x0,(%r15,%r14,4)
  movss  %xmm0,(%rbx,%r14,4)
  add    $0x1,%r14
  cmp    -0x48(%rbp),%r14
  jne    L67
L44:
  xor    %eax,%eax
  call   <tic@plt>
  movsd  %xmm0,-0x48(%rbp)
  test   %r13d,%r13d
  jle    L11
  xor    %r14d,%r14d
  jmp    L141
  nop
L10:
  add    $0x1,%r14d
  cmp    %r14d,%r13d
  je     L11
L141:
  mov    $0x1,%r8d
  mov    %r15,%rcx
  mov    %rbx,%rsi
  mov    %r12d,%edi
  mov    $0x1,%edx
  call   <stdlib_strided_srsqrt@plt>
  movss  (%r15),%xmm0
  ucomiss %xmm0,%xmm0
  jnp    L10
  lea    D15(%rip),%rdi
  call   <printf@plt>
L11:
  xor    %eax,%eax
  call   <tic@plt>
  mov    -0x50(%rbp),%rax
  subsd  -0x48(%rbp),%xmm0
  movss  0x0(,%rax,4),%xmm1
  ucomiss %xmm1,%xmm1
  jp     L45
L16:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L87
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax)
L88:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L125
  nopl   0x0(%rax,%rax,1)
L45:
  lea    D15(%rip),%rdi
  movsd  %xmm0,-0x48(%rbp)
  call   <printf@plt>
  movsd  -0x48(%rbp),%xmm0
  jmp    L16
L158:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L123
L87:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D1
data_type: byte[4]
name: unpack_data
arguments: data_tag: D15
data_type: string

tool: {"D1": [0x00,0x00,0x48,0x43]}

tool: D15: should not return NaN


assistant: ```c
double benchmark(int iterations, int len) {
  double elapsed;
  float x[len];
  float y[len];
  double t;
  int i;
  for (i = 0; i < len; i++) {
    x[i] = rand_uniformf(0.0f, 200.0f);
    y[i] = 0.0f;
  }
  t = tic();
  for (i = 0; i < iterations; i++) {
    stdlib_strided_srsqrt(len, x, 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;
}
```