user: Demonstrate the C code that generates the assembly output below:

```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
  mov    %esi,%eax
  cltq
  shl    $0x3,%rax
  lea    0xf(%rax),%rdx
  mov    %rdx,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rdx
  mov    %rsp,%rcx
  sub    %rdx,%rcx
L57:
  cmp    %rcx,%rsp
  je     L33
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L57
L33:
  mov    %rsi,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L25
  orq    $0x0,-0x8(%rsp,%rdx,1)
L25:
  mov    %rsp,%r13
  add    $0xf,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffffff0,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L122:
  cmp    %rdx,%rsp
  je     L61
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L122
L61:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L80
  orq    $0x0,-0x8(%rsp,%rax,1)
L80:
  lea    0x7(%rsp),%r12
  mov    %r12,%rax
  shr    $0x3,%rax
  mov    %rax,-0x50(%rbp)
  and    $0xfffffffffffffff8,%r12
  mov    -0x44(%rbp),%eax
  test   %eax,%eax
  jle    L131
  mov    %eax,%r15d
  mov    $0x0,%ebx
L135:
  mov    D15(%rip),%rax
  movq   %rax,%xmm1
  mov    D39(%rip),%rax
  movq   %rax,%xmm0
  call   <rand_uniform@plt>
  movsd  %xmm0,0x0(%r13,%rbx,8)
  movq   $0x0,(%r12,%rbx,8)
  add    $0x1,%rbx
  cmp    %r15,%rbx
  jne    L135
L131:
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %xmm0,%r15
  test   %r14d,%r14d
  jle    L75
  mov    $0x0,%ebx
L140:
  mov    $0x1,%r8d
  mov    %r12,%rcx
  mov    $0x1,%edx
  mov    %r13,%rsi
  mov    -0x44(%rbp),%edi
  call   <stdlib_strided_ddeg2rad@plt>
  movsd  (%r12),%xmm0
  ucomisd %xmm0,%xmm0
  jp     L84
  add    $0x1,%ebx
  cmp    %ebx,%r14d
  jne    L140
  jmp    L75
L84:
  lea    D23(%rip),%rdi
  call   <printf@plt>
L75:
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %r15,%xmm2
  subsd  %xmm2,%xmm0
  movq   %xmm0,%rbx
  mov    -0x50(%rbp),%rax
  movsd  0x0(,%rax,8),%xmm0
  ucomisd %xmm0,%xmm0
  jp     L93
L123:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L70
  movq   %rbx,%xmm0
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L93:
  lea    D23(%rip),%rdi
  call   <printf@plt>
  jmp    L123
L70:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: disassemble_data
arguments: data_label: D15
type: f64
name: disassemble_data
arguments: data_label: D39
type: f32[2]
name: disassemble_data
arguments: data_label: D23
type: string

tool: D15: 180

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

tool: D23: 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;
}
```