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

```asm
<SKP_Silk_burg_modified>:
  endbr64
  push   %r15
  push   %r14
  push   %r13
  push   %r12
  push   %rbp
  push   %rbx
  sub    $0x268,%rsp
  mov    %rdi,0xe0(%rsp)
  lea    0xfc(%rsp),%rdi
  mov    %rsi,0xe8(%rsp)
  lea    0xf8(%rsp),%rsi
  mov    %rdx,0xd0(%rsp)
  mov    %rcx,%rdx
  mov    %rcx,0xc8(%rsp)
  mov    %r8d,0xc4(%rsp)
  mov    %r9d,0xa0(%rsp)
  mov    %fs:0x28,%rax
  mov    %rax,0x258(%rsp)
  mov    %r9d,%eax
  imul   %r8d,%eax
  mov    %eax,%ecx
  xor    %eax,%eax
  call   <SKP_Silk_sum_sqr_shift@plt>
  mov    0xf8(%rsp),%eax
  cmp    $0x8,%eax
  jle    L2
  mov    0xfc(%rsp),%ebx
  sub    $0x8,%eax
  movl   $0x8,0xf8(%rsp)
  pxor   %xmm0,%xmm0
  mov    %eax,%ecx
  movaps %xmm0,0x100(%rsp)
  shl    %cl,%ebx
  movaps %xmm0,0x110(%rsp)
  mov    %ebx,0xfc(%rsp)
  mov    %ebx,%eax
  movl   $0x8,0xac(%rsp)
  movaps %xmm0,0x120(%rsp)
  movaps %xmm0,0x130(%rsp)
L647:
  mov    0xa0(%rsp),%r11d
  test   %r11d,%r11d
  jle    L448
  mov    0x2a8(%rsp),%r10d
  mov    0xf8(%rsp),%edx
  test   %r10d,%r10d
  jle    L605
  movslq 0xc4(%rsp),%rbp
  xor    %ebx,%ebx
  mov    0xc8(%rsp),%r13
  lea    0x0(%rbp,%rbp,1),%r14
  mov    %rbp,%r15
  lea    0x100(%rsp),%rbp
  mov    %r14,(%rsp)
  mov    %rbp,%r14
  mov    %ebx,%ebp
  mov    0x2a8(%rsp),%ebx
  nopl   0x0(%rax)
L520:
  mov    $0x1,%r12d
  xchg   %ax,%ax
L616:
  mov    %r15d,%edx
  lea    0x0(%r13,%r12,2),%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  sub    %r12d,%edx
  call   <SKP_Silk_inner_prod16_aligned_64@plt>
  mov    0xf8(%rsp),%ecx
  sar    %cl,%eax
  add    %eax,-0x4(%r14,%r12,4)
  add    $0x1,%r12
  cmp    %r12d,%ebx
  jge    L616
  add    $0x1,%ebp
  add    (%rsp),%r13
  cmp    %ebp,0xa0(%rsp)
  jne    L520
  mov    %ecx,%edx
L605:
  mov    %edx,0xac(%rsp)
  mov    0xfc(%rsp),%eax
L448:
  movdqa 0x100(%rsp),%xmm6
  movslq 0x2a0(%rsp),%rbx
  movslq %eax,%rdx
  mov    0x2a8(%rsp),%r8d
  movaps %xmm6,0x140(%rsp)
  imul   %rbx,%rdx
  movdqa 0x110(%rsp),%xmm6
  mov    %rbx,0xd8(%rsp)
  movaps %xmm6,0x150(%rsp)
  movdqa 0x120(%rsp),%xmm6
  sar    $0x20,%rdx
  movaps %xmm6,0x160(%rsp)
  lea    0x1(%rax,%rdx,1),%eax
  mov    %edx,%ecx
  movdqa 0x130(%rsp),%xmm6
  mov    %eax,0x1c0(%rsp)
  mov    %eax,0x210(%rsp)
  movaps %xmm6,0x170(%rsp)
  test   %r8d,%r8d
  jle    L562
  movslq 0xc4(%rsp),%rdx
  lea    0x210(%rsp),%rbx
  lea    0x180(%rsp),%r14
  cmpl   $0xffffffff,0xac(%rsp)
  lea    0x1c0(%rsp),%r13
  mov    %rbx,0x78(%rsp)
  lea    0x140(%rsp),%r12
  mov    %rbx,0xb0(%rsp)
  lea    (%rdx,%rdx,1),%rbx
  mov    %r13,%r15
  lea    0x100(%rsp),%rbp
  mov    %r14,0xb8(%rsp)
  mov    %r12,%r13
  mov    %rbx,0x90(%rsp)
  mov    %eax,0x98(%rsp)
  movl   $0xffffffff,0xc0(%rsp)
  movq   $0x0,0x70(%rsp)
  movq   $0x1,0x30(%rsp)
  movl   $0x0,0x6c(%rsp)
  mov    %r14,0x60(%rsp)
  jl     L423
  cs nopw 0x0(%rax,%rax,1)
L18:
  mov    0xa0(%rsp),%esi
  test   %esi,%esi
  jle    L154
  mov    0xc4(%rsp),%eax
  sub    0x6c(%rsp),%eax
  movl   $0x0,0x40(%rsp)
  mov    %r15,%r14
  mov    0xac(%rsp),%ebx
  cltq
  mov    0x78(%rsp),%r15
  lea    (%rax,%rax,1),%rsi
  mov    $0x10,%eax
  mov    0x60(%rsp),%r12
  sub    %ebx,%eax
  mov    %rsi,0x98(%rsp)
  mov    %eax,0xa4(%rsp)
  mov    $0x8,%eax
  sub    %ebx,%eax
  mov    0x70(%rsp),%rbx
  mov    %eax,0xa8(%rsp)
  mov    0xc8(%rsp),%rax
  add    %rax,%rbx
  add    %rsi,%rax
  mov    %rbx,0x58(%rsp)
  mov    %rax,%rbx
  mov    0xc0(%rsp),%eax
  mov    %rax,0x20(%rsp)
  nopw   0x0(%rax,%rax,1)
L122:
  mov    0x70(%rsp),%rsi
  mov    %rbx,%rax
  sub    0x98(%rsp),%rax
  movswl -0x2(%rbx),%r8d
  movswl (%rax,%rsi,1),%r9d
  mov    0xa4(%rsp),%esi
  mov    %r9d,%eax
  mov    %esi,%ecx
  shl    $0x8,%r9d
  shl    %cl,%eax
  neg    %eax
  mov    %eax,%edx
  mov    %r8d,%eax
  shl    $0x8,%r8d
  shl    %cl,%eax
  mov    0x6c(%rsp),%ecx
  neg    %eax
  test   %ecx,%ecx
  je     L458
  mov    %edx,%esi
  mov    0x58(%rsp),%r10
  mov    %r14,0x80(%rsp)
  sar    $0x10,%esi
  mov    %r15,0x88(%rsp)
  mov    %esi,(%rsp)
  mov    %eax,%esi
  movzwl %ax,%eax
  sar    $0x10,%esi
  mov    %eax,%r15d
  mov    %esi,0x10(%rsp)
  movzwl %dx,%esi
  xor    %edx,%edx
  mov    %esi,%r14d
  nopl   0x0(%rax,%rax,1)
L456:
  movswl -0x2(%r10),%esi
  mov    (%rsp),%ecx
  sub    $0x2,%r10
  mov    0x10(%rsp),%edi
  mov    %esi,%eax
  imul   %esi,%ecx
  imul   %r14d,%eax
  sar    $0x10,%eax
  add    %ecx,%eax
  movswl (%rbx,%rdx,2),%ecx
  add    %eax,0x0(%rbp,%rdx,4)
  mov    %ecx,%eax
  imul   %ecx,%edi
  imul   %r15d,%eax
  sar    $0x10,%eax
  add    %edi,%eax
  add    %eax,0x0(%r13,%rdx,4)
  mov    (%r12,%rdx,4),%eax
  mov    %esi,%edi
  mov    %eax,%r11d
  movzwl %ax,%eax
  imul   %eax,%edi
  sar    $0x10,%r11d
  imul   %ecx,%eax
  imul   %r11d,%esi
  imul   %r11d,%ecx
  sar    $0x10,%edi
  sar    $0x10,%eax
  add    %esi,%edi
  add    %ecx,%eax
  add    %edi,%r9d
  add    %eax,%r8d
  mov    %rdx,%rax
  add    $0x1,%rdx
  cmp    0x20(%rsp),%rax
  jne    L456
  mov    0x80(%rsp),%r14
  mov    0x88(%rsp),%r15
L458:
  mov    0xa8(%rsp),%eax
  neg    %r9d
  neg    %r8d
  mov    0x30(%rsp),%r10
  mov    %eax,%ecx
  xor    %eax,%eax
  shl    %cl,%r9d
  shl    %cl,%r8d
  mov    0x58(%rsp),%rcx
  mov    %r9d,%edi
  mov    %r8d,%esi
  movzwl %r9w,%r9d
  movzwl %r8w,%r8d
  sar    $0x10,%edi
  sar    $0x10,%esi
  nopw   0x0(%rax,%rax,1)
L320:
  movswl (%rcx),%r11d
  sub    $0x2,%rcx
  mov    %r11d,%edx
  imul   %edi,%r11d
  imul   %r9d,%edx
  sar    $0x10,%edx
  add    %r11d,%edx
  movswl -0x2(%rbx,%rax,2),%r11d
  add    %edx,(%r14,%rax,4)
  mov    %r11d,%edx
  imul   %esi,%r11d
  imul   %r8d,%edx
  sar    $0x10,%edx
  add    %r11d,%edx
  add    %edx,(%r15,%rax,4)
  add    $0x1,%rax
  cmp    %rax,%r10
  jne    L320
  mov    0x90(%rsp),%rcx
  addl   $0x1,0x40(%rsp)
  add    %rcx,0x58(%rsp)
  mov    0x40(%rsp),%esi
  mov    0x210(%rsp),%eax
  mov    0x1c0(%rsp),%edx
  add    %rcx,%rbx
  cmp    %esi,0xa0(%rsp)
  jne    L122
  mov    %edx,0x98(%rsp)
  mov    %r14,%r15
L154:
  mov    0x70(%rsp),%rbx
  mov    0x0(%rbp,%rbx,2),%esi
  mov    0x0(%r13,%rbx,2),%edx
  mov    0x98(%rsp),%ebx
  mov    %esi,(%rsp)
  add    %eax,%ebx
  mov    0x6c(%rsp),%eax
  lea    0x1(%rax),%esi
  test   %eax,%eax
  mov    0x30(%rsp),%rax
  mov    %esi,0x88(%rsp)
  je     L477
  lea    -0x8(,%rax,4),%r14
  mov    $0x1,%esi
  mov    %rbp,0x20(%rsp)
  mov    0xc0(%rsp),%eax
  movl   $0x0,0x10(%rsp)
  mov    %ebx,%ebp
  mov    %r15,%rbx
  mov    %r14,%r15
  add    $0x2,%rax
  mov    %r13,0x40(%rsp)
  mov    %edx,%r14d
  mov    %rsi,%r13
  mov    %rax,0x58(%rsp)
  lea    0x214(%rsp),%rax
  mov    %rax,0x80(%rsp)
  nopl   0x0(%rax)
L684:
  mov    0x60(%rsp),%rax
  mov    -0x4(%rax,%r13,4),%r12d
  mov    %r12d,%edi
  neg    %edi
  cmovs  %r12d,%edi
  xor    %eax,%eax
  call   <SKP_Silk_CLZ32@plt>
  mov    $0x8,%ecx
  mov    %r12d,%r9d
  mov    0x78(%rsp),%rsi
  sub    $0x1,%eax
  cmp    %ecx,%eax
  cmovg  %ecx,%eax
  mov    %eax,%ecx
  shl    %cl,%r9d
  mov    $0x8,%ecx
  sub    %eax,%ecx
  mov    0x40(%rsp),%rax
  movslq %r9d,%rdi
  movslq (%rax,%r15,1),%rax
  imul   %rdi,%rax
  sar    $0x20,%rax
  shl    %cl,%eax
  add    %eax,(%rsp)
  mov    0x20(%rsp),%rax
  movslq (%rax,%r15,1),%rax
  imul   %rdi,%rax
  sar    $0x20,%rax
  shl    %cl,%eax
  add    %eax,%r14d
  mov    0x80(%rsp),%rax
  movslq (%rax,%r15,1),%rax
  sub    $0x4,%r15
  imul   %rdi,%rax
  sar    $0x20,%rax
  shl    %cl,%eax
  add    %eax,0x10(%rsp)
  mov    (%rbx,%r13,4),%eax
  add    (%rsi,%r13,4),%eax
  add    $0x1,%r13
  cltq
  imul   %rdi,%rax
  sar    $0x20,%rax
  shl    %cl,%eax
  add    %eax,%ebp
  cmp    %r13,0x58(%rsp)
  jne    L684
  mov    0x10(%rsp),%edi
  mov    0x30(%rsp),%rax
  mov    %rbx,%r15
  mov    %ebp,%ebx
  mov    (%rsp),%esi
  mov    0x20(%rsp),%rbp
  add    %r14d,%edi
  mov    0x40(%rsp),%r13
  neg    %edi
  mov    %esi,(%r15,%rax,4)
  mov    0xb0(%rsp),%rax
  lea    (%rdi,%rdi,1),%edi
  mov    %r14d,0x4(%rax)
  mov    %edi,%eax
  neg    %eax
  cmovs  %edi,%eax
  cmp    %ebx,%eax
  jge    L197
  mov    $0x1f,%edx
  mov    %ebx,%esi
  xor    %eax,%eax
  call   <SKP_DIV32_varQ@plt>
  mov    0x88(%rsp),%ecx
  mov    %eax,%r8d
  sar    %ecx
L374:
  mov    0xb8(%rsp),%rbx
  movslq %r8d,%rax
  movslq 0x180(%rsp),%rdx
  movslq -0x4(%rbx),%rsi
  mov    %rsi,%rdi
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x180(%rsp)
  sar    $0x20,%rdx
  lea    (%rdi,%rdx,2),%edx
  mov    %edx,-0x4(%rbx)
  cmp    $0x1,%ecx
  jle    L587
  movslq -0x8(%rbx),%rsi
  movslq 0x184(%rsp),%rdx
  mov    %rsi,%rdi
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x184(%rsp)
  sar    $0x20,%rdx
  lea    (%rdi,%rdx,2),%edx
  mov    %edx,-0x8(%rbx)
  cmp    $0x2,%ecx
  je     L587
  movslq -0xc(%rbx),%rsi
  movslq 0x188(%rsp),%rdx
  mov    %rsi,%rdi
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x188(%rsp)
  sar    $0x20,%rdx
  lea    (%rdi,%rdx,2),%edx
  mov    %edx,-0xc(%rbx)
  cmp    $0x3,%ecx
  je     L587
  movslq -0x10(%rbx),%rsi
  movslq 0x18c(%rsp),%rdx
  mov    %rsi,%rdi
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x18c(%rsp)
  sar    $0x20,%rdx
  lea    (%rdi,%rdx,2),%edx
  mov    %edx,-0x10(%rbx)
  cmp    $0x4,%ecx
  je     L587
  movslq -0x14(%rbx),%rsi
  movslq 0x190(%rsp),%rdx
  mov    %rsi,%rdi
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x190(%rsp)
  sar    $0x20,%rdx
  lea    (%rdi,%rdx,2),%edx
  mov    %edx,-0x14(%rbx)
  cmp    $0x5,%ecx
  je     L587
  movslq -0x18(%rbx),%rsi
  movslq 0x194(%rsp),%rdx
  mov    %rsi,%rdi
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x194(%rsp)
  sar    $0x20,%rdx
  lea    (%rdi,%rdx,2),%edx
  mov    %edx,-0x18(%rbx)
  cmp    $0x6,%ecx
  je     L587
  movslq -0x1c(%rbx),%rsi
  movslq 0x198(%rsp),%rdx
  mov    %rsi,%rdi
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x198(%rsp)
  sar    $0x20,%rdx
  lea    (%rdi,%rdx,2),%edx
  mov    %edx,-0x1c(%rbx)
  cmp    $0x8,%ecx
  jne    L587
  movslq -0x20(%rbx),%rsi
  movslq 0x19c(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x19c(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x20(%rbx)
L587:
  mov    0xb8(%rsp),%rbx
  mov    %r8d,%edx
  mov    0x88(%rsp),%edi
  sar    $0x7,%edx
  mov    %edx,(%rbx)
  mov    0xb0(%rsp),%rbx
  movslq 0x1c0(%rsp),%rdx
  movslq 0x4(%rbx),%rsi
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x98(%rsp)
  mov    %esi,0x1c0(%rsp)
  movslq (%rbx),%rsi
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  mov    %edx,0x4(%rbx)
  movslq 0x1c4(%rsp),%rdx
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1c4(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,(%rbx)
  cmp    $0x1,%edi
  je     L415
  movslq -0x4(%rbx),%rsi
  movslq 0x1c8(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1c8(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x4(%rbx)
  cmp    $0x2,%edi
  je     L415
  movslq -0x8(%rbx),%rsi
  movslq 0x1cc(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1cc(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x8(%rbx)
  cmp    $0x3,%edi
  je     L415
  movslq -0xc(%rbx),%rsi
  movslq 0x1d0(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1d0(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0xc(%rbx)
  cmp    $0x4,%edi
  je     L415
  movslq -0x10(%rbx),%rsi
  movslq 0x1d4(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1d4(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x10(%rbx)
  cmp    $0x5,%edi
  je     L415
  movslq -0x14(%rbx),%rsi
  movslq 0x1d8(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1d8(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x14(%rbx)
  cmp    $0x6,%edi
  je     L415
  movslq -0x18(%rbx),%rsi
  movslq 0x1dc(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1dc(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x18(%rbx)
  cmp    $0x7,%edi
  je     L415
  movslq -0x1c(%rbx),%rsi
  movslq 0x1e0(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1e0(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x1c(%rbx)
  cmp    $0x8,%edi
  je     L415
  movslq -0x20(%rbx),%rsi
  movslq 0x1e4(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1e4(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x20(%rbx)
  cmp    $0x9,%edi
  je     L415
  movslq -0x24(%rbx),%rsi
  movslq 0x1e8(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1e8(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x24(%rbx)
  cmp    $0xa,%edi
  je     L415
  movslq -0x28(%rbx),%rsi
  movslq 0x1ec(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1ec(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x28(%rbx)
  cmp    $0xb,%edi
  je     L415
  movslq -0x2c(%rbx),%rsi
  movslq 0x1f0(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1f0(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x2c(%rbx)
  cmp    $0xc,%edi
  je     L415
  movslq -0x30(%rbx),%rsi
  movslq 0x1f4(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1f4(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x30(%rbx)
  cmp    $0xd,%edi
  je     L415
  movslq -0x34(%rbx),%rsi
  movslq 0x1f8(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1f8(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x34(%rbx)
  cmp    $0xe,%edi
  je     L415
  movslq -0x38(%rbx),%rsi
  movslq 0x1fc(%rsp),%rdx
  mov    %rsi,%rcx
  imul   %rax,%rsi
  sar    $0x20,%rsi
  lea    (%rdx,%rsi,2),%esi
  imul   %rax,%rdx
  mov    %esi,0x1fc(%rsp)
  sar    $0x20,%rdx
  lea    (%rcx,%rdx,2),%edx
  mov    %edx,-0x38(%rbx)
  cmp    $0x10,%edi
  jne    L415
  movslq 0x200(%rsp),%rdx
  movslq -0x3c(%rbx),%rsi
  mov    %rsi,%rcx
  imul   %rax,%rsi
  imul   %rdx,%rax
  sar    $0x20,%rsi
  sar    $0x20,%rax
  lea    (%rdx,%rsi,2),%esi
  lea    (%rcx,%rax,2),%eax
  mov    %esi,0x200(%rsp)
  mov    %eax,-0x3c(%rbx)
  nopl   (%rax)
L415:
  mov    0xf8(%rsp),%eax
  addq   $0x1,0x30(%rsp)
  addq   $0x4,0xb0(%rsp)
  mov    0x88(%rsp),%ebx
  addq   $0x4,0xb8(%rsp)
  addq   $0x2,0x70(%rsp)
  addl   $0x1,0xc0(%rsp)
  mov    %eax,0xac(%rsp)
  cmp    %ebx,0x2a8(%rsp)
  je     L53
  cmpl   $0xffffffff,0xac(%rsp)
  mov    %ebx,0x6c(%rsp)
  mov    0x210(%rsp),%eax
  jge    L18
L423:
  mov    0xa0(%rsp),%edi
  test   %edi,%edi
  jle    L154
  mov    0xc4(%rsp),%eax
  sub    0x6c(%rsp),%eax
  movl   $0x0,(%rsp)
  cltq
  mov    0x78(%rsp),%r12
  lea    (%rax,%rax,1),%rsi
  mov    0xac(%rsp),%eax
  mov    %rsi,0x58(%rsp)
  mov    %eax,%ebx
  not    %eax
  neg    %ebx
  mov    %eax,%r10d
  mov    0xc8(%rsp),%rax
  mov    %ebx,0x80(%rsp)
  mov    0x70(%rsp),%rbx
  mov    %r10d,0x88(%rsp)
  add    %rax,%rbx
  add    %rsi,%rax
  mov    %rax,%r9
  mov    0xc0(%rsp),%eax
  mov    %rbx,0x10(%rsp)
  mov    %rax,0x98(%rsp)
  nopl   0x0(%rax,%rax,1)
L445:
  mov    0x70(%rsp),%rbx
  mov    %r9,%rax
  sub    0x58(%rsp),%rax
  movswl -0x2(%r9),%esi
  movswl (%rax,%rbx,1),%edi
  mov    0x80(%rsp),%eax
  mov    %esi,%ebx
  shl    $0x11,%esi
  mov    %eax,%ecx
  mov    %edi,%r11d
  mov    0x6c(%rsp),%eax
  shl    $0x11,%edi
  shl    %cl,%r11d
  shl    %cl,%ebx
  neg    %r11d
  neg    %ebx
  test   %eax,%eax
  je     L613
  mov    %r12,0x20(%rsp)
  mov    0x10(%rsp),%r10
  xor    %eax,%eax
  mov    0x60(%rsp),%r14
  mov    0x98(%rsp),%r12
  nopl   (%rax)
L570:
  movswl -0x2(%r10),%r8d
  movswl (%r9,%rax,2),%ecx
  sub    $0x2,%r10
  mov    %r8d,%edx
  imul   %r11d,%edx
  add    %edx,0x0(%rbp,%rax,4)
  mov    %ecx,%edx
  imul   %ebx,%edx
  add    %edx,0x0(%r13,%rax,4)
  mov    (%r14,%rax,4),%edx
  sar    $0x6,%edx
  add    $0x1,%edx
  sar    %edx
  imul   %edx,%r8d
  imul   %edx,%ecx
  mov    %rax,%rdx
  add    $0x1,%rax
  add    %r8d,%edi
  add    %ecx,%esi
  cmp    %r12,%rdx
  jne    L570
  mov    0x20(%rsp),%r12
L613:
  neg    %edi
  neg    %esi
  mov    %rbp,0x20(%rsp)
  mov    0x10(%rsp),%r8
  mov    %edi,%eax
  mov    %esi,%ebx
  mov    0x88(%rsp),%ecx
  mov    %r13,0x40(%rsp)
  sar    $0x10,%eax
  sar    $0x10,%ebx
  movzwl %di,%r11d
  movzwl %si,%r10d
  xor    %edx,%edx
  mov    %eax,%r13d
  nopl   (%rax)
L263:
  movswl (%r8),%eax
  sub    $0x2,%r8
  shl    %cl,%eax
  movswl %ax,%ebp
  sar    $0xf,%eax
  mov    %ebp,%r14d
  imul   %r13d,%ebp
  add    $0x1,%eax
  imul   %r11d,%r14d
  sar    %eax
  imul   %edi,%eax
  sar    $0x10,%r14d
  add    %r14d,%ebp
  add    %ebp,%eax
  add    %eax,(%r15,%rdx,4)
  movswl -0x2(%r9,%rdx,2),%eax
  shl    %cl,%eax
  movswl %ax,%ebp
  sar    $0xf,%eax
  mov    %ebp,%r14d
  imul   %ebx,%ebp
  add    $0x1,%eax
  imul   %r10d,%r14d
  sar    %eax
  imul   %esi,%eax
  sar    $0x10,%r14d
  add    %r14d,%ebp
  add    %ebp,%eax
  add    %eax,(%r12,%rdx,4)
  add    $0x1,%rdx
  cmp    %rdx,0x30(%rsp)
  jne    L263
  mov    0x90(%rsp),%rdi
  addl   $0x1,(%rsp)
  add    %rdi,0x10(%rsp)
  mov    0x20(%rsp),%rbp
  mov    0x40(%rsp),%r13
  mov    (%rsp),%ebx
  add    %rdi,%r9
  mov    0x210(%rsp),%eax
  mov    0x1c0(%rsp),%edx
  cmp    %ebx,0xa0(%rsp)
  jne    L445
  mov    %edx,0x98(%rsp)
  jmp    L154
L477:
  mov    (%rsp),%esi
  mov    %esi,(%r15,%rax,4)
  mov    0xb0(%rsp),%rax
  mov    %edx,0x4(%rax)
  neg    %edx
  lea    (%rdx,%rdx,1),%edi
  mov    %edi,%eax
  neg    %eax
  cmovs  %edi,%eax
  cmp    %ebx,%eax
  jge    L586
  xor    %eax,%eax
  mov    $0x1f,%edx
  mov    %ebx,%esi
  call   <SKP_DIV32_varQ@plt>
  mov    0x88(%rsp),%ecx
  mov    %eax,%r8d
  sar    %ecx
  jne    L374
  cltq
  jmp    L587
L197:
  mov    0xf8(%rsp),%eax
  mov    0x60(%rsp),%r14
  mov    %eax,0xac(%rsp)
L498:
  movslq 0x6c(%rsp),%rax
  mov    0x2a8(%rsp),%edx
  xor    %esi,%esi
  sub    %eax,%edx
  lea    (%r14,%rax,4),%rdi
  movslq %edx,%rdx
  shl    $0x2,%rdx
  call   <memset@plt>
L53:
  mov    0x2a8(%rsp),%eax
  sub    $0x1,%eax
  cmp    $0x6,%eax
  jbe    L390
  movdqa 0x180(%rsp),%xmm4
  movdqa D4(%rip),%xmm12
  movdqa 0x190(%rsp),%xmm3
  mov    0xd0(%rsp),%rax
  movdqu 0x1c4(%rsp),%xmm1
  psrad  $0x7,%xmm4
  movdqa D8(%rip),%xmm8
  paddd  %xmm12,%xmm4
  psrad  $0x7,%xmm3
  paddd  %xmm12,%xmm3
  movdqa %xmm4,%xmm11
  movdqa %xmm4,%xmm7
  psrad  $0x1,%xmm11
  movdqa %xmm3,%xmm10
  movdqa %xmm3,%xmm6
  psrad  $0x1,%xmm10
  movdqa %xmm11,%xmm0
  movdqa %xmm11,%xmm2
  punpcklwd %xmm10,%xmm0
  psrad  $0x10,%xmm7
  punpckhwd %xmm10,%xmm2
  movdqa %xmm0,%xmm5
  punpcklwd %xmm2,%xmm0
  paddd  %xmm12,%xmm7
  psrad  $0x1,%xmm7
  psrad  $0x10,%xmm6
  punpckhwd %xmm2,%xmm5
  punpcklwd %xmm5,%xmm0
  pxor   %xmm5,%xmm5
  paddd  %xmm12,%xmm6
  pcmpgtw %xmm0,%xmm5
  psrad  $0x1,%xmm6
  movdqa %xmm0,%xmm2
  psrad  $0x11,%xmm4
  psrad  $0x11,%xmm3
  punpcklwd %xmm5,%xmm2
  punpckhwd %xmm5,%xmm0
  movdqa %xmm1,%xmm5
  pand   %xmm8,%xmm5
  movdqa %xmm2,%xmm14
  movdqa %xmm0,%xmm15
  psrlq  $0x20,%xmm14
  movdqa %xmm5,%xmm9
  psrlq  $0x20,%xmm5
  pmuludq %xmm2,%xmm9
  pmuludq %xmm14,%xmm5
  psrlq  $0x20,%xmm15
  movdqa %xmm5,%xmm13
  pshufd $0x8,%xmm9,%xmm5
  movdqa %xmm1,%xmm9
  pshufd $0x8,%xmm13,%xmm13
  psrad  $0x10,%xmm9
  punpckldq %xmm13,%xmm5
  movdqa %xmm9,%xmm13
  psrlq  $0x20,%xmm9
  pmuludq %xmm2,%xmm13
  pmuludq %xmm14,%xmm9
  psrad  $0x10,%xmm5
  pshufd $0x8,%xmm13,%xmm13
  pshufd $0x8,%xmm9,%xmm9
  punpckldq %xmm9,%xmm13
  movdqa %xmm7,%xmm9
  pmuludq %xmm1,%xmm9
  psrlq  $0x20,%xmm1
  paddd  %xmm13,%xmm5
  movdqa %xmm7,%xmm13
  pmuludq %xmm11,%xmm7
  psrlq  $0x20,%xmm13
  movaps %xmm13,(%rsp)
  pmuludq (%rsp),%xmm1
  pshufd $0x8,%xmm1,%xmm1
  movdqa %xmm15,%xmm13
  pshufd $0x8,%xmm9,%xmm9
  punpckldq %xmm1,%xmm9
  pshufd $0x8,%xmm7,%xmm7
  movdqu 0x1d4(%rsp),%xmm1
  paddd  %xmm9,%xmm5
  pand   %xmm8,%xmm1
  movdqa %xmm1,%xmm9
  psrlq  $0x20,%xmm1
  pmuludq %xmm0,%xmm9
  pmuludq %xmm15,%xmm1
  pshufd $0x8,%xmm9,%xmm15
  pshufd $0x8,%xmm1,%xmm1
  punpckldq %xmm1,%xmm15
  movdqu 0x1d4(%rsp),%xmm1
  psrad  $0x10,%xmm15
  psrad  $0x10,%xmm1
  movdqa %xmm1,%xmm9
  psrlq  $0x20,%xmm1
  pmuludq %xmm0,%xmm9
  pmuludq %xmm13,%xmm1
  pshufd $0x8,%xmm9,%xmm9
  pshufd $0x8,%xmm1,%xmm1
  punpckldq %xmm1,%xmm9
  movdqu 0x1d4(%rsp),%xmm1
  paddd  %xmm9,%xmm15
  movdqa %xmm6,%xmm9
  pmuludq %xmm6,%xmm1
  psrlq  $0x20,%xmm9
  movaps %xmm9,0x10(%rsp)
  movdqu 0x1d4(%rsp),%xmm9
  psrlq  $0x20,%xmm9
  pmuludq 0x10(%rsp),%xmm9
  pshufd $0x8,%xmm9,%xmm9
  pshufd $0x8,%xmm1,%xmm1
  punpckldq %xmm9,%xmm1
  movdqa %xmm11,%xmm9
  pand   %xmm8,%xmm9
  paddd  %xmm15,%xmm1
  movdqa %xmm9,%xmm15
  psrlq  $0x20,%xmm9
  pmuludq %xmm2,%xmm15
  pmuludq %xmm4,%xmm2
  psrlq  $0x20,%xmm4
  pmuludq %xmm14,%xmm9
  pmuludq %xmm14,%xmm4
  pshufd $0x8,%xmm2,%xmm2
  pshufd $0x8,%xmm15,%xmm15
  pshufd $0x8,%xmm9,%xmm9
  pshufd $0x8,%xmm4,%xmm4
  punpckldq %xmm9,%xmm15
  punpckldq %xmm4,%xmm2
  psrad  $0x10,%xmm15
  movdqa %xmm11,%xmm4
  psrlq  $0x20,%xmm4
  pmuludq (%rsp),%xmm4
  pshufd $0x8,%xmm4,%xmm4
  paddd  %xmm15,%xmm2
  punpckldq %xmm4,%xmm7
  movdqa %xmm10,%xmm4
  pand   %xmm8,%xmm4
  paddd  %xmm7,%xmm2
  movdqa %xmm4,%xmm9
  movdqa %xmm4,%xmm7
  pmuludq %xmm0,%xmm9
  pmuludq %xmm3,%xmm0
  psrlq  $0x20,%xmm3
  psrlq  $0x20,%xmm7
  pmuludq %xmm13,%xmm3
  pmuludq %xmm13,%xmm7
  pshufd $0x8,%xmm0,%xmm0
  pshufd $0x8,%xmm9,%xmm4
  pxor   %xmm9,%xmm9
  pshufd $0x8,%xmm3,%xmm3
  pshufd $0x8,%xmm7,%xmm7
  punpckldq %xmm3,%xmm0
  movdqa %xmm6,%xmm3
  punpckldq %xmm7,%xmm4
  pmuludq %xmm10,%xmm3
  psrad  $0x10,%xmm4
  paddd  %xmm4,%xmm0
  movdqa %xmm10,%xmm4
  psrlq  $0x20,%xmm4
  pmuludq 0x10(%rsp),%xmm4
  pshufd $0x8,%xmm4,%xmm4
  pshufd $0x8,%xmm3,%xmm3
  punpckldq %xmm4,%xmm3
  paddd  %xmm3,%xmm0
  movdqa %xmm9,%xmm3
  psubd  %xmm11,%xmm3
  movups %xmm3,(%rax)
  movdqa %xmm9,%xmm3
  psubd  %xmm10,%xmm3
  movups %xmm3,0x10(%rax)
  mov    0x2a8(%rsp),%eax
  shr    $0x3,%eax
  cmp    $0x1,%eax
  jne    L317
L78:
  paddd  %xmm2,%xmm0
  paddd  %xmm5,%xmm1
  mov    0x2a8(%rsp),%edi
  movdqa %xmm0,%xmm2
  psrldq $0x8,%xmm2
  and    $0xfffffff8,%edi
  paddd  %xmm2,%xmm0
  movdqa %xmm0,%xmm2
  psrldq $0x4,%xmm2
  paddd  %xmm2,%xmm0
  movd   %xmm0,%edx
  movdqa %xmm1,%xmm0
  psrldq $0x8,%xmm0
  add    $0x10000,%edx
  paddd  %xmm0,%xmm1
  movdqa %xmm1,%xmm0
  psrldq $0x4,%xmm0
  paddd  %xmm0,%xmm1
  movd   %xmm1,%eax
  add    %eax,0x98(%rsp)
  testb  $0x7,0x2a8(%rsp)
  je     L606
L532:
  movslq %edi,%r10
  lea    0x1(%rdi),%r11d
  mov    0xd0(%rsp),%r15
  mov    0x180(%rsp,%r10,4),%eax
  movslq %r11d,%rbx
  mov    0x1c0(%rsp,%rbx,4),%ebp
  sar    $0x7,%eax
  add    $0x1,%eax
  movzwl %bp,%ecx
  mov    %ebp,%esi
  mov    %eax,%r8d
  sar    $0x10,%esi
  sar    %r8d
  movswl %r8w,%r9d
  imul   %r9d,%ecx
  imul   %r9d,%esi
  sar    $0x10,%ecx
  add    %esi,%ecx
  mov    %eax,%esi
  add    0x98(%rsp),%ecx
  sar    $0x11,%eax
  sar    $0x10,%esi
  imul   %r9d,%eax
  add    $0x1,%esi
  sar    %esi
  imul   %esi,%ebp
  imul   %r8d,%esi
  lea    0x0(%rbp,%rcx,1),%r14d
  movzwl %r8w,%ecx
  neg    %r8d
  imul   %r9d,%ecx
  mov    %r14d,0x98(%rsp)
  mov    %r8d,(%r15,%r10,4)
  sar    $0x10,%ecx
  add    %ecx,%eax
  add    %edx,%eax
  lea    (%rsi,%rax,1),%edx
  lea    0x0(,%r10,4),%rax
  cmp    0x2a8(%rsp),%r11d
  jge    L606
  mov    0x180(%rsp,%rbx,4),%ecx
  lea    0x2(%rdi),%ebx
  movslq %ebx,%r10
  sar    $0x7,%ecx
  mov    0x1c0(%rsp,%r10,4),%ebp
  lea    0x1(%rcx),%r11d
  mov    %r11d,%esi
  movzwl %bp,%ecx
  mov    %ebp,%r9d
  sar    %esi
  sar    $0x10,%r9d
  movswl %si,%r8d
  imul   %r8d,%ecx
  imul   %r8d,%r9d
  sar    $0x10,%ecx
  add    %r9d,%ecx
  add    %ecx,%r14d
  mov    %r11d,%ecx
  sar    $0x11,%r11d
  sar    $0x10,%ecx
  imul   %r8d,%r11d
  add    $0x1,%ecx
  sar    %ecx
  mov    %ecx,%r9d
  mov    %ebp,%ecx
  imul   %r9d,%ecx
  imul   %esi,%r9d
  lea    (%rcx,%r14,1),%r14d
  movzwl %si,%ecx
  neg    %esi
  imul   %r8d,%ecx
  mov    %r14d,0x98(%rsp)
  mov    %esi,0x4(%r15,%rax,1)
  sar    $0x10,%ecx
  add    %r11d,%ecx
  add    %ecx,%edx
  add    %r9d,%edx
  cmp    %ebx,0x2a8(%rsp)
  jle    L606
  mov    0x180(%rsp,%r10,4),%ecx
  lea    0x3(%rdi),%ebx
  movslq %ebx,%r10
  sar    $0x7,%ecx
  mov    0x1c0(%rsp,%r10,4),%ebp
  lea    0x1(%rcx),%r11d
  mov    %r11d,%esi
  movzwl %bp,%ecx
  mov    %ebp,%r9d
  sar    %esi
  sar    $0x10,%r9d
  movswl %si,%r8d
  imul   %r8d,%ecx
  imul   %r8d,%r9d
  sar    $0x10,%ecx
  add    %r9d,%ecx
  add    %ecx,%r14d
  mov    %r11d,%ecx
  sar    $0x11,%r11d
  sar    $0x10,%ecx
  imul   %r8d,%r11d
  add    $0x1,%ecx
  sar    %ecx
  mov    %ecx,%r9d
  mov    %ebp,%ecx
  imul   %r9d,%ecx
  imul   %esi,%r9d
  lea    (%rcx,%r14,1),%r14d
  movzwl %si,%ecx
  neg    %esi
  imul   %r8d,%ecx
  mov    %r14d,0x98(%rsp)
  mov    %esi,0x8(%r15,%rax,1)
  sar    $0x10,%ecx
  add    %r11d,%ecx
  add    %ecx,%edx
  add    %r9d,%edx
  cmp    %ebx,0x2a8(%rsp)
  jle    L606
  mov    0x180(%rsp,%r10,4),%ecx
  lea    0x4(%rdi),%ebx
  movslq %ebx,%r10
  sar    $0x7,%ecx
  mov    0x1c0(%rsp,%r10,4),%ebp
  lea    0x1(%rcx),%r11d
  mov    %r11d,%esi
  movzwl %bp,%ecx
  mov    %ebp,%r9d
  sar    %esi
  sar    $0x10,%r9d
  movswl %si,%r8d
  imul   %r8d,%ecx
  imul   %r8d,%r9d
  sar    $0x10,%ecx
  add    %r9d,%ecx
  add    %ecx,%r14d
  mov    %r11d,%ecx
  sar    $0x11,%r11d
  sar    $0x10,%ecx
  imul   %r8d,%r11d
  add    $0x1,%ecx
  sar    %ecx
  mov    %ecx,%r9d
  mov    %ebp,%ecx
  imul   %r9d,%ecx
  imul   %esi,%r9d
  lea    (%rcx,%r14,1),%r14d
  movzwl %si,%ecx
  neg    %esi
  imul   %r8d,%ecx
  mov    %r14d,0x98(%rsp)
  mov    %esi,0xc(%r15,%rax,1)
  sar    $0x10,%ecx
  add    %r11d,%ecx
  add    %ecx,%edx
  add    %r9d,%edx
  cmp    %ebx,0x2a8(%rsp)
  jle    L606
  mov    0x180(%rsp,%r10,4),%ecx
  lea    0x5(%rdi),%ebx
  movslq %ebx,%r10
  sar    $0x7,%ecx
  mov    0x1c0(%rsp,%r10,4),%ebp
  lea    0x1(%rcx),%r11d
  mov    %r11d,%esi
  movzwl %bp,%ecx
  mov    %ebp,%r9d
  sar    %esi
  sar    $0x10,%r9d
  movswl %si,%r8d
  imul   %r8d,%ecx
  imul   %r8d,%r9d
  sar    $0x10,%ecx
  add    %r9d,%ecx
  add    %ecx,%r14d
  mov    %r11d,%ecx
  sar    $0x11,%r11d
  sar    $0x10,%ecx
  imul   %r8d,%r11d
  add    $0x1,%ecx
  sar    %ecx
  mov    %ecx,%r9d
  mov    %ebp,%ecx
  imul   %r9d,%ecx
  imul   %esi,%r9d
  lea    (%rcx,%r14,1),%r14d
  movzwl %si,%ecx
  neg    %esi
  imul   %r8d,%ecx
  mov    %r14d,0x98(%rsp)
  mov    %esi,0x10(%r15,%rax,1)
  sar    $0x10,%ecx
  add    %r11d,%ecx
  add    %ecx,%edx
  add    %r9d,%edx
  cmp    %ebx,0x2a8(%rsp)
  jle    L606
  mov    0x180(%rsp,%r10,4),%ecx
  lea    0x6(%rdi),%ebx
  movslq %ebx,%r10
  sar    $0x7,%ecx
  mov    0x1c0(%rsp,%r10,4),%ebp
  lea    0x1(%rcx),%r11d
  mov    %r11d,%esi
  movzwl %bp,%ecx
  mov    %ebp,%r9d
  sar    %esi
  sar    $0x10,%r9d
  movswl %si,%r8d
  imul   %r8d,%ecx
  imul   %r8d,%r9d
  sar    $0x10,%ecx
  add    %r9d,%ecx
  add    %ecx,%r14d
  mov    %r11d,%ecx
  sar    $0x11,%r11d
  sar    $0x10,%ecx
  imul   %r8d,%r11d
  add    $0x1,%ecx
  sar    %ecx
  mov    %ecx,%r9d
  mov    %ebp,%ecx
  imul   %r9d,%ecx
  imul   %esi,%r9d
  lea    (%rcx,%r14,1),%r14d
  movzwl %si,%ecx
  neg    %esi
  imul   %r8d,%ecx
  mov    %r14d,0x98(%rsp)
  mov    %esi,0x14(%r15,%rax,1)
  sar    $0x10,%ecx
  add    %r11d,%ecx
  add    %ecx,%edx
  add    %r9d,%edx
  cmp    %ebx,0x2a8(%rsp)
  jle    L606
  mov    0x180(%rsp,%r10,4),%esi
  lea    0x7(%rdi),%ecx
  movslq %ecx,%rcx
  sar    $0x7,%esi
  mov    0x1c0(%rsp,%rcx,4),%r10d
  add    $0x1,%esi
  mov    %esi,%r8d
  movzwl %r10w,%ecx
  mov    %r10d,%edi
  sar    %r8d
  sar    $0x10,%edi
  movswl %r8w,%r9d
  imul   %r9d,%ecx
  imul   %r9d,%edi
  sar    $0x10,%ecx
  add    %edi,%ecx
  mov    %esi,%edi
  sar    $0x11,%esi
  sar    $0x10,%edi
  imul   %r9d,%esi
  add    %r14d,%ecx
  add    $0x1,%edi
  sar    %edi
  imul   %edi,%r10d
  imul   %r8d,%edi
  lea    (%r10,%rcx,1),%ebx
  movzwl %r8w,%ecx
  neg    %r8d
  imul   %r9d,%ecx
  mov    %ebx,0x98(%rsp)
  mov    %r8d,0x18(%r15,%rax,1)
  sar    $0x10,%ecx
  add    %esi,%ecx
  add    %ecx,%edx
  add    %edi,%edx
L606:
  movslq 0xfc(%rsp),%rax
  mov    %edx,%edi
  neg    %edx
  imul   0xd8(%rsp),%rax
  neg    %edi
  sar    $0xf,%edx
  movswl %di,%edi
  add    $0x1,%edx
  sar    %edx
  sar    $0x20,%rax
  movzwl %ax,%esi
  mov    %eax,%ecx
  sar    $0x10,%eax
  imul   %edi,%esi
  imul   %edi,%eax
  sar    $0x10,%esi
  add    %esi,%eax
  add    0x98(%rsp),%eax
L427:
  imul   %edx,%ecx
  mov    0xe0(%rsp),%rbx
  add    %ecx,%eax
  mov    %eax,(%rbx)
  mov    0xac(%rsp),%eax
  mov    0xe8(%rsp),%rbx
  neg    %eax
  mov    %eax,(%rbx)
  mov    0x258(%rsp),%rax
  sub    %fs:0x28,%rax
  jne    L398
  add    $0x268,%rsp
  pop    %rbx
  pop    %rbp
  pop    %r12
  pop    %r13
  pop    %r14
  pop    %r15
  ret
L317:
  movdqa 0x1a0(%rsp),%xmm6
  mov    0xd0(%rsp),%rax
  movdqa 0x1b0(%rsp),%xmm4
  psrad  $0x7,%xmm6
  paddd  %xmm12,%xmm6
  psrad  $0x7,%xmm4
  paddd  %xmm12,%xmm4
  movdqa %xmm6,%xmm13
  psrad  $0x1,%xmm13
  movdqa %xmm4,%xmm11
  psrad  $0x1,%xmm11
  movdqa %xmm13,%xmm3
  movdqa %xmm13,%xmm7
  punpcklwd %xmm11,%xmm3
  punpckhwd %xmm11,%xmm7
  movdqa %xmm3,%xmm10
  punpcklwd %xmm7,%xmm3
  punpckhwd %xmm7,%xmm10
  punpcklwd %xmm10,%xmm3
  pxor   %xmm10,%xmm10
  pcmpgtw %xmm3,%xmm10
  movdqa %xmm3,%xmm7
  punpcklwd %xmm10,%xmm7
  punpckhwd %xmm10,%xmm3
  movdqu 0x1e4(%rsp),%xmm10
  movdqa %xmm7,%xmm15
  pand   %xmm8,%xmm10
  psrlq  $0x20,%xmm15
  movdqa %xmm10,%xmm14
  psrlq  $0x20,%xmm10
  pmuludq %xmm7,%xmm14
  pmuludq %xmm15,%xmm10
  pshufd $0x8,%xmm14,%xmm14
  pshufd $0x8,%xmm10,%xmm10
  punpckldq %xmm10,%xmm14
  movdqu 0x1e4(%rsp),%xmm10
  psrad  $0x10,%xmm14
  psrad  $0x10,%xmm10
  movaps %xmm14,(%rsp)
  movdqa %xmm10,%xmm14
  psrlq  $0x20,%xmm10
  pmuludq %xmm7,%xmm14
  pmuludq %xmm15,%xmm10
  pshufd $0x8,%xmm14,%xmm14
  pshufd $0x8,%xmm10,%xmm10
  punpckldq %xmm10,%xmm14
  movdqa (%rsp),%xmm10
  paddd  %xmm14,%xmm10
  movdqa %xmm3,%xmm14
  paddd  %xmm5,%xmm10
  psrlq  $0x20,%xmm14
  movdqu 0x1f4(%rsp),%xmm5
  movaps %xmm10,0x10(%rsp)
  pand   %xmm8,%xmm5
  movdqa %xmm5,%xmm10
  psrlq  $0x20,%xmm5
  pmuludq %xmm3,%xmm10
  pmuludq %xmm14,%xmm5
  pshufd $0x8,%xmm10,%xmm10
  pshufd $0x8,%xmm5,%xmm5
  punpckldq %xmm5,%xmm10
  movdqu 0x1f4(%rsp),%xmm5
  psrad  $0x10,%xmm10
  psrad  $0x10,%xmm5
  movaps %xmm10,(%rsp)
  movdqa %xmm5,%xmm10
  psrlq  $0x20,%xmm5
  pmuludq %xmm3,%xmm10
  pmuludq %xmm14,%xmm5
  pshufd $0x8,%xmm10,%xmm10
  pshufd $0x8,%xmm5,%xmm5
  punpckldq %xmm5,%xmm10
  movdqa (%rsp),%xmm5
  paddd  %xmm10,%xmm5
  paddd  %xmm1,%xmm5
  movaps %xmm5,0x40(%rsp)
  movdqa %xmm6,%xmm5
  psrad  $0x11,%xmm6
  psrad  $0x10,%xmm5
  movdqa %xmm5,%xmm1
  movdqa %xmm4,%xmm5
  psrad  $0x10,%xmm5
  psrad  $0x11,%xmm4
  paddd  %xmm12,%xmm1
  psrad  $0x1,%xmm1
  movdqa %xmm1,%xmm10
  movdqa %xmm5,%xmm1
  movdqu 0x1e4(%rsp),%xmm5
  paddd  %xmm12,%xmm1
  movaps %xmm10,0x30(%rsp)
  pmuludq %xmm10,%xmm5
  psrad  $0x1,%xmm1
  movdqa %xmm1,%xmm12
  movdqa %xmm10,%xmm1
  psrlq  $0x20,%xmm1
  movaps %xmm12,0x20(%rsp)
  movdqa %xmm1,%xmm10
  movdqu 0x1e4(%rsp),%xmm1
  movaps %xmm10,(%rsp)
  psrlq  $0x20,%xmm1
  pshufd $0x8,%xmm5,%xmm5
  pmuludq (%rsp),%xmm1
  pshufd $0x8,%xmm1,%xmm1
  punpckldq %xmm1,%xmm5
  paddd  0x10(%rsp),%xmm5
  movdqu 0x1f4(%rsp),%xmm1
  pmuludq %xmm12,%xmm1
  movdqa %xmm1,%xmm10
  movdqa %xmm12,%xmm1
  psrlq  $0x20,%xmm1
  pshufd $0x8,%xmm10,%xmm10
  movdqa %xmm1,%xmm12
  movdqu 0x1f4(%rsp),%xmm1
  movaps %xmm12,0x10(%rsp)
  psrlq  $0x20,%xmm1
  pmuludq 0x10(%rsp),%xmm1
  pshufd $0x8,%xmm1,%xmm1
  punpckldq %xmm1,%xmm10
  movdqa 0x40(%rsp),%xmm1
  paddd  %xmm10,%xmm1
  movdqa %xmm13,%xmm10
  pand   %xmm8,%xmm10
  pand   %xmm11,%xmm8
  movdqa %xmm10,%xmm12
  psrlq  $0x20,%xmm10
  pmuludq %xmm7,%xmm12
  pmuludq %xmm15,%xmm10
  pmuludq %xmm6,%xmm7
  psrlq  $0x20,%xmm6
  pmuludq %xmm15,%xmm6
  pshufd $0x8,%xmm10,%xmm10
  pshufd $0x8,%xmm12,%xmm12
  punpckldq %xmm10,%xmm12
  pshufd $0x8,%xmm7,%xmm7
  pshufd $0x8,%xmm6,%xmm6
  psrad  $0x10,%xmm12
  punpckldq %xmm6,%xmm7
  movdqa %xmm12,%xmm10
  movdqa %xmm8,%xmm6
  psrlq  $0x20,%xmm8
  pmuludq %xmm3,%xmm6
  paddd  %xmm7,%xmm10
  movdqa %xmm8,%xmm7
  paddd  %xmm10,%xmm2
  pmuludq %xmm14,%xmm7
  pshufd $0x8,%xmm6,%xmm6
  pshufd $0x8,%xmm7,%xmm7
  punpckldq %xmm7,%xmm6
  movdqa %xmm3,%xmm7
  movdqa %xmm4,%xmm3
  psrlq  $0x20,%xmm3
  pmuludq %xmm4,%xmm7
  pmuludq %xmm14,%xmm3
  psrad  $0x10,%xmm6
  pshufd $0x8,%xmm7,%xmm4
  pshufd $0x8,%xmm3,%xmm3
  punpckldq %xmm3,%xmm4
  paddd  %xmm4,%xmm6
  movdqa %xmm13,%xmm4
  movdqa %xmm6,%xmm3
  psrlq  $0x20,%xmm4
  pmuludq (%rsp),%xmm4
  pshufd $0x8,%xmm4,%xmm4
  paddd  %xmm0,%xmm3
  movdqa 0x30(%rsp),%xmm0
  pmuludq %xmm13,%xmm0
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm4,%xmm0
  movdqa %xmm11,%xmm4
  paddd  %xmm0,%xmm2
  movdqa 0x20(%rsp),%xmm0
  psrlq  $0x20,%xmm4
  pmuludq 0x10(%rsp),%xmm4
  pshufd $0x8,%xmm4,%xmm4
  pmuludq %xmm11,%xmm0
  pshufd $0x8,%xmm0,%xmm0
  punpckldq %xmm4,%xmm0
  paddd  %xmm3,%xmm0
  movdqa %xmm9,%xmm3
  psubd  %xmm11,%xmm9
  psubd  %xmm13,%xmm3
  movups %xmm9,0x30(%rax)
  movups %xmm3,0x20(%rax)
  jmp    L78
L2:
  mov    0xfc(%rsp),%edi
  xor    %eax,%eax
  call   <SKP_Silk_CLZ32@plt>
  mov    0xf8(%rsp),%esi
  mov    %eax,%r8d
  mov    $0x3,%eax
  sub    %r8d,%eax
  test   %eax,%eax
  jle    L690
  mov    $0x8,%edx
  sub    %esi,%edx
  cmp    %eax,%edx
  cmovg  %eax,%edx
  mov    0xfc(%rsp),%eax
  mov    %edx,%ecx
  sar    %cl,%eax
L555:
  pxor   %xmm0,%xmm0
  lea    (%rdx,%rsi,1),%ebx
  mov    %eax,0xfc(%rsp)
  mov    %ebx,0xac(%rsp)
  mov    %ebx,0xf8(%rsp)
  movaps %xmm0,0x100(%rsp)
  movaps %xmm0,0x110(%rsp)
  movaps %xmm0,0x120(%rsp)
  movaps %xmm0,0x130(%rsp)
  test   %ebx,%ebx
  jg     L647
  mov    0xa0(%rsp),%ebp
  test   %ebp,%ebp
  jle    L448
  mov    0x2a8(%rsp),%r9d
  mov    %ebx,%edx
  test   %r9d,%r9d
  jle    L605
  movslq 0xc4(%rsp),%rbp
  xor    %ebx,%ebx
  mov    0xc8(%rsp),%r13
  lea    0x0(%rbp,%rbp,1),%r14
  mov    %rbp,%r15
  lea    0x100(%rsp),%rbp
  mov    %r14,(%rsp)
  mov    %rbp,%r14
  mov    %ebx,%ebp
  mov    0x2a8(%rsp),%ebx
L5:
  mov    $0x1,%r12d
  nopl   0x0(%rax)
L191:
  mov    %r15d,%edx
  lea    0x0(%r13,%r12,2),%rsi
  mov    %r13,%rdi
  xor    %eax,%eax
  sub    %r12d,%edx
  call   <SKP_Silk_inner_prod_aligned@plt>
  mov    0xf8(%rsp),%edx
  mov    %edx,%ecx
  neg    %ecx
  shl    %cl,%eax
  add    %eax,-0x4(%r14,%r12,4)
  add    $0x1,%r12
  cmp    %r12d,%ebx
  jge    L191
  add    $0x1,%ebp
  add    (%rsp),%r13
  cmp    %ebp,0xa0(%rsp)
  jne    L5
  jmp    L605
L690:
  mov    $0xfffffff0,%edx
  sub    %esi,%edx
  cmp    %eax,%edx
  cmovl  %eax,%edx
  mov    0xfc(%rsp),%eax
  mov    %edx,%ecx
  neg    %ecx
  shl    %cl,%eax
  jmp    L555
L390:
  mov    $0x10000,%edx
  xor    %edi,%edi
  jmp    L532
L586:
  mov    0x60(%rsp),%r14
  jmp    L498
L562:
  mov    $0xffffffff,%edx
  jmp    L427
L398:
  call   <__stack_chk_fail@plt>
```

