user: What would the C source look like for the assembly code provided here:

```asm
<doubleBoxWhiskerCalc>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %edi,%ebx
  mov    %rsi,%rbp
  mov    %rdx,%r12
  mov    %rcx,%r15
  mov    %r8,%r14
  mov    %r9,%r13
  test   %edi,%edi
  jle    L2
  cmp    $0x1,%edi
  je     L56
L74:
  mov    %rbp,%rsi
  mov    %ebx,%edi
  call   <doubleSort@plt>
  movsd  0x0(%rbp),%xmm4
  movsd  %xmm4,0x8(%rsp)
  movslq %ebx,%rax
  movsd  -0x8(%rbp,%rax,8),%xmm5
  movsd  %xmm5,0x10(%rsp)
  mov    %ebx,%eax
  sar    %eax
  test   $0x1,%bl
  je     L35
  cltq
  movsd  0x0(%rbp,%rax,8),%xmm7
  movsd  %xmm7,(%rsp)
L46:
  cmp    $0x3,%ebx
  jg     L39
  movsd  D14(%rip),%xmm2
  movsd  (%rsp),%xmm3
  movapd %xmm3,%xmm0
  addsd  0x8(%rsp),%xmm0
  mulsd  %xmm2,%xmm0
  addsd  0x10(%rsp),%xmm3
  movapd %xmm3,%xmm1
  mulsd  %xmm2,%xmm1
L78:
  movsd  0x8(%rsp),%xmm6
  movsd  %xmm6,(%r12)
  movsd  %xmm0,(%r15)
  movsd  (%rsp),%xmm7
  movsd  %xmm7,(%r14)
  movsd  %xmm1,0x0(%r13)
  mov    0x60(%rsp),%rax
  movsd  0x10(%rsp),%xmm4
  movsd  %xmm4,(%rax)
L6:
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L2:
  mov    %edi,%esi
  lea    D29(%rip),%rdi
  call   <errAbort@plt>
  jmp    L74
L56:
  movsd  (%rsi),%xmm0
  mov    0x60(%rsp),%rax
  movsd  %xmm0,(%rax)
  movsd  %xmm0,(%r9)
  movsd  %xmm0,(%r8)
  movsd  %xmm0,(%rcx)
  movsd  %xmm0,(%rdx)
  jmp    L6
L35:
  cltq
  movsd  -0x8(%rbp,%rax,8),%xmm0
  addsd  0x0(%rbp,%rax,8),%xmm0
  mulsd  D14(%rip),%xmm0
  movsd  %xmm0,(%rsp)
  jmp    L46
L39:
  lea    0x3(%rbx),%eax
  test   %ebx,%ebx
  cmovns %ebx,%eax
  mov    %eax,%edx
  sar    $0x2,%edx
  lea    -0x1(%rbx),%eax
  sub    %edx,%eax
  mov    %eax,0x18(%rsp)
  mov    %eax,%r8d
  mov    %edx,0x1c(%rsp)
  mov    %edx,%ecx
  mov    %ebx,%edx
  lea    D1(%rip),%rsi
  mov    $0x4,%edi
  call   <verbose@plt>
  movslq 0x1c(%rsp),%rax
  movsd  0x0(%rbp,%rax,8),%xmm0
  movslq 0x18(%rsp),%rax
  movsd  0x0(%rbp,%rax,8),%xmm1
  jmp    L78
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D14
type_infered: f64
name: extract_symbolic_data
arguments: data_label: D29
type_infered: string
name: extract_symbolic_data
arguments: data_label: D1
type_infered: string

tool: D14: 0.5

tool: D29: doubleBoxWhiskerCalc needs a positive number, not %d for count

tool: D1: count %d, q1Ix %d, q3Ix %d


assistant: ```c
void doubleBoxWhiskerCalc(int count, double *array, double *retMin, double *retQ1, double *retMedian, double *retQ3, double *retMax) {
  if (count <= 0)
    errAbort("doubleBoxWhiskerCalc needs a positive number, not %d for count", count);
  if (count == 1) {
    *retMin = *retQ1 = *retMedian = *retQ3 = *retMax = array[0];
    return;
  }
  doubleSort(count, array);
  double min = array[0];
  double max = array[count - 1];
  double median;
  int halfCount = count >> 1;
  if ((count & 1) == 1)
    median = array[halfCount];
  else {
    median = (array[halfCount] + array[halfCount - 1]) * 0.5;
  }
  double q1, q3;
  if (count <= 3) {
    q1 = 0.5 * (median + min);
    q3 = 0.5 * (median + max);
  } else {
    int q1Ix = count / 4;
    int q3Ix = count - 1 - q1Ix;
    verbose(4, "count %d, q1Ix %d, q3Ix %d\n", count, q1Ix, q3Ix);
    q1 = array[q1Ix];
    q3 = array[q3Ix];
  }
  *retMin = min;
  *retQ1 = q1;
  *retMedian = median;
  *retQ3 = q3;
  *retMax = max;
}
```