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

```asm
<make_window>:
  endbr64
  push   %r14
  lea    -0x5(%rdi),%eax
  mov    %edi,%r14d
  push   %r13
  push   %r12
  movslq %esi,%r12
  push   %rbp
  push   %rbx
  mov    %rcx,%rbx
  sub    $0x30,%rsp
  cmp    $0x1,%eax
  jbe    L282
  test   %edx,%edx
  je     L274
  mov    %r12d,%ebp
  cmp    $0x2,%edi
  je     L268
  shr    $0x1f,%ebp
  add    %r12d,%ebp
  sar    %ebp
L160:
  cmp    $0x9,%edx
  je     L271
  cmp    $0x8,%edx
  je     L193
  cmp    $0xffffffff,%r12d
  jl     L362
  pxor   %xmm7,%xmm7
  pxor   %xmm0,%xmm0
  pxor   %xmm1,%xmm1
  xor    %r13d,%r13d
  cvtsi2sd %r12d,%xmm7
  movsd  %xmm0,0x8(%rsp)
  cvtsi2sd %edx,%xmm1
  movsd  %xmm0,0x10(%rsp)
  movsd  %xmm7,0x20(%rsp)
  jmp    L213
  nopl   0x0(%rax)
L261:
  call   <sin@plt>
  movsd  0x18(%rsp),%xmm1
L213:
  movsd  %xmm1,0x18(%rsp)
  call   <pow@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ss %rax,%xmm0
  movss  %xmm0,(%rbx,%r13,4)
  mulss  %xmm0,%xmm0
  add    $0x1,%r13
  cvtss2sd %xmm0,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  movsd  D9(%rip),%xmm0
  divsd  0x20(%rsp),%xmm0
  addsd  0x10(%rsp),%xmm0
  movsd  %xmm0,0x10(%rsp)
  cmp    %r13d,%ebp
  jge    L261
L311:
  cmp    $0x3,%r14d
  je     L170
  movsd  0x8(%rsp),%xmm0
  addsd  %xmm0,%xmm0
  divsd  0x20(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  call   <sqrt@plt>
  pxor   %xmm1,%xmm1
  mov    %eax,%r8d
  mov    $0x1,%eax
  cltd
  idiv   %r8d
  cvtsi2sd %eax,%xmm1
L137:
  xor    %eax,%eax
  cvtsd2ss %xmm1,%xmm1
  nopl   0x0(%rax)
L377:
  movss  (%rbx,%rax,4),%xmm0
  mulss  %xmm1,%xmm0
  movss  %xmm0,(%rbx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%ebp
  jge    L377
L196:
  cmp    $0x4,%r14d
  je     L158
  cmp    $0x1,%r14d
  jne    L274
  movslq %ebp,%rax
  sub    $0x1,%ebp
  movss  0x4(%rbx),%xmm1
  movss  (%rbx,%rax,4),%xmm0
  movslq %ebp,%rax
  movss  %xmm0,0x4(%rbx)
  cmp    $0x1,%ebp
  jle    L164
  nopl   0x0(%rax,%rax,1)
L50:
  movss  (%rbx,%rax,4),%xmm0
  movss  %xmm0,(%rbx,%rax,8)
  sub    $0x1,%rax
  cmp    $0x1,%eax
  jg     L50
L164:
  movss  %xmm1,0x8(%rbx)
  cmp    $0x3,%r12d
  jle    L274
  movslq %r12d,%rax
  sub    $0x4,%r12d
  shr    %r12d
  lea    (%rbx,%rax,4),%rdx
  lea    0xc(%rbx),%rax
  mov    %r12d,%ecx
  lea    0x14(%rbx,%rcx,8),%rcx
L148:
  movss  -0x8(%rdx),%xmm0
  add    $0x8,%rax
  sub    $0x8,%rdx
  movss  %xmm0,-0x8(%rax)
  cmp    %rax,%rcx
  jne    L148
L274:
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax)
L282:
  pxor   %xmm0,%xmm0
  movsd  D86(%rip),%xmm1
  mov    %r12d,%r13d
  cvtsi2sd %r12d,%xmm0
  shr    $0x1f,%r13d
  add    %r12d,%r13d
  sar    %r13d
  divsd  %xmm0,%xmm1
  movsd  %xmm1,0x18(%rsp)
  cmp    $0xffffffff,%r12d
  jl     L123
  movss  D125(%rip),%xmm6
  movsd  D22(%rip),%xmm1
  xor    %ebp,%ebp
  movss  %xmm6,0x10(%rsp)
  xchg   %ax,%ax
L296:
  movapd %xmm1,%xmm0
  movsd  %xmm1,0x8(%rsp)
  call   <erfc@plt>
  pxor   %xmm0,%xmm0
  movsd  0x8(%rsp),%xmm1
  subsd  0x18(%rsp),%xmm1
  cvtsi2ss %rax,%xmm0
  mulss  0x10(%rsp),%xmm0
  movss  %xmm0,(%rbx,%rbp,4)
  add    $0x1,%rbp
  cmp    %ebp,%r13d
  jge    L296
L123:
  cmp    $0x5,%r14d
  je     L274
  cmp    $0x1,%r12d
  jle    L274
  lea    (%rbx,%r12,4),%r12
  xor    %ebp,%ebp
  nopw   0x0(%rax,%rax,1)
L134:
  pxor   %xmm0,%xmm0
  mov    D33(%rip),%rax
  sub    $0x4,%r12
  cvtss2sd (%rbx,%rbp,4),%xmm0
  addsd  D87(%rip),%xmm0
  movq   %rax,%xmm1
  call   <pow@plt>
  pxor   %xmm0,%xmm0
  cvtsi2ss %rax,%xmm0
  movss  %xmm0,(%rbx,%rbp,4)
  add    $0x1,%rbp
  movss  %xmm0,(%r12)
  cmp    %ebp,%r13d
  jg     L134
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopl   0x0(%rax,%rax,1)
L193:
  pxor   %xmm6,%xmm6
  movsd  D106(%rip),%xmm0
  cvtsi2sd %r12d,%xmm6
  divsd  %xmm6,%xmm0
  movsd  %xmm6,0x20(%rsp)
  movsd  %xmm0,0x18(%rsp)
  cmp    $0x1,%r12d
  jle    L46
  pxor   %xmm2,%xmm2
  movslq %ebp,%r13
  movsd  %xmm2,0x8(%rsp)
  nopl   0x0(%rax,%rax,1)
L42:
  movapd %xmm2,%xmm1
  xorpd  D139(%rip),%xmm1
  mov    D53(%rip),%rax
  movsd  %xmm2,0x10(%rsp)
  mulsd  %xmm2,%xmm1
  movq   %rax,%xmm0
  call   <pow@plt>
  pxor   %xmm0,%xmm0
  movsd  0x10(%rsp),%xmm2
  addsd  0x18(%rsp),%xmm2
  cvtsi2ss %rax,%xmm0
  movss  %xmm0,(%rbx,%r13,4)
  mulss  %xmm0,%xmm0
  sub    $0x1,%r13
  cvtss2sd %xmm0,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  test   %r13d,%r13d
  jg     L42
  cmp    $0x3,%r14d
  jne    L334
  movss  D1(%rip),%xmm1
  movss  %xmm1,(%rbx)
L253:
  mov    $0x1,%eax
  nopw   0x0(%rax,%rax,1)
L387:
  movaps %xmm1,%xmm0
  divss  (%rbx,%rax,4),%xmm0
  movss  %xmm0,(%rbx,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%ebp
  jge    L387
  add    $0x30,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  ret
  nopw   0x0(%rax,%rax,1)
L271:
  pxor   %xmm2,%xmm2
  movsd  D108(%rip),%xmm0
  cvtsi2sd %r12d,%xmm2
  divsd  %xmm2,%xmm0
  movsd  %xmm2,0x20(%rsp)
  movsd  %xmm0,0x28(%rsp)
  cmp    $0x7f,%r12d
  jg     L114
  divsd  D128(%rip),%xmm0
  movsd  %xmm0,0x28(%rsp)
  cmp    $0x3f,%r12d
  jg     L132
  divsd  D7(%rip),%xmm0
  movsd  %xmm0,0x28(%rsp)
L132:
  cmp    $0xffffffff,%r12d
  jl     L362
L114:
  pxor   %xmm7,%xmm7
  movsd  D10(%rip),%xmm1
  xor    %r13d,%r13d
  movsd  %xmm7,0x8(%rsp)
  movss  D125(%rip),%xmm7
  movss  %xmm7,0x10(%rsp)
  xchg   %ax,%ax
L383:
  movapd %xmm1,%xmm0
  movsd  %xmm1,0x18(%rsp)
  call   <erfc@plt>
  pxor   %xmm0,%xmm0
  movsd  0x18(%rsp),%xmm1
  subsd  0x28(%rsp),%xmm1
  cvtsi2ss %rax,%xmm0
  mulss  0x10(%rsp),%xmm0
  movss  %xmm0,(%rbx,%r13,4)
  mulss  %xmm0,%xmm0
  add    $0x1,%r13
  cvtss2sd %xmm0,%xmm0
  addsd  0x8(%rsp),%xmm0
  movsd  %xmm0,0x8(%rsp)
  cmp    %r13d,%ebp
  jge    L383
  jmp    L311
  nopw   0x0(%rax,%rax,1)
L268:
  add    %r12d,%r12d
  jmp    L160
L158:
  lea    0x1(%rbp),%eax
  cmp    %eax,%r12d
  jle    L274
  lea    -0x2(%r12),%edx
  cltq
  movslq %r12d,%rcx
  sub    %ebp,%edx
  movslq %ebp,%rbp
  lea    (%rbx,%rax,4),%rax
  shl    $0x2,%rcx
  add    %rbp,%rdx
  lea    0x8(%rbx,%rdx,4),%rsi
  nopl   0x0(%rax,%rax,1)
L250:
  mov    %rcx,%rdx
  sub    %rax,%rdx
  add    $0x4,%rax
  movss  (%rdx,%rbx,2),%xmm0
  movss  %xmm0,-0x4(%rax)
  cmp    %rax,%rsi
  jne    L250
  jmp    L274
  xchg   %ax,%ax
L170:
  movss  D1(%rip),%xmm1
  movss  %xmm1,(%rbx)
  cmp    $0x1,%r12d
  jg     L253
  jmp    L274
  nopl   0x0(%rax,%rax,1)
L362:
  cmp    $0x3,%r14d
  je     L341
  pxor   %xmm1,%xmm1
  pxor   %xmm0,%xmm0
  cvtsi2sd %r12d,%xmm1
  divsd  %xmm1,%xmm0
  cvttsd2si %xmm0,%edi
  call   <sqrt@plt>
  jmp    L196
L341:
  movl   $0x3f800000,(%rbx)
  jmp    L274
L46:
  cmp    $0x3,%r14d
  je     L341
  pxor   %xmm0,%xmm0
  divsd  0x20(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  call   <sqrt@plt>
  mov    %eax,%ecx
  cmp    $0xffffffff,%r12d
  jl     L196
L17:
  mov    $0x1,%eax
  pxor   %xmm1,%xmm1
  cltd
  idiv   %ecx
  cvtsi2sd %eax,%xmm1
  jmp    L137
L334:
  movsd  0x8(%rsp),%xmm0
  addsd  %xmm0,%xmm0
  divsd  0x20(%rsp),%xmm0
  cvttsd2si %xmm0,%edi
  call   <sqrt@plt>
  mov    %eax,%ecx
  jmp    L17
```

