user: 提供的汇编代码用C语言表示会是什么样子:

```asm
<tri_tri_intersect_with_isectline>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0xa8,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%rbp
  mov    %rdx,%r12
  mov    %rcx,%r14
  mov    %r8,%r15
  mov    %r9,%r13
  mov    0xe0(%rsp),%rax
  mov    %rax,0x10(%rsp)
  mov    0xe8(%rsp),%rax
  mov    %rax,0x20(%rsp)
  mov    0xf0(%rsp),%rax
  mov    %rax,0x28(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  mov    (%rsi),%edi
  movss  (%rbx),%xmm1
  movd   %edi,%xmm0
  subss  %xmm1,%xmm0
  mov    0x4(%rsi),%r8d
  movss  0x4(%rbx),%xmm15
  movd   %r8d,%xmm3
  subss  %xmm15,%xmm3
  mov    0x8(%rsi),%r9d
  movss  0x8(%rbx),%xmm11
  movd   %r9d,%xmm2
  subss  %xmm11,%xmm2
  mov    (%rdx),%r10d
  movd   %r10d,%xmm5
  subss  %xmm1,%xmm5
  mov    0x4(%rdx),%esi
  movd   %esi,%xmm6
  subss  %xmm15,%xmm6
  mov    0x8(%rdx),%ecx
  movd   %ecx,%xmm4
  subss  %xmm11,%xmm4
  movaps %xmm3,%xmm8
  mulss  %xmm4,%xmm8
  movaps %xmm2,%xmm7
  mulss  %xmm6,%xmm7
  subss  %xmm7,%xmm8
  movss  %xmm8,0x5c(%rsp)
  mulss  %xmm5,%xmm2
  mulss  %xmm0,%xmm4
  subss  %xmm4,%xmm2
  movss  %xmm2,0x60(%rsp)
  mulss  %xmm6,%xmm0
  mulss  %xmm5,%xmm3
  subss  %xmm3,%xmm0
  movss  %xmm0,0x64(%rsp)
  movaps %xmm1,%xmm6
  mulss  %xmm8,%xmm6
  movaps %xmm15,%xmm3
  mulss  %xmm2,%xmm3
  addss  %xmm3,%xmm6
  movaps %xmm11,%xmm3
  mulss  %xmm0,%xmm3
  addss  %xmm3,%xmm6
  movss  (%r14),%xmm14
  movss  0x4(%r14),%xmm7
  mov    0x8(%r14),%r11d
  movaps %xmm8,%xmm4
  mulss  %xmm14,%xmm4
  movaps %xmm2,%xmm3
  mulss  %xmm7,%xmm3
  addss  %xmm4,%xmm3
  movaps %xmm0,%xmm4
  movd   %r11d,%xmm5
  mulss  %xmm5,%xmm4
  addss  %xmm4,%xmm3
  subss  %xmm6,%xmm3
  movaps %xmm3,%xmm5
  movss  %xmm3,0x18(%rsp)
  mov    (%r15),%eax
  mov    0x4(%r15),%edx
  movss  0x8(%r15),%xmm4
  movd   %eax,%xmm9
  mulss  %xmm8,%xmm9
  movd   %edx,%xmm13
  mulss  %xmm2,%xmm13
  movaps %xmm13,%xmm3
  addss  %xmm9,%xmm3
  movaps %xmm0,%xmm9
  mulss  %xmm4,%xmm9
  addss  %xmm9,%xmm3
  movaps %xmm3,%xmm12
  subss  %xmm6,%xmm12
  movss  %xmm12,0x4(%rsp)
  movss  0x0(%r13),%xmm12
  movss  0x4(%r13),%xmm13
  movss  0x8(%r13),%xmm9
  movaps %xmm8,%xmm10
  mulss  %xmm12,%xmm10
  movaps %xmm10,%xmm3
  movaps %xmm2,%xmm10
  mulss  %xmm13,%xmm10
  addss  %xmm3,%xmm10
  movaps %xmm0,%xmm3
  mulss  %xmm9,%xmm3
  addss  %xmm3,%xmm10
  subss  %xmm6,%xmm10
  movss  %xmm10,0x8(%rsp)
  movaps %xmm5,%xmm10
  comiss D84(%rip),%xmm5
  jb     L105
L156:
  cvtss2sd %xmm10,%xmm10
  movsd  D51(%rip),%xmm3
  comisd %xmm10,%xmm3
  jbe    L456
  pxor   %xmm5,%xmm5
  movss  %xmm5,0x18(%rsp)
L456:
  movss  0x4(%rsp),%xmm6
  movaps %xmm6,%xmm10
  comiss D84(%rip),%xmm6
  jb     L414
L530:
  cvtss2sd %xmm10,%xmm10
  movsd  D51(%rip),%xmm3
  comisd %xmm10,%xmm3
  jbe    L10
  pxor   %xmm5,%xmm5
  movss  %xmm5,0x4(%rsp)
L10:
  movss  0x8(%rsp),%xmm6
  movaps %xmm6,%xmm10
  comiss D84(%rip),%xmm6
  jb     L372
L158:
  cvtss2sd %xmm10,%xmm10
  movsd  D51(%rip),%xmm3
  comisd %xmm10,%xmm3
  jbe    L228
  pxor   %xmm5,%xmm5
  movss  %xmm5,0x8(%rsp)
L228:
  movss  0x18(%rsp),%xmm6
  movaps %xmm6,%xmm3
  mulss  0x4(%rsp),%xmm3
  movss  %xmm3,0x1c(%rsp)
  mulss  0x8(%rsp),%xmm6
  movss  %xmm6,0x30(%rsp)
  comiss D84(%rip),%xmm3
  jbe    L236
  movl   $0x0,0xc(%rsp)
  comiss D84(%rip),%xmm6
  ja     L449
L236:
  movd   %eax,%xmm3
  subss  %xmm14,%xmm3
  movd   %edx,%xmm6
  subss  %xmm7,%xmm6
  movd   %r11d,%xmm5
  subss  %xmm5,%xmm4
  subss  %xmm14,%xmm12
  subss  %xmm7,%xmm13
  subss  %xmm5,%xmm9
  movaps %xmm6,%xmm10
  mulss  %xmm9,%xmm10
  movaps %xmm4,%xmm5
  mulss  %xmm13,%xmm5
  subss  %xmm5,%xmm10
  mulss  %xmm12,%xmm4
  mulss  %xmm3,%xmm9
  subss  %xmm9,%xmm4
  mulss  %xmm13,%xmm3
  mulss  %xmm12,%xmm6
  subss  %xmm6,%xmm3
  mulss  %xmm10,%xmm14
  mulss  %xmm4,%xmm7
  addss  %xmm14,%xmm7
  movd   %r11d,%xmm5
  mulss  %xmm3,%xmm5
  addss  %xmm7,%xmm5
  mulss  %xmm10,%xmm1
  movaps %xmm15,%xmm6
  mulss  %xmm4,%xmm6
  addss  %xmm6,%xmm1
  mulss  %xmm3,%xmm11
  addss  %xmm11,%xmm1
  subss  %xmm5,%xmm1
  movd   %edi,%xmm9
  mulss  %xmm10,%xmm9
  movd   %r8d,%xmm6
  mulss  %xmm4,%xmm6
  addss  %xmm6,%xmm9
  movd   %r9d,%xmm6
  mulss  %xmm3,%xmm6
  addss  %xmm6,%xmm9
  subss  %xmm5,%xmm9
  movd   %r10d,%xmm11
  mulss  %xmm10,%xmm11
  movd   %esi,%xmm6
  mulss  %xmm4,%xmm6
  addss  %xmm6,%xmm11
  movd   %ecx,%xmm6
  mulss  %xmm3,%xmm6
  addss  %xmm6,%xmm11
  subss  %xmm5,%xmm11
  movaps %xmm1,%xmm5
  comiss D84(%rip),%xmm1
  jb     L479
L381:
  cvtss2sd %xmm5,%xmm5
  movsd  D51(%rip),%xmm6
  comisd %xmm5,%xmm6
  jbe    L45
  pxor   %xmm1,%xmm1
L45:
  movaps %xmm9,%xmm5
  comiss D84(%rip),%xmm9
  jb     L212
L48:
  cvtss2sd %xmm5,%xmm5
  movsd  D51(%rip),%xmm6
  comisd %xmm5,%xmm6
  jbe    L434
  pxor   %xmm9,%xmm9
L434:
  movaps %xmm11,%xmm5
  comiss D84(%rip),%xmm11
  jb     L376
L102:
  cvtss2sd %xmm5,%xmm5
  movsd  D51(%rip),%xmm6
  comisd %xmm5,%xmm6
  jbe    L132
  pxor   %xmm11,%xmm11
L132:
  movaps %xmm1,%xmm6
  mulss  %xmm9,%xmm6
  movaps %xmm1,%xmm7
  mulss  %xmm11,%xmm7
  comiss D84(%rip),%xmm6
  jbe    L133
  movl   $0x0,0xc(%rsp)
  comiss D84(%rip),%xmm7
  ja     L449
L133:
  movaps %xmm2,%xmm5
  mulss  %xmm3,%xmm5
  movaps %xmm0,%xmm12
  mulss  %xmm4,%xmm12
  subss  %xmm12,%xmm5
  mulss  %xmm10,%xmm0
  mulss  %xmm8,%xmm3
  subss  %xmm3,%xmm0
  mulss  %xmm4,%xmm8
  mulss  %xmm10,%xmm2
  subss  %xmm2,%xmm8
  comiss D84(%rip),%xmm5
  jb     L252
L318:
  comiss D84(%rip),%xmm0
  jb     L39
L534:
  comiss D84(%rip),%xmm8
  jb     L412
L424:
  mov    $0x0,%eax
  comiss %xmm5,%xmm0
  jbe    L340
  movaps %xmm0,%xmm5
  mov    $0x1,%eax
L340:
  ucomiss %xmm5,%xmm8
  mov    $0x2,%edx
  cmova  %edx,%eax
  movswq %ax,%rax
  movss  (%r14,%rax,4),%xmm2
  movss  %xmm2,0x34(%rsp)
  movss  (%r15,%rax,4),%xmm2
  movss  %xmm2,0x38(%rsp)
  movss  0x0(%r13,%rax,4),%xmm2
  movss  %xmm2,0x3c(%rsp)
  lea    0x4c(%rsp),%rcx
  pxor   %xmm0,%xmm0
  cvtss2sd (%rbx,%rax,4),%xmm0
  sub    $0x8,%rsp
  lea    0x7c(%rsp),%rdx
  push   %rdx
  lea    0x78(%rsp),%r9
  lea    0x60(%rsp),%r8
  cvtss2sd %xmm7,%xmm7
  cvtss2sd %xmm6,%xmm6
  pxor   %xmm5,%xmm5
  cvtss2sd %xmm11,%xmm5
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm9,%xmm4
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm1,%xmm3
  pxor   %xmm2,%xmm2
  cvtss2sd (%r12,%rax,4),%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd 0x0(%rbp,%rax,4),%xmm1
  mov    %r12,%rdx
  mov    %rbp,%rsi
  mov    %rbx,%rdi
  mov    $0x8,%eax
  call   <compute_intervals_isectline@plt>
  mov    %eax,0x1c(%rsp)
  mov    0x20(%rsp),%rsi
  mov    %eax,(%rsi)
  add    $0x10,%rsp
  test   %eax,%eax
  jne    L200
  lea    0x54(%rsp),%rcx
  pxor   %xmm0,%xmm0
  cvtss2sd 0x34(%rsp),%xmm0
  sub    $0x8,%rsp
  lea    0x94(%rsp),%rax
  push   %rax
  lea    0x90(%rsp),%r9
  lea    0x68(%rsp),%r8
  pxor   %xmm7,%xmm7
  cvtss2sd 0x40(%rsp),%xmm7
  pxor   %xmm6,%xmm6
  cvtss2sd 0x2c(%rsp),%xmm6
  pxor   %xmm5,%xmm5
  cvtss2sd 0x18(%rsp),%xmm5
  pxor   %xmm4,%xmm4
  cvtss2sd 0x14(%rsp),%xmm4
  pxor   %xmm3,%xmm3
  cvtss2sd 0x28(%rsp),%xmm3
  pxor   %xmm2,%xmm2
  cvtss2sd 0x4c(%rsp),%xmm2
  pxor   %xmm1,%xmm1
  cvtss2sd 0x48(%rsp),%xmm1
  mov    %r13,%rdx
  mov    %r15,%rsi
  mov    %r14,%rdi
  mov    $0x8,%eax
  call   <compute_intervals_isectline@plt>
  movss  0x5c(%rsp),%xmm0
  movss  0x60(%rsp),%xmm1
  add    $0x10,%rsp
  comiss %xmm1,%xmm0
  jbe    L272
  movss  %xmm1,0x4c(%rsp)
  movss  %xmm0,0x50(%rsp)
  mov    $0x1,%edx
  jmp    L88
L105:
  xorps  D79(%rip),%xmm10
  jmp    L156
L414:
  xorps  D79(%rip),%xmm10
  jmp    L530
L372:
  xorps  D79(%rip),%xmm10
  jmp    L158
L479:
  xorps  D79(%rip),%xmm5
  jmp    L381
L212:
  xorps  D79(%rip),%xmm5
  jmp    L48
L376:
  xorps  D79(%rip),%xmm5
  jmp    L102
L252:
  xorps  D79(%rip),%xmm5
  jmp    L318
L39:
  xorps  D79(%rip),%xmm0
  jmp    L534
L412:
  xorps  D79(%rip),%xmm8
  jmp    L424
L200:
  lea    0x5c(%rsp),%rdi
  sub    $0x8,%rsp
  push   %r13
  mov    %r15,%r9
  mov    %r14,%r8
  mov    %r12,%rcx
  mov    %rbp,%rdx
  mov    %rbx,%rsi
  mov    $0x0,%eax
  call   <coplanar_tri_tri@plt>
  mov    %eax,0x1c(%rsp)
  add    $0x10,%rsp
L449:
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L310
  mov    0xc(%rsp),%eax
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L272:
  mov    0xc(%rsp),%edx
L88:
  movss  0x54(%rsp),%xmm0
  movss  0x58(%rsp),%xmm1
  comiss %xmm1,%xmm0
  jbe    L250
  movss  %xmm1,0x54(%rsp)
  movss  %xmm0,0x58(%rsp)
  mov    $0x1,%eax
  jmp    L370
L250:
  mov    0xc(%rsp),%eax
L370:
  movss  0x50(%rsp),%xmm1
  movss  0x54(%rsp),%xmm0
  comiss %xmm1,%xmm0
  ja     L449
  movss  0x58(%rsp),%xmm3
  movss  0x4c(%rsp),%xmm2
  comiss %xmm3,%xmm2
  ja     L449
  comiss %xmm0,%xmm2
  jbe    L79
  test   %edx,%edx
  jne    L71
  movss  0x68(%rsp),%xmm0
  mov    0x20(%rsp),%rbx
  movss  %xmm0,(%rbx)
  movss  0x6c(%rsp),%xmm0
  movss  %xmm0,0x4(%rbx)
  movss  0x70(%rsp),%xmm0
  movss  %xmm0,0x8(%rbx)
  comiss %xmm3,%xmm1
  jbe    L116
L240:
  test   %eax,%eax
  jne    L475
  movss  0x8c(%rsp),%xmm0
  mov    0x28(%rsp),%rax
  movss  %xmm0,(%rax)
  movss  0x90(%rsp),%xmm0
  movss  %xmm0,0x4(%rax)
  movss  0x94(%rsp),%xmm0
  movss  %xmm0,0x8(%rax)
  movl   $0x1,0xc(%rsp)
  jmp    L449
L71:
  movss  0x74(%rsp),%xmm0
  mov    0x20(%rsp),%rbx
  movss  %xmm0,(%rbx)
  movss  0x78(%rsp),%xmm0
  movss  %xmm0,0x4(%rbx)
  movss  0x7c(%rsp),%xmm0
  movss  %xmm0,0x8(%rbx)
  comiss %xmm3,%xmm1
  ja     L240
  movss  0x68(%rsp),%xmm0
  mov    0x28(%rsp),%rax
  movss  %xmm0,(%rax)
  movss  0x6c(%rsp),%xmm0
  movss  %xmm0,0x4(%rax)
  movss  0x70(%rsp),%xmm0
  movss  %xmm0,0x8(%rax)
  mov    %edx,0xc(%rsp)
  jmp    L449
L475:
  movss  0x80(%rsp),%xmm0
  mov    0x28(%rsp),%rbx
  movss  %xmm0,(%rbx)
  movss  0x84(%rsp),%xmm0
  movss  %xmm0,0x4(%rbx)
  movss  0x88(%rsp),%xmm0
  movss  %xmm0,0x8(%rbx)
  mov    %eax,0xc(%rsp)
  jmp    L449
L116:
  movss  0x74(%rsp),%xmm0
  mov    0x28(%rsp),%rax
  movss  %xmm0,(%rax)
  movss  0x78(%rsp),%xmm0
  movss  %xmm0,0x4(%rax)
  movss  0x7c(%rsp),%xmm0
  movss  %xmm0,0x8(%rax)
  movl   $0x1,0xc(%rsp)
  jmp    L449
L79:
  test   %eax,%eax
  jne    L101
  movss  0x80(%rsp),%xmm0
  mov    0x20(%rsp),%rax
  movss  %xmm0,(%rax)
  movss  0x84(%rsp),%xmm0
  movss  %xmm0,0x4(%rax)
  movss  0x88(%rsp),%xmm0
  movss  %xmm0,0x8(%rax)
  comiss %xmm1,%xmm3
  jbe    L499
L427:
  test   %edx,%edx
  jne    L463
  movss  0x74(%rsp),%xmm0
  mov    0x28(%rsp),%rax
  movss  %xmm0,(%rax)
  movss  0x78(%rsp),%xmm0
  movss  %xmm0,0x4(%rax)
  movss  0x7c(%rsp),%xmm0
  movss  %xmm0,0x8(%rax)
  movl   $0x1,0xc(%rsp)
  jmp    L449
L101:
  movss  0x8c(%rsp),%xmm0
  mov    0x20(%rsp),%rbx
  movss  %xmm0,(%rbx)
  movss  0x90(%rsp),%xmm0
  movss  %xmm0,0x4(%rbx)
  movss  0x94(%rsp),%xmm0
  movss  %xmm0,0x8(%rbx)
  comiss %xmm1,%xmm3
  ja     L427
  movss  0x80(%rsp),%xmm0
  mov    0x28(%rsp),%rbx
  movss  %xmm0,(%rbx)
  movss  0x84(%rsp),%xmm0
  movss  %xmm0,0x4(%rbx)
  movss  0x88(%rsp),%xmm0
  movss  %xmm0,0x8(%rbx)
  mov    %eax,0xc(%rsp)
  jmp    L449
L463:
  movss  0x68(%rsp),%xmm0
  mov    0x28(%rsp),%rax
  movss  %xmm0,(%rax)
  movss  0x6c(%rsp),%xmm0
  movss  %xmm0,0x4(%rax)
  movss  0x70(%rsp),%xmm0
  movss  %xmm0,0x8(%rax)
  mov    %edx,0xc(%rsp)
  jmp    L449
L499:
  movss  0x8c(%rsp),%xmm0
  mov    0x28(%rsp),%rax
  movss  %xmm0,(%rax)
  movss  0x90(%rsp),%xmm0
  movss  %xmm0,0x4(%rax)
  movss  0x94(%rsp),%xmm0
  movss  %xmm0,0x8(%rax)
  movl   $0x1,0xc(%rsp)
  jmp    L449
L310:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: parse_data
arguments: data_tag: D84
type: f64
name: parse_data
arguments: data_tag: D51
type: f64
name: parse_data
arguments: data_tag: D79
type: byte[16]

tool: D84: 0

tool: D51: 1e-06

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

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 ((du0 >= 0 ? du0 : -du0) < 0.000001)
    du0 = 0.0;
  if ((du1 >= 0 ? du1 : -du1) < 0.000001)
    du1 = 0.0;
  if ((du2 >= 0 ? du2 : -du2) < 0.000001)
    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 ((dv0 >= 0 ? dv0 : -dv0) < 0.000001)
    dv0 = 0.0;
  if ((dv1 >= 0 ? dv1 : -dv1) < 0.000001)
    dv1 = 0.0;
  if ((dv2 >= 0 ? dv2 : -dv2) < 0.000001)
    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 = (D[0] >= 0 ? D[0] : -D[0]);
  index = 0;
  b = (D[1] >= 0 ? D[1] : -D[1]);
  c = (D[2] >= 0 ? D[2] : -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;
}
```