#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*/ c;
typedef int /*<<< orphan*/ b;
typedef int /*<<< orphan*/ a;

/* Variables and functions */
int /*<<< orphan*/ _memcpy(int *, int *, int);
int /*<<< orphan*/ _memcpy2(int *, int *, int);
int /*<<< orphan*/ printf(char *, ...);
void test__memcpy() {
  int a[10] = {3906, 1, 20, 7083, 11, 36};
  int *p = a + 3;
  int i;
  for (i = 0; i < sizeof(a) / sizeof(typeof(a[0])); i++) {
    printf("%d ", a[i]);
  }
  printf("\n");
  printf("a=^^\n");
  int b[sizeof(a) / sizeof(typeof(a[0]))];
  _memcpy(b, a, sizeof(a));
  for (i = 0; i < sizeof(b) / sizeof(typeof(b[0])); i++) {
    printf("%d ", b[i]);
  }
  printf("\n");
  printf("copy from a to b=^^\n");
  _memcpy(p, a, sizeof(a) - 3 * sizeof(a[0]));
  for (i = 0; i < sizeof(a) / sizeof(typeof(a[0])); i++) {
    printf("%d ", a[i]);
  }
  printf("\n");
  printf("copy from a to a+3=^^\n");
  int c[10] = {1, 2, 3, 4, 5, 6, 7, 8};
  p = c + 2;
  _memcpy2(p, c, sizeof(c) - 2 * sizeof(c[0]));
  for (i = 0; i < sizeof(c) / sizeof(typeof(c[0])); i++) {
    printf("%d ", c[i]);
  }
  printf("\n");
  printf("copy from c to c+2=^^\n");
}


