user: What would the C source look like for the assembly code provided here:

```asm
<SKP_Silk_LPC_analysis_filter>:
  endbr64
  push   %r15
  mov    %r9d,%r11d
  push   %r14
  sar    %r11d
  push   %r13
  mov    %rcx,%r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  mov    %rdx,%rdi
  sub    $0x48,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0x38(%rsp)
  xor    %eax,%eax
  lea    0x10(%rsp),%r10
  test   %r11d,%r11d
  jle    L24
  nopl   0x0(%rax,%rax,1)
L32:
  movswl 0x2(%rsi,%rax,4),%ecx
  movzwl (%rsi,%rax,4),%edx
  shl    $0x10,%ecx
  or     %ecx,%edx
  mov    %edx,(%r10,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%r11d
  jg     L32
L24:
  test   %r8d,%r8d
  jle    L34
  sub    $0x1,%r11d
  movslq %r9d,%r9
  movswl (%rdi),%edx
  movslq %r8d,%r14
  movslq %r11d,%rax
  lea    -0x2(%rdi,%r9,2),%r12
  xor    %ebp,%ebp
  mov    0x10(%rsp,%rax,4),%eax
  movswl %ax,%r15d
  sar    $0x10,%eax
  mov    %eax,0xc(%rsp)
  nopw   0x0(%rax,%rax,1)
L121:
  test   %r11d,%r11d
  jle    L102
  xor    %ecx,%ecx
  xor    %eax,%eax
  lea    0x10(%rsp),%r10
  nopw   0x0(%rax,%rax,1)
L114:
  mov    (%r10,%rcx,4),%esi
  movzwl 0x2(%rdi,%rcx,4),%r8d
  mov    %dx,0x2(%rdi,%rcx,4)
  movswl %si,%r9d
  sar    $0x10,%esi
  imul   %r9d,%edx
  add    %eax,%edx
  movswl %r8w,%eax
  imul   %eax,%esi
  lea    (%rsi,%rdx,1),%eax
  movswl 0x4(%rdi,%rcx,4),%edx
  mov    %r8w,0x4(%rdi,%rcx,4)
  add    $0x1,%rcx
  cmp    %ecx,%r11d
  jg     L114
L42:
  movzwl (%r12),%ecx
  mov    %dx,(%r12)
  imul   %r15d,%edx
  add    %eax,%edx
  movswl %cx,%eax
  imul   0xc(%rsp),%eax
  add    %edx,%eax
  movswl (%rbx,%rbp,2),%edx
  shl    $0xc,%edx
  mov    %edx,%ecx
  sub    %eax,%ecx
  js     L117
  add    $0x80000000,%eax
  test   %edx,%eax
  js     L100
  sar    $0xb,%ecx
  add    $0x1,%ecx
  mov    %ecx,%eax
  sar    %eax
  cmp    $0xffff,%ecx
  jle    L80
L13:
  mov    $0x7fff,%eax
L80:
  mov    %ax,0x0(%r13,%rbp,2)
  movswl (%rbx,%rbp,2),%edx
  add    $0x1,%rbp
  mov    %dx,(%rdi)
  cmp    %rbp,%r14
  jne    L121
L34:
  mov    0x38(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L89
  add    $0x48,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
  nopw   0x0(%rax,%rax,1)
L117:
  add    $0x80000000,%edx
  test   %eax,%edx
  js     L13
  sar    $0xb,%ecx
  add    $0x1,%ecx
  mov    %ecx,%eax
  sar    %eax
  cmp    $0xffff0000,%ecx
  jge    L80
  nopl   0x0(%rax)
L100:
  mov    $0xffff8000,%eax
  jmp    L80
  nop
L102:
  xor    %eax,%eax
  jmp    L42
L89:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void SKP_Silk_LPC_analysis_filter(const short *in, const short *B, short *S, short *out, const int len, const int Order) {
  int k, j, idx, Order_half = ((Order) >> (1));
  int Btmp, B_align_Q12[16 >> 1], out32_Q12, out32;
  short SA, SB;
  ;
  for (k = 0; k < Order_half; k++) {
    idx = ((int)((short)(2)) * (int)((short)(k)));
    B_align_Q12[k] = (((int)B[idx]) & 0x0000ffff) | (((int)B[idx + 1]) << (16));
  }
  for (k = 0; k < len; k++) {
    SA = S[0];
    out32_Q12 = 0;
    for (j = 0; j < (Order_half - 1); j++) {
      idx = ((int)((short)(2)) * (int)((short)(j))) + 1;
      Btmp = B_align_Q12[j];
      SB = S[idx];
      S[idx] = SA;
      out32_Q12 = ((out32_Q12) + ((int)((short)(SA))) * (int)((short)(Btmp)));
      out32_Q12 = ((out32_Q12) + ((int)((short)(SB))) * ((Btmp) >> 16));
      SA = S[idx + 1];
      S[idx + 1] = SB;
    }
    Btmp = B_align_Q12[Order_half - 1];
    SB = S[Order - 1];
    S[Order - 1] = SA;
    out32_Q12 = ((out32_Q12) + ((int)((short)(SA))) * (int)((short)(Btmp)));
    out32_Q12 = ((out32_Q12) + ((int)((short)(SB))) * ((Btmp) >> 16));
    out32_Q12 = (((((((int)in[k]) << (12))) - (out32_Q12)) & 0x80000000) == 0 ? ((((((int)in[k]) << (12))) & ((out32_Q12) ^ 0x80000000) & 0x80000000) ? ((int)0x80000000) : ((((int)in[k]) << (12))) - (out32_Q12)) : (((((((int)in[k]) << (12))) ^ 0x80000000) & (out32_Q12)&0x80000000) ? 0x7FFFFFFF : ((((int)in[k]) << (12))) - (out32_Q12)));
    out32 = ((12) == 1 ? ((out32_Q12) >> 1) + ((out32_Q12)&1) : (((out32_Q12) >> ((12) - 1)) + 1) >> 1);
    out[k] = (short)((out32) > 0x7FFF ? 0x7FFF : ((out32) < ((short)0x8000) ? ((short)0x8000) : (out32)));
    S[0] = in[k];
  }
}
```