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

```asm
<SKP_Silk_NLSF_VQ_sum_error_FIX>:
  endbr64
  push   %r15
  mov    %rsi,%r11
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0x58,%rsp
  mov    0x90(%rsp),%ebp
  mov    %rcx,0x18(%rsp)
  mov    %r8d,(%rsp)
  mov    %r9d,0x4(%rsp)
  mov    %ebp,%ecx
  sar    %ecx
  mov    %fs:0x28,%rax
  mov    %rax,0x48(%rsp)
  xor    %eax,%eax
  test   %ecx,%ecx
  jle    L71
  mov    %rdx,%rsi
  lea    0x20(%rsp),%rdi
  nopl   (%rax)
L79:
  mov    0x4(%rsi,%rax,8),%edx
  shl    $0x10,%edx
  or     (%rsi,%rax,8),%edx
  mov    %edx,(%rdi,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%ecx
  jg     L79
L71:
  mov    (%rsp),%edx
  test   %edx,%edx
  jle    L64
  movslq 0x4(%rsp),%rax
  xor    %r15d,%r15d
  mov    %rax,%rdi
  shl    $0x2,%rax
  mov    %rax,0x8(%rsp)
  movslq %ebp,%rax
  shl    $0x2,%rax
  mov    %rax,0x10(%rsp)
  lea    -0x1(%rdi),%eax
  lea    0x4(%rbx,%rax,4),%r13
  lea    -0x1(%rbp),%eax
  shr    %eax
  lea    0x1(%rax),%r14d
  shl    $0x2,%r14
  nopl   (%rax)
L74:
  mov    0x4(%rsp),%eax
  test   %eax,%eax
  jle    L75
  mov    0x18(%rsp),%r10
  mov    %rbx,%r12
  nopl   0x0(%rax)
L61:
  xor    %edx,%edx
  xor    %esi,%esi
  mov    %edx,%r8d
  test   %ebp,%ebp
  jle    L1
  nopl   0x0(%rax,%rax,1)
L8:
  mov    (%r11,%rsi,4),%ecx
  mov    %esi,%eax
  sub    (%r10,%rsi,2),%cx
  sar    %eax
  movswl %cx,%ecx
  imul   %ecx,%ecx
  cltq
  mov    0x20(%rsp,%rax,4),%edi
  mov    0x4(%r11,%rsi,4),%eax
  sub    0x2(%r10,%rsi,2),%ax
  add    $0x2,%rsi
  movswl %di,%r9d
  movzwl %cx,%edx
  cwtl
  sar    $0x10,%ecx
  imul   %r9d,%edx
  sar    $0x10,%edi
  imul   %eax,%eax
  imul   %r9d,%ecx
  sar    $0x10,%edx
  add    %ecx,%edx
  mov    %eax,%ecx
  movzwl %ax,%eax
  sar    $0x10,%ecx
  imul   %edi,%eax
  add    %r8d,%edx
  imul   %edi,%ecx
  sar    $0x10,%eax
  add    %ecx,%edx
  lea    (%rax,%rdx,1),%r8d
  cmp    %esi,%ebp
  jg     L8
  mov    %r8d,%edx
  add    %r14,%r10
L1:
  mov    %edx,(%r12)
  add    $0x4,%r12
  cmp    %r12,%r13
  jne    L61
L75:
  mov    0x8(%rsp),%rax
  add    0x10(%rsp),%r11
  add    $0x1,%r15d
  add    %rax,%rbx
  add    %rax,%r13
  cmp    %r15d,(%rsp)
  jne    L74
L64:
  mov    0x48(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L11
  add    $0x58,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L11:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void SKP_Silk_NLSF_VQ_sum_error_FIX(int *err_Q20, const int *in_Q15, const int *w_Q6, const short *pCB_Q15, const int N, const int K, const int LPC_order) {
  int i, n, m;
  int diff_Q15, sum_error, Wtmp_Q6;
  int Wcpy_Q6[16 / 2];
  const short *cb_vec_Q15;
  ;
  ;
  for (m = 0; m < ((LPC_order) >> (1)); m++) {
    Wcpy_Q6[m] = w_Q6[2 * m] | (((int)w_Q6[2 * m + 1]) << (16));
  }
  for (n = 0; n < N; n++) {
    cb_vec_Q15 = pCB_Q15;
    for (i = 0; i < K; i++) {
      sum_error = 0;
      for (m = 0; m < LPC_order; m += 2) {
        Wtmp_Q6 = Wcpy_Q6[((m) >> (1))];
        diff_Q15 = in_Q15[m] - *cb_vec_Q15++;
        sum_error = ((sum_error) + ((((((int)((short)(diff_Q15)) * (int)((short)(diff_Q15)))) >> 16) * (int)((short)(Wtmp_Q6))) + ((((((int)((short)(diff_Q15)) * (int)((short)(diff_Q15)))) & 0x0000FFFF) * (int)((short)(Wtmp_Q6))) >> 16)));
        diff_Q15 = in_Q15[m + 1] - *cb_vec_Q15++;
        sum_error = ((sum_error) + (((((int)((short)(diff_Q15)) * (int)((short)(diff_Q15)))) >> 16) * ((Wtmp_Q6) >> 16)) + ((((((int)((short)(diff_Q15)) * (int)((short)(diff_Q15)))) & 0x0000FFFF) * ((Wtmp_Q6) >> 16)) >> 16));
      };
      err_Q20[i] = sum_error;
    }
    err_Q20 += K;
    in_Q15 += LPC_order;
  }
}
```