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

```asm
<LPC_inverse_pred_gain_QA>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x28,%rsp
  mov    %rdi,0x10(%rsp)
  mov    %rsi,0x18(%rsp)
  mov    %edx,%r13d
  and    $0x1,%r13d
  shl    $0x6,%r13
  add    %rsi,%r13
  movl   $0x40000000,(%rdi)
  lea    -0x1(%rdx),%r14d
  test   %r14d,%r14d
  jle    L56
  movslq %r14d,%r15
  shl    $0x2,%r15
  jmp    L45
L9:
  sub    $0x4,%r15
  sub    $0x1,%r14d
  je     L59
  mov    %r12,%r13
L45:
  lea    0x0(%r13,%r15,1),%rbx
  mov    (%rbx),%ebp
  lea    0xfff0(%rbp),%eax
  cmp    $0x1ffe0,%eax
  ja     L79
  shl    $0xf,%ebp
  neg    %ebp
  movslq %ebp,%rbp
  mov    %rbp,%rax
  imul   %rbp,%rax
  sar    $0x20,%rax
  mov    $0x3fffffff,%r12d
  sub    %eax,%r12d
  mov    $0x2e,%esi
  mov    %r12d,%edi
  call   <SKP_INVERSE32_varQ@plt>
  mov    %eax,%edi
  mov    0x10(%rsp),%rcx
  movslq (%rcx),%rax
  movslq %r12d,%r12
  imul   %r12,%rax
  sar    $0x20,%rax
  shl    $0x2,%eax
  mov    %eax,(%rcx)
  mov    %r14d,%r12d
  and    $0x1,%r12d
  shl    $0x6,%r12
  add    0x18(%rsp),%r12
  mov    %edi,0xc(%rsp)
  call   <SKP_Silk_CLZ32@plt>
  sub    $0x1,%eax
  mov    0xc(%rsp),%esi
  mov    %eax,%ecx
  shl    %cl,%esi
  test   %r14d,%r14d
  jle    L9
  mov    %r14d,%edi
  mov    $0x0,%edx
  movslq %esi,%rsi
  mov    $0x10,%ecx
  sub    %eax,%ecx
L50:
  movslq -0x4(%rbx),%r8
  imul   %rbp,%r8
  sar    $0x20,%r8
  add    %r8d,%r8d
  mov    0x0(%r13,%rdx,4),%eax
  sub    %r8d,%eax
  cltq
  imul   %rsi,%rax
  sar    $0x20,%rax
  shl    %cl,%eax
  mov    %eax,(%r12,%rdx,4)
  add    $0x1,%rdx
  sub    $0x4,%rbx
  cmp    %rdi,%rdx
  jne    L50
  jmp    L9
L56:
  mov    %r13,%r12
L59:
  mov    (%r12),%eax
  lea    0xfff0(%rax),%ecx
  mov    $0x1,%edx
  cmp    $0x1ffe0,%ecx
  ja     L19
  shl    $0xf,%eax
  neg    %eax
  cltq
  imul   %rax,%rax
  sar    $0x20,%rax
  mov    $0x3fffffff,%edx
  sub    %eax,%edx
  movslq %edx,%rax
  mov    0x10(%rsp),%rdi
  movslq (%rdi),%rdx
  imul   %rdx,%rax
  sar    $0x20,%rax
  shl    $0x2,%eax
  mov    %eax,(%rdi)
  mov    $0x0,%edx
  jmp    L19
L79:
  mov    $0x1,%edx
L19:
  mov    %edx,%eax
  add    $0x28,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
```

assistant: ```c
int LPC_inverse_pred_gain_QA(int *invGain_Q30, int A_QA[2][16], const int order) {
  int k, n, headrm;
  int rc_Q31, rc_mult1_Q30, rc_mult2_Q16, tmp_QA;
  int *Aold_QA, *Anew_QA;
  Anew_QA = A_QA[order & 1];
  *invGain_Q30 = (1 << 30);
  for (k = order - 1; k > 0; k--) {
    if ((Anew_QA[k] > ((int)((0.99975) * ((long long)1 << (16)) + 0.5))) || (Anew_QA[k] < -((int)((0.99975) * ((long long)1 << (16)) + 0.5)))) {
      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 = A_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] > ((int)((0.99975) * ((long long)1 << (16)) + 0.5))) || (Anew_QA[0] < -((int)((0.99975) * ((long long)1 << (16)) + 0.5)))) {
    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;
}
```