user: Translate the below assembly code into C programming language:

```asm
<SKP_Silk_NLSF_VQ_sum_error_FIX>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x68,%rsp
  mov    %rdi,%rbx
  mov    %rsi,%r11
  mov    %rdx,%rsi
  mov    %rcx,0x28(%rsp)
  mov    %r8d,0x10(%rsp)
  mov    %r9d,0x14(%rsp)
  mov    0xa0(%rsp),%ebp
  mov    %fs:0x28,%rax
  mov    %rax,0x58(%rsp)
  xor    %eax,%eax
  mov    %ebp,%ecx
  sar    %ecx
  test   %ecx,%ecx
  jle    L8
L68:
  mov    0x4(%rsi,%rax,8),%edx
  shl    $0x10,%edx
  or     (%rsi,%rax,8),%edx
  mov    %edx,0x30(%rsp,%rax,4)
  add    $0x1,%rax
  cmp    %eax,%ecx
  jg     L68
L8:
  cmpl   $0x0,0x10(%rsp)
  jle    L108
  mov    0x14(%rsp),%edi
  movslq %edi,%rax
  shl    $0x2,%rax
  mov    %rax,0x18(%rsp)
  movslq %ebp,%rax
  shl    $0x2,%rax
  mov    %rax,0x20(%rsp)
  lea    -0x1(%rdi),%eax
  lea    0x4(%rbx,%rax,4),%r13
  lea    -0x1(%rbp),%eax
  shr    %eax
  lea    0x1(%rax),%eax
  shl    $0x2,%rax
  mov    %rax,0x8(%rsp)
  mov    $0x0,%r15d
  mov    $0x0,%r14d
  jmp    L13
L60:
  mov    %esi,%eax
  sar    %eax
  cltq
  mov    0x30(%rsp,%rax,4),%edi
  mov    (%r11,%rsi,4),%ecx
  sub    (%r10,%rsi,2),%cx
  movswl %cx,%ecx
  imul   %ecx,%ecx
  movswl %di,%r9d
  mov    0x4(%r11,%rsi,4),%eax
  sub    0x2(%r10,%rsi,2),%ax
  cwtl
  imul   %eax,%eax
  sar    $0x10,%edi
  movzwl %cx,%edx
  imul   %r9d,%edx
  sar    $0x10,%edx
  sar    $0x10,%ecx
  imul   %r9d,%ecx
  add    %ecx,%edx
  add    %r8d,%edx
  mov    %eax,%ecx
  sar    $0x10,%ecx
  imul   %edi,%ecx
  add    %ecx,%edx
  movzwl %ax,%eax
  imul   %edi,%eax
  sar    $0x10,%eax
  lea    (%rax,%rdx,1),%r8d
  add    $0x2,%rsi
  cmp    %esi,%ebp
  jg     L60
  mov    %r8d,%edx
  add    0x8(%rsp),%r10
L24:
  mov    %edx,(%r12)
  add    $0x4,%r12
  cmp    %r13,%r12
  je     L107
L27:
  mov    $0x0,%esi
  mov    %r14d,%edx
  mov    %r14d,%r8d
  test   %ebp,%ebp
  jg     L60
  jmp    L24
L107:
  mov    0x18(%rsp),%rax
  add    %rax,%rbx
  add    0x20(%rsp),%r11
  add    $0x1,%r15d
  add    %rax,%r13
  cmp    %r15d,0x10(%rsp)
  je     L108
L13:
  cmpl   $0x0,0x14(%rsp)
  jle    L107
  mov    %rbx,%r12
  mov    0x28(%rsp),%r10
  jmp    L27
L108:
  mov    0x58(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L106
  add    $0x68,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L106:
  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;
  }
}
```