user: 请从给定的汇编指令推导出C源代码：

```asm
<DtClipLine>:
  endbr64
  push   %r15
  mov    $0x1,%r15d
  push   %r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %rdx,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0x78,%rsp
  movsd  (%rsi),%xmm5
  movsd  (%rdi),%xmm4
  movsd  %xmm1,(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x68(%rsp)
  xor    %eax,%eax
  movsd  %xmm3,0x18(%rsp)
  movsd  %xmm2,0x10(%rsp)
  movsd  %xmm0,0x8(%rsp)
  call   <ClipAreaCode@plt>
  movsd  0x0(%r13),%xmm5
  movsd  (%rsp),%xmm1
  movsd  (%r12),%xmm4
  movsd  0x18(%rsp),%xmm3
  mov    %eax,%r14d
  movsd  0x10(%rsp),%xmm2
  movsd  0x8(%rsp),%xmm0
  call   <ClipAreaCode@plt>
  mov    %r14d,%edx
  or     %ax,%dx
  je     L11
  mov    %r14d,%r15d
  and    %ax,%r15w
  jne    L31
  movsd  0x0(%rbp),%xmm1
  movsd  (%r12),%xmm4
  movq   $0x0,0x58(%rsp)
  movsd  D15(%rip),%xmm7
  movsd  (%rbx),%xmm6
  subsd  %xmm1,%xmm4
  movsd  0x0(%r13),%xmm5
  mov    D18(%rip),%rax
  movsd  0x8(%rsp),%xmm0
  movsd  0x10(%rsp),%xmm2
  subsd  %xmm6,%xmm5
  mov    %rax,0x60(%rsp)
  movsd  0x18(%rsp),%xmm3
  comisd %xmm7,%xmm4
  jbe    L162
  movsd  D47(%rip),%xmm8
  comisd %xmm4,%xmm8
  jbe    L162
  comisd %xmm7,%xmm5
  ja     L159
L1:
  movapd %xmm3,%xmm1
  lea    0x58(%rsp),%r14
  lea    0x60(%rsp),%rsi
  movsd  %xmm4,0x18(%rsp)
  subsd  %xmm6,%xmm1
  movapd %xmm5,%xmm0
  mov    %r14,%rdi
  mov    %rsi,0x10(%rsp)
  movsd  %xmm5,0x8(%rsp)
  call   <ClipWithBorder@plt>
  movsd  0x8(%rsp),%xmm5
  mov    0x10(%rsp),%rsi
  test   %rax,%rax
  movq   D5(%rip),%xmm6
  movsd  0x18(%rsp),%xmm4
  je     L11
L15:
  movsd  (%rsp),%xmm1
  subsd  (%rbx),%xmm1
  mov    %r14,%rdi
  movsd  %xmm4,0x8(%rsp)
  movsd  %xmm5,(%rsp)
  xorpd  %xmm6,%xmm1
  xorpd  %xmm5,%xmm6
  movapd %xmm6,%xmm0
  call   <ClipWithBorder@plt>
  movsd  (%rsp),%xmm5
  movsd  0x8(%rsp),%xmm4
  test   %rax,%rax
  jne    L29
  nopl   0x0(%rax)
L11:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L195
  add    $0x78,%rsp
  mov    %r15d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  cs nopw 0x0(%rax,%rax,1)
L31:
  xor    %r15d,%r15d
  jmp    L11
  nopl   (%rax)
L162:
  subsd  %xmm1,%xmm0
  comisd %xmm7,%xmm5
  movq   D5(%rip),%xmm6
  movapd %xmm0,%xmm1
  movapd %xmm4,%xmm0
  xorpd  %xmm6,%xmm1
  xorpd  %xmm6,%xmm0
  jbe    L201
  lea    0x58(%rsp),%r14
  lea    0x60(%rsp),%rsi
  movaps %xmm6,0x40(%rsp)
  mov    %r14,%rdi
  mov    %rsi,0x8(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm2,0x20(%rsp)
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm4,0x10(%rsp)
  call   <ClipWithBorder@plt>
  mov    0x8(%rsp),%rsi
  movsd  0x10(%rsp),%xmm4
  test   %rax,%rax
  movsd  0x18(%rsp),%xmm5
  movsd  0x20(%rsp),%xmm2
  movsd  0x30(%rsp),%xmm3
  movapd 0x40(%rsp),%xmm6
  je     L11
  movsd  D47(%rip),%xmm0
  comisd %xmm5,%xmm0
  jbe    L144
  movapd %xmm2,%xmm1
  subsd  0x0(%rbp),%xmm1
  movapd %xmm4,%xmm0
  mov    %r14,%rdi
  movsd  %xmm5,0x8(%rsp)
  movsd  %xmm4,(%rsp)
  call   <ClipWithBorder@plt>
  movsd  (%rsp),%xmm4
  movsd  0x8(%rsp),%xmm5
  test   %rax,%rax
  je     L11
  nopl   0x0(%rax)
L29:
  movsd  0x60(%rsp),%xmm2
  movapd %xmm4,%xmm3
  movsd  0x0(%rbp),%xmm1
  movsd  0x58(%rsp),%xmm0
  mulsd  %xmm2,%xmm3
  mulsd  %xmm5,%xmm2
L92:
  addsd  %xmm3,%xmm1
  mulsd  %xmm0,%xmm4
  mov    $0x1,%r15d
  mulsd  %xmm5,%xmm0
  movsd  %xmm1,(%r12)
  addsd  (%rbx),%xmm2
  movsd  %xmm2,0x0(%r13)
  addsd  0x0(%rbp),%xmm4
  movsd  %xmm4,0x0(%rbp)
  addsd  (%rbx),%xmm0
  movsd  %xmm0,(%rbx)
  jmp    L11
  xchg   %ax,%ax
L201:
  lea    0x58(%rsp),%r14
  lea    0x60(%rsp),%rsi
  movaps %xmm6,0x40(%rsp)
  mov    %r14,%rdi
  mov    %rsi,0x8(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm2,0x20(%rsp)
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm4,0x10(%rsp)
  call   <ClipWithBorder@plt>
  test   %rax,%rax
  je     L11
  movsd  (%rbx),%xmm0
  movapd 0x40(%rsp),%xmm6
  movsd  0x30(%rsp),%xmm3
  movsd  0x20(%rsp),%xmm2
  movsd  0x18(%rsp),%xmm5
  movsd  0x10(%rsp),%xmm4
  mov    0x8(%rsp),%rsi
L202:
  movapd %xmm3,%xmm1
  mov    %r14,%rdi
  mov    %rsi,0x10(%rsp)
  subsd  %xmm0,%xmm1
  movapd %xmm5,%xmm0
  movaps %xmm6,0x30(%rsp)
  movsd  %xmm2,0x20(%rsp)
  movsd  %xmm4,0x18(%rsp)
  movsd  %xmm5,0x8(%rsp)
  call   <ClipWithBorder@plt>
  movsd  0x8(%rsp),%xmm5
  mov    0x10(%rsp),%rsi
  test   %rax,%rax
  movsd  0x18(%rsp),%xmm4
  movsd  0x20(%rsp),%xmm2
  movapd 0x30(%rsp),%xmm6
  je     L11
  movapd %xmm2,%xmm1
  subsd  0x0(%rbp),%xmm1
  movapd %xmm4,%xmm0
  mov    %r14,%rdi
  mov    %rsi,0x10(%rsp)
  movaps %xmm6,0x20(%rsp)
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm4,0x8(%rsp)
  call   <ClipWithBorder@plt>
  movsd  0x8(%rsp),%xmm4
  mov    0x10(%rsp),%rsi
  test   %rax,%rax
  movsd  0x18(%rsp),%xmm5
  movapd 0x20(%rsp),%xmm6
  jne    L15
  jmp    L11
  nopw   0x0(%rax,%rax,1)
L159:
  comisd %xmm5,%xmm8
  jbe    L1
  movapd %xmm5,%xmm2
  movapd %xmm4,%xmm3
  pxor   %xmm0,%xmm0
  jmp    L92
  nopl   0x0(%rax)
L144:
  movsd  (%rbx),%xmm0
  jmp    L202
L195:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D15
type_infered: byte[8]
name: unpack_data
arguments: label: D18
type_infered: f64
name: unpack_data
arguments: label: D47
type_infered: byte[8]
name: unpack_data
arguments: label: D5
type_infered: f32[2]

tool: {"D15": [0xbb,0xbd,0xd7,0xd9,0xdf,0x7c,0xdb,0xbd]}

tool: D18: 1

tool: {"D47": [0xbb,0xbd,0xd7,0xd9,0xdf,0x7c,0xdb,0x3d]}

tool: {"D5": [0.0,-0.0]}

assistant: ```c
short DtClipLine(double xmin, double ymin, double xmax, double ymax, double *x1, double *y1, double *x2, double *y2) {
  short area_code1, area_code2;
  double eps;
  eps = 1.e-10;
  area_code1 = ClipAreaCode(xmin, ymin, xmax, ymax, *x1, *y1);
  area_code2 = ClipAreaCode(xmin, ymin, xmax, ymax, *x2, *y2);
  if ((!(area_code1 | area_code2)))
    return 1;
  if ((area_code1 & area_code2)) {
    return 0;
  } else {
    double dx, dy;
    int dx0, dy0;
    double tEnter, tLeave;
    double *tE = &tEnter;
    double *tL = &tLeave;
    dx = *x2 - *x1;
    dy = *y2 - *y1;
    tEnter = 0.0;
    tLeave = 1.;
    dx0 = (-eps < dx && dx < eps);
    dy0 = (-eps < dy && dy < eps);
    if (dx0 || ClipWithBorder(-dx, -(xmin - *x1), tE, tL))
      if (dy0 || ClipWithBorder(dy, (ymax - *y1), tE, tL))
        if (dx0 || ClipWithBorder(dx, (xmax - *x1), tE, tL))
          if (dy0 || ClipWithBorder(-dy, -(ymin - *y1), tE, tL)) {
            *x2 = *x1 + (tLeave * dx);
            *y2 = *y1 + (tLeave * dy);
            *x1 = *x1 + (tEnter * dx);
            *y1 = *y1 + (tEnter * dy);
            return 1;
          }
  }
  return 0;
}
```