user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<clip3d>:
  endbr64
  push   %r15
  movapd %xmm0,%xmm7
  cvtsd2ss %xmm0,%xmm0
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x98,%rsp
  movss  %xmm0,(%rdi)
  movsd  D184(%rip),%xmm6
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm1,%xmm0
  movss  %xmm0,(%rsi)
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm2,%xmm0
  comisd %xmm6,%xmm7
  movss  %xmm0,(%rdx)
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm3,%xmm0
  movss  %xmm0,(%rcx)
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm4,%xmm0
  movss  %xmm0,(%r8)
  pxor   %xmm0,%xmm0
  mov    %rdx,0x58(%rsp)
  cvtsd2ss %xmm5,%xmm0
  mov    $0x1,%edx
  mov    %rdi,0x38(%rsp)
  mov    %rsi,0x48(%rsp)
  mov    %rcx,0x40(%rsp)
  mov    %r8,0x50(%rsp)
  mov    %r9,0x60(%rsp)
  movss  %xmm0,(%r9)
  ja     L231
  movsd  D132(%rip),%xmm0
  xor    %edx,%edx
  comisd %xmm7,%xmm0
  seta   %dl
  neg    %edx
L231:
  comisd %xmm6,%xmm3
  mov    $0x1,%r12d
  ja     L393
  movsd  D132(%rip),%xmm0
  xor    %r12d,%r12d
  comisd %xmm3,%xmm0
  seta   %r12b
  neg    %r12d
L393:
  comisd %xmm6,%xmm1
  mov    $0x1,%ebx
  ja     L327
  movsd  D132(%rip),%xmm0
  xor    %ebx,%ebx
  comisd %xmm1,%xmm0
  seta   %bl
  neg    %ebx
L327:
  comisd %xmm6,%xmm4
  mov    $0x1,%r14d
  ja     L128
  movsd  D132(%rip),%xmm0
  xor    %r14d,%r14d
  comisd %xmm4,%xmm0
  seta   %r14b
  neg    %r14d
L128:
  comisd %xmm6,%xmm2
  mov    $0x1,%ebp
  ja     L94
  movsd  D132(%rip),%xmm0
  xor    %r8d,%r8d
  comisd %xmm2,%xmm0
  seta   %r8b
  neg    %r8d
  mov    %r8d,%ebp
L94:
  comisd %xmm6,%xmm5
  mov    $0x1,%r15d
  ja     L3
  movsd  D132(%rip),%xmm0
  xor    %r15d,%r15d
  comisd %xmm5,%xmm0
  seta   %r15b
  neg    %r15d
