user: What is the c source code of the assembly code below:

```asm
<SKP_Silk_LPC_inverse_pred_gain>:
  endbr64
  push   %r15
  push   %r14
  mov    %edx,%r14d
  push   %r13
  and    $0x1,%r14d
  push   %r12
  shl    $0x6,%r14
  push   %rbp
  push   %rbx
  mov    %rdi,%rbx
  sub    $0xb8,%rsp
  mov    %fs:0x28,%rax
  mov    %rax,0xa8(%rsp)
  xor    %eax,%eax
  lea    0x20(%rsp),%rax
  mov    %rax,0x18(%rsp)
  add    %rax,%r14
  test   %edx,%edx
  jle    L33
  lea    -0x1(%rdx),%edi
  mov    %rsi,%rcx
  cmp    $0x6,%edi
  jbe    L104
  mov    %edx,%esi
  xor    %eax,%eax
  pxor   %xmm3,%xmm3
  shr    $0x3,%esi
  shl    $0x4,%rsi
  nopl   0x0(%rax)
L77:
  movdqu (%rcx,%rax,1),%xmm0
  movdqa %xmm3,%xmm2
  pcmpgtw %xmm0,%xmm2
  movdqa %xmm0,%xmm1
  punpcklwd %xmm2,%xmm1
  punpckhwd %xmm2,%xmm0
  pslld  $0x4,%xmm1
  pslld  $0x4,%xmm0
  movaps %xmm1,(%r14,%rax,2)
  movaps %xmm0,0x10(%r14,%rax,2)
  add    $0x10,%rax
  cmp    %rsi,%rax
  jne    L77
  mov    %edx,%eax
  and    $0xfffffff8,%eax
  test   $0x7,%dl
  je     L118
L56:
  movslq %eax,%r9
  movswl (%rcx,%r9,2),%r10d
  lea    (%r9,%r9,1),%r8
  lea    0x0(,%r9,4),%rsi
  shl    $0x4,%r10d
  mov    %r10d,(%r14,%r9,4)
  lea    0x1(%rax),%r9d
  cmp    %r9d,%edx
  jle    L103
  movswl 0x2(%rcx,%r8,1),%r9d
  shl    $0x4,%r9d
  mov    %r9d,0x4(%r14,%rsi,1)
  lea    0x2(%rax),%r9d
  cmp    %r9d,%edx
  jle    L118
  movswl 0x4(%rcx,%r8,1),%r9d
  shl    $0x4,%r9d
  mov    %r9d,0x8(%r14,%rsi,1)
  lea    0x3(%rax),%r9d
  cmp    %r9d,%edx
  jle    L118
  movswl 0x6(%rcx,%r8,1),%r9d
  shl    $0x4,%r9d
  mov    %r9d,0xc(%r14,%rsi,1)
  lea    0x4(%rax),%r9d
  cmp    %r9d,%edx
  jle    L118
  movswl 0x8(%rcx,%r8,1),%r9d
  shl    $0x4,%r9d
  mov    %r9d,0x10(%r14,%rsi,1)
  lea    0x5(%rax),%r9d
  cmp    %r9d,%edx
  jle    L118
  movswl 0xa(%rcx,%r8,1),%r9d
  add    $0x6,%eax
  shl    $0x4,%r9d
  mov    %r9d,0x14(%r14,%rsi,1)
  cmp    %eax,%edx
  jle    L118
  movswl 0xc(%rcx,%r8,1),%eax
  shl    $0x4,%eax
  mov    %eax,0x18(%r14,%rsi,1)
L118:
  movl   $0x40000000,(%rbx)
  mov    %edi,%r15d
L52:
  movslq %edi,%rdi
  lea    0x0(,%rdi,4),%rbp
  cs nopw 0x0(%rax,%rax,1)
L12:
  lea    (%r14,%rbp,1),%rdx
  mov    (%rdx),%r13d
  lea    0xfff0(%r13),%eax
  cmp    $0x1ffe0,%eax
  ja     L159
  shl    $0xf,%r13d
  mov    $0x3fffffff,%r12d
  mov    $0x2e,%esi
  mov    %rdx,0x10(%rsp)
  neg    %r13d
  movslq %r13d,%r13
  mov    %r13,%rax
  imul   %r13,%rax
  sar    $0x20,%rax
  sub    %eax,%r12d
  mov    %r12d,%edi
  call   <SKP_INVERSE32_varQ@plt>
  movslq %r12d,%rcx
  mov    %r15d,%esi
  mov    %eax,%r9d
  movslq (%rbx),%rax
  and    $0x1,%esi
  mov    %r9d,%edi
  shl    $0x6,%rsi
  mov    %r9d,0xc(%rsp)
  imul   %rcx,%rax
  sar    $0x20,%rax
  shl    $0x2,%eax
  mov    %eax,(%rbx)
  mov    0x18(%rsp),%rax
  lea    (%rax,%rsi,1),%r12
  call   <SKP_Silk_CLZ32@plt>
  mov    0xc(%rsp),%r9d
  mov    0x10(%rsp),%rdi
  xor    %edx,%edx
  sub    $0x1,%eax
  mov    %eax,%ecx
  shl    %cl,%r9d
  mov    $0x10,%ecx
  movslq %r9d,%r9
  sub    %eax,%ecx
  nopl   (%rax)
L8:
  movslq -0x4(%rdi),%r10
  mov    (%r14,%rdx,4),%eax
  sub    $0x4,%rdi
  imul   %r13,%r10
  sar    $0x20,%r10
  add    %r10d,%r10d
  sub    %r10d,%eax
  cltq
  imul   %r9,%rax
  sar    $0x20,%rax
  shl    %cl,%eax
  mov    %eax,(%r12,%rdx,4)
  add    $0x1,%rdx
  cmp    %edx,%r15d
  jg     L8
  sub    $0x4,%rbp
  sub    $0x1,%r15d
  je     L179
  mov    %r12,%r14
  jmp    L12
L33:
  lea    -0x1(%rdx),%edi
L103:
  movl   $0x40000000,(%rbx)
  mov    %edi,%r15d
  mov    %r14,%r12
  test   %edi,%edi
  jg     L52
L179:
  mov    (%r12),%eax
  lea    0xfff0(%rax),%edx
  cmp    $0x1ffe0,%edx
  jbe    L76
L159:
  mov    $0x1,%eax
L116:
  mov    0xa8(%rsp),%rdx
  sub    %fs:0x28,%rdx
  jne    L49
  add    $0xb8,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L76:
  shl    $0xf,%eax
  mov    $0x3fffffff,%edx
  neg    %eax
  cltq
  imul   %rax,%rax
  sar    $0x20,%rax
  sub    %eax,%edx
  movslq %edx,%rax
  movslq (%rbx),%rdx
  imul   %rdx,%rax
  sar    $0x20,%rax
  shl    $0x2,%eax
  mov    %eax,(%rbx)
  xor    %eax,%eax
  jmp    L116
L104:
  xor    %eax,%eax
  jmp    L56
L49:
  call   <__stack_chk_fail@plt>
```

