#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ SKP_Silk_NLSF_stabilize(int *, int const *, int const);
void SKP_Silk_NLSF_stabilize_multi(int *NLSF_Q15, const int *NDeltaMin_Q15,
                                   const int N, const int L) {
  int n;
  for (n = 0; n < N; n++) {
    SKP_Silk_NLSF_stabilize(&NLSF_Q15[n * L], NDeltaMin_Q15, L);
  }
}


x86 assembly (clang, -O0):
<SKP_Silk_NLSF_stabilize_multi>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %edx,-0x14(%rbp)
mov    %ecx,-0x18(%rbp)
movl   $0x0,-0x1c(%rbp)
mov    -0x1c(%rbp),%eax
cmp    -0x14(%rbp),%eax
jge    1167 <SKP_Silk_NLSF_stabilize_multi+0x57>
mov    -0x8(%rbp),%rdi
mov    -0x1c(%rbp),%eax
imul   -0x18(%rbp),%eax
cltq
shl    $0x2,%rax
add    %rax,%rdi
mov    -0x10(%rbp),%rsi
mov    -0x18(%rbp),%edx
call   1030 <SKP_Silk_NLSF_stabilize@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    112d <SKP_Silk_NLSF_stabilize_multi+0x1d>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<SKP_Silk_NLSF_stabilize_multi>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
test   %edx,%edx
jle    1147 <SKP_Silk_NLSF_stabilize_multi+0x37>
mov    %ecx,%r14d
mov    %rsi,%r15
mov    %rdi,%rbp
movslq %ecx,%r12
mov    %edx,%ebx
shl    $0x2,%r12
xchg   %ax,%ax
mov    %rbp,%rdi
mov    %r15,%rsi
mov    %r14d,%edx
call   1030 <SKP_Silk_NLSF_stabilize@plt>
add    %r12,%rbp
add    $0xffffffffffffffff,%rbx
jne    1130 <SKP_Silk_NLSF_stabilize_multi+0x20>
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @SKP_Silk_NLSF_stabilize_multi(i32* %0, i32* %1, i32 %2, i32 %3) {
%5 = alloca i32*
%6 = alloca i32*
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
store i32* %0, i32** %5
store i32* %1, i32** %6
store i32 %2, i32* %7
store i32 %3, i32* %8
store i32 0, i32* %9
br label %10
10: ; preds = %24, %4
%11 = load i32, i32* %9
%12 = load i32, i32* %7
%13 = icmp slt i32 %11, %12
br i1 %13, label %14, label %27
14: ; preds = %10
%15 = load i32*, i32** %5
%16 = load i32, i32* %9
%17 = load i32, i32* %8
%18 = mul nsw i32 %16, %17
%19 = sext i32 %18 to i64
%20 = getelementptr inbounds i32, i32* %15, i64 %19
%21 = load i32*, i32** %6
%22 = load i32, i32* %8
%23 = call i32 @SKP_Silk_NLSF_stabilize(i32* %20, i32* %21, i32 %22)
br label %24
24: ; preds = %14
%25 = load i32, i32* %9
%26 = add nsw i32 %25, 1
store i32 %26, i32* %9
br label %10
27: ; preds = %10
ret void
}

LLVM IR (-O2):
define void @SKP_Silk_NLSF_stabilize_multi(i32* %0, i32* %1, i32 %2, i32 %3) {
%5 = icmp sgt i32 %2, 0
br i1 %5, label %6, label %16
6: ; preds = %4
%7 = sext i32 %3 to i64
%8 = zext i32 %2 to i64
br label %9
9: ; preds = %6, %9
%10 = phi i64 [ 0, %6 ], [ %14, %9 ]
%11 = mul nsw i64 %10, %7
%12 = getelementptr inbounds i32, i32* %0, i64 %11
%13 = tail call i32 @SKP_Silk_NLSF_stabilize(i32* %12, i32* %1, i32 %3)
%14 = add nuw nsw i64 %10, 1
%15 = icmp eq i64 %14, %8
br i1 %15, label %16, label %9
16: ; preds = %9, %4
ret void
}