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
  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
L28:
  cmp    %rcx,%rsp
  je     L6
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L28
L6:
  mov    %rsi,%rdx
  and    $0xfff,%edx
  sub    %rdx,%rsp
  test   %rdx,%rdx
  je     L63
  orq    $0x0,-0x8(%rsp,%rdx,1)
L63:
  mov    %rsp,%r12
  add    $0xf,%rax
  mov    %rax,%rcx
  and    $0xfffffffffffffff0,%rcx
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%rdx
  sub    %rax,%rdx
L97:
  cmp    %rdx,%rsp
  je     L49
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L97
L49:
  mov    %rcx,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L115
  orq    $0x0,-0x8(%rsp,%rax,1)
L115:
  mov    %rsp,%r13
  mov    -0x44(%rbp),%eax
  test   %eax,%eax
  jle    L72
  mov    %eax,%r15d
  mov    $0x0,%ebx
L66:
  mov    $0x0,%eax
  call   <rand_double@plt>
  mulsd  D36(%rip),%xmm0
  subsd  D16(%rip),%xmm0
  movsd  %xmm0,(%r12,%rbx,8)
  mov    $0x0,%eax
  call   <rand_double@plt>
  mulsd  D36(%rip),%xmm0
  subsd  D16(%rip),%xmm0
  movsd  %xmm0,0x0(%r13,%rbx,8)
  add    $0x1,%rbx
  cmp    %r15,%rbx
  jne    L66
L72:
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %xmm0,%r15
  test   %r14d,%r14d
  jle    L32
  mov    $0x0,%ebx
L85:
  mov    $0x1,%r8d
  mov    %r13,%rcx
  mov    $0x1,%edx
  mov    %r12,%rsi
  mov    -0x44(%rbp),%edi
  call   <c_ddot@plt>
  ucomisd %xmm0,%xmm0
  jp     L61
  add    $0x1,%ebx
  cmp    %ebx,%r14d
  jne    L85
L32:
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %r15,%xmm1
  subsd  %xmm1,%xmm0
  movq   %xmm0,%rbx
L47:
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L59
  movq   %rbx,%xmm0
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L61:
  lea    D17(%rip),%r12
  mov    %r12,%rdi
  call   <printf@plt>
  mov    $0x0,%eax
  call   <tic@plt>
  movq   %r15,%xmm2
  subsd  %xmm2,%xmm0
  movq   %xmm0,%rbx
  mov    %r12,%rdi
  call   <printf@plt>
  jmp    L47
L59:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D36
type: f64
name: parse_data
arguments: data_tag: D16
type: f64
name: parse_data
arguments: data_tag: D17
type: string

tool: D36: 20000

tool: D16: 10000

tool: D17: should not return NaN


assistant: ```c
double benchmark(int iterations, int len) {
  double elapsed;
  double x[len];
  double y[len];
  double z;
  double t;
  int i;
  for (i = 0; i < len; i++) {
    x[i] = (rand_double() * 20000.0) - 10000.0;
    y[i] = (rand_double() * 20000.0) - 10000.0;
  }
  z = 0.0;
  t = tic();
  for (i = 0; i < iterations; i++) {
    z = c_ddot(len, x, 1, y, 1);
    if (z != z) {
      printf("should not return NaN\n");
      break;
    }
  }
  elapsed = tic() - t;
  if (z != z) {
    printf("should not return NaN\n");
  }
  return elapsed;
}
```