#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*/ uint8_t;

/* Variables and functions */
int /*<<< orphan*/ rte_mov16(int /*<<< orphan*/ *, int /*<<< orphan*/ const *);
void rte_mov256(uint8_t *dst, const uint8_t *src) {
  rte_mov16((uint8_t *)dst + 0 * 16, (const uint8_t *)src + 0 * 16);
  rte_mov16((uint8_t *)dst + 1 * 16, (const uint8_t *)src + 1 * 16);
  rte_mov16((uint8_t *)dst + 2 * 16, (const uint8_t *)src + 2 * 16);
  rte_mov16((uint8_t *)dst + 3 * 16, (const uint8_t *)src + 3 * 16);
  rte_mov16((uint8_t *)dst + 4 * 16, (const uint8_t *)src + 4 * 16);
  rte_mov16((uint8_t *)dst + 5 * 16, (const uint8_t *)src + 5 * 16);
  rte_mov16((uint8_t *)dst + 6 * 16, (const uint8_t *)src + 6 * 16);
  rte_mov16((uint8_t *)dst + 7 * 16, (const uint8_t *)src + 7 * 16);
  rte_mov16((uint8_t *)dst + 8 * 16, (const uint8_t *)src + 8 * 16);
  rte_mov16((uint8_t *)dst + 9 * 16, (const uint8_t *)src + 9 * 16);
  rte_mov16((uint8_t *)dst + 10 * 16, (const uint8_t *)src + 10 * 16);
  rte_mov16((uint8_t *)dst + 11 * 16, (const uint8_t *)src + 11 * 16);
  rte_mov16((uint8_t *)dst + 12 * 16, (const uint8_t *)src + 12 * 16);
  rte_mov16((uint8_t *)dst + 13 * 16, (const uint8_t *)src + 13 * 16);
  rte_mov16((uint8_t *)dst + 14 * 16, (const uint8_t *)src + 14 * 16);
  rte_mov16((uint8_t *)dst + 15 * 16, (const uint8_t *)src + 15 * 16);
}


