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

```asm
<bioD5_3d>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x50,%rsp
  mov    %rdi,-0x28(%rbp)
  mov    %rsi,-0x30(%rbp)
  mov    %rdx,-0x38(%rbp)
  mov    %rcx,-0x40(%rbp)
  mov    %r8,-0x48(%rbp)
  mov    %r9,-0x50(%rbp)
  movss  D42(%rip),%xmm0
  movss  %xmm0,-0x10(%rbp)
  movss  D84(%rip),%xmm0
  movss  %xmm0,-0xc(%rbp)
  cmpl   $0x1,0x28(%rbp)
  setg   %al
  movzbl %al,%edx
  cmpl   $0x1,0x30(%rbp)
  setg   %al
  movzbl %al,%eax
  add    %eax,%edx
  cmpl   $0x1,0x38(%rbp)
  setg   %al
  movzbl %al,%eax
  add    %edx,%eax
  mov    %eax,-0x8(%rbp)
  cmpl   $0x0,0x40(%rbp)
  je     L83
  movss  -0x10(%rbp),%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  -0x10(%rbp),%xmm0
  mulss  -0xc(%rbp),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D52(%rip),%xmm0
  divss  -0xc(%rbp),%xmm0
  movss  %xmm0,-0x18(%rbp)
  jmp    L17
L83:
  movss  -0x10(%rbp),%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  D52(%rip),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D52(%rip),%xmm0
  divss  -0x10(%rbp),%xmm0
  movss  %xmm0,-0x18(%rbp)
L17:
  cmpl   $0x3,-0x8(%rbp)
  jne    L98
  movss  -0x10(%rbp),%xmm0
  movss  %xmm0,-0x14(%rbp)
L98:
  cmpl   $0x2,-0x8(%rbp)
  jne    L95
  movss  D52(%rip),%xmm0
  movss  %xmm0,-0x14(%rbp)
L95:
  cmpl   $0x1,-0x8(%rbp)
  jne    L89
  movss  D52(%rip),%xmm0
  divss  -0x10(%rbp),%xmm0
  movss  %xmm0,-0x14(%rbp)
L89:
  cmpl   $0x1,0x28(%rbp)
  jle    L13
  movss  -0x14(%rbp),%xmm0
  movss  D86(%rip),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
L13:
  cmpl   $0x1,0x30(%rbp)
  jle    L103
  movss  -0x14(%rbp),%xmm0
  movss  D86(%rip),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
L103:
  cmpl   $0x1,0x38(%rbp)
  jle    L41
  movss  -0x14(%rbp),%xmm0
  movss  D86(%rip),%xmm1
  divss  %xmm1,%xmm0
  movss  %xmm0,-0x14(%rbp)
L41:
  cmpl   $0x0,-0x8(%rbp)
  jne    L67
  movss  D52(%rip),%xmm0
  movss  %xmm0,-0x14(%rbp)
  movss  D52(%rip),%xmm0
  movss  %xmm0,-0x20(%rbp)
  movss  D52(%rip),%xmm0
  movss  %xmm0,-0x1c(%rbp)
  movss  D52(%rip),%xmm0
  movss  %xmm0,-0x18(%rbp)
L67:
  movl   $0x1,-0x4(%rbp)
  pxor   %xmm2,%xmm2
  cvtss2sd -0x20(%rbp),%xmm2
  movq   %xmm2,%rdi
  mov    -0x4(%rbp),%r8d
  mov    0x38(%rbp),%ecx
  mov    0x30(%rbp),%edx
  mov    0x28(%rbp),%esi
  mov    -0x28(%rbp),%rax
  movq   %rdi,%xmm0
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <bio_3d_premult@plt>
  movl   $0x0,-0x4(%rbp)
  pxor   %xmm3,%xmm3
  cvtss2sd -0x1c(%rbp),%xmm3
  movq   %xmm3,%rdi
  mov    -0x4(%rbp),%r8d
  mov    0x38(%rbp),%ecx
  mov    0x30(%rbp),%edx
  mov    0x28(%rbp),%esi
  mov    -0x28(%rbp),%rax
  movq   %rdi,%xmm0
  mov    %rax,%rdi
  mov    $0x1,%eax
  call   <bio_3d_premult@plt>
  cmpl   $0x0,0x40(%rbp)
  je     L63
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  pxor   %xmm4,%xmm4
  cvtss2sd -0x18(%rbp),%xmm4
  movq   %xmm4,%rdi
  mov    -0x50(%rbp),%r9
  mov    -0x48(%rbp),%r10
  mov    -0x40(%rbp),%rcx
  mov    -0x38(%rbp),%rdx
  mov    -0x30(%rbp),%rsi
  mov    -0x28(%rbp),%rax
  mov    0x38(%rbp),%r8d
  push   %r8
  mov    0x30(%rbp),%r8d
  push   %r8
  mov    0x28(%rbp),%r8d
  push   %r8
  push   0x20(%rbp)
  push   0x18(%rbp)
  push   0x10(%rbp)
  movapd %xmm0,%xmm1
  movq   %rdi,%xmm0
  mov    %r10,%r8
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <bioD1__3d@plt>
  add    $0x30,%rsp
  jmp    L3
L63:
  pxor   %xmm0,%xmm0
  cvtss2sd -0x14(%rbp),%xmm0
  pxor   %xmm5,%xmm5
  cvtss2sd -0x18(%rbp),%xmm5
  movq   %xmm5,%rdi
  mov    0x38(%rbp),%r8d
  mov    0x30(%rbp),%ecx
  mov    0x28(%rbp),%edx
  mov    0x20(%rbp),%rsi
  mov    -0x28(%rbp),%rax
  movapd %xmm0,%xmm1
  movq   %rdi,%xmm0
  mov    %rax,%rdi
  mov    $0x2,%eax
  call   <bioD1_3dskip@plt>
L3:
  nop
  leave
  ret
```

