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

```asm
<main>:
  endbr64
  push   %rbx
  sub    $0x50,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  lea    D60(%rip),%rbx
  jmp    L120
L77:
  call   <sqrt@plt>
  jmp    L35
L92:
  call   <sqrt@plt>
  jmp    L38
L125:
  movapd %xmm1,%xmm0
  call   <sqrt@plt>
  movapd %xmm0,%xmm1
  jmp    L105
L25:
  call   <sqrt@plt>
L85:
  lea    D2(%rip),%rdi
  mov    $0x1,%eax
  call   <printf@plt>
L120:
  lea    0x40(%rsp),%rcx
  lea    0x38(%rsp),%rdx
  lea    0x30(%rsp),%rsi
  mov    %rbx,%rdi
  mov    $0x0,%eax
  call   <scanf@plt>
  cmp    $0x3,%eax
  jne    L55
  movsd  0x38(%rsp),%xmm4
  movsd  %xmm4,(%rsp)
  movapd %xmm4,%xmm0
  addsd  %xmm4,%xmm0
  movapd %xmm0,%xmm6
  mulsd  %xmm4,%xmm6
  movsd  %xmm6,0x8(%rsp)
  movsd  0x40(%rsp),%xmm5
  movsd  %xmm5,0x10(%rsp)
  movapd %xmm5,%xmm0
  addsd  %xmm5,%xmm0
  movapd %xmm0,%xmm2
  mulsd  %xmm5,%xmm2
  movsd  %xmm2,0x18(%rsp)
  movsd  0x30(%rsp),%xmm1
  movsd  %xmm1,0x20(%rsp)
  mulsd  %xmm1,%xmm1
  addsd  %xmm2,%xmm6
  movapd %xmm6,%xmm0
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L77
  sqrtsd %xmm0,%xmm0
L35:
  addsd  %xmm0,%xmm0
  divsd  D40(%rip),%xmm0
  movsd  %xmm0,0x28(%rsp)
  movsd  0x20(%rsp),%xmm3
  movapd %xmm3,%xmm0
  addsd  %xmm3,%xmm0
  movapd %xmm0,%xmm7
  mulsd  %xmm3,%xmm7
  movsd  %xmm7,0x20(%rsp)
  movsd  (%rsp),%xmm1
  mulsd  %xmm1,%xmm1
  movsd  0x18(%rsp),%xmm0
  subsd  %xmm1,%xmm0
  addsd  %xmm7,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L92
  sqrtsd %xmm0,%xmm0
L38:
  addsd  %xmm0,%xmm0
  divsd  D40(%rip),%xmm0
  movsd  %xmm0,(%rsp)
  movsd  0x10(%rsp),%xmm0
  mulsd  %xmm0,%xmm0
  movsd  0x8(%rsp),%xmm1
  subsd  %xmm0,%xmm1
  addsd  0x20(%rsp),%xmm1
  pxor   %xmm0,%xmm0
  ucomisd %xmm1,%xmm0
  ja     L125
  sqrtsd %xmm1,%xmm1
L105:
  addsd  %xmm1,%xmm1
  divsd  D40(%rip),%xmm1
  movsd  0x28(%rsp),%xmm6
  movapd %xmm6,%xmm2
  movsd  (%rsp),%xmm4
  addsd  %xmm4,%xmm2
  addsd  %xmm1,%xmm2
  mulsd  D73(%rip),%xmm2
  movapd %xmm2,%xmm0
  subsd  %xmm6,%xmm0
  mulsd  %xmm2,%xmm0
  movapd %xmm2,%xmm3
  subsd  %xmm4,%xmm3
  mulsd  %xmm3,%xmm0
  subsd  %xmm1,%xmm2
  mulsd  %xmm2,%xmm0
  comisd D11(%rip),%xmm0
  jbe    L53
  pxor   %xmm1,%xmm1
  ucomisd %xmm0,%xmm1
  ja     L25
  sqrtsd %xmm0,%xmm0
  jmp    L85
L53:
  lea    D51(%rip),%rdi
  call   <puts@plt>
  jmp    L120
L55:
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L74
  mov    $0x0,%eax
  add    $0x50,%rsp
  pop    %rbx
  ret
L74:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D60
datatype: string
name: unpack_data
arguments: label: D2
datatype: string
name: unpack_data
arguments: label: D40
datatype: byte[8]
name: unpack_data
arguments: label: D73
datatype: byte[8]
name: unpack_data
arguments: label: D11
datatype: byte[16]
name: unpack_data
arguments: label: D51
datatype: string

tool: D60: %lf %lf %lf

tool: D2: %.3lf


tool: {"D40": [0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x40]}

tool: {"D73": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: {"D11": [0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x40]}

tool: D51: -1.000

assistant: ```c
int main() {
  double a, b, c, s, area, pre_area;
  double m1, m2, m3;
  while (scanf("%lf %lf %lf", &m1, &m2, &m3) == 3) {
    a = (2 * sqrt((2 * (m2) * (m2)) + (2 * (m3) * (m3)) + (-(m1) * (m1)))) / 3;
    b = (2 * sqrt((-(m2) * (m2)) + (2 * (m3) * (m3)) + (2 * (m1) * (m1)))) / 3;
    c = (2 * sqrt((2 * (m2) * (m2)) + (-(m3) * (m3)) + (2 * (m1) * (m1)))) / 3;
    s = (a + b + c) / 2;
    pre_area = s * (s - a) * (s - b) * (s - c);
    if (pre_area > 0) {
      area = sqrt(pre_area);
      printf("%.3lf\n", area);
    } else {
      printf("-1.000\n");
    }
  }
  return 0;
}
```