tool_calls: name: retrieve_data
arguments: data_label: D9
data_type: f64
name: retrieve_data
arguments: data_label: D86
data_type: f64
name: retrieve_data
arguments: data_label: D125
data_type: byte[4]
name: retrieve_data
arguments: data_label: D22
data_type: f64
name: retrieve_data
arguments: data_label: D33
data_type: byte[8]
name: retrieve_data
arguments: data_label: D87
data_type: byte[8]
name: retrieve_data
arguments: data_label: D106
data_type: f64
name: retrieve_data
arguments: data_label: D139
data_type: byte[16]
name: retrieve_data
arguments: data_label: D53
data_type: f64
name: retrieve_data
arguments: data_label: D1
data_type: byte[4]
name: retrieve_data
arguments: data_label: D108
data_type: f64
name: retrieve_data
arguments: data_label: D128
data_type: f64
name: retrieve_data
arguments: data_label: D7
data_type: f64
name: retrieve_data
arguments: data_label: D10
data_type: f64

tool: D9: 3.141592653589793

tool: D86: 13

tool: {"D125": [0x00,0x00,0x00,0x3f]}

tool: D22: 3.2

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

tool: {"D87": [0xfc,0xa9,0xf1,0xd2,0x4d,0x62,0x40,0x3f]}

