user: 请将这段汇编代码片段转换成等效的C代码:

```asm
<planeBoxOverlap>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x38(%rbp)
  mov    %rsi,-0x40(%rbp)
  mov    %rdx,-0x48(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  movl   $0x0,-0x28(%rbp)
  jmp    L55
L39:
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x40(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  %xmm0,-0x24(%rbp)
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x38(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm1,%xmm0
  jbe    L82
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  D16(%rip),%xmm1
  xorps  %xmm1,%xmm0
  subss  -0x24(%rbp),%xmm0
  mov    -0x28(%rbp),%eax
  cltq
  movss  %xmm0,-0x20(%rbp,%rax,4)
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  subss  -0x24(%rbp),%xmm0
  mov    -0x28(%rbp),%eax
  cltq
  movss  %xmm0,-0x14(%rbp,%rax,4)
  jmp    L73
L82:
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  subss  -0x24(%rbp),%xmm0
  mov    -0x28(%rbp),%eax
  cltq
  movss  %xmm0,-0x20(%rbp,%rax,4)
  mov    -0x28(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x48(%rbp),%rax
  add    %rdx,%rax
  movss  (%rax),%xmm0
  movss  D16(%rip),%xmm1
  xorps  %xmm1,%xmm0
  subss  -0x24(%rbp),%xmm0
  mov    -0x28(%rbp),%eax
  cltq
  movss  %xmm0,-0x14(%rbp,%rax,4)
L73:
  addl   $0x1,-0x28(%rbp)
L55:
  cmpl   $0x2,-0x28(%rbp)
  jle    L39
  mov    -0x38(%rbp),%rax
  movss  (%rax),%xmm1
  movss  -0x20(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  mov    -0x38(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm2
  movss  -0x1c(%rbp),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  mov    -0x38(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm2
  movss  -0x18(%rbp),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm1,%xmm0
  jbe    L16
  mov    $0x0,%eax
  jmp    L33
L16:
  mov    -0x38(%rbp),%rax
  movss  (%rax),%xmm1
  movss  -0x14(%rbp),%xmm0
  mulss  %xmm0,%xmm1
  mov    -0x38(%rbp),%rax
  add    $0x4,%rax
  movss  (%rax),%xmm2
  movss  -0x10(%rbp),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm0,%xmm1
  mov    -0x38(%rbp),%rax
  add    $0x8,%rax
  movss  (%rax),%xmm2
  movss  -0xc(%rbp),%xmm0
  mulss  %xmm2,%xmm0
  addss  %xmm1,%xmm0
  pxor   %xmm1,%xmm1
  comiss %xmm1,%xmm0
  jb     L74
  mov    $0x1,%eax
  jmp    L33
L74:
  mov    $0x0,%eax
L33:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L56
  call   <__stack_chk_fail@plt>
L56:
  leave
  ret
```

tool_calls: name: disassemble_data
arguments: tag: D16
data_type: byte[4]

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

assistant: ```c
int32_t planeBoxOverlap(float normal[3], float vert[3], float maxbox[3]) {
  int32_t q;
  float vmin[3], vmax[3], v;
  for (q = 0; q <= 2; q++) {
    v = vert[q];
    if (normal[q] > 0.0f) {
      vmin[q] = -maxbox[q] - v;
      vmax[q] = maxbox[q] - v;
    } else {
      vmin[q] = maxbox[q] - v;
      vmax[q] = -maxbox[q] - v;
    }
  }
  if ((normal[0] * vmin[0] + normal[1] * vmin[1] + normal[2] * vmin[2]) > 0.0f)
    return 0;
  if ((normal[0] * vmax[0] + normal[1] * vmax[1] + normal[2] * vmax[2]) >= 0.0f)
    return 1;
  return 0;
}
```