user: Please show me the C implementation that matches the assembly code listed below:

```asm
<hybwin>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbx
  sub    $0x48,%rsp
  mov    %edi,%r15d
  mov    %edi,-0x48(%rbp)
  mov    %esi,%ebx
  mov    %edx,%esi
  mov    %edx,-0x4c(%rbp)
  mov    %r9,%r13
  mov    0x10(%rbp),%rdi
  mov    0x18(%rbp),%r9
  mov    %fs:0x28,%rax
  mov    %rax,-0x38(%rbp)
  xor    %eax,%eax
  lea    (%r15,%rbx,1),%edx
  mov    %r15d,%r12d
  add    %esi,%r12d
  lea    (%rdx,%rsi,1),%r10d
  movslq %r10d,%rax
  lea    0xf(,%rax,4),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%r11
  sub    %rax,%r11
L89:
  cmp    %r11,%rsp
  je     L163
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L89
L163:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L97
  orq    $0x0,-0x8(%rsp,%rax,1)
L97:
  mov    %rsp,%r14
  mov    -0x48(%rbp),%eax
  add    $0x1,%eax
  cltq
  lea    0x0(,%rax,4),%r15
  lea    0xf(%r15),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%r11
  sub    %rax,%r11
L109:
  cmp    %r11,%rsp
  je     L16
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L109
L16:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L117
  orq    $0x0,-0x8(%rsp,%rax,1)
L117:
  mov    %rsp,-0x58(%rbp)
  lea    0xf(%r15),%rax
  mov    %rax,%rsi
  and    $0xfffffffffffffff0,%rsi
  and    $0xfffffffffffff000,%rax
  mov    %rsp,%r11
  sub    %rax,%r11
L37:
  cmp    %r11,%rsp
  je     L193
  sub    $0x1000,%rsp
  orq    $0x0,0xff8(%rsp)
  jmp    L37
L193:
  mov    %rsi,%rax
  and    $0xfff,%eax
  sub    %rax,%rsp
  test   %rax,%rax
  je     L208
  mov    %rsi,%rax
  and    $0xfff,%eax
  orq    $0x0,-0x8(%rsp,%rax,1)
L208:
  mov    %rsp,-0x60(%rbp)
  test   %r12d,%r12d
  jle    L46
  movslq %ebx,%rsi
  lea    (%rcx,%rsi,4),%rax
  lea    -0x1(%r12),%r11d
  add    %rsi,%r11
  lea    0x4(%rcx,%r11,4),%r11
  neg    %rsi
  shl    $0x2,%rsi
L259:
  movss  (%rax),%xmm1
  movss  %xmm1,(%rax,%rsi,1)
  add    $0x4,%rax
  cmp    %r11,%rax
  jne    L259
L46:
  test   %ebx,%ebx
  jle    L279
  mov    %ebx,%r11d
  movslq %r12d,%r12
  lea    (%rcx,%r12,4),%rsi
  mov    $0x0,%eax
L7:
  movss  (%r8,%rax,4),%xmm1
  movss  %xmm1,(%rsi,%rax,4)
  add    $0x1,%rax
  cmp    %r11,%rax
  jne    L7
L279:
  movss  (%rcx),%xmm1
  movss  (%rdi),%xmm2
  cmp    $0x1,%r10d
  jle    L131
  lea    -0x1(%r10),%esi
  mov    $0x0,%eax
L53:
  movaps %xmm1,%xmm3
  mulss  %xmm2,%xmm3
  movss  0x4(%rcx,%rax,4),%xmm1
  movss  0x4(%rdi,%rax,4),%xmm2
  movss  %xmm3,(%r14,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%rsi
  jne    L53
  lea    (%r14,%rsi,4),%rax
L1:
  mulss  %xmm2,%xmm1
  movss  %xmm1,(%rax)
  mov    -0x48(%rbp),%eax
  test   %eax,%eax
  js     L104
  lea    -0x4(%r14,%r15,1),%r8
  movss  (%r8),%xmm4
  lea    (%r14,%r15,1),%r11
  mov    %eax,%esi
  mov    %rsi,-0x68(%rbp)
  shl    $0x2,%rsi
  mov    %rsi,-0x48(%rbp)
  mov    %r8,%r15
  sub    %rsi,%r15
  mov    -0x58(%rbp),%r12
  pxor   %xmm2,%xmm2
  lea    0x1(%rax),%edi
L154:
  lea    -0x4(%r11),%rsi
  subss  %xmm2,%xmm2
  movss  -0x4(%r11),%xmm1
  cmp    $0x1,%ebx
  jle    L54
  movaps %xmm4,%xmm3
  mov    $0x0,%eax
L276:
  mulss  %xmm3,%xmm1
  movss  0x4(%r8,%rax,4),%xmm3
  addss  %xmm1,%xmm2
  movss  0x4(%rsi,%rax,4),%xmm1
  add    $0x1,%rax
  lea    (%rdi,%rax,1),%ecx
  cmp    %edx,%ecx
  jl     L276
L105:
  mulss  %xmm1,%xmm3
  addss  %xmm3,%xmm2
  add    $0x4,%r12
  movss  %xmm2,-0x4(%r12)
  sub    $0x4,%r11
  cmp    %r11,%r15
  jne    L154
  mov    -0x68(%rbp),%rax
  lea    0x4(,%rax,4),%r8
  mov    $0x0,%eax
  mov    -0x58(%rbp),%rcx
L174:
  movaps %xmm0,%xmm1
  mulss  (%r9,%rax,1),%xmm1
  addss  (%rcx,%rax,1),%xmm1
  movss  %xmm1,(%r9,%rax,1)
  add    $0x4,%rax
  cmp    %rax,%r8
  jne    L174
  movslq %edx,%rax
  lea    (%r14,%rax,4),%rdi
  movss  (%rdi),%xmm3
  lea    0x4(%rdi),%r11
  mov    %rdi,%rbx
  sub    -0x48(%rbp),%rbx
  mov    -0x60(%rbp),%r12
  pxor   %xmm1,%xmm1
  add    $0x1,%edx
  mov    -0x4c(%rbp),%esi
L2:
  lea    -0x4(%r11),%rcx
  subss  %xmm1,%xmm1
  movss  -0x4(%r11),%xmm0
  cmp    $0x1,%esi
  jle    L70
  movaps %xmm3,%xmm2
  mov    $0x0,%eax
L29:
  mulss  %xmm2,%xmm0
  movss  0x4(%rdi,%rax,4),%xmm2
  addss  %xmm0,%xmm1
  movss  0x4(%rcx,%rax,4),%xmm0
  add    $0x1,%rax
  lea    (%rdx,%rax,1),%r14d
  cmp    %r14d,%r10d
  jg     L29
L247:
  mulss  %xmm0,%xmm2
  addss  %xmm2,%xmm1
  add    $0x4,%r12
  movss  %xmm1,-0x4(%r12)
  sub    $0x4,%r11
  cmp    %r11,%rbx
  jne    L2
  mov    $0x0,%eax
  mov    -0x60(%rbp),%rdx
L76:
  movss  (%r9,%rax,1),%xmm0
  addss  (%rdx,%rax,1),%xmm0
  movss  %xmm0,0x0(%r13,%rax,1)
  add    $0x4,%rax
  cmp    %rax,%r8
  jne    L76
L104:
  movss  D4(%rip),%xmm0
  mulss  0x0(%r13),%xmm0
  movss  %xmm0,0x0(%r13)
  mov    -0x38(%rbp),%rax
  sub    %fs:0x28,%rax
  jne    L148
  lea    -0x28(%rbp),%rsp
  pop    %rbx
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  pop    %rbp
  ret
L131:
  mov    %r14,%rax
  jmp    L1
L54:
  movaps %xmm4,%xmm3
  jmp    L105
L70:
  movaps %xmm3,%xmm2
  jmp    L247
L148:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: extract_symbolic_data
arguments: data_label: D4
type_guessed: byte[4]

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

assistant: ```c
void hybwin(int lpsize, int framesize, int nrsize, float old_input[], float new_input[], float output[], float window[], float rec[], float decay) {
  int N1 = lpsize + framesize;
  int N2 = lpsize + nrsize;
  int N3 = lpsize + framesize + nrsize;
  int i;
  float ws[N3];
  float tmp1[lpsize + 1], tmp2[lpsize + 1];
  for (i = 0; i < N2; i++)
    old_input[i] = old_input[i + framesize];
  for (i = 0; i < framesize; i++)
    old_input[N2 + i] = new_input[i];
  {
    typeof(&old_input[0]) __xp = old_input;
    typeof(&window[0]) __yp = window;
    typeof(&ws[0]) __zp = ws;
    int i;
    typeof(old_input[0]) __xi = *__xp++;
    typeof(window[0]) __yi = *__yp++;
    typeof(ws[0]) __zi;
    for (i = 1; i < N3; i++) {
      __zi = __xi * __yi;
      __xi = *__xp++;
      __yi = *__yp++;
      *__zp++ = __zi;
    }
    __zi = __xi * __yi;
    *__zp = __zi;
  };
  {
    int __k, __i, __M1 = lpsize + 1;
    typeof(&tmp1[0]) __rp = tmp1;
    typeof(*tmp1) __corr = 0;
    for (__k = 0; __k <= lpsize; __k++) {
      typeof(*tmp1) __t;
      typeof(&ws[0]) __xip = ws + lpsize, __xkp = __xip - __k;
      typeof(ws[0]) __xi, __xk;
      __corr = __corr - __corr;
      __xi = *__xip++;
      __xk = *__xkp++;
      for (__i = __M1; __i < N1; __i++) {
        __t = __xi * __xk;
        __xi = *__xip++;
        __corr += __t;
        __xk = *__xkp++;
      }
      __t = __xi * __xk;
      __corr += __t;
      *(__rp++) = __corr;
    }
  };
  for (i = 0; i <= lpsize; i++)
    rec[i] = decay * rec[i] + tmp1[i];
  {
    int __k, __i, __M1 = N1 + 1;
    typeof(&tmp2[0]) __rp = tmp2;
    typeof(*tmp2) __corr = 0;
    for (__k = 0; __k <= lpsize; __k++) {
      typeof(*tmp2) __t;
      typeof(&ws[0]) __xip = ws + N1, __xkp = __xip - __k;
      typeof(ws[0]) __xi, __xk;
      __corr = __corr - __corr;
      __xi = *__xip++;
      __xk = *__xkp++;
      for (__i = __M1; __i < N3; __i++) {
        __t = __xi * __xk;
        __xi = *__xip++;
        __corr += __t;
        __xk = *__xkp++;
      }
      __t = __xi * __xk;
      __corr += __t;
      *(__rp++) = __corr;
    }
  };
  for (i = 0; i <= lpsize; i++)
    output[i] = rec[i] + tmp2[i];
  output[0] *= (257. / 256.);
}
```