user: 下面的汇编指令对应的C源代码是什么:

```asm
<tri_tri_intersect_with_isectline>:
  endbr64
  push   %r15
  mov    %r8,%r15
  push   %r14
  mov    %rcx,%r14
  push   %r13
  mov    %rdx,%r13
  push   %r12
  mov    %rsi,%r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %r9,%rbx
  sub    $0xb8,%rsp
  movss  0x8(%rdi),%xmm7
  movss  (%rdi),%xmm2
  movss  0x4(%rdi),%xmm8
  movss  0x4(%rsi),%xmm6
  movss  0x8(%rsi),%xmm5
  movss  (%rsi),%xmm0
  movss  (%rdx),%xmm9
  movss  0x4(%rdx),%xmm10
  subss  %xmm8,%xmm6
  movss  0x8(%rdx),%xmm4
  subss  %xmm7,%xmm5
  subss  %xmm2,%xmm0
  mov    0xf0(%rsp),%rax
  subss  %xmm2,%xmm9
  subss  %xmm8,%xmm10
  subss  %xmm7,%xmm4
  movaps %xmm6,%xmm3
  mov    %rax,0x18(%rsp)
  mov    0xf8(%rsp),%rax
  movaps %xmm5,%xmm11
  movaps %xmm5,%xmm1
  movaps %xmm8,%xmm5
  mulss  %xmm10,%xmm11
  mov    %rax,0x38(%rsp)
  mov    0x100(%rsp),%rax
  mulss  %xmm4,%xmm3
  mulss  %xmm9,%xmm1
  mov    %rax,0x40(%rsp)
  mulss  %xmm0,%xmm4
  mulss  %xmm9,%xmm6
  mov    %fs:0x28,%rax
  mov    %rax,0xa8(%rsp)
  xor    %eax,%eax
  mulss  %xmm10,%xmm0
  subss  %xmm11,%xmm3
  subss  %xmm4,%xmm1
  movss  (%rcx),%xmm4
  mulss  %xmm3,%xmm2
  movss  %xmm3,0x6c(%rsp)
  mulss  %xmm3,%xmm4
  subss  %xmm6,%xmm0
  mulss  %xmm1,%xmm5
  movss  %xmm1,0x70(%rsp)
  mulss  %xmm0,%xmm7
  movss  %xmm0,0x74(%rsp)
  addss  %xmm5,%xmm2
  movss  0x4(%rcx),%xmm5
  mulss  %xmm1,%xmm5
  addss  %xmm7,%xmm2
  addss  %xmm5,%xmm4
  movss  0x8(%rcx),%xmm5
  mulss  %xmm0,%xmm5
  addss  %xmm5,%xmm4
  subss  %xmm2,%xmm4
  movaps %xmm4,%xmm7
  movss  %xmm4,0x14(%rsp)
  movss  (%r8),%xmm4
  movss  0x4(%r8),%xmm5
  mulss  %xmm3,%xmm4
  mulss  %xmm1,%xmm5
  mulss  (%r9),%xmm3
  mulss  0x4(%r9),%xmm1
  addss  %xmm5,%xmm4
  movss  0x8(%r8),%xmm5
  mulss  %xmm0,%xmm5
  addss  %xmm3,%xmm1
  mulss  0x8(%r9),%xmm0
  addss  %xmm5,%xmm4
  addss  %xmm0,%xmm1
  movaps %xmm7,%xmm0
  subss  %xmm2,%xmm4
  subss  %xmm2,%xmm1
  movss  %xmm4,0x4(%rsp)
  movss  %xmm1,0x8(%rsp)
  call   <fabs@plt>
  movsd  D38(%rip),%xmm7
  pxor   %xmm6,%xmm6
  movss  %xmm6,(%rsp)
  comisd %xmm0,%xmm7
  jbe    L178
  movss  %xmm6,0x14(%rsp)
L178:
  movss  0x4(%rsp),%xmm0
  call   <fabs@plt>
  movsd  D38(%rip),%xmm6
  comisd %xmm0,%xmm6
  jbe    L213
  movss  (%rsp),%xmm6
  movss  %xmm6,0x4(%rsp)
L213:
  movss  0x8(%rsp),%xmm0
  call   <fabs@plt>
  movsd  D38(%rip),%xmm7
  comisd %xmm0,%xmm7
  jbe    L150
  movss  (%rsp),%xmm4
  movss  %xmm4,0x8(%rsp)
L150:
  movss  0x14(%rsp),%xmm6
  movss  0x4(%rsp),%xmm7
  movss  (%rsp),%xmm1
  mulss  %xmm6,%xmm7
  mulss  0x8(%rsp),%xmm6
  comiss %xmm1,%xmm7
  movss  %xmm7,0x28(%rsp)
  movss  %xmm6,0x2c(%rsp)
  jbe    L349
  comiss %xmm1,%xmm6
  ja     L233
L349:
  movss  0x4(%r14),%xmm7
  movss  0x8(%r14),%xmm6
  movss  0x4(%r15),%xmm2
  movss  0x8(%r15),%xmm5
  movss  (%r14),%xmm0
  movss  (%r15),%xmm3
  movss  (%rbx),%xmm8
  movss  0x4(%rbx),%xmm9
  subss  %xmm7,%xmm2
  subss  %xmm6,%xmm5
  movss  0x8(%rbx),%xmm4
  subss  %xmm0,%xmm3
  subss  %xmm0,%xmm8
  subss  %xmm7,%xmm9
  subss  %xmm6,%xmm4
  movaps %xmm2,%xmm1
  movaps %xmm5,%xmm10
  mulss  %xmm9,%xmm10
  mulss  %xmm4,%xmm1
  mulss  %xmm8,%xmm5
  mulss  %xmm3,%xmm4
  mulss  %xmm9,%xmm3
  mulss  %xmm8,%xmm2
  subss  %xmm10,%xmm1
  subss  %xmm4,%xmm5
  mulss  %xmm1,%xmm0
  movaps %xmm3,%xmm4
  movaps %xmm7,%xmm3
  movss  %xmm1,0x24(%rsp)
  subss  %xmm2,%xmm4
  movaps %xmm6,%xmm2
  mulss  %xmm5,%xmm3
  movaps %xmm5,%xmm7
  movss  %xmm5,0x30(%rsp)
  mulss  0x4(%r13),%xmm7
  mulss  %xmm4,%xmm2
  movaps %xmm4,%xmm6
  movss  %xmm4,0x34(%rsp)
  addss  %xmm3,%xmm0
  movss  0x4(%rbp),%xmm3
  mulss  %xmm5,%xmm3
  addss  %xmm2,%xmm0
  movss  0x0(%rbp),%xmm2
  mulss  %xmm1,%xmm2
  addss  %xmm3,%xmm2
  movss  0x8(%rbp),%xmm3
  mulss  %xmm4,%xmm3
  addss  %xmm3,%xmm2
  movss  0x4(%r12),%xmm3
  mulss  %xmm5,%xmm3
  subss  %xmm0,%xmm2
  movaps %xmm2,%xmm4
  movss  %xmm2,0x20(%rsp)
  movss  (%r12),%xmm2
  mulss  %xmm1,%xmm2
  addss  %xmm3,%xmm2
  movss  0x8(%r12),%xmm3
  mulss  %xmm6,%xmm3
  mulss  0x8(%r13),%xmm6
  addss  %xmm3,%xmm2
  subss  %xmm0,%xmm2
  movss  %xmm2,0xc(%rsp)
  movaps %xmm1,%xmm2
  mulss  0x0(%r13),%xmm2
  addss  %xmm7,%xmm2
  addss  %xmm6,%xmm2
  subss  %xmm0,%xmm2
  movaps %xmm4,%xmm0
  movss  %xmm2,0x10(%rsp)
  call   <fabs@plt>
  movsd  D38(%rip),%xmm6
  movss  0x24(%rsp),%xmm1
  comisd %xmm0,%xmm6
  jbe    L315
  movss  (%rsp),%xmm6
  movss  %xmm6,0x20(%rsp)
L315:
  movss  0xc(%rsp),%xmm0
  movss  %xmm1,0x24(%rsp)
  call   <fabs@plt>
  movsd  D38(%rip),%xmm7
  movss  0x24(%rsp),%xmm1
  comisd %xmm0,%xmm7
  jbe    L110
  movss  (%rsp),%xmm7
  movss  %xmm7,0xc(%rsp)
L110:
  movss  0x10(%rsp),%xmm0
  movss  %xmm1,0x24(%rsp)
  call   <fabs@plt>
  movsd  D38(%rip),%xmm6
  movss  0x24(%rsp),%xmm1
  comisd %xmm0,%xmm6
  ja     L44
L95:
  movss  0x20(%rsp),%xmm5
  movss  0xc(%rsp),%xmm6
  movss  (%rsp),%xmm3
  mulss  %xmm5,%xmm6
  mulss  0x10(%rsp),%xmm5
  comiss %xmm3,%xmm6
  movaps %xmm5,%xmm7
  jbe    L79
  comiss %xmm3,%xmm5
  ja     L233
L79:
  movss  %xmm6,0x48(%rsp)
  movss  0x34(%rsp),%xmm6
  movss  0x74(%rsp),%xmm3
  movaps %xmm1,%xmm5
  movss  0x6c(%rsp),%xmm0
  movss  0x70(%rsp),%xmm4
  movss  %xmm7,0x4c(%rsp)
  mulss  %xmm3,%xmm5
  movaps %xmm6,%xmm2
  movss  0x30(%rsp),%xmm7
  mulss  %xmm0,%xmm2
  mulss  %xmm4,%xmm6
  mulss  %xmm4,%xmm1
  subss  %xmm2,%xmm5
  movaps %xmm0,%xmm2
  mulss  %xmm7,%xmm2
  movaps %xmm6,%xmm0
  mulss  %xmm3,%xmm7
  movss  %xmm5,(%rsp)
  subss  %xmm1,%xmm2
  subss  %xmm7,%xmm0
  movss  %xmm2,0x30(%rsp)
  call   <fabs@plt>
  movss  (%rsp),%xmm5
  pxor   %xmm1,%xmm1
  cvtsd2ss %xmm0,%xmm1
  movss  %xmm1,0x24(%rsp)
  movaps %xmm5,%xmm0
  call   <fabs@plt>
  movss  0x30(%rsp),%xmm2
  pxor   %xmm3,%xmm3
  cvtsd2ss %xmm0,%xmm3
  movss  %xmm3,(%rsp)
  movaps %xmm2,%xmm0
  call   <fabs@plt>
  movss  (%rsp),%xmm3
  xor    %eax,%eax
  movss  0x24(%rsp),%xmm1
  movss  0x48(%rsp),%xmm6
  movss  0x4c(%rsp),%xmm7
  cvtsd2ss %xmm0,%xmm0
  comiss %xmm1,%xmm3
  jbe    L53
  movaps %xmm3,%xmm1
  mov    $0x1,%eax
L53:
  comiss %xmm1,%xmm0
  mov    $0x8,%edx
  ja     L148
  lea    0x0(,%rax,4),%rdx
L148:
  movss  (%r14,%rdx,1),%xmm8
  movss  (%r15,%rdx,1),%xmm9
  lea    0x5c(%rsp),%rcx
  sub    $0x8,%rsp
  movss  (%rbx,%rdx,1),%xmm10
  movss  0x0(%rbp,%rdx,1),%xmm0
  mov    %rbp,%rdi
  mov    %r12,%rsi
  movss  %xmm8,0x38(%rsp)
  movss  0x0(%r13,%rdx,1),%xmm2
  movss  (%r12,%rdx,1),%xmm1
  mov    %r13,%rdx
  movss  %xmm9,0x2c(%rsp)
  movss  %xmm10,0x8(%rsp)
  lea    0x8c(%rsp),%rax
  push   %rax
  movss  0x20(%rsp),%xmm5
  movss  0x1c(%rsp),%xmm4
  movss  0x30(%rsp),%xmm3
  lea    0x88(%rsp),%r9
  lea    0x70(%rsp),%r8
  call   <compute_intervals_isectline@plt>
  mov    %eax,%r10d
  mov    0x28(%rsp),%rax
  test   %r10d,%r10d
  mov    %r10d,(%rax)
  pop    %rdi
  pop    %r8
  movss  (%rsp),%xmm10
  movss  0x24(%rsp),%xmm9
  movss  0x30(%rsp),%xmm8
  jne    L158
  mov    %r10d,(%rsp)
  lea    0x64(%rsp),%rcx
  sub    $0x8,%rsp
  mov    %rbx,%rdx
  movaps %xmm9,%xmm1
  movaps %xmm8,%xmm0
  movaps %xmm10,%xmm2
  mov    %r15,%rsi
  lea    0xa4(%rsp),%rax
  mov    %r14,%rdi
  push   %rax
  movss  0x3c(%rsp),%xmm7
  movss  0x38(%rsp),%xmm6
  movss  0x18(%rsp),%xmm5
  movss  0x14(%rsp),%xmm4
  movss  0x24(%rsp),%xmm3
  lea    0xa0(%rsp),%r9
  lea    0x78(%rsp),%r8
  call   <compute_intervals_isectline@plt>
  movss  0x6c(%rsp),%xmm0
  movss  0x70(%rsp),%xmm1
  pop    %rax
  xor    %eax,%eax
  pop    %rdx
  comiss %xmm1,%xmm0
  mov    (%rsp),%r10d
  jbe    L30
  movss  %xmm1,0x5c(%rsp)
  mov    $0x1,%eax
  movaps %xmm0,%xmm1
  movss  %xmm0,0x60(%rsp)
L30:
  movss  0x64(%rsp),%xmm0
  movss  0x68(%rsp),%xmm2
  comiss %xmm2,%xmm0
  ja     L99
L9:
  comiss %xmm1,%xmm0
  ja     L233
  movss  0x68(%rsp),%xmm3
  movss  0x5c(%rsp),%xmm2
  comiss %xmm3,%xmm2
  ja     L233
  comiss %xmm0,%xmm2
  jbe    L33
  test   %eax,%eax
  je     L38
  comiss %xmm3,%xmm1
  mov    0x38(%rsp),%rsi
  mov    0x84(%rsp),%rdx
  movss  0x8c(%rsp),%xmm0
  mov    %rdx,(%rsi)
  movss  %xmm0,0x8(%rsi)
  jbe    L78
L160:
  test   %r10d,%r10d
  jne    L163
  mov    0x40(%rsp),%rdi
  mov    0x9c(%rsp),%rax
  mov    $0x1,%r10d
  movss  0xa4(%rsp),%xmm0
  mov    %rax,(%rdi)
  movss  %xmm0,0x8(%rdi)
  jmp    L187
  nopl   0x0(%rax)
L233:
  xor    %r10d,%r10d
L187:
  mov    0xa8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L259
  add    $0xb8,%rsp
  mov    %r10d,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nop
L44:
  movss  (%rsp),%xmm4
  movss  %xmm4,0x10(%rsp)
  jmp    L95
L99:
  movss  %xmm0,0x68(%rsp)
  mov    $0x1,%r10d
  movaps %xmm2,%xmm0
  movss  %xmm2,0x64(%rsp)
  jmp    L9
  nopw   0x0(%rax,%rax,1)
L158:
  lea    0x6c(%rsp),%rdi
  sub    $0x8,%rsp
  mov    %r13,%rcx
  mov    %rbp,%rsi
  push   %rbx
  mov    %r15,%r9
  mov    %r14,%r8
  mov    %r12,%rdx
  call   <coplanar_tri_tri@plt>
  pop    %rcx
  pop    %rsi
  mov    %eax,%r10d
  jmp    L187
  nopl   0x0(%rax,%rax,1)
L33:
  test   %r10d,%r10d
  je     L12
  comiss %xmm1,%xmm3
  mov    0x38(%rsp),%rsi
  mov    0x9c(%rsp),%rdx
  movss  0xa4(%rsp),%xmm0
  mov    %rdx,(%rsi)
  movss  %xmm0,0x8(%rsi)
  jbe    L163
L171:
  test   %eax,%eax
  jne    L78
L265:
  mov    0x40(%rsp),%rsi
  mov    0x84(%rsp),%rax
  mov    $0x1,%r10d
  movss  0x8c(%rsp),%xmm0
  mov    %rax,(%rsi)
  movss  %xmm0,0x8(%rsi)
  jmp    L187
  nopl   (%rax)
L12:
  comiss %xmm1,%xmm3
  mov    0x38(%rsp),%rdi
  mov    0x90(%rsp),%rdx
  movss  0x98(%rsp),%xmm0
  mov    %rdx,(%rdi)
  movss  %xmm0,0x8(%rdi)
  ja     L171
  mov    0x40(%rsp),%rsi
  mov    0x9c(%rsp),%rax
  mov    $0x1,%r10d
  movss  0xa4(%rsp),%xmm0
  mov    %rax,(%rsi)
  movss  %xmm0,0x8(%rsi)
  jmp    L187
  nopl   0x0(%rax)
L38:
  comiss %xmm3,%xmm1
  mov    0x38(%rsp),%rsi
  mov    0x78(%rsp),%rax
  movss  0x80(%rsp),%xmm0
  mov    %rax,(%rsi)
  movss  %xmm0,0x8(%rsi)
  ja     L160
  jmp    L265
  nopl   0x0(%rax)
L78:
  mov    0x40(%rsp),%rdi
  mov    0x78(%rsp),%rdx
  mov    %eax,%r10d
  movss  0x80(%rsp),%xmm0
  mov    %rdx,(%rdi)
  movss  %xmm0,0x8(%rdi)
  jmp    L187
  nopl   0x0(%rax,%rax,1)
L163:
  mov    0x40(%rsp),%rdi
  mov    0x90(%rsp),%rax
  movss  0x98(%rsp),%xmm0
  mov    %rax,(%rdi)
  movss  %xmm0,0x8(%rdi)
  jmp    L187
L259:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: label: D38
datatype: f64

tool: D38: 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 (fabs(du0) < 0.000001)
    du0 = 0.0;
  if (fabs(du1) < 0.000001)
    du1 = 0.0;
  if (fabs(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 (fabs(dv0) < 0.000001)
    dv0 = 0.0;
  if (fabs(dv1) < 0.000001)
    dv1 = 0.0;
  if (fabs(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 = 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;
}
```