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

```asm
<SKP_Silk_LPC_inverse_pred_gain>:
  endbr64
  push   %rbp
  mov    %rsp,%rbp
  sub    $0xe0,%rsp
  mov    %rdi,-0xc8(%rbp)
  mov    %rsi,-0xd0(%rbp)
  mov    %edx,-0xd4(%rbp)
  mov    %fs:0x28,%rax
  mov    %rax,-0x8(%rbp)
  xor    %eax,%eax
  mov    -0xd4(%rbp),%eax
  and    $0x1,%eax
  lea    -0x90(%rbp),%rdx
  cltq
  shl    $0x6,%rax
  add    %rdx,%rax
  mov    %rax,-0xa0(%rbp)
  movl   $0x0,-0xbc(%rbp)
  jmp    L52
L69:
  mov    -0xbc(%rbp),%eax
  cltq
  lea    (%rax,%rax,1),%rdx
  mov    -0xd0(%rbp),%rax
  add    %rdx,%rax
  movzwl (%rax),%eax
  movswl %ax,%edx
  mov    -0xbc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rcx
  mov    -0xa0(%rbp),%rax
  add    %rcx,%rax
  shl    $0x4,%edx
  mov    %edx,(%rax)
  addl   $0x1,-0xbc(%rbp)
L52:
  mov    -0xbc(%rbp),%eax
  cmp    -0xd4(%rbp),%eax
  jl     L69
  mov    -0xc8(%rbp),%rax
  movl   $0x40000000,(%rax)
  mov    -0xd4(%rbp),%eax
  sub    $0x1,%eax
  mov    %eax,-0xbc(%rbp)
  jmp    L99
L66:
  mov    -0xbc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0xfff0,%eax
  jg     L29
  mov    -0xbc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  cmp    $0xffff0010,%eax
  jge    L17
L29:
  mov    $0x1,%eax
  jmp    L51
L17:
  mov    -0xbc(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0xa0(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%eax
  shl    $0xf,%eax
  neg    %eax
  mov    %eax,-0xb4(%rbp)
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0xb4(%rbp),%eax
  cltq
  imul   %rdx,%rax
  sar    $0x20,%rax
  mov    %eax,%edx
  mov    $0x3fffffff,%eax
  sub    %edx,%eax
  mov    %eax,-0xb0(%rbp)
  mov    -0xb0(%rbp),%eax
  mov    $0x2e,%esi
  mov    %eax,%edi
  call   <SKP_INVERSE32_varQ@plt>
  mov    %eax,-0xac(%rbp)
  mov    -0xc8(%rbp),%rax
  mov    (%rax),%eax
  movslq %eax,%rdx
  mov    -0xb0(%rbp),%eax
  cltq
  imul   %rdx,%rax
  sar    $0x20,%rax
  lea    0x0(,%rax,4),%edx
  mov    -0xc8(%rbp),%rax
  mov    %edx,(%rax)
  mov    -0xa0(%rbp),%rax
  mov    %rax,-0x98(%rbp)
  mov    -0xbc(%rbp),%eax
  and    $0x1,%eax
  lea    -0x90(%rbp),%rdx
  cltq
  shl    $0x6,%rax
  add    %rdx,%rax
  mov    %rax,-0xa0(%rbp)
  mov    -0xac(%rbp),%eax
  mov    %eax,%edi
  call   <SKP_Silk_CLZ32@plt>
  sub    $0x1,%eax
  mov    %eax,-0xa8(%rbp)
  mov    -0xa8(%rbp),%eax
  mov    %eax,%ecx
  shll   %cl,-0xac(%rbp)
  movl   $0x0,-0xb8(%rbp)
  jmp    L48
L89:
  mov    -0xb8(%rbp),%eax
  cltq
  lea    0x0(,%rax,4),%rdx
  mov    -0x98(%rbp),%rax
  add    %rdx,%rax
  mov    (%rax),%edx
  mov    -0xbc(%rbp),%eax
  sub    -0xb8(%rbp),%eax
  cltq
  shl    $0x2,%rax
  lea    -0x4(%rax),%rcx
  mov    -0x98(%rbp),%rax
  add    %rcx,%rax
  mov    (%rax),%eax
  movslq %eax,%rcx
  mov    -0xb4(%rbp),%eax
  cltq
  imul   %rcx,%rax
  sar    $0x20,%rax
  lea    (%rax,%rax,1),%ecx
  mov    %edx,%eax
  sub    %ecx,%eax
  mov    %eax,-0xa4(%rbp)
  mov    -0xa4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0xac(%rbp),%eax
  cltq
  imul   %rdx,%rax
  sar    $0x20,%rax
  mov    %eax,%esi
  mov    $0x10,%eax
  sub    -0xa8(%rbp),%eax
  mov    -0xb8(%rbp),%edx
  movslq %edx,%rdx
  lea    0x0(,%rdx,4),%rcx
  mov    -0xa0(%rbp),%rdx
  add    %rcx,%rdx
  mov    %eax,%ecx
  shl    %cl,%esi
  mov    %esi,%eax
  mov    %eax,(%rdx)
  addl   $0x1,-0xb8(%rbp)
L48:
  mov    -0xb8(%rbp),%eax
  cmp    -0xbc(%rbp),%eax
  jl     L89
  subl   $0x1,-0xbc(%rbp)
L99:
  cmpl   $0x0,-0xbc(%rbp)
  jg     L66
  mov    -0xa0(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0xfff0,%eax
  jg     L0
  mov    -0xa0(%rbp),%rax
  mov    (%rax),%eax
  cmp    $0xffff0010,%eax
  jge    L102
L0:
  mov    $0x1,%eax
  jmp    L51
L102:
  mov    -0xa0(%rbp),%rax
  mov    (%rax),%eax
  shl    $0xf,%eax
  neg    %eax
  mov    %eax,-0xb4(%rbp)
  mov    -0xb4(%rbp),%eax
  movslq %eax,%rdx
  mov    -0xb4(%rbp),%eax
  cltq
  imul   %rdx,%rax
  sar    $0x20,%rax
  mov    %eax,%edx
  mov    $0x3fffffff,%eax
  sub    %edx,%eax
  mov    %eax,-0xb0(%rbp)
  mov    -0xc8(%rbp),%rax
  mov    (%rax),%eax
  movslq %eax,%rdx
  mov    -0xb0(%rbp),%eax
  cltq
  imul   %rdx,%rax
  sar    $0x20,%rax
  lea    0x0(,%rax,4),%edx
  mov    -0xc8(%rbp),%rax
  mov    %edx,(%rax)
  mov    $0x0,%eax
L51:
  mov    -0x8(%rbp),%rdx
  sub    %fs:0x28,%rdx
  je     L21
  call   <__stack_chk_fail@plt>
L21:
  leave
  ret
```

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;
}
```