user: 请显示与下面列出的汇编代码相匹配的C语言实现:

```asm
<tri_tri_intersect_with_isectline>:
  endbr64
  push   %r15
  mov    %rdx,%r10
  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
  movss  (%rdi),%xmm13
  mov    (%rsi),%r8d
  mov    0xf8(%rsp),%rax
  mov    0x4(%rsi),%edi
  mov    0x8(%rsi),%esi
  movss  0x4(%rbp),%xmm14
  movd   %r8d,%xmm0
  mov    %rax,0x40(%rsp)
  mov    (%rdx),%ecx
  movd   %edi,%xmm3
  subss  %xmm13,%xmm0
  mov    0x100(%rsp),%rax
  mov    0x4(%rdx),%edx
  movd   %esi,%xmm1
  subss  %xmm14,%xmm3
  movss  0x8(%rbp),%xmm5
  movd   %ecx,%xmm6
  movss  0x8(%r13),%xmm15
  mov    %rax,0x48(%rsp)
  movd   %edx,%xmm7
  subss  %xmm13,%xmm6
  mov    0xf0(%rsp),%r11
  subss  %xmm5,%xmm1
  subss  %xmm14,%xmm7
  movaps %xmm3,%xmm2
  mov    %fs:0x28,%rax
  mov    %rax,0xa8(%rsp)
  xor    %eax,%eax
  mov    0x8(%r10),%eax
  mulss  %xmm6,%xmm3
  movss  %xmm15,0x20(%rsp)
  movaps %xmm1,%xmm8
  mulss  %xmm7,%xmm8
  movd   %eax,%xmm4
  subss  %xmm5,%xmm4
  mulss  %xmm6,%xmm1
  movss  0x0(%r13),%xmm6
  movss  %xmm6,0x10(%rsp)
  mulss  %xmm4,%xmm2
  mulss  %xmm0,%xmm4
  mulss  %xmm7,%xmm0
  movaps %xmm13,%xmm7
  subss  %xmm8,%xmm2
  subss  %xmm4,%xmm1
  movss  0x4(%r13),%xmm4
  subss  %xmm3,%xmm0
  movaps %xmm14,%xmm3
  mulss  %xmm2,%xmm7
  movss  %xmm4,0x1c(%rsp)
  movaps %xmm2,%xmm10
  mulss  %xmm1,%xmm3
  movss  %xmm2,0x6c(%rsp)
  movaps %xmm1,%xmm9
  mulss  %xmm1,%xmm4
  movss  %xmm1,0x70(%rsp)
  mulss  %xmm2,%xmm6
  movss  %xmm0,0x74(%rsp)
  addss  %xmm3,%xmm7
  movaps %xmm5,%xmm3
  mulss  %xmm0,%xmm3
  movaps %xmm4,%xmm8
  movss  (%r14),%xmm4
  movss  (%r9),%xmm11
  addss  %xmm6,%xmm8
  movss  0x8(%r14),%xmm6
  movss  0x8(%r9),%xmm12
  mulss  %xmm4,%xmm10
  movss  %xmm12,0x30(%rsp)
  mulss  %xmm0,%xmm12
  addss  %xmm3,%xmm7
  movaps %xmm15,%xmm3
  movss  0x4(%r9),%xmm15
  mulss  %xmm0,%xmm3
  movss  %xmm15,0x2c(%rsp)
  addss  %xmm3,%xmm8
  movss  0x4(%r14),%xmm3
  mulss  %xmm3,%xmm9
  subss  %xmm7,%xmm8
  addss  %xmm10,%xmm9
  movaps %xmm0,%xmm10
  mulss  %xmm6,%xmm10
  addss  %xmm10,%xmm9
  movaps %xmm2,%xmm10
  mulss  %xmm11,%xmm10
  subss  %xmm7,%xmm9
  movss  %xmm9,0xc(%rsp)
  movaps %xmm1,%xmm9
  mulss  %xmm15,%xmm9
  addss  %xmm10,%xmm9
  pxor   %xmm10,%xmm10
  addss  %xmm12,%xmm9
  movsd  D17(%rip),%xmm12
  subss  %xmm7,%xmm9
  movaps %xmm8,%xmm7
  movss  %xmm9,0x18(%rsp)
  movss  D14(%rip),%xmm9
  andps  %xmm9,%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm12
  jbe    L12
  movaps %xmm10,%xmm8
L12:
  movss  0xc(%rsp),%xmm7
  andps  %xmm9,%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm12
  jbe    L131
  movss  %xmm10,0xc(%rsp)
L131:
  movss  0x18(%rsp),%xmm7
  andps  %xmm9,%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm12
  jbe    L227
  movss  %xmm10,0x18(%rsp)
L227:
  movss  0xc(%rsp),%xmm7
  movss  0x18(%rsp),%xmm15
  mulss  %xmm8,%xmm7
  mulss  %xmm8,%xmm15
  comiss %xmm10,%xmm7
  movss  %xmm7,0x38(%rsp)
  movss  %xmm15,0x3c(%rsp)
  jbe    L271
  comiss %xmm10,%xmm15
  ja     L197
L271:
  movss  0x10(%rsp),%xmm7
  movss  0x1c(%rsp),%xmm15
  subss  %xmm7,%xmm4
  subss  %xmm7,%xmm11
  movss  0x30(%rsp),%xmm7
  subss  %xmm15,%xmm3
  movss  %xmm4,0x34(%rsp)
  movss  0x20(%rsp),%xmm4
  movss  %xmm11,0x28(%rsp)
  movaps %xmm15,%xmm11
  movss  0x2c(%rsp),%xmm15
  subss  %xmm4,%xmm6
  subss  %xmm4,%xmm7
  subss  %xmm11,%xmm15
  movaps %xmm3,%xmm11
  mulss  0x28(%rsp),%xmm3
  mulss  %xmm7,%xmm11
  movaps %xmm6,%xmm4
  mulss  %xmm15,%xmm4
  mulss  0x28(%rsp),%xmm6
  subss  %xmm4,%xmm11
  movss  0x34(%rsp),%xmm4
  mulss  %xmm4,%xmm7
  mulss  %xmm15,%xmm4
  movd   %ecx,%xmm15
  mulss  %xmm11,%xmm13
  mulss  %xmm11,%xmm15
  subss  %xmm7,%xmm6
  movss  0x1c(%rsp),%xmm7
  subss  %xmm3,%xmm4
  movss  0x10(%rsp),%xmm3
  mulss  %xmm6,%xmm7
  mulss  %xmm11,%xmm3
  mulss  %xmm4,%xmm5
  addss  %xmm3,%xmm7
  movss  0x20(%rsp),%xmm3
  mulss  %xmm4,%xmm3
  addss  %xmm3,%xmm7
  movaps %xmm14,%xmm3
  movd   %eax,%xmm14
  mulss  %xmm6,%xmm3
  mulss  %xmm4,%xmm14
  addss  %xmm13,%xmm3
  movd   %edi,%xmm13
  mulss  %xmm6,%xmm13
  addss  %xmm5,%xmm3
  movd   %r8d,%xmm5
  mulss  %xmm11,%xmm5
  subss  %xmm7,%xmm3
  addss  %xmm5,%xmm13
  movd   %esi,%xmm5
  mulss  %xmm4,%xmm5
  addss  %xmm5,%xmm13
  movd   %edx,%xmm5
  mulss  %xmm6,%xmm5
  subss  %xmm7,%xmm13
  addss  %xmm15,%xmm5
  addss  %xmm14,%xmm5
  subss  %xmm7,%xmm5
  movaps %xmm3,%xmm7
  andps  %xmm9,%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm12
  jbe    L65
  movaps %xmm10,%xmm3
L65:
  movaps %xmm13,%xmm7
  andps  %xmm9,%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm12
  jbe    L25
  movaps %xmm10,%xmm13
L25:
  movaps %xmm5,%xmm7
  andps  %xmm9,%xmm7
  cvtss2sd %xmm7,%xmm7
  comisd %xmm7,%xmm12
  jbe    L123
  movaps %xmm10,%xmm5
L123:
  movaps %xmm3,%xmm12
  movaps %xmm3,%xmm7
  mulss  %xmm13,%xmm12
  mulss  %xmm5,%xmm7
  comiss %xmm10,%xmm12
  jbe    L190
  comiss %xmm10,%xmm7
  ja     L197
L190:
  movaps %xmm1,%xmm10
  movaps %xmm0,%xmm14
  xor    %edx,%edx
  mulss  %xmm4,%xmm10
  mulss  %xmm6,%xmm14
  mulss  %xmm2,%xmm4
  mulss  %xmm11,%xmm0
  mulss  %xmm6,%xmm2
  mulss  %xmm11,%xmm1
  subss  %xmm14,%xmm10
  subss  %xmm4,%xmm0
  andps  %xmm9,%xmm10
  subss  %xmm1,%xmm2
  andps  %xmm9,%xmm0
  comiss %xmm10,%xmm0
  andps  %xmm9,%xmm2
  jbe    L250
  movaps %xmm0,%xmm10
  mov    $0x1,%edx
L250:
  comiss %xmm10,%xmm2
  mov    $0x8,%eax
  jbe    L152
L202:
  mov    %r11,0x20(%rsp)
  lea    0x5c(%rsp),%rcx
  mov    %rbp,%rdi
  mov    %r12,%rsi
  sub    $0x8,%rsp
  pxor   %xmm0,%xmm0
  pxor   %xmm6,%xmm6
  cvtss2sd %xmm7,%xmm7
  movss  0x0(%r13,%rax,1),%xmm2
  movss  (%r14,%rax,1),%xmm1
  cvtss2sd 0x0(%rbp,%rax,1),%xmm0
  movss  %xmm8,0x24(%rsp)
  pxor   %xmm4,%xmm4
  cvtss2sd %xmm12,%xmm6
  cvtss2sd %xmm5,%xmm5
  cvtss2sd %xmm3,%xmm3
  movss  %xmm2,0x30(%rsp)
  movss  (%r15,%rax,1),%xmm2
  cvtss2sd %xmm13,%xmm4
  movss  %xmm1,0x34(%rsp)
  pxor   %xmm1,%xmm1
  movss  %xmm2,0x38(%rsp)
  pxor   %xmm2,%xmm2
  lea    0x8c(%rsp),%rdx
  cvtss2sd (%r12,%rax,1),%xmm1
  push   %rdx
  cvtss2sd (%r10,%rax,1),%xmm2
  mov    %r10,%rdx
  mov    $0x8,%eax
  lea    0x88(%rsp),%r9
  lea    0x70(%rsp),%r8
  mov    %r10,0x20(%rsp)
  call   <compute_intervals_isectline@plt>
  mov    0x30(%rsp),%r11
  test   %eax,%eax
  mov    %eax,%ebx
  mov    %eax,(%r11)
  pop    %rdi
  pop    %r8
  mov    0x10(%rsp),%r10
  movss  0x1c(%rsp),%xmm8
  jne    L9
  pxor   %xmm0,%xmm0
  lea    0x64(%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 0x30(%rsp),%xmm0
  pxor   %xmm1,%xmm1
  cvtss2sd %xmm8,%xmm3
  lea    0xa4(%rsp),%rax
  push   %rax
  mov    $0x8,%eax
  lea    0xa0(%rsp),%r9
  lea    0x78(%rsp),%r8
  cvtss2sd 0x3c(%rsp),%xmm1
  cvtss2sd 0x4c(%rsp),%xmm7
  cvtss2sd 0x48(%rsp),%xmm6
  cvtss2sd 0x28(%rsp),%xmm5
  cvtss2sd 0x1c(%rsp),%xmm4
  cvtss2sd 0x40(%rsp),%xmm2
  call   <compute_intervals_isectline@plt>
  movss  0x6c(%rsp),%xmm0
  movss  0x70(%rsp),%xmm1
  pop    %rax
  xor    %eax,%eax
  pop    %rdx
  comiss %xmm1,%xmm0
  jbe    L104
  movss  %xmm1,0x5c(%rsp)
  mov    $0x1,%eax
  movaps %xmm0,%xmm1
  movss  %xmm0,0x60(%rsp)
L104:
  movss  0x64(%rsp),%xmm0
  movss  0x68(%rsp),%xmm2
  comiss %xmm2,%xmm0
  ja     L21
L163:
  comiss %xmm1,%xmm0
  ja     L197
  movss  0x68(%rsp),%xmm3
  movss  0x5c(%rsp),%xmm2
  comiss %xmm3,%xmm2
  ja     L197
  comiss %xmm0,%xmm2
  jbe    L102
  test   %eax,%eax
  jne    L66
  comiss %xmm3,%xmm1
  mov    0x40(%rsp),%rsi
  mov    0x78(%rsp),%rax
  movss  0x80(%rsp),%xmm0
  mov    %rax,(%rsi)
  movss  %xmm0,0x8(%rsi)
  jbe    L17
L313:
  test   %ebx,%ebx
  je     L308
  mov    0x48(%rsp),%rsi
  mov    0x90(%rsp),%rax
  movss  0x98(%rsp),%xmm0
  mov    %rax,(%rsi)
  movss  %xmm0,0x8(%rsi)
  jmp    L216
  nopw   0x0(%rax,%rax,1)
L197:
  xor    %ebx,%ebx
L216:
  mov    0xa8(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L146
  add    $0xb8,%rsp
  mov    %ebx,%eax
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopl   (%rax)
L152:
  lea    0x0(,%rdx,4),%rax
  jmp    L202
  nopl   (%rax)
L9:
  lea    0x6c(%rsp),%rdi
  sub    $0x8,%rsp
  mov    %r10,%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    L216
  nopw   0x0(%rax,%rax,1)
L21:
  movss  %xmm0,0x68(%rsp)
  mov    $0x1,%ebx
  movaps %xmm2,%xmm0
  movss  %xmm2,0x64(%rsp)
  jmp    L163
  nopl   0x0(%rax)
L102:
  test   %ebx,%ebx
  jne    L174
  comiss %xmm1,%xmm3
  mov    0x40(%rsp),%rbx
  mov    0x90(%rsp),%rdx
  movss  0x98(%rsp),%xmm0
  mov    %rdx,(%rbx)
  movss  %xmm0,0x8(%rbx)
  jbe    L308
L280:
  test   %eax,%eax
  jne    L153
L17:
  mov    0x48(%rsp),%rbx
  mov    0x84(%rsp),%rax
  movss  0x8c(%rsp),%xmm0
  mov    %rax,(%rbx)
  movss  %xmm0,0x8(%rbx)
  mov    $0x1,%ebx
  jmp    L216
  nopl   0x0(%rax,%rax,1)
L174:
  comiss %xmm1,%xmm3
  mov    0x40(%rsp),%rdi
  mov    0x9c(%rsp),%rdx
  movss  0xa4(%rsp),%xmm0
  mov    %rdx,(%rdi)
  movss  %xmm0,0x8(%rdi)
  ja     L280
  mov    0x48(%rsp),%rdi
  mov    0x90(%rsp),%rax
  movss  0x98(%rsp),%xmm0
  mov    %rax,(%rdi)
  movss  %xmm0,0x8(%rdi)
  jmp    L216
  cs nopw 0x0(%rax,%rax,1)
L66:
  comiss %xmm3,%xmm1
  mov    0x40(%rsp),%rsi
  mov    0x84(%rsp),%rdx
  movss  0x8c(%rsp),%xmm0
  mov    %rdx,(%rsi)
  movss  %xmm0,0x8(%rsi)
  ja     L313
L153:
  mov    0x48(%rsp),%rbx
  mov    0x78(%rsp),%rdx
  movss  0x80(%rsp),%xmm0
  mov    %rdx,(%rbx)
  movss  %xmm0,0x8(%rbx)
  mov    %eax,%ebx
  jmp    L216
  nopl   0x0(%rax)
L308:
  mov    0x48(%rsp),%rbx
  mov    0x9c(%rsp),%rax
  movss  0xa4(%rsp),%xmm0
  mov    %rax,(%rbx)
  movss  %xmm0,0x8(%rbx)
  mov    $0x1,%ebx
  jmp    L216
L146:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: label: D17
data_type: f64
name: unpack_data
arguments: label: D14
data_type: dword

tool: D17: 0.005

tool: D14: 2147483647

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