x86 assembly (clang, -O0):
<test__memcpy>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
lea    -0x30(%rbp),%rdi
xor    %esi,%esi
mov    $0x28,%edx
call   1060 <memset@plt>
movl   $0xf42,-0x30(%rbp)
movl   $0x1,-0x2c(%rbp)
movl   $0x14,-0x28(%rbp)
movl   $0x1bab,-0x24(%rbp)
movl   $0xb,-0x20(%rbp)
movl   $0x24,-0x1c(%rbp)
lea    -0x30(%rbp),%rax
add    $0xc,%rax
mov    %rax,-0x38(%rbp)
movl   $0x0,-0x3c(%rbp)
movslq -0x3c(%rbp),%rax
cmp    $0xa,%rax
jae    11da <test__memcpy+0x8a>
movslq -0x3c(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%esi
lea    0xe3b(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    11a8 <test__memcpy+0x58>
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xe15(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0x70(%rbp),%rdi
lea    -0x30(%rbp),%rsi
mov    $0x28,%edx
call   1040 <_memcpy@plt>
movl   $0x0,-0x3c(%rbp)
movslq -0x3c(%rbp),%rax
cmp    $0xa,%rax
jae    1241 <test__memcpy+0xf1>
movslq -0x3c(%rbp),%rax
mov    -0x70(%rbp,%rax,4),%esi
lea    0xdd4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    120f <test__memcpy+0xbf>
lea    0xe03(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xdb4(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x38(%rbp),%rdi
lea    -0x30(%rbp),%rsi
mov    $0x1c,%edx
call   1040 <_memcpy@plt>
movl   $0x0,-0x3c(%rbp)
movslq -0x3c(%rbp),%rax
cmp    $0xa,%rax
jae    12a8 <test__memcpy+0x158>
movslq -0x3c(%rbp),%rax
mov    -0x30(%rbp,%rax,4),%esi
lea    0xd6d(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1276 <test__memcpy+0x126>
lea    0xd9c(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xd62(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    -0xa0(%rbp),%rdi
lea    0xd7e(%rip),%rsi
mov    $0x28,%edx
call   1070 <memcpy@plt>
lea    -0xa0(%rbp),%rax
add    $0x8,%rax
mov    %rax,-0x38(%rbp)
mov    -0x38(%rbp),%rdi
lea    -0xa0(%rbp),%rsi
mov    $0x20,%edx
call   1030 <_memcpy2@plt>
movl   $0x0,-0x3c(%rbp)
movslq -0x3c(%rbp),%rax
cmp    $0xa,%rax
jae    133c <test__memcpy+0x1ec>
movslq -0x3c(%rbp),%rax
mov    -0xa0(%rbp,%rax,4),%esi
lea    0xcd9(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
mov    -0x3c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x3c(%rbp)
jmp    1307 <test__memcpy+0x1b7>
lea    0xd08(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
lea    0xce5(%rip),%rdi
mov    $0x0,%al
call   1050 <printf@plt>
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<test__memcpy>:
push   %r15
push   %r14
push   %rbx
sub    $0x90,%rsp
xorps  %xmm0,%xmm0
movaps %xmm0,0x10(%rsp)
movq   $0x0,0x20(%rsp)
lea    0xc(%rsp),%r14
movaps 0xe87(%rip),%xmm0
movaps %xmm0,(%rsp)
movabs $0x240000000b,%rax
mov    %rax,0x10(%rsp)
lea    0xe7d(%rip),%rbx
mov    %rbx,%rdi
mov    $0xf42,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    $0x14,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    $0x1bab,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    $0xb,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
mov    $0x24,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xde6(%rip),%rdi
call   1060 <puts@plt>
lea    0x60(%rsp),%rdi
mov    %rsp,%r15
mov    %r15,%rsi
mov    $0x28,%edx
call   1050 <_memcpy@plt>
mov    0x60(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x64(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x68(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x6c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x70(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x74(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x78(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x7c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x80(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x84(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xd2e(%rip),%rdi
call   1060 <puts@plt>
mov    %r14,%rdi
mov    %r15,%rsi
mov    $0x1c,%edx
call   1050 <_memcpy@plt>
mov    (%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x10(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x14(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x18(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x1c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x20(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x24(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xc91(%rip),%rdi
call   1060 <puts@plt>
mov    0xcd8(%rip),%rax
mov    %rax,0x50(%rsp)
movaps 0xcbc(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xca0(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
lea    0x38(%rsp),%rdi
lea    0x30(%rsp),%rsi
mov    $0x20,%edx
call   1030 <_memcpy2@plt>
mov    0x30(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x34(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x38(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x3c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x40(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x44(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x48(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x4c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x50(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    0x54(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1070 <printf@plt>
mov    $0xa,%edi
call   1040 <putchar@plt>
lea    0xbcd(%rip),%rdi
call   1060 <puts@plt>
add    $0x90,%rsp
pop    %rbx
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [4 x i8] c"%d \00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [6 x i8] c"a=^^\0A\00"
@.str.3 = [21 x i8] c"copy from a to b=^^\0A\00"
@.str.4 = [23 x i8] c"copy from a to a+3=^^\0A\00"
@__const.test__memcpy.c = [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 0, i32 0]
@.str.5 = [23 x i8] c"copy from c to c+2=^^\0A\00"
define void @test__memcpy() {
%1 = alloca [10 x i32]
%2 = alloca i32*
%3 = alloca i32
%4 = alloca [10 x i32]
%5 = alloca [10 x i32]
%6 = bitcast [10 x i32]* %1 to i8*
%7 = bitcast i8* %6 to [10 x i32]*
%8 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i32 0, i32 0
store i32 3906, i32* %8
%9 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i32 0, i32 1
store i32 1, i32* %9
%10 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i32 0, i32 2
store i32 20, i32* %10
%11 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i32 0, i32 3
store i32 7083, i32* %11
%12 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i32 0, i32 4
store i32 11, i32* %12
%13 = getelementptr inbounds [10 x i32], [10 x i32]* %7, i32 0, i32 5
store i32 36, i32* %13
%14 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 0
%15 = getelementptr inbounds i32, i32* %14, i64 3
store i32* %15, i32** %2
store i32 0, i32* %3
br label %16
16: ; preds = %26, %0
%17 = load i32, i32* %3
%18 = sext i32 %17 to i64
%19 = icmp ult i64 %18, 10
br i1 %19, label %20, label %29
20: ; preds = %16
%21 = load i32, i32* %3
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %22
%24 = load i32, i32* %23
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %24)
br label %26
26: ; preds = %20
%27 = load i32, i32* %3
%28 = add nsw i32 %27, 1
store i32 %28, i32* %3
br label %16
29: ; preds = %16
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%31 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.2, i64 0, i64 0))
%32 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 0
%33 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 0
%34 = call i32 @_memcpy(i32* %32, i32* %33, i32 40)
store i32 0, i32* %3
br label %35
35: ; preds = %45, %29
%36 = load i32, i32* %3
%37 = sext i32 %36 to i64
%38 = icmp ult i64 %37, 10
br i1 %38, label %39, label %48
39: ; preds = %35
%40 = load i32, i32* %3
%41 = sext i32 %40 to i64
%42 = getelementptr inbounds [10 x i32], [10 x i32]* %4, i64 0, i64 %41
%43 = load i32, i32* %42
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %43)
br label %45
45: ; preds = %39
%46 = load i32, i32* %3
%47 = add nsw i32 %46, 1
store i32 %47, i32* %3
br label %35
48: ; preds = %35
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.3, i64 0, i64 0))
%51 = load i32*, i32** %2
%52 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 0
%53 = call i32 @_memcpy(i32* %51, i32* %52, i32 28)
store i32 0, i32* %3
br label %54
54: ; preds = %64, %48
%55 = load i32, i32* %3
%56 = sext i32 %55 to i64
%57 = icmp ult i64 %56, 10
br i1 %57, label %58, label %67
58: ; preds = %54
%59 = load i32, i32* %3
%60 = sext i32 %59 to i64
%61 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 %60
%62 = load i32, i32* %61
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %62)
br label %64
64: ; preds = %58
%65 = load i32, i32* %3
%66 = add nsw i32 %65, 1
store i32 %66, i32* %3
br label %54
67: ; preds = %54
%68 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%69 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0))
%70 = bitcast [10 x i32]* %5 to i8*
%71 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 0
%72 = getelementptr inbounds i32, i32* %71, i64 2
store i32* %72, i32** %2
%73 = load i32*, i32** %2
%74 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 0
%75 = call i32 @_memcpy2(i32* %73, i32* %74, i32 32)
store i32 0, i32* %3
br label %76
76: ; preds = %86, %67
%77 = load i32, i32* %3
%78 = sext i32 %77 to i64
%79 = icmp ult i64 %78, 10
br i1 %79, label %80, label %89
80: ; preds = %76
%81 = load i32, i32* %3
%82 = sext i32 %81 to i64
%83 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 %82
%84 = load i32, i32* %83
%85 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %84)
br label %86
86: ; preds = %80
%87 = load i32, i32* %3
%88 = add nsw i32 %87, 1
store i32 %88, i32* %3
br label %76
89: ; preds = %76
%90 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
%91 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [4 x i8] c"%d \00"
@__const.test__memcpy.c = [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 0, i32 0]
@str = [5 x i8] c"a=^^\00"
@str.6 = [20 x i8] c"copy from a to b=^^\00"
@str.7 = [22 x i8] c"copy from a to a+3=^^\00"
@str.8 = [22 x i8] c"copy from c to c+2=^^\00"
define void @test__memcpy() {
%1 = alloca [10 x i32]
%2 = alloca [10 x i32]
%3 = alloca [10 x i32]
%4 = bitcast [10 x i32]* %1 to i8*
%5 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 4
%6 = bitcast i32* %5 to i8*
%7 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 0
%8 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 1
%9 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 2
%10 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 3
%11 = bitcast [10 x i32]* %1 to <4 x i32>*
store <4 x i32> <i32 3906, i32 1, i32 20, i32 7083>, <4 x i32>* %11
%12 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 4
store i32 11, i32* %12
%13 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 5
store i32 36, i32* %13
%14 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 3906)
%15 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 1)
%16 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 20)
%17 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 7083)
%18 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 11)
%19 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 36)
%20 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 6
%21 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 0)
%22 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 7
%23 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 0)
%24 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 8
%25 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 0)
%26 = getelementptr inbounds [10 x i32], [10 x i32]* %1, i64 0, i64 9
%27 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 0)
%28 = tail call i32 @putchar(i32 10)
%29 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str, i64 0, i64 0))
%30 = bitcast [10 x i32]* %2 to i8*
%31 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 0
%32 = call i32 @_memcpy(i32* %31, i32* %7, i32 40)
%33 = load i32, i32* %31
%34 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %33)
%35 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 1
%36 = load i32, i32* %35
%37 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %36)
%38 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 2
%39 = load i32, i32* %38
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %39)
%41 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 3
%42 = load i32, i32* %41
%43 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %42)
%44 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 4
%45 = load i32, i32* %44
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %45)
%47 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 5
%48 = load i32, i32* %47
%49 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %48)
%50 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 6
%51 = load i32, i32* %50
%52 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %51)
%53 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 7
%54 = load i32, i32* %53
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %54)
%56 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 8
%57 = load i32, i32* %56
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %57)
%59 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 9
%60 = load i32, i32* %59
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %60)
%62 = call i32 @putchar(i32 10)
%63 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @str.6, i64 0, i64 0))
%64 = call i32 @_memcpy(i32* %10, i32* %7, i32 28)
%65 = load i32, i32* %7
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %65)
%67 = load i32, i32* %8
%68 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %67)
%69 = load i32, i32* %9
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %69)
%71 = load i32, i32* %10
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %71)
%73 = load i32, i32* %12
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %73)
%75 = load i32, i32* %13
%76 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %75)
%77 = load i32, i32* %20
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %77)
%79 = load i32, i32* %22
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %79)
%81 = load i32, i32* %24
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %81)
%83 = load i32, i32* %26
%84 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %83)
%85 = call i32 @putchar(i32 10)
%86 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.7, i64 0, i64 0))
%87 = bitcast [10 x i32]* %3 to i8*
%88 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 0
%89 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 2
%90 = call i32 @_memcpy2(i32* %89, i32* %88, i32 32)
%91 = load i32, i32* %88
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %91)
%93 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 1
%94 = load i32, i32* %93
%95 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %94)
%96 = load i32, i32* %89
%97 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %96)
%98 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 3
%99 = load i32, i32* %98
%100 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %99)
%101 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 4
%102 = load i32, i32* %101
%103 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %102)
%104 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 5
%105 = load i32, i32* %104
%106 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %105)
%107 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 6
%108 = load i32, i32* %107
%109 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %108)
%110 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 7
%111 = load i32, i32* %110
%112 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %111)
%113 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 8
%114 = load i32, i32* %113
%115 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %114)
%116 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 9
%117 = load i32, i32* %116
%118 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %117)
%119 = call i32 @putchar(i32 10)
%120 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @str.8, i64 0, i64 0))
ret void
}