user: What would the C source look like for the assembly code provided here:

```asm
<point_in_triangle>:
  endbr64
  movapd %xmm3,%xmm10
  movapd %xmm4,%xmm15
  movapd %xmm0,%xmm8
  movsd  0x8(%rsp),%xmm9
  subsd  0x10(%rsp),%xmm10
  subsd  0x18(%rsp),%xmm15
  movapd %xmm6,%xmm14
  movapd %xmm2,%xmm0
  subsd  %xmm3,%xmm14
  movapd %xmm7,%xmm12
  movsd  0x20(%rsp),%xmm2
  subsd  0x8(%rsp),%xmm2
  subsd  %xmm4,%xmm12
  movsd  0x10(%rsp),%xmm13
  movsd  %xmm10,-0x20(%rsp)
  movapd %xmm15,%xmm10
  movapd %xmm8,%xmm15
  subsd  %xmm5,%xmm9
  subsd  %xmm3,%xmm15
  movapd %xmm1,%xmm3
  subsd  %xmm6,%xmm13
  movsd  0x18(%rsp),%xmm11
  subsd  %xmm4,%xmm3
  movapd %xmm0,%xmm4
  movsd  %xmm2,-0x8(%rsp)
  movapd %xmm5,%xmm2
  subsd  %xmm5,%xmm4
  movapd %xmm8,%xmm5
  subsd  %xmm7,%xmm11
  subsd  %xmm6,%xmm5
  movapd %xmm1,%xmm6
  subsd  0x20(%rsp),%xmm2
  subsd  %xmm7,%xmm6
  movsd  %xmm3,-0x18(%rsp)
  subsd  0x18(%rsp),%xmm1
  movsd  %xmm4,-0x10(%rsp)
  movsd  -0x10(%rsp),%xmm7
  movapd %xmm5,%xmm3
  movapd %xmm0,%xmm5
  subsd  0x8(%rsp),%xmm5
  mulsd  %xmm14,%xmm7
  movapd %xmm6,%xmm4
  movapd %xmm8,%xmm6
  mulsd  -0x18(%rsp),%xmm14
  subsd  0x10(%rsp),%xmm6
  subsd  0x20(%rsp),%xmm0
  movq   %xmm7,%rax
  movapd %xmm9,%xmm7
  mulsd  %xmm15,%xmm7
  movq   %rax,%xmm8
  mulsd  %xmm12,%xmm15
  mulsd  -0x18(%rsp),%xmm9
  mulsd  -0x10(%rsp),%xmm12
  subsd  %xmm7,%xmm8
  subsd  %xmm14,%xmm15
  movapd %xmm13,%xmm14
  mulsd  %xmm5,%xmm14
  mulsd  %xmm4,%xmm13
  movq   %xmm8,%rax
  subsd  %xmm12,%xmm9
  movsd  -0x8(%rsp),%xmm8
  movapd %xmm8,%xmm7
  mulsd  %xmm3,%xmm7
  cvttsd2si %xmm9,%ecx
  mulsd  %xmm11,%xmm3
  mulsd  %xmm4,%xmm8
  mulsd  %xmm5,%xmm11
  subsd  %xmm7,%xmm14
  movapd %xmm10,%xmm7
  subsd  %xmm13,%xmm3
  mulsd  %xmm0,%xmm7
  movapd %xmm2,%xmm13
  mulsd  %xmm1,%xmm13
  mulsd  -0x20(%rsp),%xmm0
  subsd  %xmm11,%xmm8
  mulsd  %xmm6,%xmm2
  mulsd  %xmm6,%xmm10
  mulsd  -0x20(%rsp),%xmm1
  cvttsd2si %xmm8,%esi
  subsd  %xmm7,%xmm13
  subsd  %xmm2,%xmm0
  subsd  %xmm1,%xmm10
  test   %ecx,%ecx
  js     L270
  test   %esi,%esi
  js     L119
  cvttsd2si %xmm13,%edi
  mov    $0x1,%edx
  test   %edi,%edi
  js     L239
L32:
  movq   %rax,%xmm1
  cvttsd2si %xmm14,%ecx
  cvttsd2si %xmm1,%eax
  test   %eax,%eax
  js     L146
  test   %ecx,%ecx
  js     L210
  cvttsd2si %xmm0,%esi
  test   %esi,%esi
  js     L118
  add    $0x1,%edx
L2:
  cvttsd2si %xmm15,%eax
  cvttsd2si %xmm3,%ecx
  test   %eax,%eax
  js     L97
  test   %ecx,%ecx
  js     L55
  cvttsd2si %xmm10,%esi
  test   %esi,%esi
  js     L216
  lea    0x1(%rdx),%ecx
L78:
  add    $0x3,%ecx
  mov    $0x41,%eax
  shr    %cl,%rax
  and    $0x1,%eax
  ret
  nopw   0x0(%rax,%rax,1)
L119:
  test   %ecx,%ecx
  je     L120
L148:
  xor    %edx,%edx
  jmp    L32
  nopl   0x0(%rax,%rax,1)
L239:
  test   %ecx,%ecx
  jne    L148
  nopl   0x0(%rax)
L270:
  xor    %edx,%edx
  test   %esi,%esi
  jg     L32
L120:
  cvttsd2si %xmm13,%edx
  test   %edx,%edx
  setle  %dl
  movzbl %dl,%edx
  neg    %edx
  jmp    L32
  cs nopw 0x0(%rax,%rax,1)
L97:
  xor    %eax,%eax
  test   %ecx,%ecx
  jle    L229
L254:
  ret
  nopw   0x0(%rax,%rax,1)
L146:
  test   %ecx,%ecx
  jg     L2
L247:
  cvttsd2si %xmm0,%eax
  test   %eax,%eax
  jg     L2
L271:
  sub    $0x1,%edx
  jmp    L2
  nopl   0x0(%rax)
L55:
  test   %eax,%eax
  je     L229
L266:
  xor    %eax,%eax
  ret
  nopw   0x0(%rax,%rax,1)
L210:
  test   %eax,%eax
  jne    L2
  jmp    L247
  nopw   0x0(%rax,%rax,1)
L118:
  test   %eax,%eax
  jne    L2
  test   %ecx,%ecx
  jne    L2
  jmp    L271
  nopw   0x0(%rax,%rax,1)
L216:
  test   %eax,%eax
  jne    L266
  test   %ecx,%ecx
  je     L139
  ret
  nopl   0x0(%rax)
L229:
  cvttsd2si %xmm10,%ecx
  xor    %eax,%eax
  test   %ecx,%ecx
  jg     L254
L139:
  lea    -0x1(%rdx),%ecx
  jmp    L78
```

