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

```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,%edx
  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,%ecx
  subsd  %xmm7,%xmm13
  subsd  %xmm2,%xmm0
  subsd  %xmm1,%xmm10
  test   %edx,%edx
  js     L173
  test   %ecx,%ecx
  js     L145
  cvttsd2si %xmm13,%esi
  movsd  D55(%rip),%xmm1
  test   %esi,%esi
  js     L34
L236:
  movq   %rax,%xmm4
  cvttsd2si %xmm14,%edx
  cvttsd2si %xmm4,%eax
  test   %eax,%eax
  js     L219
  test   %edx,%edx
  js     L109
  cvttsd2si %xmm0,%ecx
  test   %ecx,%ecx
  js     L248
  addsd  D55(%rip),%xmm1
L45:
  cvttsd2si %xmm15,%eax
  cvttsd2si %xmm3,%edx
  test   %eax,%eax
  js     L7
  test   %edx,%edx
  js     L304
  cvttsd2si %xmm10,%ecx
  test   %ecx,%ecx
  js     L298
  addsd  D55(%rip),%xmm1
L102:
  ucomisd D47(%rip),%xmm1
  mov    $0x0,%edx
  setnp  %al
  cmovne %edx,%eax
  test   %al,%al
  jne    L94
  ucomisd D25(%rip),%xmm1
  setnp  %dl
  cmove  %edx,%eax
  test   %al,%al
  jne    L94
  pxor   %xmm0,%xmm0
  ret
  nopw   0x0(%rax,%rax,1)
L145:
  test   %edx,%edx
  je     L213
L244:
  pxor   %xmm1,%xmm1
  jmp    L236
  nopl   (%rax)
L94:
  movsd  D55(%rip),%xmm0
  ret
  nopl   0x0(%rax)
L34:
  test   %edx,%edx
  jne    L244
  nopl   0x0(%rax)
L173:
  pxor   %xmm1,%xmm1
  test   %ecx,%ecx
  jg     L236
L213:
  cvttsd2si %xmm13,%edx
  pxor   %xmm1,%xmm1
  test   %edx,%edx
  jg     L236
  movsd  D75(%rip),%xmm1
  jmp    L236
  nopw   0x0(%rax,%rax,1)
L7:
  test   %edx,%edx
  jg     L102
L14:
  cvttsd2si %xmm10,%eax
  test   %eax,%eax
  jg     L102
L309:
  subsd  D55(%rip),%xmm1
  jmp    L102
  nopw   0x0(%rax,%rax,1)
L219:
  test   %edx,%edx
  jg     L45
L302:
  cvttsd2si %xmm0,%eax
  test   %eax,%eax
  jg     L45
L130:
  subsd  D55(%rip),%xmm1
  jmp    L45
  nopl   0x0(%rax)
L304:
  test   %eax,%eax
  jne    L102
  jmp    L14
  nopw   0x0(%rax,%rax,1)
L109:
  test   %eax,%eax
  jne    L45
  jmp    L302
  nopw   0x0(%rax,%rax,1)
L248:
  test   %eax,%eax
  jne    L45
  test   %edx,%edx
  jne    L45
  jmp    L130
  nopw   0x0(%rax,%rax,1)
L298:
  test   %eax,%eax
  jne    L102
  test   %edx,%edx
  jne    L102
  jmp    L309
```

tool_calls: name: parse_data
arguments: tag: D55
type_infered: f64
name: parse_data
arguments: tag: D47
type_infered: f32[2]
name: parse_data
arguments: tag: D25
type_infered: f32[2]
name: parse_data
arguments: tag: D75
type_infered: f32[2]

tool: D55: 1

tool: {"D47": [0.0,2.125]}

tool: {"D25": [0.0,-2.125]}

tool: {"D75": [0.0,-1.875]}

assistant: ```c
double 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) {
  double 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.0;
  if ((int)answer1_x >= 0 && (int)answer2_x >= 0 && (int)answer3_x >= 0) {
    answer += 1.0;
  } else if ((int)answer1_x <= 0 && (int)answer2_x <= 0 && (int)answer3_x <= 0) {
    answer -= 1.0;
  }
  if ((int)answer1_y >= 0 && (int)answer2_y >= 0 && (int)answer3_y >= 0) {
    answer += 1.0;
  } else if ((int)answer1_y <= 0 && (int)answer2_y <= 0 && (int)answer3_y <= 0) {
    answer -= 1.0;
  }
  if ((int)answer1_z >= 0 && (int)answer2_z >= 0 && (int)answer3_z >= 0) {
    answer += 1.0;
  } else if ((int)answer1_z <= 0 && (int)answer2_z <= 0 && (int)answer3_z <= 0) {
    answer -= 1.0;
  }
  if (answer == 3 || answer == -3) {
    answer = 1;
  } else {
    answer = 0;
  }
  return answer;
}
```