user: 请显示与下面列出的汇编代码相匹配的C语言实现：

```asm
<calc_complex_kernel>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0x20,%rsp
  mov    %rdi,-0x8(%rbp)
  mov    %rsi,-0x10(%rbp)
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,-0x18(%rbp)
  movss  -0x18(%rbp),%xmm0
  addss  %xmm0,%xmm0
  pxor   %xmm3,%xmm3
  cvtss2sd %xmm0,%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  movq   D127(%rip),%xmm0
  movq   %rax,%xmm2
  xorpd  %xmm0,%xmm2
  movapd %xmm2,%xmm0
  movsd  D73(%rip),%xmm1
  divsd  %xmm1,%xmm0
  cvtsd2ss %xmm0,%xmm0
  mov    -0x8(%rbp),%rax
  movss  %xmm0,(%rax)
  pxor   %xmm4,%xmm4
  cvtss2sd -0x18(%rbp),%xmm4
  movq   %xmm4,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D14(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  D73(%rip),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x8(%rbp),%rax
  add    $0x4,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x8(%rbp),%rax
  add    $0x8,%rax
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm5,%xmm5
  cvtss2sd -0x18(%rbp),%xmm5
  movq   %xmm5,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movsd  D64(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  D73(%rip),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x8(%rbp),%rax
  add    $0xc,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x18(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <cos@plt>
  movq   %xmm0,%rax
  movsd  D73(%rip),%xmm0
  movq   %rax,%xmm1
  divsd  %xmm0,%xmm1
  mov    -0x8(%rbp),%rax
  add    $0x10,%rax
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm1,%xmm0
  movss  %xmm0,(%rax)
  movss  -0x18(%rbp),%xmm0
  addss  %xmm0,%xmm0
  pxor   %xmm6,%xmm6
  cvtss2sd %xmm0,%xmm6
  movq   %xmm6,%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movsd  D73(%rip),%xmm0
  movq   %rax,%xmm1
  divsd  %xmm0,%xmm1
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  movss  %xmm0,(%rax)
  pxor   %xmm7,%xmm7
  cvtss2sd -0x18(%rbp),%xmm7
  movq   %xmm7,%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  D64(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  D73(%rip),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  add    $0x4,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  mov    -0x10(%rbp),%rax
  add    $0x8,%rax
  pxor   %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm3,%xmm3
  cvtss2sd -0x18(%rbp),%xmm3
  movq   %xmm3,%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movsd  D64(%rip),%xmm1
  mulsd  %xmm1,%xmm0
  movsd  D73(%rip),%xmm1
  divsd  %xmm1,%xmm0
  mov    -0x10(%rbp),%rax
  add    $0xc,%rax
  cvtsd2ss %xmm0,%xmm0
  movss  %xmm0,(%rax)
  pxor   %xmm0,%xmm0
  cvtss2sd -0x18(%rbp),%xmm0
  addsd  %xmm0,%xmm0
  movq   %xmm0,%rax
  movq   %rax,%xmm0
  call   <sin@plt>
  movq   %xmm0,%rax
  movsd  D73(%rip),%xmm0
  movq   %rax,%xmm1
  divsd  %xmm0,%xmm1
  mov    -0x10(%rbp),%rax
  add    $0x10,%rax
  pxor   %xmm0,%xmm0
  cvtsd2ss %xmm1,%xmm0
  movss  %xmm0,(%rax)
  nop
  leave
  ret
```

tool_calls: name: parse_data
arguments: data_label: D127
datatype: f32[2]
name: parse_data
arguments: data_label: D73
datatype: f64
name: parse_data
arguments: data_label: D14
datatype: f64
name: parse_data
arguments: data_label: D64
datatype: f32[2]

tool: {"D127": [0.0,-0.0]}

tool: D73: 12

tool: D14: 8

tool: {"D64": [0.0,-2.5]}

assistant: ```c
void calc_complex_kernel(DEL_If_Re, DEL_If_Im, k0) float DEL_If_Re[5], DEL_If_Im[5], k0;
{
  DEL_If_Re[0] = -cos(2 * k0) / 12.0;
  DEL_If_Re[1] = 8.0 * cos(k0) / 12.0;
  DEL_If_Re[2] = 0.0;
  DEL_If_Re[3] = -8.0 * cos(k0) / 12.0;
  DEL_If_Re[4] = cos(2.0 * k0) / 12.0;
  DEL_If_Im[0] = sin(2 * k0) / 12.0;
  DEL_If_Im[1] = -8.0 * sin(k0) / 12.0;
  DEL_If_Im[2] = 0.0;
  DEL_If_Im[3] = -8.0 * sin(k0) / 12.0;
  DEL_If_Im[4] = sin(2.0 * k0) / 12.0;
}
```