x86 assembly (clang, -O0):
<rte_mov256>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x8(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x40,%rdi
mov    -0x10(%rbp),%rsi
add    $0x40,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x80,%rdi
mov    -0x10(%rbp),%rsi
add    $0x80,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0xc0,%rdi
mov    -0x10(%rbp),%rsi
add    $0xc0,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x100,%rdi
mov    -0x10(%rbp),%rsi
add    $0x100,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x140,%rdi
mov    -0x10(%rbp),%rsi
add    $0x140,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x180,%rdi
mov    -0x10(%rbp),%rsi
add    $0x180,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x1c0,%rdi
mov    -0x10(%rbp),%rsi
add    $0x1c0,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x200,%rdi
mov    -0x10(%rbp),%rsi
add    $0x200,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x240,%rdi
mov    -0x10(%rbp),%rsi
add    $0x240,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x280,%rdi
mov    -0x10(%rbp),%rsi
add    $0x280,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x2c0,%rdi
mov    -0x10(%rbp),%rsi
add    $0x2c0,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x300,%rdi
mov    -0x10(%rbp),%rsi
add    $0x300,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x340,%rdi
mov    -0x10(%rbp),%rsi
add    $0x340,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x380,%rdi
mov    -0x10(%rbp),%rsi
add    $0x380,%rsi
call   1030 <rte_mov16@plt>
mov    -0x8(%rbp),%rdi
add    $0x3c0,%rdi
mov    -0x10(%rbp),%rsi
add    $0x3c0,%rsi
call   1030 <rte_mov16@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<rte_mov256>:
push   %r14
push   %rbx
push   %rax
mov    %rsi,%r14
mov    %rdi,%rbx
call   1030 <rte_mov16@plt>
lea    0x40(%rbx),%rdi
lea    0x40(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x80(%rbx),%rdi
lea    0x80(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0xc0(%rbx),%rdi
lea    0xc0(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x100(%rbx),%rdi
lea    0x100(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x140(%rbx),%rdi
lea    0x140(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x180(%rbx),%rdi
lea    0x180(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x1c0(%rbx),%rdi
lea    0x1c0(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x200(%rbx),%rdi
lea    0x200(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x240(%rbx),%rdi
lea    0x240(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x280(%rbx),%rdi
lea    0x280(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x2c0(%rbx),%rdi
lea    0x2c0(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x300(%rbx),%rdi
lea    0x300(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x340(%rbx),%rdi
lea    0x340(%r14),%rsi
call   1030 <rte_mov16@plt>
lea    0x380(%rbx),%rdi
lea    0x380(%r14),%rsi
call   1030 <rte_mov16@plt>
add    $0x3c0,%rbx
add    $0x3c0,%r14
mov    %rbx,%rdi
mov    %r14,%rsi
add    $0x8,%rsp
pop    %rbx
pop    %r14
jmp    1030 <rte_mov16@plt>

LLVM IR (-O0):
define void @rte_mov256(i32* %0, i32* %1) {
%3 = alloca i32*
%4 = alloca i32*
store i32* %0, i32** %3
store i32* %1, i32** %4
%5 = load i32*, i32** %3
%6 = getelementptr inbounds i32, i32* %5, i64 0
%7 = load i32*, i32** %4
%8 = getelementptr inbounds i32, i32* %7, i64 0
%9 = call i32 @rte_mov16(i32* %6, i32* %8)
%10 = load i32*, i32** %3
%11 = getelementptr inbounds i32, i32* %10, i64 16
%12 = load i32*, i32** %4
%13 = getelementptr inbounds i32, i32* %12, i64 16
%14 = call i32 @rte_mov16(i32* %11, i32* %13)
%15 = load i32*, i32** %3
%16 = getelementptr inbounds i32, i32* %15, i64 32
%17 = load i32*, i32** %4
%18 = getelementptr inbounds i32, i32* %17, i64 32
%19 = call i32 @rte_mov16(i32* %16, i32* %18)
%20 = load i32*, i32** %3
%21 = getelementptr inbounds i32, i32* %20, i64 48
%22 = load i32*, i32** %4
%23 = getelementptr inbounds i32, i32* %22, i64 48
%24 = call i32 @rte_mov16(i32* %21, i32* %23)
%25 = load i32*, i32** %3
%26 = getelementptr inbounds i32, i32* %25, i64 64
%27 = load i32*, i32** %4
%28 = getelementptr inbounds i32, i32* %27, i64 64
%29 = call i32 @rte_mov16(i32* %26, i32* %28)
%30 = load i32*, i32** %3
%31 = getelementptr inbounds i32, i32* %30, i64 80
%32 = load i32*, i32** %4
%33 = getelementptr inbounds i32, i32* %32, i64 80
%34 = call i32 @rte_mov16(i32* %31, i32* %33)
%35 = load i32*, i32** %3
%36 = getelementptr inbounds i32, i32* %35, i64 96
%37 = load i32*, i32** %4
%38 = getelementptr inbounds i32, i32* %37, i64 96
%39 = call i32 @rte_mov16(i32* %36, i32* %38)
%40 = load i32*, i32** %3
%41 = getelementptr inbounds i32, i32* %40, i64 112
%42 = load i32*, i32** %4
%43 = getelementptr inbounds i32, i32* %42, i64 112
%44 = call i32 @rte_mov16(i32* %41, i32* %43)
%45 = load i32*, i32** %3
%46 = getelementptr inbounds i32, i32* %45, i64 128
%47 = load i32*, i32** %4
%48 = getelementptr inbounds i32, i32* %47, i64 128
%49 = call i32 @rte_mov16(i32* %46, i32* %48)
%50 = load i32*, i32** %3
%51 = getelementptr inbounds i32, i32* %50, i64 144
%52 = load i32*, i32** %4
%53 = getelementptr inbounds i32, i32* %52, i64 144
%54 = call i32 @rte_mov16(i32* %51, i32* %53)
%55 = load i32*, i32** %3
%56 = getelementptr inbounds i32, i32* %55, i64 160
%57 = load i32*, i32** %4
%58 = getelementptr inbounds i32, i32* %57, i64 160
%59 = call i32 @rte_mov16(i32* %56, i32* %58)
%60 = load i32*, i32** %3
%61 = getelementptr inbounds i32, i32* %60, i64 176
%62 = load i32*, i32** %4
%63 = getelementptr inbounds i32, i32* %62, i64 176
%64 = call i32 @rte_mov16(i32* %61, i32* %63)
%65 = load i32*, i32** %3
%66 = getelementptr inbounds i32, i32* %65, i64 192
%67 = load i32*, i32** %4
%68 = getelementptr inbounds i32, i32* %67, i64 192
%69 = call i32 @rte_mov16(i32* %66, i32* %68)
%70 = load i32*, i32** %3
%71 = getelementptr inbounds i32, i32* %70, i64 208
%72 = load i32*, i32** %4
%73 = getelementptr inbounds i32, i32* %72, i64 208
%74 = call i32 @rte_mov16(i32* %71, i32* %73)
%75 = load i32*, i32** %3
%76 = getelementptr inbounds i32, i32* %75, i64 224
%77 = load i32*, i32** %4
%78 = getelementptr inbounds i32, i32* %77, i64 224
%79 = call i32 @rte_mov16(i32* %76, i32* %78)
%80 = load i32*, i32** %3
%81 = getelementptr inbounds i32, i32* %80, i64 240
%82 = load i32*, i32** %4
%83 = getelementptr inbounds i32, i32* %82, i64 240
%84 = call i32 @rte_mov16(i32* %81, i32* %83)
ret void
}

LLVM IR (-O2):
define void @rte_mov256(i32* %0, i32* %1) {
%3 = tail call i32 @rte_mov16(i32* %0, i32* %1)
%4 = getelementptr inbounds i32, i32* %0, i64 16
%5 = getelementptr inbounds i32, i32* %1, i64 16
%6 = tail call i32 @rte_mov16(i32* %4, i32* %5)
%7 = getelementptr inbounds i32, i32* %0, i64 32
%8 = getelementptr inbounds i32, i32* %1, i64 32
%9 = tail call i32 @rte_mov16(i32* %7, i32* %8)
%10 = getelementptr inbounds i32, i32* %0, i64 48
%11 = getelementptr inbounds i32, i32* %1, i64 48
%12 = tail call i32 @rte_mov16(i32* %10, i32* %11)
%13 = getelementptr inbounds i32, i32* %0, i64 64
%14 = getelementptr inbounds i32, i32* %1, i64 64
%15 = tail call i32 @rte_mov16(i32* %13, i32* %14)
%16 = getelementptr inbounds i32, i32* %0, i64 80
%17 = getelementptr inbounds i32, i32* %1, i64 80
%18 = tail call i32 @rte_mov16(i32* %16, i32* %17)
%19 = getelementptr inbounds i32, i32* %0, i64 96
%20 = getelementptr inbounds i32, i32* %1, i64 96
%21 = tail call i32 @rte_mov16(i32* %19, i32* %20)
%22 = getelementptr inbounds i32, i32* %0, i64 112
%23 = getelementptr inbounds i32, i32* %1, i64 112
%24 = tail call i32 @rte_mov16(i32* %22, i32* %23)
%25 = getelementptr inbounds i32, i32* %0, i64 128
%26 = getelementptr inbounds i32, i32* %1, i64 128
%27 = tail call i32 @rte_mov16(i32* %25, i32* %26)
%28 = getelementptr inbounds i32, i32* %0, i64 144
%29 = getelementptr inbounds i32, i32* %1, i64 144
%30 = tail call i32 @rte_mov16(i32* %28, i32* %29)
%31 = getelementptr inbounds i32, i32* %0, i64 160
%32 = getelementptr inbounds i32, i32* %1, i64 160
%33 = tail call i32 @rte_mov16(i32* %31, i32* %32)
%34 = getelementptr inbounds i32, i32* %0, i64 176
%35 = getelementptr inbounds i32, i32* %1, i64 176
%36 = tail call i32 @rte_mov16(i32* %34, i32* %35)
%37 = getelementptr inbounds i32, i32* %0, i64 192
%38 = getelementptr inbounds i32, i32* %1, i64 192
%39 = tail call i32 @rte_mov16(i32* %37, i32* %38)
%40 = getelementptr inbounds i32, i32* %0, i64 208
%41 = getelementptr inbounds i32, i32* %1, i64 208
%42 = tail call i32 @rte_mov16(i32* %40, i32* %41)
%43 = getelementptr inbounds i32, i32* %0, i64 224
%44 = getelementptr inbounds i32, i32* %1, i64 224
%45 = tail call i32 @rte_mov16(i32* %43, i32* %44)
%46 = getelementptr inbounds i32, i32* %0, i64 240
%47 = getelementptr inbounds i32, i32* %1, i64 240
%48 = tail call i32 @rte_mov16(i32* %46, i32* %47)
ret void
}