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

```asm
<findRoots>:
  endbr64
  push   %r15
  mov    %edi,%eax
  pxor   %xmm2,%xmm2
  push   %r14
  mov    %rcx,%r14
  push   %r13
  mov    %r9,%r13
  push   %r12
  mov    %edx,%r12d
  mov    %esi,%edx
  imul   %r12d,%eax
  push   %rbp
  mov    %edi,%ebp
  lea    D63(%rip),%rdi
  imul   %esi,%edx
  push   %rbx
  mov    %esi,%ebx
  shl    $0x2,%eax
  sub    %eax,%edx
  sub    $0x18,%rsp
  cvtsi2sd %edx,%xmm2
  mov    %edx,%r15d
  mov    %r8,0x8(%rsp)
  movapd %xmm2,%xmm0
  movsd  %xmm2,(%rsp)
  call   <printf@plt>
  test   %r15d,%r15d
  js     L49
  movsd  D19(%rip),%xmm0
  mov    $0x1,%eax
L18:
  mov    %eax,0x0(%r13)
  lea    D26(%rip),%rdi
  call   <printf@plt>
  test   %ebp,%ebp
  je     L35
  test   %ebx,%ebx
  je     L44
  mov    0x0(%r13),%eax
  cmp    $0x1,%eax
  je     L64
  cmp    $0x2,%eax
  jne    L56
  add    %ebp,%ebp
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  neg    %ebx
  cvtsi2sd %ebp,%xmm1
  cvtsi2sd %ebx,%xmm0
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%r14)
  movsd  (%rsp),%xmm0
  xorpd  D43(%rip),%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  mov    0x8(%rsp),%rbx
  lea    D54(%rip),%rdi
  cltd
  idiv   %ebp
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,(%rbx)
  movsd  (%r14),%xmm0
  call   <printf@plt>
  movsd  (%rbx),%xmm0
  add    $0x18,%rsp
  lea    D66(%rip),%rdi
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1060 <printf@plt>
  xchg   %ax,%ax
L44:
  test   %ebp,%ebp
  je     L35
L56:
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax,%rax,1)
L35:
  neg    %r12d
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  cvtsi2sd %r12d,%xmm0
  cvtsi2sd %ebx,%xmm1
  divsd  %xmm1,%xmm0
  movsd  %xmm0,(%r14)
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   0x0(%rax)
L49:
  movsd  D34(%rip),%xmm0
  mov    $0x2,%eax
  jmp    L18
  nopw   0x0(%rax,%rax,1)
L64:
  movsd  (%rsp),%xmm0
  add    %ebp,%ebp
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  sub    %ebx,%eax
  cltd
  idiv   %ebp
  cvtsi2sd %eax,%xmm0
  movsd  %xmm0,(%r14)
  movsd  (%rsp),%xmm0
  call   <sqrt@plt>
  pxor   %xmm0,%xmm0
  mov    %eax,%r8d
  mov    %ebx,%eax
  neg    %eax
  sub    %r8d,%eax
  cltd
  idiv   %ebp
  cvtsi2sd %eax,%xmm0
  mov    0x8(%rsp),%rax
  movsd  %xmm0,(%rax)
  add    $0x18,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D63
type: string
name: disassemble_data
arguments: tag: D19
type: byte[8]
name: disassemble_data
arguments: tag: D26
type: string
name: disassemble_data
arguments: tag: D43
type: byte[16]
name: disassemble_data
arguments: tag: D54
type: string
name: disassemble_data
arguments: tag: D66
type: string
name: disassemble_data
arguments: tag: D34
type: byte[8]

tool: D63: 
det: %f

tool: {"D19": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: D26: 
roc: %d

tool: {"D43": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00]}

tool: D54: 
root1: %f

tool: D66: 
root2: %f

tool: {"D34": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40]}

assistant: ```c
void findRoots(int a, int b, int c, double *r1, double *r2, int *roc) {
  double det = (b * b) - (4 * a * c);
  printf("\ndet: %f", det);
  if (det > 0 || det == 0)
    *roc = 1;
  else
    *roc = 2;
  printf("\nroc: %d", *roc);
  if (a != 0 && b != 0) {
    switch (*roc) {
    case 1:
      *r1 = (-b + sqrt(det)) / (2 * a);
      *r2 = (-b - sqrt(det)) / (2 * a);
      break;
    case 2:
      *r1 = (double)-b / (2 * a);
      *r2 = sqrt(-det) / (2 * a);
      printf("\nroot1: %f", *r1);
      printf("\nroot2: %f", *r2);
      break;
    }
  } else if (a == 0)
    *r1 = (double)-c / b;
  return;
}
```