user: Please show me the C implementation that matches the assembly code listed below:

```asm
<main>:
  endbr64
  push   %rbp
  lea    D47(%rip),%rdi
  lea    D54(%rip),%rbp
  sub    $0x30,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  lea    D24(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  lea    D94(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x24(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  movss  0x1c(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm1,%xmm0
  jbe    L72
  movss  0x20(%rsp),%xmm2
  mulss  D107(%rip),%xmm0
  mulss  0x24(%rsp),%xmm0
  mulss  %xmm2,%xmm2
  subss  %xmm0,%xmm2
  comiss %xmm1,%xmm2
  ja     L46
  ucomiss %xmm1,%xmm2
  jp     L85
  je     L28
L85:
  comiss %xmm2,%xmm1
  ja     L54
L41:
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L67
  add    $0x30,%rsp
  xor    %eax,%eax
  pop    %rbp
  ret
L46:
  lea    D83(%rip),%rdi
  xor    %eax,%eax
  movss  %xmm2,0x8(%rsp)
  call   <printf@plt>
  movss  0x8(%rsp),%xmm2
  movaps %xmm2,%xmm0
  movss  %xmm2,0xc(%rsp)
  call   <sqrt@plt>
  movss  0x20(%rsp),%xmm1
  movss  0x1c(%rsp),%xmm3
  movss  0xc(%rsp),%xmm2
  subss  %xmm1,%xmm0
  addss  %xmm3,%xmm3
  movss  %xmm1,0x8(%rsp)
  divss  %xmm3,%xmm0
  movd   %xmm0,%ebp
  movaps %xmm2,%xmm0
  call   <sqrt@plt>
  movss  0x8(%rsp),%xmm1
  movd   %ebp,%xmm4
  xorps  D0(%rip),%xmm1
  lea    D31(%rip),%rdi
  mov    $0x2,%eax
  subss  %xmm0,%xmm1
  movss  0x1c(%rsp),%xmm0
  addss  %xmm0,%xmm0
  divss  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd %xmm4,%xmm0
  cvtss2sd %xmm1,%xmm1
  call   <printf@plt>
  jmp    L41
L72:
  lea    D78(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L41
L28:
  lea    D91(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  movss  0x1c(%rsp),%xmm1
  movss  0x20(%rsp),%xmm0
  lea    D101(%rip),%rdi
  xorps  D0(%rip),%xmm0
  mov    $0x1,%eax
  addss  %xmm1,%xmm1
  divss  %xmm1,%xmm0
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  jmp    L41
L54:
  lea    D59(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  jmp    L41
L67:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D47
type_infered: string
name: unpack_data
arguments: tag: D54
type_infered: string
name: unpack_data
arguments: tag: D24
type_infered: string
name: unpack_data
arguments: tag: D94
type_infered: string
name: unpack_data
arguments: tag: D107
type_infered: byte[4]
name: unpack_data
arguments: tag: D83
type_infered: string
name: unpack_data
arguments: tag: D0
type_infered: byte[16]
name: unpack_data
arguments: tag: D31
type_infered: string
name: unpack_data
arguments: tag: D78
type_infered: string
name: unpack_data
arguments: tag: D91
type_infered: string
name: unpack_data
arguments: tag: D101
type_infered: string
name: unpack_data
arguments: tag: D59
type_infered: string

tool: D47: Masukan angka untuk a: 

tool: D54: %f

tool: D24: Masukan angka untuk b: 

tool: D94: Masukan angka untuk c: 

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

tool: D83: Akar real.

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

tool: D31: 
x1, x2 adalah: %f, %f

tool: D78: Nilai a harus >0

tool: D91: Akar kembar

tool: D101: 
x1 adalah: %f

tool: D59: Angka imaginer

assistant: ```c
int main() {
  float a, b, c, D, x1, x2;
  printf("Masukan angka untuk a: ");
  scanf("%f", &a);
  printf("Masukan angka untuk b: ");
  scanf("%f", &b);
  printf("Masukan angka untuk c: ");
  scanf("%f", &c);
  if (a > 0) {
    D = b * b - 4 * a * c;
    if (D > 0) {
      printf("Akar real.");
      x1 = (-b + sqrt(D)) / (2 * a);
      x2 = (-b - sqrt(D)) / (2 * a);
      printf("\nx1, x2 adalah: %f, %f", x1, x2);
    } else if (D == 0) {
      printf("Akar kembar");
      x1 = (-b) / (2 * a);
      printf("\nx1 adalah: %f", x1);
    } else if (D < 0) {
      printf("Angka imaginer");
    }
  } else
    printf("Nilai a harus >0");
  return 0;
}
```