user: 请将以下的汇编代码转换成C语言代码:

```asm
<SKP_Silk_schur>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  mov    %edx,%r12d
  push   %rbp
  mov    %rdi,%rbp
  push   %rbx
  mov    %rsi,%rbx
  sub    $0xa8,%rsp
  mov    (%rsi),%edi
  mov    %fs:0x28,%rax
  mov    %rax,0x98(%rsp)
  xor    %eax,%eax
  call   <SKP_Silk_CLZ32@plt>
  cmp    $0x1,%eax
  jle    L74
  cmp    $0x2,%eax
  je     L22
  lea    -0x2(%rax),%ecx
  test   %r12d,%r12d
  js     L13
  lea    0x14(%rsp),%rdi
  movslq %r12d,%rdx
  mov    %rbx,%rax
  mov    %rdi,0x8(%rsp)
  mov    %rdi,%rsi
  lea    0x4(%rbx,%rdx,4),%rdi
  xchg   %ax,%ax
L48:
  mov    (%rax),%edx
  add    $0x4,%rax
  add    $0x8,%rsi
  shl    %cl,%edx
  mov    %edx,-0x8(%rsi)
  mov    %edx,-0xc(%rsi)
  cmp    %rax,%rdi
  jne    L48
L63:
  test   %r12d,%r12d
  jle    L13
  lea    0x1c(%rsp),%rax
  sub    $0x1,%r12d
  xor    %r15d,%r15d
  mov    %rax,(%rsp)
  lea    0x10(%rsp),%r14
  nopl   (%rax)
L112:
  mov    0x14(%rsp),%r13d
  mov    0x8(%r14,%r15,8),%ebx
  mov    $0x1,%esi
  mov    %r13d,%edi
  sar    $0xf,%edi
  call   <SKP_max_32@plt>
  mov    %eax,%r9d
  mov    %ebx,%eax
  cltd
  idiv   %r9d
  cmp    $0xffff8001,%eax
  jl     L58
  mov    $0xffff8000,%edx
  neg    %eax
  cmp    %edx,%eax
  cmovl  %edx,%eax
  mov    %eax,%edx
L37:
  mov    (%rsp),%rcx
  mov    0x8(%rsp),%rsi
  mov    %dx,0x0(%rbp,%r15,2)
  mov    %r12d,%edx
  lea    (%rcx,%rdx,8),%rdi
  jmp    L131
  nopl   0x0(%rax)
L72:
  mov    (%rsi),%r13d
  mov    0x4(%rsi,%r15,8),%ebx
L131:
  lea    0x0(%r13,%r13,1),%r9d
  movzwl %r9w,%edx
  sar    $0x10,%r9d
  imul   %eax,%edx
  imul   %eax,%r9d
  sar    $0x10,%edx
  add    %r9d,%edx
  add    %ebx,%edx
  add    %ebx,%ebx
  mov    %edx,0x4(%rsi,%r15,8)
  movzwl %bx,%edx
  sar    $0x10,%ebx
  add    $0x8,%rsi
  imul   %eax,%edx
  imul   %eax,%ebx
  sar    $0x10,%edx
  add    %ebx,%edx
  add    %r13d,%edx
  mov    %edx,-0x8(%rsi)
  cmp    %rdi,%rsi
  jne    L72
  add    $0x1,%r15
  sub    $0x1,%r12d
  jae    L112
L13:
  mov    0x98(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L19
  add    $0xa8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L22:
  test   %r12d,%r12d
  js     L13
  lea    0x14(%rsp),%rcx
  mov    %rbx,%rax
  mov    %rcx,0x8(%rsp)
  mov    %rcx,%rdx
  movslq %r12d,%rcx
  lea    0x4(%rbx,%rcx,4),%rsi
  nop
L118:
  mov    (%rax),%ecx
  add    $0x4,%rax
  add    $0x8,%rdx
  mov    %ecx,-0x8(%rdx)
  mov    %ecx,-0xc(%rdx)
  cmp    %rax,%rsi
  jne    L118
  jmp    L63
  nopw   0x0(%rax,%rax,1)
L58:
  mov    $0x7fff,%eax
  mov    $0x7fff,%edx
  jmp    L37
L74:
  test   %r12d,%r12d
  js     L13
  lea    0x14(%rsp),%rcx
  movslq %r12d,%rdx
  mov    %rbx,%rax
  mov    %rcx,0x8(%rsp)
  lea    0x4(%rbx,%rdx,4),%rsi
  nopl   0x0(%rax)
L97:
  mov    (%rax),%edx
  add    $0x4,%rax
  add    $0x8,%rcx
  sar    %edx
  mov    %edx,-0x8(%rcx)
  mov    %edx,-0xc(%rcx)
  cmp    %rax,%rsi
  jne    L97
  jmp    L63
L19:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
void SKP_Silk_schur(short *rc_Q15, const int *c, const int order) {
  int k, n, lz;
  int C[16 + 1][2];
  int Ctmp1, Ctmp2, rc_tmp_Q15;
  lz = SKP_Silk_CLZ32(c[0]);
  if (lz < 2) {
    for (k = 0; k < order + 1; k++) {
      C[k][0] = C[k][1] = ((c[k]) >> (1));
    }
  } else if (lz > 2) {
    lz -= 2;
    for (k = 0; k < order + 1; k++) {
      C[k][0] = C[k][1] = ((c[k]) << (lz));
    }
  } else {
    for (k = 0; k < order + 1; k++) {
      C[k][0] = C[k][1] = c[k];
    }
  }
  for (k = 0; k < order; k++) {
    rc_tmp_Q15 = -((int)((C[k + 1][0]) / (SKP_max_32(((C[0][1]) >> (15)), 1))));
    rc_tmp_Q15 = ((rc_tmp_Q15) > 0x7FFF ? 0x7FFF : ((rc_tmp_Q15) < ((short)0x8000) ? ((short)0x8000) : (rc_tmp_Q15)));
    rc_Q15[k] = (short)rc_tmp_Q15;
    for (n = 0; n < order - k; n++) {
      Ctmp1 = C[n + k + 1][0];
      Ctmp2 = C[n][1];
      C[n + k + 1][0] = ((Ctmp1) + ((((((Ctmp2) << (1))) >> 16) * (int)((short)(rc_tmp_Q15))) + ((((((Ctmp2) << (1))) & 0x0000FFFF) * (int)((short)(rc_tmp_Q15))) >> 16)));
      C[n][1] = ((Ctmp2) + ((((((Ctmp1) << (1))) >> 16) * (int)((short)(rc_tmp_Q15))) + ((((((Ctmp1) << (1))) & 0x0000FFFF) * (int)((short)(rc_tmp_Q15))) >> 16)));
    }
  }
}
```