assistant: ```c
int SKP_Silk_LPC_inverse_pred_gain(int *invGain_Q30, const short *A_Q12, const int order) {
  int k, n, headrm;
  int rc_Q31, rc_mult1_Q30, rc_mult2_Q16;
  int Atmp_QA[2][16], tmp_QA;
  int *Aold_QA, *Anew_QA;
  Anew_QA = Atmp_QA[order & 1];
  for (k = 0; k < order; k++) {
    Anew_QA[k] = (((int)A_Q12[k]) << (16 - 12));
  }
  *invGain_Q30 = (1 << 30);
  for (k = order - 1; k > 0; k--) {
    if ((Anew_QA[k] > 65520) || (Anew_QA[k] < -65520)) {
      return 1;
    }
    rc_Q31 = -((Anew_QA[k]) << (31 - 16));
    rc_mult1_Q30 = (0x7FFFFFFF >> 1) - (int)((((long long)((rc_Q31)) * ((rc_Q31)))) >> (32));
    ;
    ;
    rc_mult2_Q16 = SKP_INVERSE32_varQ(rc_mult1_Q30, 46);
    *invGain_Q30 = (((int)((((long long)((*invGain_Q30)) * ((rc_mult1_Q30)))) >> (32))) << (2));
    ;
    ;
    Aold_QA = Anew_QA;
    Anew_QA = Atmp_QA[k & 1];
    headrm = SKP_Silk_CLZ32(rc_mult2_Q16) - 1;
    rc_mult2_Q16 = ((rc_mult2_Q16) << (headrm));
    for (n = 0; n < k; n++) {
      tmp_QA = Aold_QA[n] - (((int)((((long long)((Aold_QA[k - n - 1])) * ((rc_Q31)))) >> (32))) << (1));
      Anew_QA[n] = (((int)((((long long)((tmp_QA)) * ((rc_mult2_Q16)))) >> (32))) << (16 - headrm));
    }
  }
  if ((Anew_QA[0] > 65520) || (Anew_QA[0] < -65520)) {
    return 1;
  }
  rc_Q31 = -((Anew_QA[0]) << (31 - 16));
  rc_mult1_Q30 = (0x7FFFFFFF >> 1) - (int)((((long long)((rc_Q31)) * ((rc_Q31)))) >> (32));
  *invGain_Q30 = (((int)((((long long)((*invGain_Q30)) * ((rc_mult1_Q30)))) >> (32))) << (2));
  ;
  ;
  return 0;
}
```