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

```asm
<main>:
  endbr64
  push   %r12
  lea    D80(%rip),%rdi
  push   %rbp
  lea    D60(%rip),%rbp
  sub    $0x38,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x28(%rsp)
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x18(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  lea    D16(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x20(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  lea    D96(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  lea    0x1c(%rsp),%rsi
  mov    %rbp,%rdi
  call   <scanf@plt>
  lea    D103(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    %rbp,%rdi
  lea    0x24(%rsp),%rsi
  call   <scanf@plt>
  mov    0x24(%rsp),%r8d
  mov    0x1c(%rsp),%ecx
  xor    %eax,%eax
  mov    0x18(%rsp),%esi
  mov    0x20(%rsp),%edx
  lea    D72(%rip),%rdi
  call   <printf@plt>
  lea    D84(%rip),%rdi
  xor    %eax,%eax
  call   <printf@plt>
  mov    0x20(%rsp),%edx
  mov    0x18(%rsp),%eax
  pxor   %xmm2,%xmm2
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  lea    D38(%rip),%rdi
  mov    %edx,%ebp
  cvtsi2ss %edx,%xmm1
  sub    0x24(%rsp),%ebp
  mov    %eax,%r12d
  sub    0x1c(%rsp),%r12d
  cvtsi2ss %ebp,%xmm2
  cvtsi2ss %r12d,%xmm0
  divss  %xmm0,%xmm2
  pxor   %xmm0,%xmm0
  cvtsi2ss %eax,%xmm0
  mov    $0x2,%eax
  mulss  %xmm2,%xmm0
  cvtss2sd %xmm2,%xmm2
  movsd  %xmm2,(%rsp)
  subss  %xmm0,%xmm1
  movapd %xmm2,%xmm0
  cvtss2sd %xmm1,%xmm1
  movsd  %xmm1,0x8(%rsp)
  call   <printf@plt>
  movsd  0x8(%rsp),%xmm1
  mov    %r12d,%edx
  mov    %ebp,%esi
  lea    D81(%rip),%rdi
  mov    $0x1,%eax
  movapd %xmm1,%xmm0
  call   <printf@plt>
  movsd  (%rsp),%xmm2
  mov    %r12d,%edx
  mov    %ebp,%esi
  lea    D70(%rip),%rdi
  mov    $0x1,%eax
  movapd %xmm2,%xmm0
  call   <printf@plt>
  movsd  (%rsp),%xmm2
  movsd  0x8(%rsp),%xmm1
  lea    D86(%rip),%rdi
  mov    0x18(%rsp),%edx
  mov    0x20(%rsp),%esi
  mov    $0x2,%eax
  movapd %xmm2,%xmm0
  call   <printf@plt>
  xor    %eax,%eax
  call   <getch@plt>
  mov    0x28(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L9
  add    $0x38,%rsp
  xor    %eax,%eax
  pop    %rbp
  pop    %r12
  ret
L9:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: tag: D80
type_guessed: string
name: parse_data
arguments: tag: D60
type_guessed: string
name: parse_data
arguments: tag: D16
type_guessed: string
name: parse_data
arguments: tag: D96
type_guessed: string
name: parse_data
arguments: tag: D103
type_guessed: string
name: parse_data
arguments: tag: D72
type_guessed: string
name: parse_data
arguments: tag: D84
type_guessed: string
name: parse_data
arguments: tag: D38
type_guessed: string
name: parse_data
arguments: tag: D81
type_guessed: string
name: parse_data
arguments: tag: D70
type_guessed: string
name: parse_data
arguments: tag: D86
type_guessed: string

tool: D80: x1 = 

tool: D60: %d

tool: D16: y1 = 

tool: D96: x2 = 

tool: D103: y2 = 

tool: D72: Calculating Equation of (%d,%d) (%d,%d) ...

tool: D84: 
-----------Answer-----------

tool: D38: 
y = (%.3f)x + (%.3f)

tool: D81: 
y = %d/%d x + %.3f

tool: D70: 
Slope = %d/%d or %.3f

tool: D86: 
b = %d-(%.2f*%d) = %.3f

assistant: ```c
main() {
  int x1, x2, y1, y2, a, d;
  float slope = 0.0f;
  float b = 0.0f;
  printf("x1 = ");
  scanf("%d", &x1);
  printf("y1 = ");
  scanf("%d", &y1);
  printf("x2 = ");
  scanf("%d", &x2);
  printf("y2 = ");
  scanf("%d", &y2);
  printf("Calculating Equation of (%d,%d) (%d,%d) ...", x1, y1, x2, y2);
  printf("\n-----------Answer-----------");
  a = (y1 - y2);
  d = (x1 - x2);
  slope = (float)a / (float)d;
  b = y1 - (slope * x1);
  printf("\ny = (%.3f)x + (%.3f)", slope, b);
  printf("\ny = %d/%d x + %.3f", a, d, b);
  printf("\nSlope = %d/%d or %.3f", a, d, slope);
  printf("\nb = %d-(%.2f*%d) = %.3f", y1, slope, x1, b);
  getch();
}
```