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     L198
  mov    %r14d,%r15d
  and    %ax,%r15w
  jne    L52
  movsd  0x0(%rbp),%xmm1
  movsd  (%r12),%xmm4
  movq   $0x0,0x58(%rsp)
  movsd  D18(%rip),%xmm7
  movsd  (%rbx),%xmm6
  subsd  %xmm1,%xmm4
  movsd  0x0(%r13),%xmm5
  mov    D57(%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    L183
  movsd  D40(%rip),%xmm8
  comisd %xmm4,%xmm8
  jbe    L183
  comisd %xmm7,%xmm5
  ja     L98
L163:
  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   D37(%rip),%xmm6
  movsd  0x18(%rsp),%xmm4
  je     L198
L102:
  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    L122
  nopl   0x0(%rax)
L198:
  mov    0x68(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L81
  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)
L52:
  xor    %r15d,%r15d
  jmp    L198
  nopl   (%rax)
L183:
  subsd  %xmm1,%xmm0
  comisd %xmm7,%xmm5
  movq   D37(%rip),%xmm6
  movapd %xmm0,%xmm1
  movapd %xmm4,%xmm0
  xorpd  %xmm6,%xmm1
  xorpd  %xmm6,%xmm0
  jbe    L204
  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     L198
  movsd  D40(%rip),%xmm0
  comisd %xmm5,%xmm0
  jbe    L97
  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     L198
  nopl   0x0(%rax)
L122:
  movsd  0x60(%rsp),%xmm2
  movapd %xmm4,%xmm3
  movsd  0x0(%rbp),%xmm1
  movsd  0x58(%rsp),%xmm0
  mulsd  %xmm2,%xmm3
  mulsd  %xmm5,%xmm2
L208:
  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    L198
  xchg   %ax,%ax
L204:
  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     L198
  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
L88:
  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     L198
  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    L102
  jmp    L198
  nopw   0x0(%rax,%rax,1)
L98:
  comisd %xmm5,%xmm8
  jbe    L163
  movapd %xmm5,%xmm2
  movapd %xmm4,%xmm3
  pxor   %xmm0,%xmm0
  jmp    L208
  nopl   0x0(%rax)
L97:
  movsd  (%rbx),%xmm0
  jmp    L88
L81:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: tag: D18
datatype: byte[8]
name: unpack_data
arguments: tag: D57
datatype: f64
name: unpack_data
arguments: tag: D40
datatype: byte[8]
name: unpack_data
arguments: tag: D37
datatype: f32[2]

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

tool: D57: 1

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

tool: {"D37": [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;
}
```