tool_calls: name: read_data
arguments: label: D42
type_guessed: byte[4]
name: read_data
arguments: label: D84
type_guessed: f32
name: read_data
arguments: label: D52
type_guessed: f32
name: read_data
arguments: label: D86
type_guessed: f32

tool: {"D42": [0x00,0x00,0x00,0xbf]}

tool: D84: 0.25

tool: D52: 1

tool: D86: 0.5

assistant: ```c
void bioD5_3d(invector, HHH, HHL, HLH, HLL, LHH, LHL, LLH, LLL, xlength, ylength, zlength, ifnotAllskip) float *invector;
float *HLL, *HLH, *HHL, *HHH;
float *LLL, *LLH, *LHL, *LHH;
int xlength, ylength, zlength;
int ifnotAllskip;
{
  float x0 = -0.50;
  float x1 = 0.25;
  float X0, X1, X2;
  int pairity;
  float Norm;
  int dim;
  dim = (xlength > 1) + (ylength > 1) + (zlength > 1);
  if (0 || ifnotAllskip) {
    X0 = x0;
    X1 = x0 * x1;
    X2 = 1.0 / x1;
  } else {
    X0 = x0;
    X1 = 1.0;
    X2 = 1.0 / x0;
  }
  if (dim == 3)
    Norm = x0;
  if (dim == 2)
    Norm = 1.0;
  if (dim == 1)
    Norm = 1.0 / x0;
  if (xlength > 1)
    Norm /= (0.5);
  if (ylength > 1)
    Norm /= (0.5);
  if (zlength > 1)
    Norm /= (0.5);
  if (dim == 0) {
    Norm = 1.0;
    X0 = 1.0;
    X1 = 1.0;
    X2 = 1.0;
  }
  pairity = 1;
  bio_3d_premult(invector, xlength, ylength, zlength, X0, pairity);
  pairity = 0;
  bio_3d_premult(invector, xlength, ylength, zlength, X1, pairity);
  if (ifnotAllskip)
    bioD1__3d(invector, HHH, HHL, HLH, HLL, LHH, LHL, LLH, LLL, xlength, ylength, zlength, X2, Norm);
  else {
    bioD1_3dskip(invector, LLL, xlength, ylength, zlength, X2, Norm);
  }
}
```