user: 请从给定的汇编指令推导出C源代码：

```asm
<triBoxOverlap>:
  endbr64
  sub    $0x48,%rsp
  mov    %rsi,%rcx
  mov    %rdx,%rax
  mov    %fs:0x28,%rdx
  mov    %rdx,0x38(%rsp)
  xor    %edx,%edx
  movss  (%rdi),%xmm9
  movss  (%rax),%xmm0
  subss  %xmm9,%xmm0
  movd   %xmm0,%r10d
  movss  %xmm0,0x20(%rsp)
  movss  0x4(%rdi),%xmm0
  movss  0x4(%rax),%xmm1
  subss  %xmm0,%xmm1
  movaps %xmm1,%xmm14
  movss  %xmm1,0x24(%rsp)
  movss  0x8(%rdi),%xmm1
  movss  0x8(%rax),%xmm2
  subss  %xmm1,%xmm2
  movaps %xmm2,%xmm15
  movss  %xmm2,0x28(%rsp)
  movss  0x10(%rax),%xmm4
  subss  %xmm0,%xmm4
  movss  0x14(%rax),%xmm5
  subss  %xmm1,%xmm5
  movss  0x1c(%rax),%xmm3
  subss  %xmm0,%xmm3
  movss  0x20(%rax),%xmm0
  subss  %xmm1,%xmm0
  movaps %xmm4,%xmm2
  subss  %xmm14,%xmm2
  movaps %xmm5,%xmm1
  subss  %xmm15,%xmm1
  movss  D207(%rip),%xmm6
  movaps %xmm2,%xmm12
  andps  %xmm6,%xmm12
  andps  %xmm1,%xmm6
  movaps %xmm6,%xmm10
  movaps %xmm14,%xmm8
  mulss  %xmm1,%xmm8
  movaps %xmm15,%xmm6
  mulss  %xmm2,%xmm6
  subss  %xmm6,%xmm8
  movaps %xmm3,%xmm7
  mulss  %xmm1,%xmm7
  movaps %xmm0,%xmm6
  mulss  %xmm2,%xmm6
  subss  %xmm6,%xmm7
  comiss %xmm8,%xmm7
  ja     L38
  movaps %xmm8,%xmm6
  movaps %xmm7,%xmm8
  movaps %xmm6,%xmm7
L38:
  mov    0x4(%rcx),%edi
  mov    0x8(%rcx),%esi
  movd   %edi,%xmm11
  mulss  %xmm10,%xmm11
  movd   %esi,%xmm6
  mulss  %xmm12,%xmm6
  addss  %xmm11,%xmm6
  mov    $0x0,%edx
  comiss %xmm6,%xmm8
  ja     L143
  xorps  D114(%rip),%xmm6
  comiss %xmm7,%xmm6
  ja     L143
  movss  0xc(%rax),%xmm8
  movaps %xmm8,%xmm6
  subss  %xmm9,%xmm6
  movss  %xmm6,0x4(%rsp)
  movss  0x18(%rax),%xmm7
  subss  %xmm9,%xmm7
  movd   %r10d,%xmm9
  subss  %xmm9,%xmm6
  movaps %xmm1,%xmm9
  xorps  D114(%rip),%xmm9
  movd   %r10d,%xmm11
  mulss  %xmm9,%xmm11
  movaps %xmm15,%xmm13
  mulss  %xmm6,%xmm13
  addss  %xmm13,%xmm11
  mulss  %xmm7,%xmm9
  movaps %xmm0,%xmm13
  mulss  %xmm6,%xmm13
  addss  %xmm13,%xmm9
  comiss %xmm11,%xmm9
  ja     L302
  movaps %xmm11,%xmm13
  movaps %xmm9,%xmm11
  movaps %xmm13,%xmm9
L302:
  movaps %xmm6,%xmm13
  andps  D207(%rip),%xmm13
  movss  %xmm13,0x8(%rsp)
  mov    (%rcx),%eax
  movd   %eax,%xmm8
  mulss  %xmm8,%xmm10
  movd   %esi,%xmm8
  mulss  %xmm13,%xmm8
  movaps %xmm8,%xmm13
  addss  %xmm10,%xmm13
  mov    $0x0,%edx
  comiss %xmm13,%xmm11
  ja     L143
  xorps  D114(%rip),%xmm13
  comiss %xmm9,%xmm13
  ja     L143
  movaps %xmm4,%xmm9
  mulss  %xmm6,%xmm9
  movss  0x4(%rsp),%xmm10
  mulss  %xmm2,%xmm10
  subss  %xmm9,%xmm10
  movaps %xmm3,%xmm11
  mulss  %xmm6,%xmm11
  movaps %xmm7,%xmm9
  mulss  %xmm2,%xmm9
  subss  %xmm11,%xmm9
  comiss %xmm9,%xmm10
  ja     L233
  movaps %xmm9,%xmm11
  movaps %xmm10,%xmm9
  movaps %xmm11,%xmm10
L233:
  movd   %eax,%xmm13
  mulss  %xmm13,%xmm12
  movd   %edi,%xmm11
  mulss  0x8(%rsp),%xmm11
  addss  %xmm12,%xmm11
  mov    $0x0,%edx
  comiss %xmm11,%xmm9
  ja     L143
  xorps  D114(%rip),%xmm11
  comiss %xmm10,%xmm11
  ja     L143
  movaps %xmm3,%xmm8
  subss  %xmm4,%xmm8
  movss  %xmm8,0xc(%rsp)
  movaps %xmm0,%xmm13
  subss  %xmm5,%xmm13
  movss  D207(%rip),%xmm9
  movaps %xmm8,%xmm10
  andps  %xmm9,%xmm10
  movss  %xmm10,0x8(%rsp)
  andps  %xmm13,%xmm9
  movaps %xmm14,%xmm11
  mulss  %xmm13,%xmm11
  movaps %xmm8,%xmm10
  mulss  %xmm15,%xmm10
  subss  %xmm10,%xmm11
  movaps %xmm3,%xmm12
  mulss  %xmm13,%xmm12
  movaps %xmm8,%xmm10
  mulss  %xmm0,%xmm10
  subss  %xmm10,%xmm12
  comiss %xmm11,%xmm12
  ja     L8
  movaps %xmm11,%xmm10
  movaps %xmm12,%xmm11
  movaps %xmm10,%xmm12
L8:
  movd   %esi,%xmm10
  mulss  0x8(%rsp),%xmm10
  movd   %edi,%xmm8
  mulss  %xmm9,%xmm8
  addss  %xmm8,%xmm10
  mov    $0x0,%edx
  comiss %xmm10,%xmm11
  ja     L143
  xorps  D114(%rip),%xmm10
  comiss %xmm12,%xmm10
  ja     L143
  movaps %xmm7,%xmm8
  subss  0x4(%rsp),%xmm8
  movss  %xmm8,0x10(%rsp)
  movaps %xmm13,%xmm10
  xorps  D114(%rip),%xmm10
  movd   %r10d,%xmm11
  mulss  %xmm10,%xmm11
  movaps %xmm8,%xmm12
  mulss  %xmm15,%xmm12
  addss  %xmm12,%xmm11
  mulss  %xmm7,%xmm10
  movaps %xmm8,%xmm12
  mulss  %xmm0,%xmm12
  addss  %xmm12,%xmm10
  comiss %xmm11,%xmm10
  ja     L68
  movaps %xmm11,%xmm12
  movaps %xmm10,%xmm11
  movaps %xmm12,%xmm10
L68:
  movss  0x10(%rsp),%xmm12
  andps  D207(%rip),%xmm12
  movd   %eax,%xmm8
  mulss  %xmm8,%xmm9
  movd   %esi,%xmm8
  mulss  %xmm12,%xmm8
  addss  %xmm8,%xmm9
  mov    $0x0,%edx
  comiss %xmm9,%xmm11
  ja     L143
  xorps  D114(%rip),%xmm9
  comiss %xmm10,%xmm9
  ja     L143
  movss  0x10(%rsp),%xmm8
  movaps %xmm8,%xmm10
  mulss  %xmm14,%xmm10
  movd   %r10d,%xmm9
  mulss  0xc(%rsp),%xmm9
  subss  %xmm10,%xmm9
  mulss  %xmm4,%xmm8
  movss  0xc(%rsp),%xmm10
  mulss  0x4(%rsp),%xmm10
  subss  %xmm8,%xmm10
  comiss %xmm9,%xmm10
  ja     L261
  movaps %xmm9,%xmm11
  movaps %xmm10,%xmm9
  movaps %xmm11,%xmm10
L261:
  movd   %eax,%xmm11
  mulss  0x8(%rsp),%xmm11
  movd   %edi,%xmm8
  mulss  %xmm8,%xmm12
  addss  %xmm11,%xmm12
  mov    $0x0,%edx
  comiss %xmm12,%xmm9
  ja     L143
  xorps  D114(%rip),%xmm12
  comiss %xmm10,%xmm12
  ja     L143
  movaps %xmm14,%xmm12
  subss  %xmm3,%xmm12
  movaps %xmm12,%xmm8
  movss  %xmm12,0x18(%rsp)
  movaps %xmm15,%xmm10
  subss  %xmm0,%xmm10
  movss  D207(%rip),%xmm9
  movaps %xmm12,%xmm11
  andps  %xmm9,%xmm11
  movss  %xmm11,0x14(%rsp)
  andps  %xmm10,%xmm9
  movss  %xmm9,0x8(%rsp)
  movaps %xmm14,%xmm11
  mulss  %xmm10,%xmm11
  movaps %xmm12,%xmm9
  mulss  %xmm15,%xmm9
  subss  %xmm9,%xmm11
  movaps %xmm4,%xmm12
  mulss  %xmm10,%xmm12
  movaps %xmm8,%xmm9
  mulss  %xmm5,%xmm9
  subss  %xmm9,%xmm12
  comiss %xmm11,%xmm12
  ja     L73
  movaps %xmm11,%xmm9
  movaps %xmm12,%xmm11
  movaps %xmm9,%xmm12
L73:
  movd   %esi,%xmm9
  mulss  0x14(%rsp),%xmm9
  movd   %edi,%xmm8
  mulss  0x8(%rsp),%xmm8
  addss  %xmm8,%xmm9
  mov    $0x0,%edx
  comiss %xmm9,%xmm11
  ja     L143
  xorps  D114(%rip),%xmm9
  comiss %xmm12,%xmm9
  ja     L143
  movd   %r10d,%xmm12
  subss  %xmm7,%xmm12
  xorps  D114(%rip),%xmm10
  movd   %r10d,%xmm11
  mulss  %xmm10,%xmm11
  movaps %xmm15,%xmm9
  mulss  %xmm12,%xmm9
  addss  %xmm9,%xmm11
  mulss  0x4(%rsp),%xmm10
  movaps %xmm5,%xmm9
  mulss  %xmm12,%xmm9
  addss  %xmm9,%xmm10
  movss  %xmm10,0x1c(%rsp)
  comiss %xmm11,%xmm10
  ja     L170
  movaps %xmm11,%xmm9
  movaps %xmm10,%xmm11
  movss  %xmm9,0x1c(%rsp)
L170:
  movaps %xmm12,%xmm8
  andps  D207(%rip),%xmm8
  movd   %eax,%xmm9
  mulss  0x8(%rsp),%xmm9
  movd   %esi,%xmm10
  mulss  %xmm8,%xmm10
  addss  %xmm10,%xmm9
  mov    $0x0,%edx
  comiss %xmm9,%xmm11
  ja     L143
  xorps  D114(%rip),%xmm9
  comiss 0x1c(%rsp),%xmm9
  ja     L143
  movss  0x18(%rsp),%xmm11
  movaps %xmm11,%xmm9
  mulss  0x4(%rsp),%xmm9
  movaps %xmm4,%xmm10
  mulss  %xmm12,%xmm10
  subss  %xmm10,%xmm9
  movaps %xmm11,%xmm10
  mulss  %xmm7,%xmm10
  mulss  %xmm3,%xmm12
  subss  %xmm12,%xmm10
  comiss %xmm10,%xmm9
  ja     L357
  movaps %xmm10,%xmm11
  movaps %xmm9,%xmm10
  movaps %xmm11,%xmm9
L357:
  movd   %eax,%xmm12
  mulss  0x14(%rsp),%xmm12
  movd   %edi,%xmm11
  mulss  %xmm8,%xmm11
  addss  %xmm12,%xmm11
  mov    $0x0,%edx
  comiss %xmm11,%xmm10
  ja     L143
  xorps  D114(%rip),%xmm11
  comiss %xmm9,%xmm11
  ja     L330
  movss  0x4(%rsp),%xmm10
  movaps %xmm10,%xmm9
  movd   %r10d,%xmm12
  minss  %xmm12,%xmm9
  movaps %xmm10,%xmm8
  maxss  %xmm12,%xmm8
  movaps %xmm7,%xmm12
  minss  %xmm9,%xmm12
  maxss  %xmm8,%xmm7
  movd   %xmm7,%r10d
  movd   %eax,%xmm7
  comiss %xmm7,%xmm12
  ja     L11
  xorps  D114(%rip),%xmm7
  movd   %r10d,%xmm12
  comiss %xmm12,%xmm7
  ja     L94
  movaps %xmm4,%xmm7
  minss  %xmm14,%xmm7
  maxss  %xmm14,%xmm4
  movaps %xmm4,%xmm14
  movaps %xmm3,%xmm4
  minss  %xmm7,%xmm4
  movaps %xmm4,%xmm7
  maxss  %xmm14,%xmm3
  movaps %xmm3,%xmm14
  movd   %edi,%xmm4
  comiss %xmm4,%xmm7
  ja     L118
  movd   %edi,%xmm3
  xorps  D114(%rip),%xmm3
  comiss %xmm14,%xmm3
  ja     L240
  movaps %xmm5,%xmm3
  minss  %xmm15,%xmm3
  maxss  %xmm15,%xmm5
  movaps %xmm5,%xmm15
  movaps %xmm0,%xmm5
  minss  %xmm3,%xmm5
  movaps %xmm5,%xmm3
  maxss  %xmm15,%xmm0
  movaps %xmm0,%xmm15
  movd   %esi,%xmm5
  comiss %xmm5,%xmm3
  ja     L129
  movd   %esi,%xmm0
  xorps  D114(%rip),%xmm0
  comiss %xmm15,%xmm0
  ja     L143
  movaps %xmm2,%xmm0
  mulss  %xmm13,%xmm0
  movss  0xc(%rsp),%xmm5
  movaps %xmm5,%xmm3
  mulss  %xmm1,%xmm3
  subss  %xmm3,%xmm0
  movss  %xmm0,0x2c(%rsp)
  movss  0x10(%rsp),%xmm4
  mulss  %xmm4,%xmm1
  mulss  %xmm6,%xmm13
  subss  %xmm13,%xmm1
  movss  %xmm1,0x30(%rsp)
  mulss  %xmm5,%xmm6
  mulss  %xmm4,%xmm2
  subss  %xmm2,%xmm6
  movss  %xmm6,0x34(%rsp)
  lea    0x20(%rsp),%rsi
  lea    0x2c(%rsp),%rdi
  mov    %rcx,%rdx
  mov    $0x0,%eax
  call   <planeBoxOverlap@plt>
  test   %eax,%eax
  setne  %dl
  movzbl %dl,%edx
  jmp    L143
L330:
  mov    $0x0,%edx
L143:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L346
  mov    %edx,%eax
  add    $0x48,%rsp
  ret
L11:
  mov    $0x0,%edx
  jmp    L143
L94:
  mov    $0x0,%edx
  jmp    L143
L118:
  mov    $0x0,%edx
  jmp    L143
L240:
  mov    $0x0,%edx
  jmp    L143
L129:
  mov    $0x0,%edx
  jmp    L143
L346:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: unpack_data
arguments: data_tag: D207
type_guessed: dword[4]
name: unpack_data
arguments: data_tag: D114
type_guessed: byte[16]

tool: {"D207": [0x7fffffff,0x00000000,0x00000000,0x00000000]}

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

assistant: ```c
int triBoxOverlap(float boxcenter[3], float boxhalfsize[3], float triverts[3][3]) {
  float v0[3], v1[3], v2[3];
  float min, max, p0, p1, p2, rad, fex, fey, fez;
  float normal[3], e0[3], e1[3], e2[3];
  v0[0] = triverts[0][0] - boxcenter[0];
  v0[1] = triverts[0][1] - boxcenter[1];
  v0[2] = triverts[0][2] - boxcenter[2];
  ;
  v1[0] = triverts[1][0] - boxcenter[0];
  v1[1] = triverts[1][1] - boxcenter[1];
  v1[2] = triverts[1][2] - boxcenter[2];
  ;
  v2[0] = triverts[2][0] - boxcenter[0];
  v2[1] = triverts[2][1] - boxcenter[1];
  v2[2] = triverts[2][2] - boxcenter[2];
  ;
  e0[0] = v1[0] - v0[0];
  e0[1] = v1[1] - v0[1];
  e0[2] = v1[2] - v0[2];
  ;
  e1[0] = v2[0] - v1[0];
  e1[1] = v2[1] - v1[1];
  e1[2] = v2[2] - v1[2];
  ;
  e2[0] = v0[0] - v2[0];
  e2[1] = v0[1] - v2[1];
  e2[2] = v0[2] - v2[2];
  ;
  fex = fabsf(e0[0]);
  fey = fabsf(e0[1]);
  fez = fabsf(e0[2]);
  p0 = e0[2] * v0[1] - e0[1] * v0[2];
  p2 = e0[2] * v2[1] - e0[1] * v2[2];
  if (p0 < p2) {
    min = p0;
    max = p2;
  } else {
    min = p2;
    max = p0;
  }
  rad = fez * boxhalfsize[1] + fey * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p0 = -e0[2] * v0[0] + e0[0] * v0[2];
  p2 = -e0[2] * v2[0] + e0[0] * v2[2];
  if (p0 < p2) {
    min = p0;
    max = p2;
  } else {
    min = p2;
    max = p0;
  }
  rad = fez * boxhalfsize[0] + fex * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p1 = e0[1] * v1[0] - e0[0] * v1[1];
  p2 = e0[1] * v2[0] - e0[0] * v2[1];
  if (p2 < p1) {
    min = p2;
    max = p1;
  } else {
    min = p1;
    max = p2;
  }
  rad = fey * boxhalfsize[0] + fex * boxhalfsize[1];
  if (min > rad || max < -rad)
    return 0;
  ;
  fex = fabsf(e1[0]);
  fey = fabsf(e1[1]);
  fez = fabsf(e1[2]);
  p0 = e1[2] * v0[1] - e1[1] * v0[2];
  p2 = e1[2] * v2[1] - e1[1] * v2[2];
  if (p0 < p2) {
    min = p0;
    max = p2;
  } else {
    min = p2;
    max = p0;
  }
  rad = fez * boxhalfsize[1] + fey * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p0 = -e1[2] * v0[0] + e1[0] * v0[2];
  p2 = -e1[2] * v2[0] + e1[0] * v2[2];
  if (p0 < p2) {
    min = p0;
    max = p2;
  } else {
    min = p2;
    max = p0;
  }
  rad = fez * boxhalfsize[0] + fex * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p0 = e1[1] * v0[0] - e1[0] * v0[1];
  p1 = e1[1] * v1[0] - e1[0] * v1[1];
  if (p0 < p1) {
    min = p0;
    max = p1;
  } else {
    min = p1;
    max = p0;
  }
  rad = fey * boxhalfsize[0] + fex * boxhalfsize[1];
  if (min > rad || max < -rad)
    return 0;
  ;
  fex = fabsf(e2[0]);
  fey = fabsf(e2[1]);
  fez = fabsf(e2[2]);
  p0 = e2[2] * v0[1] - e2[1] * v0[2];
  p1 = e2[2] * v1[1] - e2[1] * v1[2];
  if (p0 < p1) {
    min = p0;
    max = p1;
  } else {
    min = p1;
    max = p0;
  }
  rad = fez * boxhalfsize[1] + fey * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p0 = -e2[2] * v0[0] + e2[0] * v0[2];
  p1 = -e2[2] * v1[0] + e2[0] * v1[2];
  if (p0 < p1) {
    min = p0;
    max = p1;
  } else {
    min = p1;
    max = p0;
  }
  rad = fez * boxhalfsize[0] + fex * boxhalfsize[2];
  if (min > rad || max < -rad)
    return 0;
  ;
  p1 = e2[1] * v1[0] - e2[0] * v1[1];
  p2 = e2[1] * v2[0] - e2[0] * v2[1];
  if (p2 < p1) {
    min = p2;
    max = p1;
  } else {
    min = p1;
    max = p2;
  }
  rad = fey * boxhalfsize[0] + fex * boxhalfsize[1];
  if (min > rad || max < -rad)
    return 0;
  ;
  min = max = v0[0];
  if (v1[0] < min)
    min = v1[0];
  if (v1[0] > max)
    max = v1[0];
  if (v2[0] < min)
    min = v2[0];
  if (v2[0] > max)
    max = v2[0];
  ;
  if (min > boxhalfsize[0] || max < -boxhalfsize[0])
    return 0;
  min = max = v0[1];
  if (v1[1] < min)
    min = v1[1];
  if (v1[1] > max)
    max = v1[1];
  if (v2[1] < min)
    min = v2[1];
  if (v2[1] > max)
    max = v2[1];
  ;
  if (min > boxhalfsize[1] || max < -boxhalfsize[1])
    return 0;
  min = max = v0[2];
  if (v1[2] < min)
    min = v1[2];
  if (v1[2] > max)
    max = v1[2];
  if (v2[2] < min)
    min = v2[2];
  if (v2[2] > max)
    max = v2[2];
  ;
  if (min > boxhalfsize[2] || max < -boxhalfsize[2])
    return 0;
  normal[0] = e0[1] * e1[2] - e0[2] * e1[1];
  normal[1] = e0[2] * e1[0] - e0[0] * e1[2];
  normal[2] = e0[0] * e1[1] - e0[1] * e1[0];
  ;
  if (!planeBoxOverlap(normal, v0, boxhalfsize))
    return 0;
  return 1;
}
```