user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    $0x0,%eax
  call   <print_data_size@plt>
  lea    D54(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    D94(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x38(%rbp),%rax
  mov    %rax,%rsi
  lea    D114(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D64(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D114(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D115(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x28(%rbp),%rax
  mov    %rax,%rsi
  lea    D114(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  movsd  -0x28(%rbp),%xmm1
  movsd  -0x30(%rbp),%xmm0
  mov    -0x38(%rbp),%rax
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  call   <calculate_discriminant@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x20(%rbp)
  movsd  -0x20(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comisd %xmm1,%xmm0
  jbe    L26
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movq   %xmm0,%rax
  movsd  -0x30(%rbp),%xmm1
  movq   %rax,%xmm0
  subsd  %xmm1,%xmm0
  movsd  D14(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0x28(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  movsd  -0x30(%rbp),%xmm0
  movq   D116(%rip),%xmm1
  xorpd  %xmm1,%xmm0
  movsd  %xmm0,-0x48(%rbp)
  mov    -0x20(%rbp),%rax
  movq   %rax,%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm1
  movsd  -0x48(%rbp),%xmm0
  subsd  %xmm1,%xmm0
  movsd  D14(%rip),%xmm2
  movapd %xmm0,%xmm1
  divsd  %xmm2,%xmm1
  movsd  -0x28(%rbp),%xmm0
  mulsd  %xmm1,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  mov    -0x18(%rbp),%rax
  movq   %rax,%xmm0
  lea    D20(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    -0x10(%rbp),%rax
  movq   %rax,%xmm0
  lea    D34(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L15
L26:
  lea    D35(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
L15:
  mov    $0x0,%eax
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L8
  call   <__stack_chk_fail@plt>
L8:
  leave
  ret
```

tool_calls: name: extract_symbolic_data
arguments: data_tag: D54
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D94
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D114
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D64
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D115
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D14
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_tag: D116
type_guessed: byte[8]
name: extract_symbolic_data
arguments: data_tag: D20
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D34
type_guessed: string
name: extract_symbolic_data
arguments: data_tag: D35
type_guessed: string

tool: D54: Program to solve quadratic equation a * x^2 + b * x + c = 0

tool: D94: Enter the a: 

tool: D114: %f

tool: D64: Enter the b: 

tool: D115: Enter the c: 

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

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

tool: D20: x1 is: %lf


tool: D34: x2 is: %lf


tool: D35: The equation has no real roots

assistant: ```c
int main() {
  double a, b, c, discriminant;
  double x1, x2;
  print_data_size();
  printf("Program to solve quadratic equation a * x^2 + b * x + c = 0\n");
  printf("Enter the a: ");
  scanf("%f", &a);
  printf("Enter the b: ");
  scanf("%f", &b);
  printf("Enter the c: ");
  scanf("%f", &c);
  discriminant = calculate_discriminant(a, b, c);
  if (discriminant > 0) {
    x1 = (-b + sqrt(discriminant)) / 2 * c;
    x2 = (-b - sqrt(discriminant)) / 2 * c;
    printf("x1 is: %lf\n", x1);
    printf("x2 is: %lf\n", x2);
  } else {
    printf("The equation has no real roots\n");
  }
  return 0;
}
```