user: 请将以下的汇编代码转换成C语言代码:

```asm
<main>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x40,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x18(%rbp)
  pxor   %xmm0,%xmm0
  movsd  %xmm0,-0x10(%rbp)
  lea    D144(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x38(%rbp),%rax
  mov    %rax,%rsi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D38(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x30(%rbp),%rax
  mov    %rax,%rsi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D42(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x28(%rbp),%rax
  mov    %rax,%rsi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    D66(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  lea    -0x20(%rbp),%rax
  mov    %rax,%rsi
  lea    D110(%rip),%rax
  mov    %rax,%rdi
  call   <scanf@plt>
  lea    -0x20(%rbp),%rcx
  lea    -0x28(%rbp),%rdx
  lea    -0x30(%rbp),%rsi
  lea    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <calcAngularCoeff@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x18(%rbp)
  lea    -0x20(%rbp),%rcx
  lea    -0x28(%rbp),%rdx
  lea    -0x30(%rbp),%rsi
  lea    -0x38(%rbp),%rax
  mov    %rax,%rdi
  call   <calcIntercetta@plt>
  movq   %xmm0,%rax
  mov    %rax,-0x10(%rbp)
  movsd  -0x38(%rbp),%xmm0
  movsd  -0x28(%rbp),%xmm1
  ucomisd %xmm1,%xmm0
  jp     L101
  ucomisd %xmm1,%xmm0
  jne    L101
  movsd  D134(%rip),%xmm0
  jmp    L31
L101:
  pxor   %xmm0,%xmm0
L31:
  movsd  -0x30(%rbp),%xmm1
  ucomisd %xmm1,%xmm0
  jp     L229
  ucomisd %xmm1,%xmm0
  jne    L229
  movsd  D134(%rip),%xmm0
  jmp    L208
L229:
  pxor   %xmm0,%xmm0
L208:
  movsd  -0x20(%rbp),%xmm1
  ucomisd %xmm1,%xmm0
  jp     L69
  ucomisd %xmm1,%xmm0
  jne    L69
  lea    D48(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  jmp    L176
L69:
  movsd  -0x38(%rbp),%xmm0
  movsd  -0x28(%rbp),%xmm1
  subsd  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jp     L98
  pxor   %xmm1,%xmm1
  ucomisd %xmm1,%xmm0
  jne    L98
  lea    D45(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  jmp    L176
L98:
  movsd  D134(%rip),%xmm0
  ucomisd -0x18(%rbp),%xmm0
  jp     L148
  movsd  D134(%rip),%xmm0
  ucomisd -0x18(%rbp),%xmm0
  jne    L148
  pxor   %xmm0,%xmm0
  ucomisd -0x10(%rbp),%xmm0
  jp     L148
  pxor   %xmm0,%xmm0
  ucomisd -0x10(%rbp),%xmm0
  jne    L148
  lea    D182(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  jmp    L176
L148:
  pxor   %xmm0,%xmm0
  ucomisd -0x18(%rbp),%xmm0
  jp     L180
  pxor   %xmm0,%xmm0
  ucomisd -0x18(%rbp),%xmm0
  jne    L180
  movsd  D134(%rip),%xmm0
  ucomisd -0x10(%rbp),%xmm0
  jp     L180
  movsd  D134(%rip),%xmm0
  ucomisd -0x10(%rbp),%xmm0
  jne    L180
  lea    D31(%rip),%rax
  mov    %rax,%rdi
  call   <puts@plt>
  mov    $0x0,%eax
  jmp    L176
L180:
  movsd  -0x10(%rbp),%xmm0
  mov    -0x18(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rax,%xmm0
  lea    D95(%rip),%rax
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <printf@plt>
  mov    $0x0,%eax
L176:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L102
  call   <__stack_chk_fail@plt>
L102:
  leave
  ret
```

tool_calls: name: unpack_data
arguments: data_label: D144
data_type: string
name: unpack_data
arguments: data_label: D110
data_type: string
name: unpack_data
arguments: data_label: D38
data_type: string
name: unpack_data
arguments: data_label: D42
data_type: string
name: unpack_data
arguments: data_label: D66
data_type: string
name: unpack_data
arguments: data_label: D134
data_type: f32[2]
name: unpack_data
arguments: data_label: D48
data_type: string
name: unpack_data
arguments: data_label: D45
data_type: string
name: unpack_data
arguments: data_label: D182
data_type: string
name: unpack_data
arguments: data_label: D31
data_type: string
name: unpack_data
arguments: data_label: D95
data_type: string

tool: D144: Enter the value of x1:

tool: D110: %lf

tool: D38: Enter the value of y1:

tool: D42: Enter the value of x2:

tool: D66: Enter the value of y2:

tool: {"D134": [0.0,1.875]}

tool: D48: The given points are equals.

tool: D45: The line is vertical.

tool: D182: The equation of the line goes through the origin: y = 1.000 * x

tool: D31: The equation of the line is constant: y = 1.000

tool: D95: y = %lf x + %lf


assistant: ```c
int main() {
  double x1, y1, x2, y2, m = 0, q = 0;
  printf("Enter the value of x1:\n");
  scanf("%lf", &x1);
  printf("Enter the value of y1:\n");
  scanf("%lf", &y1);
  printf("Enter the value of x2:\n");
  scanf("%lf", &x2);
  printf("Enter the value of y2:\n");
  scanf("%lf", &y2);
  m = calcAngularCoeff(&x1, &y1, &x2, &y2);
  q = calcIntercetta(&x1, &y1, &x2, &y2);
  if (x1 == x2 == y1 == y2) {
    printf("The given points are equals.\n");
    return 0;
  } else if ((x1 - x2) == 0) {
    printf("The line is vertical.\n");
    return 0;
  } else if ((m == 1) && (q == 0)) {
    printf("The equation of the line goes through the origin: y = 1.000 * x\n");
    return 0;
  } else if ((m == 0) && (q == 1)) {
    printf("The equation of the line is constant: y = 1.000\n");
    return 0;
  } else {
    printf("y = %lf x + %lf\n", m, q);
    return 0;
  }
  return 0;
}
```