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

```asm
<bioD5_3d>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  sub    $0x58,%rsp
  mov    0x90(%rsp),%rax
  mov    0xa8(%rsp),%r12d
  mov    %rdx,0x20(%rsp)
  mov    0xb0(%rsp),%r13d
  mov    0xb8(%rsp),%ebx
  mov    %rsi,0x18(%rsp)
  mov    %rax,0x38(%rsp)
  mov    0x98(%rsp),%rax
  mov    0xc0(%rsp),%r15d
  mov    %rcx,0x28(%rsp)
  mov    %rax,0x40(%rsp)
  xor    %eax,%eax
  cmp    $0x1,%r12d
  mov    0xa0(%rsp),%r14
  setg   %al
  xor    %edx,%edx
  cmp    $0x1,%r13d
  mov    %r8,0x30(%rsp)
  setg   %dl
  add    %edx,%eax
  xor    %edx,%edx
  cmp    $0x1,%ebx
  setg   %dl
  add    %edx,%eax
  test   %r15d,%r15d
  jne    L82
  movss  D159(%rip),%xmm2
  movss  D168(%rip),%xmm3
  cmp    $0x2,%eax
  je     L49
L21:
  cmp    $0x1,%eax
  jne    L83
  movss  D56(%rip),%xmm1
  movss  D104(%rip),%xmm0
  movss  D161(%rip),%xmm4
  movss  D159(%rip),%xmm5
L23:
  cmp    $0x1,%r12d
  jg     L32
  movaps %xmm0,%xmm1
  movaps %xmm4,%xmm0
  movaps %xmm5,%xmm4
L32:
  cmp    $0x1,%r13d
  jg     L45
  movaps %xmm0,%xmm1
  movaps %xmm4,%xmm0
L45:
  cmp    $0x1,%ebx
  jg     L101
  movaps %xmm0,%xmm1
L101:
  movsd  D174(%rip),%xmm0
  test   %eax,%eax
  jne    L92
  movss  D168(%rip),%xmm1
  movsd  D76(%rip),%xmm0
  movaps %xmm1,%xmm2
  movaps %xmm1,%xmm3
L92:
  mov    $0x1,%r8d
  mov    %ebx,%ecx
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %rbp,%rdi
  mov    $0x1,%eax
  mov    %r9,0x48(%rsp)
  movss  %xmm1,0x14(%rsp)
  movss  %xmm2,0x10(%rsp)
  movss  %xmm3,0xc(%rsp)
  call   <bio_3d_premult@plt>
  movss  0xc(%rsp),%xmm3
  xor    %r8d,%r8d
  mov    %ebx,%ecx
  pxor   %xmm0,%xmm0
  mov    %r13d,%edx
  mov    %r12d,%esi
  mov    %rbp,%rdi
  mov    $0x1,%eax
  cvtss2sd %xmm3,%xmm0
  call   <bio_3d_premult@plt>
  movss  0x10(%rsp),%xmm2
  pxor   %xmm0,%xmm0
  test   %r15d,%r15d
  movss  0x14(%rsp),%xmm1
  cvtss2sd %xmm2,%xmm0
  je     L16
  mov    0x40(%rsp),%rax
  mov    %ebx,0xb8(%rsp)
  mov    %rbp,%rdi
  cvtss2sd %xmm1,%xmm1
  mov    %r13d,0xb0(%rsp)
  mov    0x48(%rsp),%r9
  mov    %rax,0x98(%rsp)
  mov    0x38(%rsp),%rax
  mov    %r12d,0xa8(%rsp)
  mov    0x30(%rsp),%r8
  mov    %r14,0xa0(%rsp)
  mov    0x28(%rsp),%rcx
  mov    %rax,0x90(%rsp)
  mov    0x20(%rsp),%rdx
  mov    $0x2,%eax
  mov    0x18(%rsp),%rsi
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1080 <bioD1__3d@plt>
  xchg   %ax,%ax
L82:
  movss  D98(%rip),%xmm2
  movss  D150(%rip),%xmm3
  cmp    $0x2,%eax
  jne    L21
L49:
  movss  D19(%rip),%xmm1
  movss  D98(%rip),%xmm0
  movss  D43(%rip),%xmm4
  movss  D168(%rip),%xmm5
  jmp    L23
  xchg   %ax,%ax
L83:
  movss  D161(%rip),%xmm1
  movss  D159(%rip),%xmm0
  movss  D90(%rip),%xmm4
  movss  D59(%rip),%xmm5
  jmp    L23
  nopl   (%rax)
L16:
  add    $0x58,%rsp
  mov    %ebx,%r8d
  mov    %r13d,%ecx
  mov    %r12d,%edx
  pop    %rbx
  mov    %r14,%rsi
  mov    %rbp,%rdi
  mov    $0x2,%eax
  pop    %rbp
  pop    %r12
  cvtss2sd %xmm1,%xmm1
  pop    %r13
  pop    %r14
  pop    %r15
  jmp    1070 <bioD1_3dskip@plt>
```

tool_calls: name: unpack_data
arguments: label: D159
datatype: byte[4]
name: unpack_data
arguments: label: D168
datatype: f32
name: unpack_data
arguments: label: D56
datatype: byte[4]
name: unpack_data
arguments: label: D104
datatype: byte[4]
name: unpack_data
arguments: label: D161
datatype: byte[4]
name: unpack_data
arguments: label: D174
datatype: byte[8]
name: unpack_data
arguments: label: D76
datatype: byte[8]
name: unpack_data
arguments: label: D98
datatype: byte[4]
name: unpack_data
arguments: label: D150
datatype: byte[4]
name: unpack_data
arguments: label: D19
datatype: byte[4]
name: unpack_data
arguments: label: D43
datatype: byte[4]
name: unpack_data
arguments: label: D90
datatype: byte[4]
name: unpack_data
arguments: label: D59
datatype: byte[4]

tool: {"D159": [0x00,0x00,0x00,0xc0]}

tool: D168: 1

tool: {"D56": [0x00,0x00,0x80,0xc1]}

tool: {"D104": [0x00,0x00,0x00,0xc1]}

tool: {"D161": [0x00,0x00,0x80,0xc0]}

tool: {"D174": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0xbf]}

tool: {"D76": [0x00,0x00,0x00,0x00,0x00,0x00,0xf0,0x3f]}

tool: {"D98": [0x00,0x00,0x80,0x40]}

tool: {"D150": [0x00,0x00,0x00,0xbe]}

tool: {"D19": [0x00,0x00,0x00,0x41]}

tool: {"D43": [0x00,0x00,0x00,0x40]}

tool: {"D90": [0x00,0x00,0x80,0xbf]}

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

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);
  }
}
```