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

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x18(%rbp)
  xor    %eax,%eax
  lea    D7(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  lea    -0x28(%rbp),%rcx
  lea    -0x2c(%rbp),%rdx
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D66(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  mov    -0x30(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  cmp    %eax,%edx
  jne    L7
  mov    -0x30(%rbp),%eax
  test   %eax,%eax
  jne    L7
  lea    D49(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L7:
  mov    -0x30(%rbp),%eax
  test   %eax,%eax
  jne    L43
  mov    -0x28(%rbp),%eax
  mov    -0x2c(%rbp),%esi
  cltd
  idiv   %esi
  neg    %eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0x24(%rbp)
  pxor   %xmm2,%xmm2
  cvtss2sd -0x24(%rbp),%xmm2
  movq   %xmm2,%rax
  movq   %rax,%xmm0
  lea    D39(%rip),%rax
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L43:
  mov    -0x2c(%rbp),%edx
  mov    -0x2c(%rbp),%eax
  imul   %edx,%eax
  mov    -0x30(%rbp),%ecx
  mov    -0x28(%rbp),%edx
  imul   %ecx,%edx
  shl    $0x2,%edx
  sub    %edx,%eax
  mov    %eax,-0x20(%rbp)
  cmpl   $0x0,-0x20(%rbp)
  jns    L6
  lea    D4(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%edi
  call   <exit@plt>
L6:
  mov    -0x20(%rbp),%eax
  mov    %eax,%esi
  lea    D28(%rip),%rax
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <printf@plt>
  mov    -0x20(%rbp),%eax
  mov    %eax,%edi
  call   <sqrt@plt>
  mov    -0x2c(%rbp),%edx
  sub    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x30(%rbp),%eax
  imul   %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x2c(%rbp),%eax
  neg    %eax
  mov    %eax,%ebx
  mov    -0x20(%rbp),%eax
  mov    %eax,%edi
  call   <sqrt@plt>
  mov    %eax,%edx
  mov    %ebx,%eax
  sub    %edx,%eax
  mov    %eax,%edx
  shr    $0x1f,%edx
  add    %edx,%eax
  sar    %eax
  mov    %eax,%edx
  mov    -0x30(%rbp),%eax
  imul   %edx,%eax
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  movss  %xmm0,-0x1c(%rbp)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x1c(%rbp),%xmm0
  pxor   %xmm3,%xmm3
  cvtss2sd -0x24(%rbp),%xmm3
  movq   %xmm3,%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D46(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x0,%eax
  mov    -0x18(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L4
  call   <__stack_chk_fail@plt>
L4:
  mov    -0x8(%rbp),%rbx
  leave
  ret
```

tool_calls: name: parse_data
arguments: tag: D7
datatype: string
name: parse_data
arguments: tag: D66
datatype: string
name: parse_data
arguments: tag: D49
datatype: string
name: parse_data
arguments: tag: D39
datatype: string
name: parse_data
arguments: tag: D4
datatype: string
name: parse_data
arguments: tag: D28
datatype: string
name: parse_data
arguments: tag: D46
datatype: string

tool: D7: Enter the value of a b c: 

tool: D66: %d %d %d

tool: D49: No Solution 

tool: D39: Only on Solution: X =%.2f 


tool: D4: No Real Roots 

tool: D28: temp =%d 


tool: D46: Roots are X1=%.2f X2=%.2f 


assistant: ```c
int main() {
  int a, b, c;
  float x1, x2;
  printf("Enter the value of a b c: ");
  scanf("%d %d %d", &a, &b, &c);
  if (a == b && a == 0) {
    printf("No Solution \n");
    exit(0);
  }
  if (a == 0) {
    x1 = -(c / b);
    printf("Only on Solution: X =%.2f \n", x1);
    exit(0);
  }
  int temp = b * b - 4 * a * c;
  if (temp < 0) {
    printf("No Real Roots \n");
    exit(0);
  }
  printf("temp =%d \n", temp);
  x1 = (-b + sqrt(temp)) / 2 * a;
  x2 = (-b - sqrt(temp)) / 2 * a;
  printf("Roots are X1=%.2f X2=%.2f \n", x1, x2);
  return 0;
}
```