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

```asm
<conj_window>:
  endbr64
  test   %esi,%esi
  jle    L39
  pxor   %xmm7,%xmm7
  push   %r12
  xor    %r12d,%r12d
  push   %rbp
  cvtsi2ss %esi,%xmm7
  mov    %rdi,%rbp
  push   %rbx
  movslq %esi,%rbx
  sub    $0x10,%rsp
  movss  %xmm7,0x8(%rsp)
  jmp    L28
L86:
  movss  D97(%rip),%xmm5
  comiss %xmm0,%xmm5
  jbe    L64
  movaps %xmm5,%xmm1
  subss  %xmm0,%xmm1
L80:
  cvtss2sd %xmm1,%xmm1
  mulsd  D5(%rip),%xmm1
  cvtsd2ss %xmm1,%xmm1
  movaps %xmm1,%xmm0
  movss  %xmm1,0xc(%rsp)
  call   <cos@plt>
  movss  0xc(%rsp),%xmm1
  movsd  %xmm0,(%rsp)
  movaps %xmm1,%xmm0
  call   <cos@plt>
  mov    D84(%rip),%rax
  movsd  (%rsp),%xmm3
  movapd %xmm0,%xmm4
  movss  D59(%rip),%xmm0
  movq   %rax,%xmm2
  movq   %rax,%xmm1
  mulsd  %xmm2,%xmm3
  mulsd  %xmm2,%xmm4
  subsd  %xmm3,%xmm1
  movq   %rax,%xmm3
  subsd  %xmm4,%xmm3
  mulsd  %xmm3,%xmm1
  cvtsd2ss %xmm1,%xmm1
  subss  %xmm1,%xmm0
L88:
  pxor   %xmm7,%xmm7
  ucomiss %xmm0,%xmm7
  ja     L98
  sqrtss %xmm0,%xmm0
  movss  %xmm0,0x0(%rbp,%r12,4)
  add    $0x1,%r12
  cmp    %r12,%rbx
  je     L12
L28:
  movss  D59(%rip),%xmm6
  pxor   %xmm0,%xmm0
  cvtsi2ss %r12d,%xmm0
  mulss  D82(%rip),%xmm0
  divss  0x8(%rsp),%xmm0
  comiss %xmm0,%xmm6
  jbe    L86
L32:
  cvtss2sd %xmm0,%xmm0
  mulsd  D5(%rip),%xmm0
  pxor   %xmm1,%xmm1
  cvtsd2ss %xmm0,%xmm1
  movaps %xmm1,%xmm0
  movss  %xmm1,0xc(%rsp)
  call   <cos@plt>
  movss  0xc(%rsp),%xmm1
  movsd  %xmm0,(%rsp)
  movaps %xmm1,%xmm0
  call   <cos@plt>
  mov    D84(%rip),%rax
  movsd  (%rsp),%xmm3
  movq   %rax,%xmm2
  movq   %rax,%xmm1
  mulsd  %xmm2,%xmm0
  mulsd  %xmm2,%xmm3
  subsd  %xmm0,%xmm1
  movapd %xmm3,%xmm0
  movq   %rax,%xmm3
  subsd  %xmm0,%xmm3
  pxor   %xmm0,%xmm0
  mulsd  %xmm3,%xmm1
  cvtsd2ss %xmm1,%xmm0
  jmp    L88
  xchg   %ax,%ax
L64:
  movss  D98(%rip),%xmm6
  comiss %xmm0,%xmm6
  jbe    L51
  movaps %xmm0,%xmm1
  subss  D97(%rip),%xmm1
  jmp    L80
  nopl   (%rax)
L51:
  movss  D82(%rip),%xmm7
  subss  %xmm0,%xmm7
  movaps %xmm7,%xmm0
  jmp    L32
L98:
  call   <sqrtf@plt>
  movss  %xmm0,0x0(%rbp,%r12,4)
  add    $0x1,%r12
  cmp    %rbx,%r12
  jne    L28
L12:
  add    $0x10,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  ret
  cs nopw 0x0(%rax,%rax,1)
L39:
  ret
```

tool_calls: name: parse_data
arguments: data_label: D97
type: byte[4]
name: parse_data
arguments: data_label: D5
type: f64
name: parse_data
arguments: data_label: D84
type: byte[8]
name: parse_data
arguments: data_label: D59
type: byte[4]
name: parse_data
arguments: data_label: D82
type: f32
name: parse_data
arguments: data_label: D98
type: byte[4]

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

tool: D5: 1.9979

tool: {"D84": [0x00,0x00,0x00,0x00,0x00,0x00,0xe0,0x3f]}

tool: {"D59": [0x00,0x00,0x80,0x3f]}

tool: D82: 4

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

assistant: ```c
void conj_window(float *w, int len) {
  int i;
  for (i = 0; i < len; i++) {
    float x = 4 * ((float)i) / len;
    int inv = 0;
    if (x < 1) {
    } else if (x < 2) {
      x = 2 - x;
      inv = 1;
    } else if (x < 3) {
      x = x - 2;
      inv = 1;
    } else {
      x = 4 - x;
    }
    x *= 1.9979;
    w[i] = (.5 - .5 * cos(x)) * (.5 - .5 * cos(x));
    if (inv)
      w[i] = 1 - w[i];
    w[i] = sqrtf(w[i]);
  }
}
```