user: 请将以下的汇编代码转换成C语言代码:

```asm
<benchmark>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,%r14d
  mov    %esi,-0x44(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  movslq %esi,%rdx
  lea    0xf(%rdx),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rcx
  sub    %rax,%rcx
L17:
  cmp    %rcx,%rsp
  je     L24
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L17
L24:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L51
  orq    $0x0,-0x8(%rsp,%rax,1)
L51:
  mov    %rsp,%r12
  lea    0xf(,%rdx,4),%rax
  mov    %rax,%rcx
  and    $0xfffffffffffffff0,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L49:
  cmp    %rdx,%rsp
  je     L0
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L49
L0:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L124
  orq    $0x0,-0x8(%rsp,%rax,1)
L124:
  mov    %rsp,%r13
  mov    -0x44(%rbp),%eax
  test   %eax,%eax
  jle    L40
  mov    %eax,%r15d
  mov    $0x0,%ebx
L42:
  mov    $0x0,%eax
  call   <rand_float@plt>
  movss  D36(%rip),%xmm1
  comiss %xmm0,%xmm1
  seta   (%r12,%rbx,1)
  mov    $0x0,%eax
  call   <rand_float@plt>
  mulss  D25(%rip),%xmm0
  subss  D11(%rip),%xmm0
  movss  %xmm0,0x0(%r13,%rbx,4)
  add    $0x1,%rbx
  cmp    %r15,%rbx
  jne    L42
L40:
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %xmm0,%r15
  test   %r14d,%r14d
  jle    L81
  mov    $0x0,%ebx
L92:
  mov    $0x1,%r8d
  mov    %r12,%rcx
  mov    $0x1,%edx
  mov    %r13,%rsi
  mov    -0x44(%rbp),%edi
  call   <stdlib_strided_snanmskmax@plt>
  ucomiss %xmm0,%xmm0
  jp     L20
  add    $0x1,%ebx
  cmp    %ebx,%r14d
  jne    L92
L81:
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %r15,%xmm2
  subsd  %xmm2,%xmm0
  movq   %xmm0,%rbx
L110:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L82
  movq   %rbx,%xmm0
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L20:
  lea    D37(%rip),%r12
  mov    %r12,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %r15,%xmm3
  subsd  %xmm3,%xmm0
  movq   %xmm0,%rbx
  mov    %r12,%rdi
  call   <printf@plt>
  jmp    L110
L82:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D36
data_type: byte[4]
name: parse_data
arguments: tag: D25
data_type: byte[4]
name: parse_data
arguments: tag: D11
data_type: byte[4]
name: parse_data
arguments: tag: D37
data_type: string

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

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

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

tool: D37: should not return NaN


assistant: ```c
double benchmark(int iterations, int len) {
  unsigned char mask[len];
  double elapsed;
  float x[len];
  float v;
  double t;
  int i;
  for (i = 0; i < len; i++) {
    if (rand_float() < 0.2f) {
      mask[i] = 1;
    } else {
      mask[i] = 0;
    }
    x[i] = (rand_float() * 20000.0f) - 10000.0f;
  }
  v = 0.0f;
  t = tic();
  for (i = 0; i < iterations; i++) {
    v = stdlib_strided_snanmskmax(len, x, 1, mask, 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;
}
```