user: Converte this assembly snippet into its equivalent C code:

```asm
<tri_tri_intersect_with_isectline>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x140,%rsp
  mov    %rdi,-0xf8(%rbp)
  mov    %rsi,-0x100(%rbp)
  mov    %rdx,-0x108(%rbp)
  mov    %rcx,-0x110(%rbp)
  mov    %r8,-0x118(%rbp)
  mov    %r9,-0x120(%rbp)
  mov    0x10(%rbp),%rax
  mov    %rax,-0x128(%rbp)
  mov    0x18(%rbp),%rax
  mov    %rax,-0x130(%rbp)
  mov    0x20(%rbp),%rax
  mov    %rax,-0x138(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0x100(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0xf8(%rbp),%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x74(%rbp)
  mov    -0x100(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mov    -0xf8(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x70(%rbp)
  mov    -0x100(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mov    -0xf8(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x6c(%rbp)
  mov    -0x108(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0xf8(%rbp),%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x68(%rbp)
  mov    -0x108(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mov    -0xf8(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  mov    -0x108(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mov    -0xf8(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x60(%rbp)
  movss  -0x70(%rbp),%xmm1
  movss  -0x60(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x6c(%rbp),%xmm2
  movss  -0x64(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x5c(%rbp)
  movss  -0x6c(%rbp),%xmm1
  movss  -0x68(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x74(%rbp),%xmm2
  movss  -0x60(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x58(%rbp)
  movss  -0x74(%rbp),%xmm1
  movss  -0x64(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x70(%rbp),%xmm2
  movss  -0x68(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x54(%rbp)
  movss  -0x5c(%rbp),%xmm1
  mov    -0xf8(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x58(%rbp),%xmm2
  mov    -0xf8(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x54(%rbp),%xmm2
  mov    -0xf8(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  D36(%rip),%xmm1
  xorps  %xmm1,%xmm0
  movss  %xmm0,-0xc4(%rbp)
  movss  -0x5c(%rbp),%xmm1
  mov    -0x110(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x58(%rbp),%xmm2
  mov    -0x110(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x54(%rbp),%xmm2
  mov    -0x110(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  -0xc4(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xe8(%rbp)
  movss  -0x5c(%rbp),%xmm1
  mov    -0x118(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x58(%rbp),%xmm2
  mov    -0x118(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x54(%rbp),%xmm2
  mov    -0x118(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  -0xc4(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xe4(%rbp)
  movss  -0x5c(%rbp),%xmm1
  mov    -0x120(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x58(%rbp),%xmm2
  mov    -0x120(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x54(%rbp),%xmm2
  mov    -0x120(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  -0xc4(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xe0(%rbp)
  movss  -0xe8(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D3(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L250
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xe8(%rbp)
L250:
  movss  -0xe4(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D3(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L15
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xe4(%rbp)
L15:
  movss  -0xe0(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D3(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L366
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xe0(%rbp)
L366:
  movss  -0xe8(%rbp),%xmm0
  mulss  -0xe4(%rbp),%xmm0
  movss  %xmm0,-0xc0(%rbp)
  movss  -0xe8(%rbp),%xmm0
  mulss  -0xe0(%rbp),%xmm0
  movss  %xmm0,-0xbc(%rbp)
  movss  -0xc0(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm1,%xmm0
  jbe    L407
  movss  -0xbc(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm1,%xmm0
  jbe    L407
  mov    $0x0,%eax
  jmp    L364
L407:
  mov    -0x118(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0x110(%rbp),%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x74(%rbp)
  mov    -0x118(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mov    -0x110(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x70(%rbp)
  mov    -0x118(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mov    -0x110(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x6c(%rbp)
  mov    -0x120(%rbp),%rax
  movss  (%rax),%xmm0
  mov    -0x110(%rbp),%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x68(%rbp)
  mov    -0x120(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mov    -0x110(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x64(%rbp)
  mov    -0x120(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mov    -0x110(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x60(%rbp)
  movss  -0x70(%rbp),%xmm1
  movss  -0x60(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x6c(%rbp),%xmm2
  movss  -0x64(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x50(%rbp)
  movss  -0x6c(%rbp),%xmm1
  movss  -0x68(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x74(%rbp),%xmm2
  movss  -0x60(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x4c(%rbp)
  movss  -0x74(%rbp),%xmm1
  movss  -0x64(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x70(%rbp),%xmm2
  movss  -0x68(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x48(%rbp)
  movss  -0x50(%rbp),%xmm1
  mov    -0x110(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm2
  mov    -0x110(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm2
  mov    -0x110(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  D36(%rip),%xmm1
  xorps  %xmm1,%xmm0
  movss  %xmm0,-0xb8(%rbp)
  movss  -0x50(%rbp),%xmm1
  mov    -0xf8(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm2
  mov    -0xf8(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm2
  mov    -0xf8(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  -0xb8(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xdc(%rbp)
  movss  -0x50(%rbp),%xmm1
  mov    -0x100(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm2
  mov    -0x100(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm2
  mov    -0x100(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  -0xb8(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xd8(%rbp)
  movss  -0x50(%rbp),%xmm1
  mov    -0x108(%rbp),%rax
  movss  (%rax),%xmm0
  mulss  %xmm0,%xmm1
  movss  -0x4c(%rbp),%xmm2
  mov    -0x108(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  movss  -0x48(%rbp),%xmm2
  mov    -0x108(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  movss  -0xb8(%rbp),%xmm1
  addss  %xmm1,%xmm0
  movss  %xmm0,-0xd4(%rbp)
  movss  -0xdc(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D3(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L397
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xdc(%rbp)
L397:
  movss  -0xd8(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D3(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L21
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xd8(%rbp)
L21:
  movss  -0xd4(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm0,%xmm1
  movsd  D3(%rip),%xmm0
  comisd %xmm1,%xmm0
  jbe    L340
  pxor   %xmm0,%xmm0
  movss  %xmm0,-0xd4(%rbp)
L340:
  movss  -0xdc(%rbp),%xmm0
  mulss  -0xd8(%rbp),%xmm0
  movss  %xmm0,-0xb4(%rbp)
  movss  -0xdc(%rbp),%xmm0
  mulss  -0xd4(%rbp),%xmm0
  movss  %xmm0,-0xb0(%rbp)
  movss  -0xb4(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm1,%xmm0
  jbe    L88
  movss  -0xb0(%rbp),%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm1,%xmm0
  jbe    L88
  mov    $0x0,%eax
  jmp    L364
L88:
  movss  -0x58(%rbp),%xmm1
  movss  -0x48(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x54(%rbp),%xmm2
  movss  -0x4c(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x44(%rbp)
  movss  -0x54(%rbp),%xmm1
  movss  -0x50(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x5c(%rbp),%xmm2
  movss  -0x48(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x40(%rbp)
  movss  -0x5c(%rbp),%xmm1
  movss  -0x4c(%rbp),%xmm0
  mulss  %xmm1,%xmm0
  movss  -0x58(%rbp),%xmm2
  movss  -0x50(%rbp),%xmm1
  mulss  %xmm2,%xmm1
  subss  %xmm1,%xmm0
  movss  %xmm0,-0x3c(%rbp)
  movss  -0x44(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  movss  %xmm0,-0xd0(%rbp)
  movw   $0x0,-0xea(%rbp)
  movss  -0x40(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  movss  %xmm0,-0xac(%rbp)
  movss  -0x3c(%rbp),%xmm0
  movss  D77(%rip),%xmm1
  andps  %xmm1,%xmm0
  movss  %xmm0,-0xa8(%rbp)
  movss  -0xac(%rbp),%xmm0
  comiss -0xd0(%rbp),%xmm0
  jbe    L168
  movss  -0xac(%rbp),%xmm0
  movss  %xmm0,-0xd0(%rbp)
  movw   $0x1,-0xea(%rbp)
L168:
  movss  -0xa8(%rbp),%xmm0
  comiss -0xd0(%rbp),%xmm0
  jbe    L370
  movss  -0xa8(%rbp),%xmm0
  movss  %xmm0,-0xd0(%rbp)
  movw   $0x2,-0xea(%rbp)
L370:
  movswq -0xea(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0xf8(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0xa4(%rbp)
  movswq -0xea(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x100(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0xa0(%rbp)
  movswq -0xea(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x108(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x9c(%rbp)
  movswq -0xea(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x110(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x98(%rbp)
  movswq -0xea(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x118(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x94(%rbp)
  movswq -0xea(%rbp),%rax
  lea    0x0(,%rax,4),%rdx
  mov    -0x120(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x90(%rbp)
  pxor   %xmm6,%xmm6
  cvtss2sd -0xb0(%rbp),%xmm6
  pxor   %xmm5,%xmm5
  cvtss2sd -0xb4(%rbp),%xmm5
  pxor   %xmm4,%xmm4
  cvtss2sd -0xd4(%rbp),%xmm4
  pxor   %xmm3,%xmm3
  cvtss2sd -0xd8(%rbp),%xmm3
  pxor   %xmm2,%xmm2
  cvtss2sd -0xdc(%rbp),%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd -0x9c(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0xa0(%rbp),%xmm0
  pxor   %xmm7,%xmm7
  cvtss2sd -0xa4(%rbp),%xmm7
  movq   %xmm7,%rdi
  lea    -0x38(%rbp),%r9
  lea    -0x84(%rbp),%rax
  lea    0x4(%rax),%r10
  lea    -0x84(%rbp),%rcx
  mov    -0x108(%rbp),%rdx
  mov    -0x100(%rbp),%rsi
  mov    -0xf8(%rbp),%rax
  sub    $0x8,%rsp
  lea    -0x2c(%rbp),%r8
  push   %r8
  mov    %r10,%r8
  movapd %xmm6,%xmm7
  movapd %xmm5,%xmm6
  movapd %xmm4,%xmm5
  movapd %xmm3,%xmm4
  movapd %xmm2,%xmm3
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rdi,%xmm0
  mov    %rax,%rdi
  mov    $0x8,%eax
  call   <compute_intervals_isectline@plt>
  add    $0x10,%rsp
  mov    -0x128(%rbp),%rdx
  mov    %eax,(%rdx)
  mov    -0x128(%rbp),%rax
  mov    (%rax),%eax
  test   %eax,%eax
  je     L173
  mov    -0x118(%rbp),%r8
  mov    -0x110(%rbp),%rdi
  mov    -0x108(%rbp),%rcx
  mov    -0x100(%rbp),%rdx
  mov    -0xf8(%rbp),%rsi
  lea    -0x5c(%rbp),%rax
  sub    $0x8,%rsp
  push   -0x120(%rbp)
  mov    %r8,%r9
  mov    %rdi,%r8
  mov    %rax,%rdi
  mov    $0x0,%eax
  call   <coplanar_tri_tri@plt>
  add    $0x10,%rsp
  jmp    L364
L173:
  pxor   %xmm6,%xmm6
  cvtss2sd -0xbc(%rbp),%xmm6
  pxor   %xmm5,%xmm5
  cvtss2sd -0xc0(%rbp),%xmm5
  pxor   %xmm4,%xmm4
  cvtss2sd -0xe0(%rbp),%xmm4
  pxor   %xmm3,%xmm3
  cvtss2sd -0xe4(%rbp),%xmm3
  pxor   %xmm2,%xmm2
  cvtss2sd -0xe8(%rbp),%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd -0x90(%rbp),%xmm1
  pxor   %xmm0,%xmm0
  cvtss2sd -0x94(%rbp),%xmm0
  pxor   %xmm7,%xmm7
  cvtss2sd -0x98(%rbp),%xmm7
  movq   %xmm7,%rdi
  lea    -0x20(%rbp),%r9
  lea    -0x7c(%rbp),%rax
  lea    0x4(%rax),%r10
  lea    -0x7c(%rbp),%rcx
  mov    -0x120(%rbp),%rdx
  mov    -0x118(%rbp),%rsi
  mov    -0x110(%rbp),%rax
  sub    $0x8,%rsp
  lea    -0x14(%rbp),%r8
  push   %r8
  mov    %r10,%r8
  movapd %xmm6,%xmm7
  movapd %xmm5,%xmm6
  movapd %xmm4,%xmm5
  movapd %xmm3,%xmm4
  movapd %xmm2,%xmm3
  movapd %xmm1,%xmm2
  movapd %xmm0,%xmm1
  movq   %rdi,%xmm0
  mov    %rax,%rdi
  mov    $0x8,%eax
  call   <compute_intervals_isectline@plt>
  add    $0x10,%rsp
  movss  -0x84(%rbp),%xmm0
  movss  -0x80(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jbe    L1
  movss  -0x84(%rbp),%xmm0
  movss  %xmm0,-0x8c(%rbp)
  movss  -0x80(%rbp),%xmm0
  movss  %xmm0,-0x84(%rbp)
  movss  -0x8c(%rbp),%xmm0
  movss  %xmm0,-0x80(%rbp)
  movl   $0x1,-0xcc(%rbp)
  jmp    L395
L1:
  movl   $0x0,-0xcc(%rbp)
L395:
  movss  -0x7c(%rbp),%xmm0
  movss  -0x78(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jbe    L87
  movss  -0x7c(%rbp),%xmm0
  movss  %xmm0,-0x88(%rbp)
  movss  -0x78(%rbp),%xmm0
  movss  %xmm0,-0x7c(%rbp)
  movss  -0x88(%rbp),%xmm0
  movss  %xmm0,-0x78(%rbp)
  movl   $0x1,-0xc8(%rbp)
  jmp    L254
L87:
  movl   $0x0,-0xc8(%rbp)
L254:
  movss  -0x80(%rbp),%xmm1
  movss  -0x7c(%rbp),%xmm0
  comiss %xmm1,%xmm0
  ja     L148
  movss  -0x78(%rbp),%xmm1
  movss  -0x84(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jbe    L303
L148:
  mov    $0x0,%eax
  jmp    L364
L303:
  movss  -0x7c(%rbp),%xmm1
  movss  -0x84(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jbe    L122
  cmpl   $0x0,-0xcc(%rbp)
  jne    L23
  movss  -0x38(%rbp),%xmm0
  mov    -0x130(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0x4,%rax
  movss  -0x34(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0x8,%rax
  movss  -0x30(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L394
L23:
  movss  -0x2c(%rbp),%xmm0
  mov    -0x130(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0x4,%rax
  movss  -0x28(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0x8,%rax
  movss  -0x24(%rbp),%xmm0
  movss  %xmm0,(%rax)
L394:
  movss  -0x78(%rbp),%xmm1
  movss  -0x80(%rbp),%xmm0
  comiss %xmm1,%xmm0
  jbe    L392
  cmpl   $0x0,-0xc8(%rbp)
  jne    L279
  movss  -0x14(%rbp),%xmm0
  mov    -0x138(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x4,%rax
  movss  -0x10(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x8,%rax
  movss  -0xc(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L342
L279:
  movss  -0x20(%rbp),%xmm0
  mov    -0x138(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x4,%rax
  movss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x8,%rax
  movss  -0x18(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L342
L392:
  cmpl   $0x0,-0xcc(%rbp)
  jne    L2
  movss  -0x2c(%rbp),%xmm0
  mov    -0x138(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x4,%rax
  movss  -0x28(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x8,%rax
  movss  -0x24(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L342
L2:
  movss  -0x38(%rbp),%xmm0
  mov    -0x138(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x4,%rax
  movss  -0x34(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x8,%rax
  movss  -0x30(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L342
L122:
  cmpl   $0x0,-0xc8(%rbp)
  jne    L262
  movss  -0x20(%rbp),%xmm0
  mov    -0x130(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0x4,%rax
  movss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0x8,%rax
  movss  -0x18(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L219
L262:
  movss  -0x14(%rbp),%xmm0
  mov    -0x130(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0x4,%rax
  movss  -0x10(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x130(%rbp),%rax
  add    $0x8,%rax
  movss  -0xc(%rbp),%xmm0
  movss  %xmm0,(%rax)
L219:
  movss  -0x78(%rbp),%xmm0
  movss  -0x80(%rbp),%xmm1
  comiss %xmm1,%xmm0
  jbe    L276
  cmpl   $0x0,-0xcc(%rbp)
  jne    L345
  movss  -0x2c(%rbp),%xmm0
  mov    -0x138(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x4,%rax
  movss  -0x28(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x8,%rax
  movss  -0x24(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L342
L345:
  movss  -0x38(%rbp),%xmm0
  mov    -0x138(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x4,%rax
  movss  -0x34(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x8,%rax
  movss  -0x30(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L342
L276:
  cmpl   $0x0,-0xc8(%rbp)
  jne    L171
  movss  -0x14(%rbp),%xmm0
  mov    -0x138(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x4,%rax
  movss  -0x10(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x8,%rax
  movss  -0xc(%rbp),%xmm0
  movss  %xmm0,(%rax)
  jmp    L342
L171:
  movss  -0x20(%rbp),%xmm0
  mov    -0x138(%rbp),%rax
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x4,%rax
  movss  -0x1c(%rbp),%xmm0
  movss  %xmm0,(%rax)
  mov    -0x138(%rbp),%rax
  add    $0x8,%rax
  movss  -0x18(%rbp),%xmm0
  movss  %xmm0,(%rax)
L342:
  mov    $0x1,%eax
L364:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L132
  call   <__stack_chk_fail@plt>
L132:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: data_label: D36
datatype: byte[4]
name: disassemble_data
arguments: data_label: D77
datatype: dword
name: disassemble_data
arguments: data_label: D3
datatype: f64

tool: {"D36": [0x00,0x00,0x00,0x80]}

tool: D77: 2147483647

tool: D3: 0.005

assistant: ```c
int tri_tri_intersect_with_isectline(float V0[3], float V1[3], float V2[3], float U0[3], float U1[3], float U2[3], int *coplanar, float isectpt1[3], float isectpt2[3]) {
  float E1[3], E2[3];
  float N1[3], N2[3], d1, d2;
  float du0, du1, du2, dv0, dv1, dv2;
  float D[3];
  float isect1[2], isect2[2];
  float isectpointA1[3], isectpointA2[3];
  float isectpointB1[3], isectpointB2[3];
  float du0du1, du0du2, dv0dv1, dv0dv2;
  short index;
  float vp0, vp1, vp2;
  float up0, up1, up2;
  float b, c, max;
  float tmp, diff[3];
  int smallest1, smallest2;
  E1[0] = V1[0] - V0[0];
  E1[1] = V1[1] - V0[1];
  E1[2] = V1[2] - V0[2];
  ;
  E2[0] = V2[0] - V0[0];
  E2[1] = V2[1] - V0[1];
  E2[2] = V2[2] - V0[2];
  ;
  N1[0] = E1[1] * E2[2] - E1[2] * E2[1];
  N1[1] = E1[2] * E2[0] - E1[0] * E2[2];
  N1[2] = E1[0] * E2[1] - E1[1] * E2[0];
  ;
  d1 = -(N1[0] * V0[0] + N1[1] * V0[1] + N1[2] * V0[2]);
  du0 = (N1[0] * U0[0] + N1[1] * U0[1] + N1[2] * U0[2]) + d1;
  du1 = (N1[0] * U1[0] + N1[1] * U1[1] + N1[2] * U1[2]) + d1;
  du2 = (N1[0] * U2[0] + N1[1] * U2[1] + N1[2] * U2[2]) + d1;
  if (fabs(du0) < 0.005)
    du0 = 0.0;
  if (fabs(du1) < 0.005)
    du1 = 0.0;
  if (fabs(du2) < 0.005)
    du2 = 0.0;
  du0du1 = du0 * du1;
  du0du2 = du0 * du2;
  if (du0du1 > 0.0f && du0du2 > 0.0f)
    return 0;
  E1[0] = U1[0] - U0[0];
  E1[1] = U1[1] - U0[1];
  E1[2] = U1[2] - U0[2];
  ;
  E2[0] = U2[0] - U0[0];
  E2[1] = U2[1] - U0[1];
  E2[2] = U2[2] - U0[2];
  ;
  N2[0] = E1[1] * E2[2] - E1[2] * E2[1];
  N2[1] = E1[2] * E2[0] - E1[0] * E2[2];
  N2[2] = E1[0] * E2[1] - E1[1] * E2[0];
  ;
  d2 = -(N2[0] * U0[0] + N2[1] * U0[1] + N2[2] * U0[2]);
  dv0 = (N2[0] * V0[0] + N2[1] * V0[1] + N2[2] * V0[2]) + d2;
  dv1 = (N2[0] * V1[0] + N2[1] * V1[1] + N2[2] * V1[2]) + d2;
  dv2 = (N2[0] * V2[0] + N2[1] * V2[1] + N2[2] * V2[2]) + d2;
  if (fabs(dv0) < 0.005)
    dv0 = 0.0;
  if (fabs(dv1) < 0.005)
    dv1 = 0.0;
  if (fabs(dv2) < 0.005)
    dv2 = 0.0;
  dv0dv1 = dv0 * dv1;
  dv0dv2 = dv0 * dv2;
  if (dv0dv1 > 0.0f && dv0dv2 > 0.0f)
    return 0;
  D[0] = N1[1] * N2[2] - N1[2] * N2[1];
  D[1] = N1[2] * N2[0] - N1[0] * N2[2];
  D[2] = N1[0] * N2[1] - N1[1] * N2[0];
  ;
  max = fabs(D[0]);
  index = 0;
  b = fabs(D[1]);
  c = fabs(D[2]);
  if (b > max)
    max = b, index = 1;
  if (c > max)
    max = c, index = 2;
  vp0 = V0[index];
  vp1 = V1[index];
  vp2 = V2[index];
  up0 = U0[index];
  up1 = U1[index];
  up2 = U2[index];
  *coplanar = compute_intervals_isectline(V0, V1, V2, vp0, vp1, vp2, dv0, dv1, dv2, dv0dv1, dv0dv2, &isect1[0], &isect1[1], isectpointA1, isectpointA2);
  if (*coplanar)
    return coplanar_tri_tri(N1, V0, V1, V2, U0, U1, U2);
  compute_intervals_isectline(U0, U1, U2, up0, up1, up2, du0, du1, du2, du0du1, du0du2, &isect2[0], &isect2[1], isectpointB1, isectpointB2);
  if (isect1[0] > isect1[1]) {
    float c;
    c = isect1[0];
    isect1[0] = isect1[1];
    isect1[1] = c;
    smallest1 = 1;
  } else
    smallest1 = 0;
  ;
  if (isect2[0] > isect2[1]) {
    float c;
    c = isect2[0];
    isect2[0] = isect2[1];
    isect2[1] = c;
    smallest2 = 1;
  } else
    smallest2 = 0;
  ;
  if (isect1[1] < isect2[0] || isect2[1] < isect1[0])
    return 0;
  if (isect2[0] < isect1[0]) {
    if (smallest1 == 0) {
      isectpt1[0] = isectpointA1[0];
      isectpt1[1] = isectpointA1[1];
      isectpt1[2] = isectpointA1[2];
      ;
    } else {
      isectpt1[0] = isectpointA2[0];
      isectpt1[1] = isectpointA2[1];
      isectpt1[2] = isectpointA2[2];
      ;
    }
    if (isect2[1] < isect1[1]) {
      if (smallest2 == 0) {
        isectpt2[0] = isectpointB2[0];
        isectpt2[1] = isectpointB2[1];
        isectpt2[2] = isectpointB2[2];
        ;
      } else {
        isectpt2[0] = isectpointB1[0];
        isectpt2[1] = isectpointB1[1];
        isectpt2[2] = isectpointB1[2];
        ;
      }
    } else {
      if (smallest1 == 0) {
        isectpt2[0] = isectpointA2[0];
        isectpt2[1] = isectpointA2[1];
        isectpt2[2] = isectpointA2[2];
        ;
      } else {
        isectpt2[0] = isectpointA1[0];
        isectpt2[1] = isectpointA1[1];
        isectpt2[2] = isectpointA1[2];
        ;
      }
    }
  } else {
    if (smallest2 == 0) {
      isectpt1[0] = isectpointB1[0];
      isectpt1[1] = isectpointB1[1];
      isectpt1[2] = isectpointB1[2];
      ;
    } else {
      isectpt1[0] = isectpointB2[0];
      isectpt1[1] = isectpointB2[1];
      isectpt1[2] = isectpointB2[2];
      ;
    }
    if (isect2[1] > isect1[1]) {
      if (smallest1 == 0) {
        isectpt2[0] = isectpointA2[0];
        isectpt2[1] = isectpointA2[1];
        isectpt2[2] = isectpointA2[2];
        ;
      } else {
        isectpt2[0] = isectpointA1[0];
        isectpt2[1] = isectpointA1[1];
        isectpt2[2] = isectpointA1[2];
        ;
      }
    } else {
      if (smallest2 == 0) {
        isectpt2[0] = isectpointB2[0];
        isectpt2[1] = isectpointB2[1];
        isectpt2[2] = isectpointB2[2];
        ;
      } else {
        isectpt2[0] = isectpointB1[0];
        isectpt2[1] = isectpointB1[1];
        isectpt2[2] = isectpointB1[2];
        ;
      }
    }
  }
  return 1;
}
```