user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D76(%rip),%rdi
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    0x40(%rsp),%rcx
  lea    0x38(%rsp),%rdx
  lea    0x30(%rsp),%rsi
  call   <scanf@plt>
  movsd  0x30(%rsp),%xmm2
  pxor   %xmm5,%xmm5
  ucomisd %xmm5,%xmm2
  jp     L90
  je     L108
L90:
  movsd  0x38(%rsp),%xmm4
  movsd  D67(%rip),%xmm0
  mulsd  %xmm2,%xmm0
  movapd %xmm4,%xmm3
  mulsd  %xmm4,%xmm3
  mulsd  0x40(%rsp),%xmm0
  subsd  %xmm0,%xmm3
  comisd D4(%rip),%xmm3
  jbe    L37
  movsd  D93(%rip),%xmm0
  movq   D12(%rip),%xmm6
  comisd %xmm3,%xmm0
  ja     L14
L37:
  comisd %xmm3,%xmm5
  ja     L101
  ucomisd %xmm5,%xmm3
  movq   D12(%rip),%xmm6
  movapd %xmm4,%xmm1
  xorpd  %xmm6,%xmm1
  jp     L70
  je     L14
L70:
  movapd %xmm3,%xmm0
  movsd  %xmm1,0x28(%rsp)
  movsd  %xmm4,0x20(%rsp)
  movsd  %xmm2,(%rsp)
  movsd  %xmm3,0x18(%rsp)
  call   <sqrt@plt>
  movsd  (%rsp),%xmm2
  movsd  0x18(%rsp),%xmm3
  movsd  %xmm0,0x10(%rsp)
  addsd  %xmm2,%xmm2
  movapd %xmm3,%xmm0
  movsd  %xmm2,(%rsp)
  call   <sqrt@plt>
  movsd  0x10(%rsp),%xmm5
  movsd  0x20(%rsp),%xmm4
  lea    D65(%rip),%rdi
  movsd  0x28(%rsp),%xmm1
  movsd  (%rsp),%xmm2
  mov    $0x2,%eax
  subsd  %xmm4,%xmm5
  subsd  %xmm0,%xmm1
  divsd  %xmm2,%xmm5
  divsd  %xmm2,%xmm1
  movapd %xmm5,%xmm0
  call   <printf@plt>
L11:
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L35
  add    $0x50,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L14:
  addsd  %xmm2,%xmm2
  xorpd  %xmm6,%xmm4
  lea    D25(%rip),%rbp
  mov    $0x1,%eax
  movapd %xmm4,%xmm0
  mov    %rbp,%rdi
  movaps %xmm6,(%rsp)
  divsd  %xmm2,%xmm0
  call   <printf@plt>
  movsd  0x30(%rsp),%xmm1
  movapd (%rsp),%xmm6
  mov    %rbp,%rdi
  movsd  0x38(%rsp),%xmm0
  mov    $0x1,%eax
  addsd  %xmm1,%xmm1
  xorpd  %xmm6,%xmm0
  divsd  %xmm1,%xmm0
  call   <printf@plt>
  jmp    L11
L108:
  lea    D97(%rip),%rdi
  call   <puts@plt>
  jmp    L11
L101:
  lea    D41(%rip),%rdi
  call   <puts@plt>
  jmp    L11
L35:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: retrieve_data
arguments: data_tag: D76
data_type: string
name: retrieve_data
arguments: data_tag: D67
data_type: byte[8]
name: retrieve_data
arguments: data_tag: D4
data_type: byte[16]
name: retrieve_data
arguments: data_tag: D93
data_type: f64
name: retrieve_data
arguments: data_tag: D12
data_type: byte[8]
name: retrieve_data
arguments: data_tag: D65
data_type: string
name: retrieve_data
arguments: data_tag: D25
data_type: string
name: retrieve_data
arguments: data_tag: D97
data_type: string
name: retrieve_data
arguments: data_tag: D41
data_type: string

tool: D76: %lf%lf%lf

tool: {"D67": [0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x40]}

tool: {"D4": [0xbb,0xbd,0xd7,0xd9,0xdf,0x7c,0xdb,0xbd,0x95,0xd6,0x26,0xe8,0x0b,0x2e,0x11,0x3e]}

tool: D93: 1e-09

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

tool: D65: %.2f
%.2f


tool: D25: %.2f


tool: D97: NEESG

tool: D41: NRR

assistant: ```c
int main() {
  double a, b, c, delta, x1, x2;
  scanf("%lf%lf%lf", &a, &b, &c);
  if (a == 0)
    printf("NEESG\n");
  else {
    delta = (b * b) - (4 * a * c);
    if (delta > -0.0000000001 && delta < 0.000000001)
      delta = 0;
    if (delta < 0)
      printf("NRR\n");
    else if (delta == 0) {
      printf("%.2f\n", (-b / (2 * a)));
      printf("%.2f\n", (-b / (2 * a)));
    } else {
      x1 = (-b + sqrt(delta)) / (2 * a);
      x2 = (-b - sqrt(delta)) / (2 * a);
      printf("%.2f\n%.2f\n", x1, x2);
    }
  }
  return 0;
}
```