user: What is the c source code of the assembly code below?

```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,8),%rax
  mov    %rax,%rsi
  mov    %rax,%rdx
  and    $0xfffffffffffff000,%rsi
  and    $0xfffffffffffffff0,%rdx
  sub    %rsi,%rcx
  cmp    %rcx,%rsp
  je     L76
L23:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L23
L76:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L98
L106:
  mov    %rax,%rdx
  mov    %rsp,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rbx
  sub    %rax,%rcx
  and    $0xfffffffffffffff0,%rdx
  cmp    %rcx,%rsp
  je     L86
L71:
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  cmp    %rcx,%rsp
  jne    L71
L86:
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  jne    L21
L4:
  lea    0x7(%rsp),%rcx
  mov    %rcx,%rax
  and    $0xfffffffffffffff8,%rcx
  shr    $0x3,%rax
  mov    %rcx,%r15
  mov    %rax,-0x50(%rbp)
  test   %r12d,%r12d
  jle    L101
  xor    %r14d,%r14d
  nopl   (%rax)
L85:
  mov    D22(%rip),%rax
  movq   %rax,%xmm1
  mov    D30(%rip),%rax
  movq   %rax,%xmm0
  call   <rand_uniform@plt>
  movq   $0x0,(%r15,%r14,8)
  movsd  %xmm0,(%rbx,%r14,8)
  add    $0x1,%r14
  cmp    -0x48(%rbp),%r14
  jne    L85
L101:
  xor    %eax,%eax
  call   <tic@plt>
  movsd  %xmm0,-0x48(%rbp)
  test   %r13d,%r13d
  jle    L13
  xor    %r14d,%r14d
  jmp    L119
  nopl   0x0(%rax,%rax,1)
L41:
  add    $0x1,%r14d
  cmp    %r14d,%r13d
  je     L13
L119:
  mov    $0x1,%r8d
  mov    %r15,%rcx
  mov    %rbx,%rsi
  mov    %r12d,%edi
  mov    $0x1,%edx
  call   <stdlib_strided_ddeg2rad@plt>
  movsd  (%r15),%xmm0
  ucomisd %xmm0,%xmm0
  jnp    L41
  lea    D24(%rip),%rdi
  call   <printf@plt>
L13:
  xor    %eax,%eax
  call   <tic@plt>
  mov    -0x50(%rbp),%rax
  subsd  -0x48(%rbp),%xmm0
  movsd  0x0(,%rax,8),%xmm1
  ucomisd %xmm1,%xmm1
  jp     L3
L134:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L73
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
  cs nopw 0x0(%rax,%rax,1)
L98:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L106
  nopl   0x0(%rax,%rax,1)
L3:
  lea    D24(%rip),%rdi
  movsd  %xmm0,-0x48(%rbp)
  call   <printf@plt>
  movsd  -0x48(%rbp),%xmm0
  jmp    L134
L21:
  orq    $0x0,-0x8(%rsp,%rdx,1)
  jmp    L4
L73:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: tag: D22
type_guessed: f64
name: retrieve_data
arguments: tag: D30
type_guessed: f32[2]
name: retrieve_data
arguments: tag: D24
type_guessed: string

tool: D22: 180

tool: {"D30": [0.0,-3.6015625]}

tool: D24: should not return NaN


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