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
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rax
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L58
L89:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L89
L58:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L5
L136:
  mov    %rsp,%r14
  test   %r12d,%r12d
  jle    L53
  mov    %r12d,%eax
  mov    %r14,%rbx
  lea    (%r14,%rax,4),%r15
  cs nopw 0x0(%rax,%rax,1)
L44:
  xor    %eax,%eax
  call   <rand_float@plt>
  movss  D8(%rip),%xmm1
  comiss %xmm0,%xmm1
  jbe    L32
  pxor   %xmm0,%xmm0
  add    $0x4,%rbx
  divss  %xmm0,%xmm0
  movss  %xmm0,-0x4(%rbx)
  cmp    %rbx,%r15
  jne    L44
L53:
  xor    %eax,%eax
  call   <tic@plt>
  movsd  %xmm0,-0x48(%rbp)
  test   %r13d,%r13d
  jle    L118
  xor    %ebx,%ebx
  jmp    L52
  nopw   0x0(%rax,%rax,1)
L2:
  add    $0x1,%ebx
  cmp    %ebx,%r13d
  je     L118
L52:
  mov    $0x1,%edx
  mov    %r14,%rsi
  mov    %r12d,%edi
  call   <stdlib_strided_snanmax@plt>
  ucomiss %xmm0,%xmm0
  jnp    L2
  lea    D27(%rip),%r12
  mov    %r12,%rdi
  call   <printf@plt>
  xor    %eax,%eax
  call   <tic@plt>
  subsd  -0x48(%rbp),%xmm0
  mov    %r12,%rdi
  movsd  %xmm0,-0x48(%rbp)
  call   <printf@plt>
  movsd  -0x48(%rbp),%xmm0
L142:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L41
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  nopl   0x0(%rax)
L32:
  xor    %eax,%eax
  add    $0x4,%rbx
  call   <rand_float@plt>
  mulss  D11(%rip),%xmm0
  subss  D18(%rip),%xmm0
  movss  %xmm0,-0x4(%rbx)
  cmp    %r15,%rbx
  jne    L44
  jmp    L53
  xchg   %ax,%ax
L118:
  xor    %eax,%eax
  call   <tic@plt>
  subsd  -0x48(%rbp),%xmm0
  jmp    L142
  xchg   %ax,%ax
L5:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L136
L41:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D8
type_guessed: byte[4]
name: extract_symbolic_data
arguments: data_label: D27
type_guessed: string
name: extract_symbolic_data
arguments: data_label: D11
type_guessed: byte[4]
name: extract_symbolic_data
arguments: data_label: D18
type_guessed: byte[4]

tool: {"D8": [0xcd,0xcc,0x4c,0x3e]}

tool: D27: should not return NaN


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

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

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++) {
    if (rand_float() < 0.2f) {
      x[i] = 0.0f / 0.0f;
    } else {
      x[i] = (rand_float() * 20000.0f) - 10000.0f;
    }
  }
  v = 0.0f;
  t = tic();
  for (i = 0; i < iterations; i++) {
    v = stdlib_strided_snanmax(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;
}
```