assistant: ```c
int point_in_triangle(double point_x, double point_y, double point_z, double t1_x, double t1_y, double t1_z, double t2_x, double t2_y, double t2_z, double t3_x, double t3_y, double t3_z) {
  int answer;
  double answer1_x, answer1_y, answer1_z;
  double answer2_x, answer2_y, answer2_z;
  double answer3_x, answer3_y, answer3_z;
  double af1, af2, af3;
  double bf1, bf2, bf3;
  double cf1, cf2, cf3;
  double ab1, ab2, ab3;
  double bc1, bc2, bc3;
  double ca1, ca2, ca3;
  ab1 = (t2_x - t1_x);
  ab2 = (t2_y - t1_y);
  ab3 = (t2_z - t1_z);
  bc1 = (t3_x - t2_x);
  bc2 = (t3_y - t2_y);
  bc3 = (t3_z - t2_z);
  ca1 = (t1_x - t3_x);
  ca2 = (t1_y - t3_y);
  ca3 = (t1_z - t3_z);
  af1 = (point_x - t1_x);
  af2 = (point_y - t1_y);
  af3 = (point_z - t1_z);
  bf1 = (point_x - t2_x);
  bf2 = (point_y - t2_y);
  bf3 = (point_z - t2_z);
  cf1 = (point_x - t3_x);
  cf2 = (point_y - t3_y);
  cf3 = (point_z - t3_z);
  answer1_x = (af2 * ab3) - (af3 * ab2);
  answer1_y = (af3 * ab1) - (af1 * ab3);
  answer1_z = (af1 * ab2) - (af2 * ab1);
  answer2_x = (bf2 * bc3) - (bf3 * bc2);
  answer2_y = (bf3 * bc1) - (bf1 * bc3);
  answer2_z = (bf1 * bc2) - (bf2 * bc1);
  answer3_x = (cf2 * ca3) - (cf3 * ca2);
  answer3_y = (cf3 * ca1) - (cf1 * ca3);
  answer3_z = (cf1 * ca2) - (cf2 * ca1);
  answer = 0;
  if ((int)answer1_x >= 0 && (int)answer2_x >= 0 && (int)answer3_x >= 0) {
    answer++;
  } else if ((int)answer1_x <= 0 && (int)answer2_x <= 0 && (int)answer3_x <= 0) {
    answer--;
  }
  if ((int)answer1_y >= 0 && (int)answer2_y >= 0 && (int)answer3_y >= 0) {
    answer++;
  } else if ((int)answer1_y <= 0 && (int)answer2_y <= 0 && (int)answer3_y <= 0) {
    answer--;
  }
  if ((int)answer1_z >= 0 && (int)answer2_z >= 0 && (int)answer3_z >= 0) {
    answer++;
  } else if ((int)answer1_z <= 0 && (int)answer2_z <= 0 && (int)answer3_z <= 0) {
    answer--;
  }
  if (answer == 3 || answer == -3) {
    answer = 1;
  } else {
    answer = 0;
  }
  return (answer);
}
```