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

```asm
<main>:
  endbr64
  sub    $0x28,%rsp
  lea    D52(%rip),%rdi
  mov    %fs:0x28,%rax
  mov    %rax,0x18(%rsp)
  xor    %eax,%eax
  call   <puts@plt>
  lea    0x14(%rsp),%rcx
  lea    0x10(%rsp),%rdx
  lea    0xc(%rsp),%rsi
  lea    D5(%rip),%rdi
  call   <scanf@plt>
  movss  0xc(%rsp),%xmm2
  movss  0x10(%rsp),%xmm0
  movss  0x14(%rsp),%xmm1
  movaps %xmm2,%xmm3
  addss  %xmm0,%xmm3
  comiss %xmm3,%xmm1
  jae    L6
  movaps %xmm2,%xmm3
  addss  %xmm1,%xmm3
  comiss %xmm3,%xmm0
  jb     L65
L6:
  lea    D34(%rip),%rdi
  call   <puts@plt>
L77:
  mov    0x18(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L58
  xor    %eax,%eax
  add    $0x28,%rsp
  ret
L65:
  movaps %xmm0,%xmm3
  addss  %xmm1,%xmm3
  comiss %xmm3,%xmm2
  jae    L6
  ucomiss %xmm1,%xmm0
  mov    $0x0,%ecx
  setnp  %al
  cmovne %ecx,%eax
  ucomiss %xmm0,%xmm2
  setnp  %dl
  cmovne %ecx,%edx
  test   %al,%al
  je     L108
  test   %dl,%dl
  jne    L10
L108:
  or     %dl,%al
  jne    L3
  ucomiss %xmm1,%xmm2
  setnp  %dl
  cmove  %edx,%eax
  test   %al,%al
  je     L67
L3:
  lea    D4(%rip),%rdi
  call   <puts@plt>
L23:
  movss  0xc(%rsp),%xmm4
  movss  0x10(%rsp),%xmm3
  movss  0x14(%rsp),%xmm2
  movaps %xmm4,%xmm1
  addss  %xmm3,%xmm1
  addss  %xmm2,%xmm1
  mulss  D18(%rip),%xmm1
  movaps %xmm1,%xmm0
  subss  %xmm4,%xmm0
  movaps %xmm1,%xmm4
  subss  %xmm3,%xmm4
  mulss  %xmm1,%xmm0
  subss  %xmm2,%xmm1
  mulss  %xmm4,%xmm0
  mulss  %xmm1,%xmm0
  call   <sqrt@plt>
  lea    D13(%rip),%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm0,%xmm0
  call   <printf@plt>
  jmp    L77
L10:
  lea    D60(%rip),%rdi
  call   <puts@plt>
  jmp    L23
L67:
  lea    D75(%rip),%rdi
  call   <puts@plt>
  jmp    L23
L58:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: label: D52
datatype: string
name: extract_symbolic_data
arguments: label: D5
datatype: string
name: extract_symbolic_data
arguments: label: D34
datatype: string
name: extract_symbolic_data
arguments: label: D4
datatype: string
name: extract_symbolic_data
arguments: label: D18
datatype: byte[4]
name: extract_symbolic_data
arguments: label: D13
datatype: string
name: extract_symbolic_data
arguments: label: D60
datatype: string
name: extract_symbolic_data
arguments: label: D75
datatype: string

tool: D52: Vnesi dolzini na strani: 

tool: D5: %f %f %f

tool: D34: Ne moze da se konstruira triagolnik.

tool: D4: Tragolnikot e ravnokrak.

tool: {"D18": [0x00,0x00,0x00,0x3f]}

tool: D13: Ploshtinata mu e %7.3f


tool: D60: Tragolnikot e ravnostran.

tool: D75: Tragolnikot e raznostran.

assistant: ```c
int main() {
  float a, b, c;
  printf("Vnesi dolzini na strani: \n");
  scanf("%f %f %f", &a, &b, &c);
  if ((a + b <= c) || (a + c <= b) || (b + c <= a))
    printf("Ne moze da se konstruira triagolnik.\n");
  else {
    if (a == b && b == c)
      printf("Tragolnikot e ravnostran.\n");
    else if (a == b || b == c || a == c)
      printf("Tragolnikot e ravnokrak.\n");
    else
      printf("Tragolnikot e raznostran.\n");
    float p, s = (a + b + c) / 2;
    p = sqrt(s * (s - a) * (s - b) * (s - c));
    printf("Ploshtinata mu e %7.3f\n", p);
  }
  return 0;
}
```