tool: D106: 8.4

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

tool: D53: 2.7

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

tool: D108: 80

tool: D128: 1.5

tool: D7: 1.7

tool: D10: 3.6

assistant: ```c
void make_window(int mo, int sz, int n, float *win) {
  double x, z, sumsq;
  double e1, e2;
  float t1;
  int i, size;
  if (mo == 5 || mo == 6) {
    e1 = 3.2;
    e2 = 13.0 / sz;
    for (i = 0; i <= sz / 2; i++) {
      win[i] = 0.5F * (float)erfc(e1);
      e1 -= e2;
    }
    if (mo == 5)
      return;
    for (i = 0; i < sz / 2; i++) {
      win[i] = (float)pow(win[i] + .0005, -2.0);
      win[sz - i - 1] = win[i];
    }
    return;
  }
  if (n == 0)
    return;
  size = sz;
  z = n;
  if (mo == 2)
    size = 2 * sz;
  sumsq = 0;
  if (n == 9) {
    e1 = 3.6;
    e2 = 80.0 / size;
    if (size < 128)
      e2 /= 1.5;
    if (size < 64)
      e2 /= 1.7;
    for (i = 0; i <= size / 2; i++) {
      win[i] = 0.5F * (float)erfc(e1);
      sumsq += win[i] * win[i];
      e1 -= e2;
    }
  } else {
    if (n == 8) {
      e1 = 0;
      e2 = 8.4 / size;
      for (i = size / 2; i > 0; i--) {
        win[i] = (float)pow(2.7, -e1 * e1);
        sumsq += win[i] * win[i];
        e1 += e2;
      }
    } else {
      x = 0;
      for (i = 0; i <= size / 2; i++) {
        win[i] = (float)pow(sin(x), z);
        sumsq += win[i] * win[i];
        x += 3.1415926535897932 / size;
      }
    }
  }
  if (mo == 5)
    return;
  if (mo == 3) {
    win[0] = 1;
    for (i = 1; i <= size / 2; i++) {
      win[i] = 1 / win[i];
    }
    return;
  }
  z = 1 / sqrt(2 * sumsq / size);
  for (i = 0; i <= size / 2; i++) {
    win[i] *= (float)z;
  }
  if (mo == 4) {
    for (i = size / 2 + 1; i < size; i++) {
      win[i] = win[size - i];
    }
    return;
  }
  if (mo == 1) {
    t1 = win[1];
    win[1] = win[size / 2];
    for (i = size / 2 - 1; i > 1; i--) {
      win[2 * i] = win[i];
    }
    win[2] = t1;
    for (i = 0; i < size - 3; i += 2) {
      win[i + 3] = win[size - i - 2];
    }
  }
}
```