L3:
  mov    %edx,%edi
  mov    %edx,(%rsp)
  movsd  %xmm5,0x30(%rsp)
  movsd  %xmm4,0x28(%rsp)
  movsd  %xmm3,0x20(%rsp)
  movsd  %xmm2,0x18(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm7,0x8(%rsp)
  call   <abs@plt>
  mov    %r12d,%edi
  mov    %rax,%r13
  call   <abs@plt>
  mov    %ebx,%edi
  add    %rax,%r13
  call   <abs@plt>
  mov    %r14d,%edi
  add    %rax,%r13
  call   <abs@plt>
  mov    %ebp,%edi
  add    %rax,%r13
  call   <abs@plt>
  mov    %r15d,%edi
  add    %rax,%r13
  call   <abs@plt>
  add    %r13,%rax
  je     L281
  mov    (%rsp),%edx
  mov    D184(%rip),%rax
  movsd  0x8(%rsp),%xmm7
  movsd  0x10(%rsp),%xmm1
  cmp    %r12d,%edx
  movsd  0x18(%rsp),%xmm2
  movsd  0x20(%rsp),%xmm3
  movq   %rax,%xmm6
  movsd  0x28(%rsp),%xmm4
  movsd  0x30(%rsp),%xmm5
  jne    L280
  test   %edx,%edx
  jne    L55
L280:
  cmp    %r14d,%ebx
  jne    L283
  test   %ebx,%ebx
  je     L283
L55:
  xor    %ebp,%ebp
L304:
  add    $0x98,%rsp
  mov    %ebp,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L283:
  cmp    %r15d,%ebp
  sete   %cl
  test   %ebp,%ebp
  setne  %al
  and    %al,%cl
  mov    %ecx,%r13d
  jne    L55
  test   %edx,%edx
  je     L477
  movss  D220(%rip),%xmm0
  movapd %xmm6,%xmm8
  cmp    $0x1,%edx
  je     L223
  movsd  D132(%rip),%xmm8
  movss  D268(%rip),%xmm0
L223:
  mov    0x38(%rsp),%rax
  subsd  %xmm3,%xmm8
  movapd %xmm2,%xmm10
  movsd  %xmm4,0x68(%rsp)
  subsd  %xmm5,%xmm10
  movsd  %xmm1,0x30(%rsp)
  movss  %xmm0,(%rax)
  movapd %xmm7,%xmm0
  subsd  %xmm3,%xmm0
  movsd  %xmm7,0x28(%rsp)
  movsd  %xmm3,0x20(%rsp)
  movsd  %xmm2,0x18(%rsp)
  divsd  %xmm0,%xmm8
  movsd  %xmm5,0x8(%rsp)
  cvtsd2ss %xmm8,%xmm8
  cvtss2sd %xmm8,%xmm8
  mulsd  %xmm8,%xmm10
  movsd  %xmm8,0x10(%rsp)
  addsd  %xmm5,%xmm10
  cvtsd2ss %xmm10,%xmm10
  movaps %xmm10,%xmm0
  movss  %xmm10,(%rsp)
  call   <fabs@plt>
  mov    D184(%rip),%rax
  movsd  D383(%rip),%xmm9
  movss  (%rsp),%xmm10
  movsd  0x8(%rsp),%xmm5
  comisd %xmm0,%xmm9
  movsd  0x10(%rsp),%xmm8
  movsd  0x18(%rsp),%xmm2
  movq   %rax,%xmm6
  movsd  0x20(%rsp),%xmm3
  movsd  0x28(%rsp),%xmm7
  movsd  0x30(%rsp),%xmm1
  movsd  0x68(%rsp),%xmm4
  jae    L333
L150:
  xor    %eax,%eax
L344:
  test   %ebx,%ebx
  je     L153
  movss  D220(%rip),%xmm0
  movapd %xmm6,%xmm8
  cmp    $0x1,%ebx
  je     L176
  movsd  D132(%rip),%xmm8
  movss  D268(%rip),%xmm0
L176:
  movapd %xmm1,%xmm6
  subsd  %xmm4,%xmm8
  mov    0x48(%rsp),%rax
  movsd  %xmm1,0x70(%rsp)
  subsd  %xmm4,%xmm6
  movsd  %xmm7,0x68(%rsp)
  movss  %xmm0,(%rax)
  movsd  %xmm3,0x30(%rsp)
  movapd %xmm6,%xmm1
  movsd  %xmm4,0x28(%rsp)
  divsd  %xmm1,%xmm8
  movsd  %xmm2,0x20(%rsp)
  movsd  %xmm6,0x80(%rsp)
  movapd %xmm7,%xmm6
  movapd %xmm2,%xmm7
  subsd  %xmm5,%xmm7
  subsd  %xmm3,%xmm6
  movsd  %xmm5,0x10(%rsp)
  movapd %xmm7,%xmm10
  movsd  %xmm6,(%rsp)
  movsd  %xmm7,0x78(%rsp)
  cvtsd2ss %xmm8,%xmm8
  cvtss2sd %xmm8,%xmm8
  mulsd  %xmm8,%xmm10
  movsd  %xmm8,0x18(%rsp)
  addsd  %xmm5,%xmm10
  cvtsd2ss %xmm10,%xmm10
  movaps %xmm10,%xmm0
  movss  %xmm10,0x8(%rsp)
  call   <fabs@plt>
  mov    D184(%rip),%rax
  movsd  D383(%rip),%xmm9
  movss  0x8(%rsp),%xmm10
  movsd  0x10(%rsp),%xmm5
  comisd %xmm0,%xmm9
  movsd  0x18(%rsp),%xmm8
  movsd  0x20(%rsp),%xmm2
  movq   %rax,%xmm6
  movsd  0x28(%rsp),%xmm4
  movsd  0x30(%rsp),%xmm3
  movsd  0x68(%rsp),%xmm7
  movsd  0x70(%rsp),%xmm1
  jae    L489
L361:
  test   %ebp,%ebp
  je     L55
L36:
  movss  D220(%rip),%xmm0
  movapd %xmm6,%xmm8
  cmp    $0x1,%ebp
  je     L162
  movsd  D132(%rip),%xmm8
  movss  D268(%rip),%xmm0
L162:
  movsd  (%rsp),%xmm10
  subsd  %xmm5,%xmm8
  divsd  0x78(%rsp),%xmm8
  cvtsd2ss %xmm8,%xmm8
  cvtss2sd %xmm8,%xmm8
  mov    0x58(%rsp),%rax
  movsd  %xmm9,0x70(%rsp)
  mulsd  %xmm8,%xmm10
  movsd  %xmm4,0x68(%rsp)
  movss  %xmm0,(%rax)
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm8,0x10(%rsp)
  movsd  %xmm3,0x8(%rsp)
  addsd  %xmm3,%xmm10
  movsd  %xmm2,0x30(%rsp)
  movsd  %xmm1,0x28(%rsp)
  movsd  %xmm7,0x20(%rsp)
  cvtsd2ss %xmm10,%xmm10
  movaps %xmm10,%xmm0
  movss  %xmm10,(%rsp)
  call   <fabs@plt>
  movsd  0x70(%rsp),%xmm9
  movss  (%rsp),%xmm10
  movsd  0x8(%rsp),%xmm3
  movsd  0x10(%rsp),%xmm8
  comisd %xmm0,%xmm9
  movsd  0x18(%rsp),%xmm5
  movsd  0x68(%rsp),%xmm4
  jb     L55
  mulsd  0x80(%rsp),%xmm8
  movsd  %xmm9,(%rsp)
  movsd  %xmm5,0x68(%rsp)
  movsd  %xmm3,0x58(%rsp)
  movss  %xmm10,0x18(%rsp)
  movsd  %xmm4,0x10(%rsp)
  addsd  %xmm4,%xmm8
  cvtsd2ss %xmm8,%xmm8
  movaps %xmm8,%xmm0
  movss  %xmm8,0x8(%rsp)
  call   <fabs@plt>
  movsd  (%rsp),%xmm9
  comisd %xmm0,%xmm9
  jb     L55
  mov    0x38(%rsp),%rax
  movss  0x18(%rsp),%xmm10
  mov    $0x1,%ebp
  movss  0x8(%rsp),%xmm8
  movsd  0x68(%rsp),%xmm5
  movss  %xmm10,(%rax)
  mov    0x48(%rsp),%rax
  movsd  0x58(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm2
  movsd  0x28(%rsp),%xmm1
  movss  %xmm8,(%rax)
  mov    D184(%rip),%rax
  movsd  0x20(%rsp),%xmm7
  movsd  0x10(%rsp),%xmm4
  movq   %rax,%xmm6
  jmp    L65
  nopw   0x0(%rax,%rax,1)
L281:
  mov    $0x1,%ebp
  jmp    L304
  nopw   0x0(%rax,%rax,1)
L477:
  mov    $0x1,%eax
  jmp    L344
  nopw   0x0(%rax,%rax,1)
L153:
  test   %ebp,%ebp
  jne    L28
  mov    %eax,%r13d
  xor    $0x1,%r13d
L65:
  test   %r12d,%r12d
  sete   %al
  or     %r13b,%al
  mov    %eax,%ebx
  jne    L218
  movss  D220(%rip),%xmm0
  movapd %xmm6,%xmm8
  cmp    $0x1,%r12d
  je     L432
  movsd  D132(%rip),%xmm8
  movss  D268(%rip),%xmm0
L432:
  mov    0x40(%rsp),%rax
  subsd  %xmm7,%xmm8
  movapd %xmm4,%xmm9
  movsd  %xmm5,0x38(%rsp)
  subsd  %xmm1,%xmm9
  movsd  %xmm2,0x30(%rsp)
  movss  %xmm0,(%rax)
  movapd %xmm3,%xmm0
  subsd  %xmm7,%xmm0
  movsd  %xmm3,0x28(%rsp)
  movsd  %xmm7,0x20(%rsp)
  movsd  %xmm4,0x18(%rsp)
  divsd  %xmm0,%xmm8
  movsd  %xmm1,0x8(%rsp)
  cvtsd2ss %xmm8,%xmm8
  cvtss2sd %xmm8,%xmm8
  mulsd  %xmm8,%xmm9
  movsd  %xmm8,0x10(%rsp)
  addsd  %xmm1,%xmm9
  cvtsd2ss %xmm9,%xmm9
  movaps %xmm9,%xmm0
  movss  %xmm9,(%rsp)
  call   <fabs@plt>
  movsd  D383(%rip),%xmm7
  mov    D184(%rip),%rax
  movss  (%rsp),%xmm9
  movsd  0x8(%rsp),%xmm1
  comisd %xmm0,%xmm7
  movsd  0x10(%rsp),%xmm8
  movsd  0x18(%rsp),%xmm4
  movq   %rax,%xmm6
  movsd  0x20(%rsp),%xmm7
  movsd  0x28(%rsp),%xmm3
  movsd  0x30(%rsp),%xmm2
  movsd  0x38(%rsp),%xmm5
  jae    L392
L12:
  test   %r14d,%r14d
  je     L158
  test   %bl,%bl
  jne    L158
  movss  D220(%rip),%xmm0
  movapd %xmm6,%xmm8
  cmp    $0x1,%r14d
  je     L253
  movsd  D132(%rip),%xmm8
  movss  D268(%rip),%xmm0
L253:
  mov    0x50(%rsp),%rax
  subsd  %xmm1,%xmm8
  movapd %xmm3,%xmm9
  movsd  %xmm5,0x38(%rsp)
  subsd  %xmm7,%xmm9
  movsd  %xmm2,0x30(%rsp)
  movss  %xmm0,(%rax)
  movapd %xmm4,%xmm0
  subsd  %xmm1,%xmm0
  movsd  %xmm4,0x28(%rsp)
  movsd  %xmm1,0x20(%rsp)
  movsd  %xmm3,0x18(%rsp)
  divsd  %xmm0,%xmm8
  movsd  %xmm7,0x8(%rsp)
  cvtsd2ss %xmm8,%xmm8
  cvtss2sd %xmm8,%xmm8
  mulsd  %xmm8,%xmm9
  movsd  %xmm8,0x10(%rsp)
  addsd  %xmm7,%xmm9
  cvtsd2ss %xmm9,%xmm9
  movaps %xmm9,%xmm0
  movss  %xmm9,(%rsp)
  call   <fabs@plt>
  movsd  D383(%rip),%xmm7
  mov    D184(%rip),%rax
  movss  (%rsp),%xmm9
  movsd  0x10(%rsp),%xmm8
  comisd %xmm0,%xmm7
  movsd  0x18(%rsp),%xmm3
  movsd  0x8(%rsp),%xmm7
  movq   %rax,%xmm6
  movsd  0x20(%rsp),%xmm1
  movsd  0x28(%rsp),%xmm4
  movsd  0x30(%rsp),%xmm2
  movsd  0x38(%rsp),%xmm5
  jae    L267
  test   %r15d,%r15d
  sete   %al
L4:
  test   %al,%al
  jne    L304
  movss  D220(%rip),%xmm0
  cmp    $0x1,%r15d
  je     L383
  movsd  D132(%rip),%xmm6
  movss  D268(%rip),%xmm0
L383:
  subsd  %xmm2,%xmm5
  subsd  %xmm2,%xmm6
  pxor   %xmm2,%xmm2
  mov    0x60(%rsp),%rax
  subsd  %xmm7,%xmm3
  movsd  %xmm4,0x18(%rsp)
  movss  %xmm0,(%rax)
  divsd  %xmm5,%xmm6
  movsd  %xmm1,0x10(%rsp)
  cvtsd2ss %xmm6,%xmm2
  cvtss2sd %xmm2,%xmm2
  mulsd  %xmm2,%xmm3
  movsd  %xmm2,0x8(%rsp)
  addsd  %xmm7,%xmm3
  cvtsd2ss %xmm3,%xmm3
  movaps %xmm3,%xmm0
  movss  %xmm3,(%rsp)
  call   <fabs@plt>
  movss  (%rsp),%xmm3
  movsd  D383(%rip),%xmm7
  movsd  0x8(%rsp),%xmm2
  movsd  0x10(%rsp),%xmm1
  comisd %xmm0,%xmm7
  movsd  0x18(%rsp),%xmm4
  jb     L304
  subsd  %xmm1,%xmm4
  movss  %xmm3,0x8(%rsp)
  mulsd  %xmm2,%xmm4
  addsd  %xmm1,%xmm4
  cvtsd2ss %xmm4,%xmm4
  movaps %xmm4,%xmm0
  movss  %xmm4,(%rsp)
  call   <fabs@plt>
  movss  (%rsp),%xmm4
  movsd  D383(%rip),%xmm7
  movss  0x8(%rsp),%xmm3
  comisd %xmm0,%xmm7
  jb     L304
  mov    0x40(%rsp),%rax
  mov    $0x1,%ebp
  movss  %xmm3,(%rax)
  mov    0x50(%rsp),%rax
  movss  %xmm4,(%rax)
  jmp    L304
  nopl   0x0(%rax,%rax,1)
L333:
  movapd %xmm1,%xmm0
  movsd  %xmm9,0x70(%rsp)
  subsd  %xmm4,%xmm0
  movsd  %xmm5,0x68(%rsp)
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm2,0x28(%rsp)
  mulsd  %xmm8,%xmm0
  pxor   %xmm8,%xmm8
  movsd  %xmm7,0x20(%rsp)
  movss  %xmm10,0x18(%rsp)
  movsd  %xmm1,0x10(%rsp)
  movsd  %xmm4,0x8(%rsp)
  addsd  %xmm4,%xmm0
  cvtsd2ss %xmm0,%xmm8
  movaps %xmm8,%xmm0
  movss  %xmm8,(%rsp)
  call   <fabs@plt>
  movsd  0x70(%rsp),%xmm9
  mov    D184(%rip),%rax
  movss  (%rsp),%xmm8
  movsd  0x8(%rsp),%xmm4
  comisd %xmm0,%xmm9
  movsd  0x10(%rsp),%xmm1
  movss  0x18(%rsp),%xmm10
  movq   %rax,%xmm6
  movsd  0x20(%rsp),%xmm7
  movsd  0x28(%rsp),%xmm2
  movsd  0x30(%rsp),%xmm3
  movsd  0x68(%rsp),%xmm5
  jb     L150
  mov    0x48(%rsp),%rax
  mov    $0x1,%ebp
  movss  %xmm8,(%rax)
  mov    0x58(%rsp),%rax
  movss  %xmm10,(%rax)
  jmp    L65
  nopl   0x0(%rax)
L392:
  movapd %xmm5,%xmm0
  movsd  %xmm4,0x38(%rsp)
  subsd  %xmm2,%xmm0
  movsd  %xmm3,0x30(%rsp)
  movsd  %xmm1,0x28(%rsp)
  movss  %xmm9,0x18(%rsp)
  mulsd  %xmm8,%xmm0
  pxor   %xmm8,%xmm8
  movsd  %xmm5,0x10(%rsp)
  movsd  %xmm2,0x8(%rsp)
  addsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm8
  movaps %xmm8,%xmm0
  movss  %xmm8,(%rsp)
  call   <fabs@plt>
  movsd  D383(%rip),%xmm7
  mov    D184(%rip),%rax
  movss  (%rsp),%xmm8
  movsd  0x8(%rsp),%xmm2
  comisd %xmm0,%xmm7
  movsd  0x10(%rsp),%xmm5
  movss  0x18(%rsp),%xmm9
  movq   %rax,%xmm6
  movsd  0x20(%rsp),%xmm7
  movsd  0x28(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm3
  movsd  0x38(%rsp),%xmm4
  jb     L12
  mov    0x50(%rsp),%rax
  mov    $0x1,%ebp
  movss  %xmm9,(%rax)
  mov    0x60(%rsp),%rax
  movss  %xmm8,(%rax)
  jmp    L304
  nopl   0x0(%rax)
L267:
  movapd %xmm5,%xmm0
  movsd  %xmm7,0x20(%rsp)
  subsd  %xmm2,%xmm0
  movss  %xmm9,0x8(%rsp)
  movsd  %xmm4,0x38(%rsp)
  movsd  %xmm3,0x30(%rsp)
  mulsd  %xmm8,%xmm0
  pxor   %xmm8,%xmm8
  movsd  %xmm1,0x28(%rsp)
  movsd  %xmm5,0x18(%rsp)
  movsd  %xmm2,0x10(%rsp)
  addsd  %xmm2,%xmm0
  cvtsd2ss %xmm0,%xmm8
  movaps %xmm8,%xmm0
  movss  %xmm8,(%rsp)
  call   <fabs@plt>
  movsd  D383(%rip),%xmm7
  movss  (%rsp),%xmm8
  movss  0x8(%rsp),%xmm9
  comisd %xmm0,%xmm7
  jae    L411
  mov    D184(%rip),%rbx
  test   %r15d,%r15d
  movsd  0x10(%rsp),%xmm2
  movsd  0x18(%rsp),%xmm5
  movsd  0x20(%rsp),%xmm7
  sete   %al
  movsd  0x28(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm3
  movq   %rbx,%xmm6
  movsd  0x38(%rsp),%xmm4
  jmp    L4
  nop
L489:
  mulsd  (%rsp),%xmm8
  movsd  %xmm5,0x70(%rsp)
  movsd  %xmm9,0x88(%rsp)
  movsd  %xmm4,0x68(%rsp)
  movsd  %xmm2,0x30(%rsp)
  movsd  %xmm1,0x28(%rsp)
  addsd  %xmm3,%xmm8
  movsd  %xmm7,0x20(%rsp)
  movss  %xmm10,0x18(%rsp)
  movsd  %xmm3,0x10(%rsp)
  cvtsd2ss %xmm8,%xmm8
  movaps %xmm8,%xmm0
  movss  %xmm8,0x8(%rsp)
  call   <fabs@plt>
  mov    D184(%rip),%rax
  movsd  0x88(%rsp),%xmm9
  movss  0x8(%rsp),%xmm8
  movsd  0x10(%rsp),%xmm3
  comisd %xmm0,%xmm9
  movss  0x18(%rsp),%xmm10
  movsd  0x20(%rsp),%xmm7
  movq   %rax,%xmm6
  movsd  0x28(%rsp),%xmm1
  movsd  0x30(%rsp),%xmm2
  movsd  0x68(%rsp),%xmm4
  movsd  0x70(%rsp),%xmm5
  jb     L361
  mov    0x38(%rsp),%rax
  mov    $0x1,%ebp
  movss  %xmm8,(%rax)
  mov    0x58(%rsp),%rax
  movss  %xmm10,(%rax)
  jmp    L65
  cs nopw 0x0(%rax,%rax,1)
L411:
  mov    0x60(%rsp),%rax
  mov    $0x1,%ebp
  movss  %xmm8,(%rax)
  mov    0x40(%rsp),%rax
  movss  %xmm9,(%rax)
  jmp    L304
L28:
  movsd  D383(%rip),%xmm9
  movapd %xmm7,%xmm0
  subsd  %xmm3,%xmm0
  movsd  %xmm0,(%rsp)
  movapd %xmm1,%xmm0
  subsd  %xmm4,%xmm0
  movsd  %xmm0,0x80(%rsp)
  movapd %xmm2,%xmm0
  subsd  %xmm5,%xmm0
  movsd  %xmm0,0x78(%rsp)
  jmp    L36
L158:
  test   %r15d,%r15d
  sete   %al
  or     %ebx,%eax
  jmp    L4
L218:
  mov    %r13d,%ebx
  jmp    L12
```

tool_calls: name: read_data
arguments: data_tag: D184
type: f64
name: read_data
arguments: data_tag: D132
type: byte[8]
name: read_data
arguments: data_tag: D220
type: byte[4]
name: read_data
arguments: data_tag: D268
type: byte[4]
name: read_data
arguments: data_tag: D383
type: f64

tool: D184: 1

tool: {"D132": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0xbf]}

tool: {"D220": [0x00,0x00,0x80,0x3f]}

tool: {"D268": [0x00,0x00,0x80,0xbf]}

tool: D383: 1.000001

assistant: ```c
int clip3d(double x1, double y1, double z1, double x2, double y2, double z2, float *x1p, float *y1p, float *z1p, float *x2p, float *y2p, float *z2p) {
  int istack, ix1 = 0, ix2 = 0, iy1 = 0, iy2 = 0, iz1 = 0, iz2 = 0, iflag = 0;
  float wh, wv, wo, xhat, yhat, zhat, del;
  istack = 1;
  *x1p = x1;
  *y1p = y1;
  *z1p = z1;
  *x2p = x2;
  *y2p = y2;
  *z2p = z2;
  if (x1 < -1.)
    ix1 = -1;
  if (x1 > 1.)
    ix1 = 1;
  if (x2 < -1.)
    ix2 = -1;
  if (x2 > 1.)
    ix2 = 1;
  if (y1 < -1.)
    iy1 = -1;
  if (y1 > 1.)
    iy1 = 1;
  if (y2 < -1.)
    iy2 = -1;
  if (y2 > 1.)
    iy2 = 1;
  if (z1 < -1.)
    iz1 = -1;
  if (z1 > 1.)
    iz1 = 1;
  if (z2 < -1.)
    iz2 = -1;
  if (z2 > 1.)
    iz2 = 1;
  if ((abs(ix1) + abs(ix2) + abs(iy1) + abs(iy2) + abs(iz1) + abs(iz2)) == 0)
    return (1);
  if ((ix1 == ix2) && (ix1 != 0))
    return (0);
  if ((iy1 == iy2) && (iy1 != 0))
    return (0);
  if ((iz1 == iz2) && (iz1 != 0))
    return (0);
  if (ix1 == 0)
    goto C2;
  wv = -1;
  if (ix1 > 0)
    wv = 1;
  *x1p = wv;
  del = (wv - x2) / (x1 - x2);
  yhat = (y1 - y2) * del + y2;
  zhat = (z1 - z2) * del + z2;
  if (fabs(zhat) <= 1.000001 && fabs(yhat) <= 1.000001) {
    *y1p = yhat;
    *z1p = zhat;
    iflag = 1;
    goto C3;
  }
  istack = 0;
C2:
  if (iy1 == 0)
    goto C22;
  wh = -1;
  if (iy1 > 0)
    wh = 1;
  *y1p = wh;
  del = (wh - y2) / (y1 - y2);
  xhat = (x1 - x2) * del + x2;
  zhat = (z1 - z2) * del + z2;
  if (fabs(zhat) <= 1.000001 && fabs(xhat) <= 1.000001) {
    *x1p = xhat;
    *z1p = zhat;
    iflag = 1;
    goto C3;
  }
  istack = 0;
C22:
  if (iz1 == 0)
    goto C3;
  wo = -1;
  if (iz1 > 0)
    wo = 1;
  *z1p = wo;
  del = (wo - z2) / (z1 - z2);
  xhat = del * (x1 - x2) + x2;
  yhat = del * (y1 - y2) + y2;
  if (fabs(xhat) <= 1.000001 && fabs(yhat) <= 1.000001) {
    *x1p = xhat;
    *y1p = yhat;
    iflag = 1;
  } else
    istack = 0;
C3:
  istack += iflag;
  if ((ix2 == 0) || (istack == 0))
    goto C44;
  wv = -1;
  if (ix2 > 0)
    wv = 1;
  *x2p = wv;
  del = (wv - x1) / (x2 - x1);
  yhat = (y2 - y1) * del + y1;
  zhat = (z2 - z1) * del + z1;
  if (fabs(yhat) <= 1.000001 && fabs(zhat) <= 1.000001) {
    *y2p = yhat;
    *z2p = zhat;
    return (1);
  }
C44:
  if (iy2 == 0 || istack == 0)
    goto C4;
  wh = -1;
  if (iy2 > 0)
    wh = 1;
  *y2p = wh;
  del = (wh - y1) / (y2 - y1);
  xhat = (x2 - x1) * del + x1;
  zhat = (z2 - z1) * del + z1;
  if (fabs(xhat) <= 1.000001 && fabs(zhat) <= 1.000001) {
    *z2p = zhat;
    *x2p = xhat;
    return (1);
  }
C4:
  if (iz2 == 0 || istack == 0)
    return (iflag);
  wo = -1;
  if (iz2 > 0)
    wo = 1;
  *z2p = wo;
  del = (wo - z1) / (z2 - z1);
  xhat = (x2 - x1) * del + x1;
  yhat = (y2 - y1) * del + y1;
  if (fabs(xhat) <= 1.000001 && fabs(yhat) <= 1.000001) {
    *x2p = xhat;
    *y2p = yhat;
    return (1);
  }
  return (iflag);
}
```