user: Converte this assembly snippet into its equivalent C code:

```asm
<ex4>:
  endbr64
  push   %rbx
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  lea    D96(%rip),%rdi
  call   <print@plt>
  lea    D94(%rip),%rdi
  call   <print@plt>
  lea    D72(%rip),%rdi
  call   <print@plt>
  lea    D32(%rip),%rdi
  call   <print@plt>
  lea    0x1c(%rsp),%rsi
  lea    D103(%rip),%rbx
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D102(%rip),%rdi
  call   <print@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  lea    D39(%rip),%rdi
  call   <print@plt>
  lea    0x24(%rsp),%rsi
  mov    %rbx,%rdi
  call   <scanf@plt>
  mov    $0x2,%esi
  mov    0x20(%rsp),%edi
  call   <pow@plt>
  mov    0x1c(%rsp),%esi
  mov    0x24(%rsp),%ecx
  mov    %esi,%edx
  imul   %ecx,%edx
  shl    $0x2,%edx
  sub    %edx,%eax
  pxor   %xmm2,%xmm2
  cvtsi2ss %eax,%xmm2
  movss  %xmm2,0x8(%rsp)
  pxor   %xmm0,%xmm0
  comiss %xmm2,%xmm0
  ja     L37
  movss  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  mov    0x20(%rsp),%ebx
  sub    %ebx,%eax
  mov    0x1c(%rsp),%ecx
  add    %ecx,%ecx
  cltd
  idiv   %ecx
  pxor   %xmm3,%xmm3
  cvtsi2ss %eax,%xmm3
  movss  %xmm3,0xc(%rsp)
  movss  0x8(%rsp),%xmm0
  call   <sqrt@plt>
  mov    %eax,%edx
  mov    0x1c(%rsp),%esi
  mov    %ebx,%eax
  neg    %eax
  sub    %edx,%eax
  lea    (%rsi,%rsi,1),%ecx
  cltd
  idiv   %ecx
  pxor   %xmm1,%xmm1
  cvtsi2ss %eax,%xmm1
  movss  0xc(%rsp),%xmm3
  ucomiss %xmm1,%xmm3
  jp     L7
  jne    L7
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm3,%xmm0
  mov    0x24(%rsp),%ecx
  mov    0x20(%rsp),%edx
  lea    D51(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
  jmp    L40
L37:
  mov    0x20(%rsp),%edx
  lea    D20(%rip),%rdi
  mov    $0x0,%eax
  call   <printf@plt>
L40:
  lea    D96(%rip),%rdi
  call   <print@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L57
  add    $0x30,%rsp
  pop    %rbx
  ret
L7:
  pxor   %xmm0,%xmm0
  cvtss2sd 0xc(%rsp),%xmm0
  cvtss2sd %xmm1,%xmm1
  mov    0x24(%rsp),%ecx
  mov    0x20(%rsp),%edx
  lea    D47(%rip),%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  jmp    L40
L57:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_label: D96
type_infered: string
name: parse_data
arguments: data_label: D94
type_infered: string
name: parse_data
arguments: data_label: D72
type_infered: string
name: parse_data
arguments: data_label: D32
type_infered: string
name: parse_data
arguments: data_label: D103
type_infered: string
name: parse_data
arguments: data_label: D102
type_infered: string
name: parse_data
arguments: data_label: D39
type_infered: string
name: parse_data
arguments: data_label: D51
type_infered: string
name: parse_data
arguments: data_label: D20
type_infered: string
name: parse_data
arguments: data_label: D47
type_infered: string

tool: D96: 
------------------------------


tool: D94: Leia, em um algoritmo, os coeficientes de uma equacao do segundo grau. Calcule suas raizes e informe-as.

tool: D72: Equacao do 2o grau: [ A x^2 + B x + C = 0 ]

tool: D32: Informe o valor do coeficiente A:

tool: D103: %d

tool: D102: Informe o valor do coeficiente B:

tool: D39: Informe o valor do coeficiente C:

tool: D51: A equacao %dx^2 + %dx + %d uma raiz real.
	x1 = x2 = %.2f.


tool: D20: A equacao %dx^2 + %dx + %d nao possui raizes reais.


tool: D47: A equacao %dx^2 + %dx + %d possui duas raizes reais.
	x1 = %.2f
	x2 = %.2f


assistant: ```c
void ex4() {
  print("\n------------------------------\n");
  print("Leia, em um algoritmo, os coeficientes de uma equacao do segundo grau. Calcule suas raizes e informe-as.");
  print("Equacao do 2o grau: [ A x^2 + B x + C = 0 ]");
  int a, b, c;
  float raiz1, raiz2, delta;
  print("Informe o valor do coeficiente A:");
  scanf("%d", &a);
  print("Informe o valor do coeficiente B:");
  scanf("%d", &b);
  print("Informe o valor do coeficiente C:");
  scanf("%d", &c);
  delta = pow(b, 2) - (4 * a * c);
  if (delta < 0) {
    printf("A equacao %dx^2 + %dx + %d nao possui raizes reais.\n", a, b, c);
  } else {
    raiz1 = (-b + sqrt(delta)) / (2 * a);
    raiz2 = (-b - sqrt(delta)) / (2 * a);
    if (raiz1 == raiz2) {
      printf("A equacao %dx^2 + %dx + %d uma raiz real.\n\tx1 = x2 = %.2f.\n", a, b, c, raiz1);
    } else {
      printf("A equacao %dx^2 + %dx + %d possui duas raizes reais.\n\tx1 = %.2f\n\tx2 = %.2f\n", a, b, c, raiz1, raiz2);
    }
  }
  print("\n------------------------------\n");
}
```