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

```asm
<ex4>:
  endbr64
  push   %r12
  lea    D50(%rip),%r12
  push   %rbp
  lea    D97(%rip),%rbp
  push   %rbx
  mov    %rbp,%rdi
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <print@plt>
  lea    D13(%rip),%rdi
  call   <print@plt>
  lea    D77(%rip),%rdi
  call   <print@plt>
  lea    D68(%rip),%rdi
  call   <print@plt>
  lea    0x1c(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  lea    D30(%rip),%rdi
  call   <print@plt>
  lea    0x20(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  lea    D57(%rip),%rdi
  call   <print@plt>
  lea    0x24(%rsp),%rsi
  mov    %r12,%rdi
  call   <scanf@plt>
  mov    0x20(%rsp),%edi
  mov    $0x2,%esi
  call   <pow@plt>
  mov    0x1c(%rsp),%esi
  mov    0x24(%rsp),%ecx
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  mov    %esi,%edx
  imul   %ecx,%edx
  shl    $0x2,%edx
  sub    %edx,%eax
  cvtsi2ss %eax,%xmm0
  comiss %xmm0,%xmm1
  ja     L12
  movss  %xmm0,0xc(%rsp)
  call   <sqrt@plt>
  mov    0x20(%rsp),%ebx
  mov    0x1c(%rsp),%ecx
  pxor   %xmm2,%xmm2
  movss  0xc(%rsp),%xmm0
  sub    %ebx,%eax
  add    %ecx,%ecx
  cltd
  idiv   %ecx
  cvtsi2ss %eax,%xmm2
  movss  %xmm2,0x8(%rsp)
  call   <sqrt@plt>
  mov    0x1c(%rsp),%esi
  pxor   %xmm1,%xmm1
  movss  0x8(%rsp),%xmm2
  mov    %eax,%r8d
  mov    %ebx,%eax
  pxor   %xmm0,%xmm0
  neg    %eax
  lea    (%rsi,%rsi,1),%ecx
  cvtss2sd %xmm2,%xmm0
  sub    %r8d,%eax
  cltd
  idiv   %ecx
  cvtsi2ss %eax,%xmm1
  ucomiss %xmm1,%xmm2
  jp     L9
  jne    L9
  mov    0x24(%rsp),%ecx
  mov    0x20(%rsp),%edx
  mov    $0x1,%eax
  lea    D37(%rip),%rdi
  call   <printf@plt>
L22:
  mov    %rbp,%rdi
  call   <print@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L46
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  nopl   0x0(%rax,%rax,1)
L9:
  mov    0x24(%rsp),%ecx
  mov    0x20(%rsp),%edx
  lea    D41(%rip),%rdi
  mov    $0x2,%eax
  cvtss2sd %xmm1,%xmm1
  call   <printf@plt>
  jmp    L22
  nop
L12:
  mov    0x20(%rsp),%edx
  lea    D67(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L22
L46:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: tag: D50
datatype: string
name: extract_symbolic_data
arguments: tag: D97
datatype: string
name: extract_symbolic_data
arguments: tag: D13
datatype: string
name: extract_symbolic_data
arguments: tag: D77
datatype: string
name: extract_symbolic_data
arguments: tag: D68
datatype: string
name: extract_symbolic_data
arguments: tag: D30
datatype: string
name: extract_symbolic_data
arguments: tag: D57
datatype: string
name: extract_symbolic_data
arguments: tag: D37
datatype: string
name: extract_symbolic_data
arguments: tag: D41
datatype: string
name: extract_symbolic_data
arguments: tag: D67
datatype: string

tool: D50: %d

tool: D97: 
------------------------------


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

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

tool: D68: Informe o valor do coeficiente A:

tool: D30: Informe o valor do coeficiente B:

tool: D57: Informe o valor do coeficiente C:

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


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


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


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");
}
```