tool_calls: name: read_data
arguments: data_tag: D4
data_type: byte[16]
name: read_data
arguments: data_tag: D8
data_type: byte[16]

tool: {"D4": [0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00]}

tool: {"D8": [0xff,0xff,0x00,0x00,0xff,0xff,0x00,0x00,0xff,0xff,0x00,0x00,0xff,0xff,0x00,0x00]}

assistant: ```c
void SKP_Silk_burg_modified(int *res_nrg, int *res_nrg_Q, int A_Q16[], const short x[], const int subfr_length, const int nb_subfr, const int WhiteNoiseFrac_Q32, const int D) {
  int k, n, s, lz, rshifts, rshifts_extra;
  int C0, num, nrg, rc_Q31, Atmp_QA, Atmp1, tmp1, tmp2, x1, x2;
  const short *x_ptr;
  int C_first_row[16];
  int C_last_row[16];
  int Af_QA[16];
  int CAf[16 + 1];
  int CAb[16 + 1];
  ;
  ;
  SKP_Silk_sum_sqr_shift(&C0, &rshifts, x, nb_subfr * subfr_length);
  if (rshifts > (32 - 24)) {
    C0 = ((C0) << (rshifts - (32 - 24)));
    ;
    rshifts = (32 - 24);
  } else {
    lz = SKP_Silk_CLZ32(C0) - 1;
    rshifts_extra = 2 - lz;
    if (rshifts_extra > 0) {
      rshifts_extra = (((rshifts_extra) < ((32 - 24) - rshifts)) ? (rshifts_extra) : ((32 - 24) - rshifts));
      C0 = ((C0) >> (rshifts_extra));
    } else {
      rshifts_extra = (((rshifts_extra) > (-16 - rshifts)) ? (rshifts_extra) : (-16 - rshifts));
      C0 = ((C0) << (-rshifts_extra));
    }
    rshifts += rshifts_extra;
  }
  memset((C_first_row), (0), (16 * sizeof(int)));
  if (rshifts > 0) {
    for (s = 0; s < nb_subfr; s++) {
      x_ptr = x + s * subfr_length;
      for (n = 1; n < D + 1; n++) {
        C_first_row[n - 1] += (int)((SKP_Silk_inner_prod16_aligned_64(x_ptr, x_ptr + n, subfr_length - n)) >> (rshifts));
      }
    }
  } else {
    for (s = 0; s < nb_subfr; s++) {
      x_ptr = x + s * subfr_length;
      for (n = 1; n < D + 1; n++) {
        C_first_row[n - 1] += ((SKP_Silk_inner_prod_aligned(x_ptr, x_ptr + n, subfr_length - n)) << (-rshifts));
      }
    }
  }
  memcpy((C_last_row), (C_first_row), (16 * sizeof(int)));
  CAb[0] = CAf[0] = C0 + (int)((((long long)((WhiteNoiseFrac_Q32)) * ((C0)))) >> (32)) + 1;
  for (n = 0; n < D; n++) {
    if (rshifts > -2) {
      for (s = 0; s < nb_subfr; s++) {
        x_ptr = x + s * subfr_length;
        x1 = -(((int)x_ptr[n]) << (16 - rshifts));
        x2 = -(((int)x_ptr[subfr_length - n - 1]) << (16 - rshifts));
        tmp1 = (((int)x_ptr[n]) << (24 - 16));
        tmp2 = (((int)x_ptr[subfr_length - n - 1]) << (24 - 16));
        for (k = 0; k < n; k++) {
          C_first_row[k] = ((C_first_row[k]) + ((((x1) >> 16) * (int)((short)(x_ptr[n - k - 1]))) + ((((x1)&0x0000FFFF) * (int)((short)(x_ptr[n - k - 1]))) >> 16)));
          C_last_row[k] = ((C_last_row[k]) + ((((x2) >> 16) * (int)((short)(x_ptr[subfr_length - n + k]))) + ((((x2)&0x0000FFFF) * (int)((short)(x_ptr[subfr_length - n + k]))) >> 16)));
          Atmp_QA = Af_QA[k];
          tmp1 = ((tmp1) + ((((Atmp_QA) >> 16) * (int)((short)(x_ptr[n - k - 1]))) + ((((Atmp_QA)&0x0000FFFF) * (int)((short)(x_ptr[n - k - 1]))) >> 16)));
          tmp2 = ((tmp2) + ((((Atmp_QA) >> 16) * (int)((short)(x_ptr[subfr_length - n + k]))) + ((((Atmp_QA)&0x0000FFFF) * (int)((short)(x_ptr[subfr_length - n + k]))) >> 16)));
        }
        tmp1 = ((-tmp1) << (32 - 24 - rshifts));
        tmp2 = ((-tmp2) << (32 - 24 - rshifts));
        for (k = 0; k <= n; k++) {
          CAf[k] = ((CAf[k]) + ((((tmp1) >> 16) * (int)((short)(x_ptr[n - k]))) + ((((tmp1)&0x0000FFFF) * (int)((short)(x_ptr[n - k]))) >> 16)));
          CAb[k] = ((CAb[k]) + ((((tmp2) >> 16) * (int)((short)(x_ptr[subfr_length - n + k - 1]))) + ((((tmp2)&0x0000FFFF) * (int)((short)(x_ptr[subfr_length - n + k - 1]))) >> 16)));
        }
      }
    } else {
      for (s = 0; s < nb_subfr; s++) {
        x_ptr = x + s * subfr_length;
        x1 = -(((int)x_ptr[n]) << (-rshifts));
        x2 = -(((int)x_ptr[subfr_length - n - 1]) << (-rshifts));
        tmp1 = (((int)x_ptr[n]) << (17));
        tmp2 = (((int)x_ptr[subfr_length - n - 1]) << (17));
        for (k = 0; k < n; k++) {
          C_first_row[k] = (((C_first_row[k])) + (((x1) * (x_ptr[n - k - 1]))));
          C_last_row[k] = (((C_last_row[k])) + (((x2) * (x_ptr[subfr_length - n + k]))));
          Atmp1 = ((24 - 17) == 1 ? ((Af_QA[k]) >> 1) + ((Af_QA[k]) & 1) : (((Af_QA[k]) >> ((24 - 17) - 1)) + 1) >> 1);
          tmp1 = (((tmp1)) + (((x_ptr[n - k - 1]) * (Atmp1))));
          tmp2 = (((tmp2)) + (((x_ptr[subfr_length - n + k]) * (Atmp1))));
        }
        tmp1 = -tmp1;
        tmp2 = -tmp2;
        for (k = 0; k <= n; k++) {
          CAf[k] = ((((((CAf[k])) + (((((tmp1)) >> 16) * (int)((short)(((((int)x_ptr[n - k]) << (-rshifts - 1)))))) + (((((tmp1)) & 0x0000FFFF) * (int)((short)(((((int)x_ptr[n - k]) << (-rshifts - 1)))))) >> 16))))) + ((((tmp1)) * (((16) == 1 ? ((((((int)x_ptr[n - k]) << (-rshifts - 1)))) >> 1) + ((((((int)x_ptr[n - k]) << (-rshifts - 1)))) & 1) : (((((((int)x_ptr[n - k]) << (-rshifts - 1)))) >> ((16) - 1)) + 1) >> 1)))));
          CAb[k] = ((((((CAb[k])) + (((((tmp2)) >> 16) * (int)((short)(((((int)x_ptr[subfr_length - n + k - 1]) << (-rshifts - 1)))))) + (((((tmp2)) & 0x0000FFFF) * (int)((short)(((((int)x_ptr[subfr_length - n + k - 1]) << (-rshifts - 1)))))) >> 16))))) + ((((tmp2)) * (((16) == 1 ? ((((((int)x_ptr[subfr_length - n + k - 1]) << (-rshifts - 1)))) >> 1) + ((((((int)x_ptr[subfr_length - n + k - 1]) << (-rshifts - 1)))) & 1) : (((((((int)x_ptr[subfr_length - n + k - 1]) << (-rshifts - 1)))) >> ((16) - 1)) + 1) >> 1)))));
        }
      }
    }
    tmp1 = C_first_row[n];
    tmp2 = C_last_row[n];
    num = 0;
    nrg = ((CAb[0]) + (CAf[0]));
    for (k = 0; k < n; k++) {
      Atmp_QA = Af_QA[k];
      lz = SKP_Silk_CLZ32((((Atmp_QA) > 0) ? (Atmp_QA) : -(Atmp_QA))) - 1;
      lz = (((32 - 24) < (lz)) ? (32 - 24) : (lz));
      Atmp1 = ((Atmp_QA) << (lz));
      tmp1 = (((tmp1)) + (((((int)((((long long)((C_last_row[n - k - 1])) * ((Atmp1)))) >> (32)))) << ((32 - 24 - lz)))));
      tmp2 = (((tmp2)) + (((((int)((((long long)((C_first_row[n - k - 1])) * ((Atmp1)))) >> (32)))) << ((32 - 24 - lz)))));
      num = (((num)) + (((((int)((((long long)((CAb[n - k])) * ((Atmp1)))) >> (32)))) << ((32 - 24 - lz)))));
      nrg = (((nrg)) + (((((int)((((long long)((((CAb[k + 1]) + (CAf[k + 1])))) * ((Atmp1)))) >> (32)))) << ((32 - 24 - lz)))));
    }
    CAf[n + 1] = tmp1;
    CAb[n + 1] = tmp2;
    num = ((num) + (tmp2));
    num = ((-num) << (1));
    if ((((num) > 0) ? (num) : -(num)) < nrg) {
      rc_Q31 = SKP_DIV32_varQ(num, nrg, 31);
    } else {
      memset((&Af_QA[n]), (0), ((D - n) * sizeof(int)));
      ;
      break;
    }
    for (k = 0; k < (n + 1) >> 1; k++) {
      tmp1 = Af_QA[k];
      tmp2 = Af_QA[n - k - 1];
      Af_QA[k] = (((tmp1)) + (((((int)((((long long)((tmp2)) * ((rc_Q31)))) >> (32)))) << ((1)))));
      Af_QA[n - k - 1] = (((tmp2)) + (((((int)((((long long)((tmp1)) * ((rc_Q31)))) >> (32)))) << ((1)))));
    }
    Af_QA[n] = ((rc_Q31) >> (31 - 24));
    for (k = 0; k <= n + 1; k++) {
      tmp1 = CAf[k];
      tmp2 = CAb[n - k + 1];
      CAf[k] = (((tmp1)) + (((((int)((((long long)((tmp2)) * ((rc_Q31)))) >> (32)))) << ((1)))));
      CAb[n - k + 1] = (((tmp2)) + (((((int)((((long long)((tmp1)) * ((rc_Q31)))) >> (32)))) << ((1)))));
    }
  }
  nrg = CAf[0];
  tmp1 = 1 << 16;
  for (k = 0; k < D; k++) {
    Atmp1 = ((24 - 16) == 1 ? ((Af_QA[k]) >> 1) + ((Af_QA[k]) & 1) : (((Af_QA[k]) >> ((24 - 16) - 1)) + 1) >> 1);
    nrg = ((((((nrg)) + (((((CAf[k + 1])) >> 16) * (int)((short)((Atmp1)))) + (((((CAf[k + 1])) & 0x0000FFFF) * (int)((short)((Atmp1)))) >> 16))))) + ((((CAf[k + 1])) * (((16) == 1 ? (((Atmp1)) >> 1) + (((Atmp1)) & 1) : ((((Atmp1)) >> ((16) - 1)) + 1) >> 1)))));
    tmp1 = ((((((tmp1)) + (((((Atmp1)) >> 16) * (int)((short)((Atmp1)))) + (((((Atmp1)) & 0x0000FFFF) * (int)((short)((Atmp1)))) >> 16))))) + ((((Atmp1)) * (((16) == 1 ? (((Atmp1)) >> 1) + (((Atmp1)) & 1) : ((((Atmp1)) >> ((16) - 1)) + 1) >> 1)))));
    A_Q16[k] = -Atmp1;
  }
  *res_nrg = ((((((nrg)) + ((((((int)((((long long)((WhiteNoiseFrac_Q32)) * ((C0)))) >> (32)))) >> 16) * (int)((short)((-tmp1)))) + ((((((int)((((long long)((WhiteNoiseFrac_Q32)) * ((C0)))) >> (32)))) & 0x0000FFFF) * (int)((short)((-tmp1)))) >> 16))))) + (((((int)((((long long)((WhiteNoiseFrac_Q32)) * ((C0)))) >> (32)))) * (((16) == 1 ? (((-tmp1)) >> 1) + (((-tmp1)) & 1) : ((((-tmp1)) >> ((16) - 1)) + 1) >> 1)))));
  *res_nrg_Q = -rshifts;
}
```