#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 */
typedef int /*<<< orphan*/ int16_t;

/* Variables and functions */
void coefficients_40_159(int16_t *LARpp_j, int16_t *LARp) {
  int i;
  for (i = 1; i <= 8; i++)
    *LARp++ = *LARpp_j++;
}


x86 assembly (clang, -O0):
<coefficients_40_159>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x1,-0x14(%rbp)
cmpl   $0x8,-0x14(%rbp)
jg     114d <coefficients_40_159+0x4d>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x4,%rcx
mov    %rcx,-0x8(%rbp)
mov    (%rax),%ecx
mov    -0x10(%rbp),%rax
mov    %rax,%rdx
add    $0x4,%rdx
mov    %rdx,-0x10(%rbp)
mov    %ecx,(%rax)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1113 <coefficients_40_159+0x13>
pop    %rbp
ret

x86 assembly (clang, -O2):
<coefficients_40_159>:
mov    (%rdi),%eax
mov    %eax,(%rsi)
mov    0x4(%rdi),%eax
mov    %eax,0x4(%rsi)
mov    0x8(%rdi),%eax
mov    %eax,0x8(%rsi)
mov    0xc(%rdi),%eax
mov    %eax,0xc(%rsi)
mov    0x10(%rdi),%eax
mov    %eax,0x10(%rsi)
mov    0x14(%rdi),%eax
mov    %eax,0x14(%rsi)
mov    0x18(%rdi),%eax
mov    %eax,0x18(%rsi)
mov    0x1c(%rdi),%eax
mov    %eax,0x1c(%rsi)
ret

LLVM IR (-O0):
define void @coefficients_40_159(i32* %0, i32* %1) {
%3 = alloca i32*
%4 = alloca i32*
%5 = alloca i32
store i32* %0, i32** %3
store i32* %1, i32** %4
store i32 1, i32* %5
br label %6
6: ; preds = %15, %2
%7 = load i32, i32* %5
%8 = icmp sle i32 %7, 8
br i1 %8, label %9, label %18
9: ; preds = %6
%10 = load i32*, i32** %3
%11 = getelementptr inbounds i32, i32* %10, i32 1
store i32* %11, i32** %3
%12 = load i32, i32* %10
%13 = load i32*, i32** %4
%14 = getelementptr inbounds i32, i32* %13, i32 1
store i32* %14, i32** %4
store i32 %12, i32* %13
br label %15
15: ; preds = %9
%16 = load i32, i32* %5
%17 = add nsw i32 %16, 1
store i32 %17, i32* %5
br label %6
18: ; preds = %6
ret void
}

LLVM IR (-O2):
define void @coefficients_40_159(i32* nocapture %0, i32* nocapture writeonly %1) {
%3 = getelementptr inbounds i32, i32* %0, i64 1
%4 = load i32, i32* %0
%5 = getelementptr inbounds i32, i32* %1, i64 1
store i32 %4, i32* %1
%6 = getelementptr inbounds i32, i32* %0, i64 2
%7 = load i32, i32* %3
%8 = getelementptr inbounds i32, i32* %1, i64 2
store i32 %7, i32* %5
%9 = getelementptr inbounds i32, i32* %0, i64 3
%10 = load i32, i32* %6
%11 = getelementptr inbounds i32, i32* %1, i64 3
store i32 %10, i32* %8
%12 = getelementptr inbounds i32, i32* %0, i64 4
%13 = load i32, i32* %9
%14 = getelementptr inbounds i32, i32* %1, i64 4
store i32 %13, i32* %11
%15 = getelementptr inbounds i32, i32* %0, i64 5
%16 = load i32, i32* %12
%17 = getelementptr inbounds i32, i32* %1, i64 5
store i32 %16, i32* %14
%18 = getelementptr inbounds i32, i32* %0, i64 6
%19 = load i32, i32* %15
%20 = getelementptr inbounds i32, i32* %1, i64 6
store i32 %19, i32* %17
%21 = getelementptr inbounds i32, i32* %0, i64 7
%22 = load i32, i32* %18
%23 = getelementptr inbounds i32, i32* %1, i64 7
store i32 %22, i32* %20
%24 = load i32, i32* %21
store i32 %24, i32* %23
ret void
}