user: Translate the below assembly code into C programming language:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  lea    D111(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x18(%rbp),%rcx
  lea    -0x1c(%rbp),%rdx
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  movss  -0x1c(%rbp),%xmm1
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x20(%rbp),%xmm2
  movss  D83(%rip),%xmm1
  mulss  %xmm1,%xmm2
  movss  -0x18(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
  pxor   %xmm0,%xmm0
  comiss -0x14(%rbp),%xmm0
  jbe    L46
  lea    D77(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D18(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  movss  -0x14(%rbp),%xmm0
  movss  D147(%rip),%xmm1
  xorps  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <sqrt@plt>
  movd   %xmm0,%eax
  movss  -0x20(%rbp),%xmm0
  addss  %xmm0,%xmm0
  movd   %eax,%xmm1
  divss  %xmm0,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm2
  movss  -0x1c(%rbp),%xmm0
  movss  D147(%rip),%xmm1
  xorps  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  addss  %xmm0,%xmm0
  divss  %xmm0,%xmm1
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm1,%xmm3
  movq   %xmm3,%rax
  movapd %xmm2,%xmm1
  movq   %rax,%xmm0
  lea    D53(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  movss  -0x14(%rbp),%xmm0
  movss  D147(%rip),%xmm1
  xorps  %xmm1,%xmm0
  movd   %xmm0,%eax
  movd   %eax,%xmm0
  call   <sqrt@plt>
  movd   %xmm0,%eax
  movss  D147(%rip),%xmm0
  movd   %eax,%xmm1
  xorps  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  addss  %xmm0,%xmm0
  divss  %xmm0,%xmm1
  pxor   %xmm2,%xmm2
  cvtss2sd %xmm1,%xmm2
  movss  -0x1c(%rbp),%xmm0
  movss  D147(%rip),%xmm1
  xorps  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  addss  %xmm0,%xmm0
  divss  %xmm0,%xmm1
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm1,%xmm4
  movq   %xmm4,%rax
  movapd %xmm2,%xmm1
  movq   %rax,%xmm0
  lea    D100(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  jmp    L9
L46:
  pxor   %xmm0,%xmm0
  ucomiss -0x14(%rbp),%xmm0
  jp     L51
  pxor   %xmm0,%xmm0
  ucomiss -0x14(%rbp),%xmm0
  jne    L51
  lea    D50(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  movss  -0x1c(%rbp),%xmm0
  movss  D147(%rip),%xmm1
  xorps  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  movaps %xmm0,%xmm2
  addss  %xmm0,%xmm2
  divss  %xmm2,%xmm1
  movaps %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  pxor   %xmm5,%xmm5
  cvtss2sd -0x10(%rbp),%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L9
L51:
  lea    D135(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    -0x14(%rbp),%eax
  movd   %eax,%xmm0
  call   <sqrt@plt>
  movd   %xmm0,%eax
  movss  -0x1c(%rbp),%xmm0
  movd   %eax,%xmm1
  subss  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  movaps %xmm0,%xmm2
  addss  %xmm0,%xmm2
  divss  %xmm2,%xmm1
  movaps %xmm1,%xmm0
  movss  %xmm0,-0x10(%rbp)
  movss  -0x1c(%rbp),%xmm0
  movss  D147(%rip),%xmm1
  xorps  %xmm1,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x14(%rbp),%eax
  movd   %eax,%xmm0
  call   <sqrt@plt>
  movss  -0x24(%rbp),%xmm1
  subss  %xmm0,%xmm1
  movss  -0x20(%rbp),%xmm0
  movaps %xmm0,%xmm2
  addss  %xmm0,%xmm2
  divss  %xmm2,%xmm1
  movaps %xmm1,%xmm0
  movss  %xmm0,-0xc(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0xc(%rbp),%xmm0
  pxor   %xmm6,%xmm6
  cvtss2sd -0x10(%rbp),%xmm6
  movq   %xmm6,%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D21(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
L9:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L20
  call   <__stack_chk_fail@plt>
L20:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: label: D111
datatype: string
name: disassemble_data
arguments: label: D42
datatype: string
name: disassemble_data
arguments: label: D83
datatype: byte[4]
name: disassemble_data
arguments: label: D77
datatype: string
name: disassemble_data
arguments: label: D18
datatype: string
name: disassemble_data
arguments: label: D147
datatype: byte[4]
name: disassemble_data
arguments: label: D53
datatype: string
name: disassemble_data
arguments: label: D100
datatype: string
name: disassemble_data
arguments: label: D50
datatype: string
name: disassemble_data
arguments: label: D49
datatype: string
name: disassemble_data
arguments: label: D135
datatype: string
name: disassemble_data
arguments: label: D21
datatype: string

tool: D111: Enter a, b and c of quadratic equation: 

tool: D42: %f %f %f

tool: {"D83": [0x00,0x00,0x80,0x40]}

tool: D77: Roots are complex number.

tool: D18: Roots of quadratic equation are: 

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

tool: D53: %.3f + %.3fi

tool: D100: , %.3f + %.3fi 


tool: D50: Both roots are equal.

tool: D49: Root of quadratic equation is: %.3f 


tool: D135: Roots are real numbers.

tool: D21: Roots of quadratic equation are: %.3f , %.3f 


assistant: ```c
int main(void) {
  float a, b, c;
  float discriminant, first_root, second_root;
  printf("Enter a, b and c of quadratic equation: ");
  scanf("%f %f %f", &a, &b, &c);
  discriminant = (b * b) - (4 * a * c);
  if (discriminant < 0) {
    printf("Roots are complex number.\n");
    printf("Roots of quadratic equation are: ");
    printf("%.3f + %.3fi", -b / (2 * a), sqrt(-discriminant) / (2 * a));
    printf(", %.3f + %.3fi \n", -b / (2 * a), -sqrt(-discriminant) / (2 * a));
  } else if (discriminant == 0) {
    printf("Both roots are equal.\n");
    first_root = -b / (2 * a);
    printf("Root of quadratic equation is: %.3f \n", first_root);
  } else {
    printf("Roots are real numbers.\n");
    first_root = (-b + sqrt(discriminant)) / (2 * a);
    second_root = (-b - sqrt(discriminant)) / (2 * a);
    printf("Roots of quadratic equation are: %.3f , %.3f \n", first_root, second_root);
  }
  return 0;
}
```