user: 请将以下的汇编代码转换成C语言代码：

```asm
<tri_tri_intersect_with_isectline>:
  endbr64
  push   %r15
  mov    %r9,%r15
  push   %r14
  mov    %r8,%r14
  push   %r13
  mov    %rcx,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0xb8,%rsp
  movq   0x4(%rbp),%xmm1
  movq   0x4(%rdx),%xmm5
  mov    0xf8(%rsp),%rax
  movq   0x4(%r12),%xmm2
  mov    (%rsi),%esi
  movss  0x8(%r12),%xmm3
  movaps %xmm1,%xmm0
  movaps %xmm1,%xmm7
  mov    %rax,0x28(%rsp)
  movss  (%rdi),%xmm6
  shufps $0xe5,%xmm0,%xmm0
  movaps %xmm0,%xmm15
  mov    0x100(%rsp),%rax
  mov    (%rdx),%ecx
  movd   %xmm2,%r8d
  movss  0x8(%rbp),%xmm4
  mov    0xf0(%rsp),%r11
  mov    %rax,0x30(%rsp)
  unpcklps %xmm6,%xmm4
  mov    %fs:0x28,%rax
  mov    %rax,0xa8(%rsp)
  xor    %eax,%eax
  movlps %xmm2,(%rsp)
  mov    0x4(%rsp),%edi
  subps  %xmm1,%xmm2
  movlps %xmm5,(%rsp)
  mov    0x4(%rsp),%r9d
  movd   %xmm5,%eax
  movss  %xmm0,0x10(%rsp)
  movd   %esi,%xmm0
  unpcklps %xmm0,%xmm3
  movaps %xmm5,%xmm0
  movd   %ecx,%xmm5
  movss  %xmm1,0x1c(%rsp)
  subps  %xmm1,%xmm0
  movd   %r9d,%xmm1
  subps  %xmm4,%xmm3
  movss  %xmm6,0x18(%rsp)
  unpcklps %xmm5,%xmm1
  subps  %xmm4,%xmm1
  movaps %xmm0,%xmm5
  mulps  %xmm3,%xmm5
  shufps $0xe5,%xmm3,%xmm3
  mulss  %xmm3,%xmm0
  movaps %xmm1,%xmm4
  shufps $0xe5,%xmm1,%xmm1
  mulps  %xmm2,%xmm4
  mulss  %xmm2,%xmm1
  subps  %xmm5,%xmm4
  subss  %xmm1,%xmm0
  movaps %xmm15,%xmm1
  mulss  %xmm4,%xmm6
  movaps %xmm4,%xmm5
  movlps %xmm4,0x58(%rsp)
  movaps %xmm4,%xmm13
  shufps $0xe5,%xmm5,%xmm5
  movss  %xmm0,0x60(%rsp)
  movaps %xmm5,%xmm12
  mulss  %xmm5,%xmm7
  movss  %xmm5,0xc(%rsp)
  movss  0x0(%r13),%xmm5
  movss  0x4(%r13),%xmm3
  mulss  %xmm0,%xmm1
  movss  0x8(%r13),%xmm15
  movss  0x4(%r15),%xmm14
  movss  %xmm3,0x8(%rsp)
  mulss  %xmm12,%xmm3
  movaps %xmm6,%xmm2
  movss  %xmm5,(%rsp)
  movaps %xmm14,%xmm10
  mulss  %xmm4,%xmm5
  movss  0x4(%r14),%xmm4
  addss  %xmm7,%xmm2
  movss  (%r15),%xmm7
  mulss  %xmm12,%xmm10
  movaps %xmm4,%xmm9
  mulss  %xmm12,%xmm9
  movaps %xmm3,%xmm8
  movss  (%r14),%xmm3
  addss  %xmm1,%xmm2
  movaps %xmm0,%xmm1
  mulss  %xmm15,%xmm1
  movaps %xmm3,%xmm6
  addss  %xmm5,%xmm8
  movss  0x8(%r15),%xmm5
  mulss  %xmm13,%xmm6
  addss  %xmm1,%xmm8
  movss  0x8(%r14),%xmm1
  addss  %xmm6,%xmm9
  movaps %xmm0,%xmm6
  mulss  %xmm1,%xmm6
  subss  %xmm2,%xmm8
  movaps %xmm8,%xmm11
  addss  %xmm6,%xmm9
  movaps %xmm7,%xmm6
  mulss  %xmm13,%xmm6
  subss  %xmm2,%xmm9
  addss  %xmm6,%xmm10
  movaps %xmm0,%xmm6
  mulss  %xmm5,%xmm6
  addss  %xmm6,%xmm10
  subss  %xmm2,%xmm10
  pxor   %xmm2,%xmm2
  comiss %xmm2,%xmm8
  jae    L416
  xorps  D27(%rip),%xmm11
L416:
  movsd  D94(%rip),%xmm6
  cvtss2sd %xmm11,%xmm11
  comisd %xmm11,%xmm6
  jbe    L336
  movaps %xmm2,%xmm8
L336:
  comiss %xmm2,%xmm9
  movaps %xmm9,%xmm11
  jae    L241
  xorps  D27(%rip),%xmm11
L241:
  cvtss2sd %xmm11,%xmm11
  comisd %xmm11,%xmm6
  jbe    L156
  movaps %xmm2,%xmm9
L156:
  comiss %xmm2,%xmm10
  movaps %xmm10,%xmm11
  jae    L3
  xorps  D27(%rip),%xmm11
L3:
  cvtss2sd %xmm11,%xmm11
  comisd %xmm11,%xmm6
  jbe    L94
  movaps %xmm2,%xmm10
L94:
  movaps %xmm8,%xmm11
  movaps %xmm8,%xmm12
  mulss  %xmm9,%xmm11
  mulss  %xmm10,%xmm12
  comiss %xmm2,%xmm11
  movss  %xmm11,0x20(%rsp)
  movss  %xmm12,0x24(%rsp)
  jbe    L199
  comiss %xmm2,%xmm12
  ja     L192
L199:
  subss  %xmm15,%xmm5
  movss  (%rsp),%xmm11
  subss  %xmm15,%xmm1
  movss  0x8(%rsp),%xmm12
  subss  %xmm12,%xmm4
  subss  %xmm12,%xmm14
  subss  %xmm11,%xmm7
  subss  %xmm11,%xmm3
  movaps %xmm4,%xmm12
  mulss  %xmm5,%xmm12
  mulss  %xmm3,%xmm5
  mulss  %xmm7,%xmm4
  mulss  %xmm14,%xmm3
  movaps %xmm12,%xmm11
  movaps %xmm1,%xmm12
  mulss  %xmm14,%xmm12
  movss  (%rsp),%xmm14
  mulss  %xmm7,%xmm1
  movss  0x8(%rsp),%xmm7
  subss  %xmm4,%xmm3
  movss  0x1c(%rsp),%xmm4
  subss  %xmm12,%xmm11
  mulss  %xmm3,%xmm15
  movd   %ecx,%xmm12
  subss  %xmm5,%xmm1
  movd   %esi,%xmm5
  mulss  %xmm11,%xmm14
  mulss  %xmm1,%xmm7
  mulss  %xmm1,%xmm4
  mulss  %xmm11,%xmm5
  mulss  %xmm11,%xmm12
  addss  %xmm14,%xmm7
  movss  0x18(%rsp),%xmm14
  mulss  %xmm11,%xmm14
  addss  %xmm15,%xmm7
  movd   %r9d,%xmm15
  mulss  %xmm3,%xmm15
  addss  %xmm4,%xmm14
  movss  0x10(%rsp),%xmm4
  mulss  %xmm3,%xmm4
  addss  %xmm4,%xmm14
  movd   %r8d,%xmm4
  mulss  %xmm1,%xmm4
  subss  %xmm7,%xmm14
  addss  %xmm5,%xmm4
  comiss %xmm2,%xmm14
  movd   %edi,%xmm5
  mulss  %xmm3,%xmm5
  addss  %xmm5,%xmm4
  movd   %eax,%xmm5
  mulss  %xmm1,%xmm5
  subss  %xmm7,%xmm4
  addss  %xmm12,%xmm5
  addss  %xmm15,%xmm5
  subss  %xmm7,%xmm5
  movaps %xmm14,%xmm7
  jb     L478
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm6
  jbe    L337
L200:
  movaps %xmm2,%xmm14
L337:
  comiss %xmm2,%xmm4
  movaps %xmm4,%xmm7
  jb     L453
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm6
  jbe    L490
L164:
  movaps %xmm2,%xmm4
L490:
  comiss %xmm2,%xmm5
  movaps %xmm5,%xmm7
  jb     L413
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm6
  jbe    L85
L98:
  movaps %xmm2,%xmm5
L85:
  movaps %xmm14,%xmm6
  movaps %xmm14,%xmm7
  mulss  %xmm4,%xmm6
  mulss  %xmm5,%xmm7
  comiss %xmm2,%xmm6
  jbe    L459
  comiss %xmm2,%xmm7
  ja     L192
L459:
  movss  0xc(%rsp),%xmm15
  movaps %xmm0,%xmm12
  mulss  %xmm1,%xmm12
  mulss  %xmm3,%xmm15
  mulss  %xmm11,%xmm0
  mulss  %xmm13,%xmm3
  mulss  %xmm13,%xmm1
  mulss  0xc(%rsp),%xmm11
  subss  %xmm12,%xmm15
  subss  %xmm3,%xmm0
  comiss %xmm2,%xmm15
  subss  %xmm11,%xmm1
  jb     L474
  comiss %xmm2,%xmm0
  jb     L180
L469:
  comiss %xmm2,%xmm1
  jb     L151
L116:
  xor    %eax,%eax
  comiss %xmm15,%xmm0
  jbe    L505
L147:
  movaps %xmm0,%xmm15
  mov    $0x4,%eax
L505:
  ucomiss %xmm15,%xmm1
  mov    $0x8,%ecx
  mov    %r11,0x10(%rsp)
  pxor   %xmm1,%xmm1
  mov    %rbp,%rdi
  cvtss2sd %xmm7,%xmm7
  cvtss2sd %xmm6,%xmm6
  cvtss2sd %xmm5,%xmm5
  movss  %xmm10,0x18(%rsp)
  cvtss2sd %xmm4,%xmm4
  cmova  %rcx,%rax
  movss  %xmm9,0xc(%rsp)
  lea    0x48(%rsp),%rcx
  sub    $0x8,%rsp
  movss  %xmm8,0x10(%rsp)
  movss  0x0(%r13,%rax,1),%xmm2
  movss  (%r14,%rax,1),%xmm0
  cvtss2sd (%r12,%rax,1),%xmm1
  movss  (%r15,%rax,1),%xmm3
  movss  %xmm2,0x24(%rsp)
  pxor   %xmm2,%xmm2
  movss  %xmm0,0x40(%rsp)
  pxor   %xmm0,%xmm0
  cvtss2sd (%rdx,%rax,1),%xmm2
  movss  %xmm3,0x44(%rsp)
  cvtss2sd 0x0(%rbp,%rax,1),%xmm0
  pxor   %xmm3,%xmm3
  lea    0x80(%rsp),%rsi
  push   %rsi
  mov    $0x8,%eax
  mov    %r12,%rsi
  cvtss2sd %xmm14,%xmm3
  lea    0x78(%rsp),%r9
  lea    0x5c(%rsp),%r8
  mov    %rdx,0x10(%rsp)
  call   <compute_intervals_isectline@plt>
  mov    0x20(%rsp),%r11
  test   %eax,%eax
  mov    %eax,%ebx
  mov    %eax,(%r11)
  pop    %rdi
  pop    %r8
  mov    (%rsp),%rdx
  movss  0x8(%rsp),%xmm8
  movss  0xc(%rsp),%xmm9
  movss  0x18(%rsp),%xmm10
  jne    L285
  pxor   %xmm0,%xmm0
  lea    0x50(%rsp),%rcx
  sub    $0x8,%rsp
  mov    %r15,%rdx
  pxor   %xmm7,%xmm7
  pxor   %xmm6,%xmm6
  pxor   %xmm5,%xmm5
  mov    %r14,%rsi
  pxor   %xmm4,%xmm4
  pxor   %xmm3,%xmm3
  pxor   %xmm2,%xmm2
  mov    %r13,%rdi
  cvtss2sd 0x24(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm8,%xmm3
  lea    0xa0(%rsp),%rax
  push   %rax
  mov    $0x8,%eax
  cvtss2sd %xmm10,%xmm5
  cvtss2sd %xmm9,%xmm4
  lea    0x98(%rsp),%r9
  lea    0x64(%rsp),%r8
  cvtss2sd 0x48(%rsp),%xmm1
  cvtss2sd 0x34(%rsp),%xmm7
  cvtss2sd 0x30(%rsp),%xmm6
  cvtss2sd 0x4c(%rsp),%xmm2
  call   <compute_intervals_isectline@plt>
  movq   0x58(%rsp),%xmm0
  pop    %rax
  xor    %eax,%eax
  pop    %rdx
  movaps %xmm0,%xmm3
  movaps %xmm0,%xmm1
  shufps $0xe5,%xmm0,%xmm0
  comiss %xmm0,%xmm3
  shufps $0xe1,%xmm1,%xmm1
  jbe    L36
  movlps %xmm1,0x48(%rsp)
  movaps %xmm0,%xmm1
  mov    $0x1,%eax
  movaps %xmm3,%xmm0
  movaps %xmm1,%xmm3
L36:
  movq   0x50(%rsp),%xmm1
  movaps %xmm1,%xmm2
  movaps %xmm1,%xmm4
  shufps $0xe5,%xmm1,%xmm1
  comiss %xmm1,%xmm2
  shufps $0xe1,%xmm4,%xmm4
  ja     L142
L514:
  comiss %xmm0,%xmm2
  ja     L192
  comiss %xmm1,%xmm3
  ja     L192
  comiss %xmm2,%xmm3
  jbe    L9
  test   %eax,%eax
  je     L359
  comiss %xmm1,%xmm0
  mov    0x28(%rsp),%rdi
  mov    0x78(%rsp),%rdx
  movss  0x80(%rsp),%xmm2
  mov    %rdx,(%rdi)
  movss  %xmm2,0x8(%rdi)
  jbe    L494
L126:
  test   %ebx,%ebx
  je     L301
L227:
  mov    0x30(%rsp),%rdi
  mov    0x88(%rsp),%rax
  movss  0x90(%rsp),%xmm0
  mov    %rax,(%rdi)
  movss  %xmm0,0x8(%rdi)
  jmp    L286
  cs nopw 0x0(%rax,%rax,1)
L192:
  xor    %ebx,%ebx
L286:
  mov    0xa8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L528
  add    $0xb8,%rsp
  mov    %ebx,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L413:
  xorps  D27(%rip),%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm6
  jbe    L85
  jmp    L98
  nopw   0x0(%rax,%rax,1)
L478:
  xorps  D27(%rip),%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm6
  jbe    L337
  jmp    L200
  nopw   0x0(%rax,%rax,1)
L453:
  xorps  D27(%rip),%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm6
  jbe    L490
  jmp    L164
  nopw   0x0(%rax,%rax,1)
L151:
  xor    %eax,%eax
  comiss %xmm15,%xmm0
  xorps  D27(%rip),%xmm1
  jbe    L505
  jmp    L147
  nopl   0x0(%rax,%rax,1)
L180:
  comiss %xmm2,%xmm1
  xorps  D27(%rip),%xmm0
  jae    L116
  jmp    L151
  nopw   0x0(%rax,%rax,1)
L474:
  comiss %xmm2,%xmm0
  xorps  D27(%rip),%xmm15
  jae    L469
  jmp    L180
  nopl   0x0(%rax,%rax,1)
L285:
  lea    0x58(%rsp),%rdi
  sub    $0x8,%rsp
  mov    %rdx,%rcx
  mov    %rbp,%rsi
  push   %r15
  mov    %r14,%r9
  mov    %r13,%r8
  mov    %r12,%rdx
  xor    %eax,%eax
  call   <coplanar_tri_tri@plt>
  pop    %rcx
  pop    %rsi
  mov    %eax,%ebx
  jmp    L286
  nopw   0x0(%rax,%rax,1)
L142:
  movlps %xmm4,0x50(%rsp)
  movaps %xmm2,%xmm4
  mov    $0x1,%ebx
  movaps %xmm1,%xmm2
  movaps %xmm4,%xmm1
  jmp    L514
  nopl   0x0(%rax,%rax,1)
L9:
  test   %ebx,%ebx
  je     L152
  comiss %xmm0,%xmm1
  mov    0x28(%rsp),%rdi
  mov    0x98(%rsp),%rdx
  movss  0xa0(%rsp),%xmm2
  mov    %rdx,(%rdi)
  movss  %xmm2,0x8(%rdi)
  jbe    L227
L172:
  test   %eax,%eax
  jne    L494
L268:
  mov    0x30(%rsp),%rbx
  mov    0x78(%rsp),%rax
  movss  0x80(%rsp),%xmm0
  mov    %rax,(%rbx)
  movss  %xmm0,0x8(%rbx)
  mov    $0x1,%ebx
  jmp    L286
  nopl   0x0(%rax,%rax,1)
L152:
  comiss %xmm0,%xmm1
  mov    0x28(%rsp),%rbx
  mov    0x88(%rsp),%rdx
  movss  0x90(%rsp),%xmm2
  mov    %rdx,(%rbx)
  movss  %xmm2,0x8(%rbx)
  ja     L172
L301:
  mov    0x30(%rsp),%rbx
  mov    0x98(%rsp),%rax
  movss  0xa0(%rsp),%xmm0
  mov    %rax,(%rbx)
  movss  %xmm0,0x8(%rbx)
  mov    $0x1,%ebx
  jmp    L286
  nopl   0x0(%rax,%rax,1)
L359:
  comiss %xmm1,%xmm0
  mov    0x28(%rsp),%rdi
  mov    0x68(%rsp),%rax
  movss  0x70(%rsp),%xmm2
  mov    %rax,(%rdi)
  movss  %xmm2,0x8(%rdi)
  ja     L126
  jmp    L268
  cs nopw 0x0(%rax,%rax,1)
L494:
  mov    0x30(%rsp),%rbx
  mov    0x68(%rsp),%rdx
  movss  0x70(%rsp),%xmm0
  mov    %rdx,(%rbx)
  movss  %xmm0,0x8(%rbx)
  mov    %eax,%ebx
  jmp    L286
L528:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D27
data_type: byte[16]
name: extract_symbolic_data
arguments: data_label: D94
data_type: f64

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

tool: D94: 1e-06

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;
}
```