#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 double clock_t;

/* Variables and functions */
scalar_t__ CLOCKS_PER_SEC;
int check(char *, char *, int);
double clock();
int /*<<< orphan*/ free(char *);
char *malloc(int);
int /*<<< orphan*/ memcp(char *, char *, int);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ prtcp(char *, char *, int);
int rand();
int /*<<< orphan*/ srand(int /*<<< orphan*/);
int /*<<< orphan*/ time(int /*<<< orphan*/);
int main() {
  srand(time(0));
  char *src = malloc(sizeof(char) * ((1 << 28) + 10));
  char *dest = malloc(sizeof(char) * ((1 << 28) + 10));
  printf("Making part copy\n");
  for (size_t i = 0; i < (1 << 28); i++) {
    src[i] = rand() % 128;
    dest[i] = rand() % 128;
  }
  clock_t start = clock();
  prtcp(src, dest, (1 << 28));
  int part_check = check(src, dest, (1 << 28));
  clock_t end = clock();
  double part_time = (end - start) / (double)CLOCKS_PER_SEC;
  printf("Making memory copy\n");
  for (size_t i = 0; i < (1 << 28); i++) {
    src[i] = rand() % 128;
    dest[i] = rand() % 128;
  }
  start = clock();
  memcp(src, dest, (1 << 28));
  end = clock();
  int mem_check = check(src, dest, (1 << 28));
  double mem_time = (end - start) / (double)CLOCKS_PER_SEC;
  printf("Results for copying %d chars:\n", (1 << 28));
  printf("* Function prtcp: %lf - ", part_time);
  if (part_check) {
    printf("Copied correctly\n");
  } else {
    printf("Copied not correctly\n");
  }
  printf("* Function memcp: %lf - ", mem_time);
  if (mem_check) {
    printf("Copied correctly\n");
  } else {
    printf("Copied not correctly\n");
  }
  printf("* Boost: %lf times\n", part_time / mem_time);
  free(dest);
  free(src);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
xor    %edi,%edi
call   1090 <time@plt>
mov    %eax,%edi
call   1080 <srand@plt>
mov    $0x1000000a,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x10(%rbp)
mov    $0x1000000a,%edi
call   10a0 <malloc@plt>
mov    %rax,-0x18(%rbp)
lea    0xe20(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x20(%rbp)
cmpq   $0x10000000,-0x20(%rbp)
10
jae    1242 <main+0xa2>
mov    $0x0,%al
call   10c0 <rand@plt>
mov    $0x80,%ecx
cltd
idiv   %ecx
mov    -0x10(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    $0x0,%al
call   10c0 <rand@plt>
mov    $0x80,%ecx
cltd
idiv   %ecx
mov    -0x18(%rbp),%rax
mov    -0x20(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x20(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x20(%rbp)
jmp    11ef <main+0x4f>
mov    $0x0,%al
call   1050 <clock@plt>
movsd  %xmm0,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x10000000,%edx
call   1040 <prtcp@plt>
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x10000000,%edx
call   10b0 <check@plt>
mov    %eax,-0x2c(%rbp)
mov    $0x0,%al
call   1050 <clock@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
mov    0x2d56(%rip),%rax
cvtsi2sdq (%rax),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x40(%rbp)
lea    0xd6b(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movq   $0x0,-0x48(%rbp)
cmpq   $0x10000000,-0x48(%rbp)
10
jae    1309 <main+0x169>
mov    $0x0,%al
call   10c0 <rand@plt>
mov    $0x80,%ecx
cltd
idiv   %ecx
mov    -0x10(%rbp),%rax
mov    -0x48(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    $0x0,%al
call   10c0 <rand@plt>
mov    $0x80,%ecx
cltd
idiv   %ecx
mov    -0x18(%rbp),%rax
mov    -0x48(%rbp),%rcx
mov    %dl,(%rax,%rcx,1)
mov    -0x48(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x48(%rbp)
jmp    12b6 <main+0x116>
mov    $0x0,%al
call   1050 <clock@plt>
movsd  %xmm0,-0x28(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x10000000,%edx
call   1070 <memcp@plt>
mov    $0x0,%al
call   1050 <clock@plt>
movsd  %xmm0,-0x38(%rbp)
mov    -0x10(%rbp),%rdi
mov    -0x18(%rbp),%rsi
mov    $0x10000000,%edx
call   10b0 <check@plt>
mov    %eax,-0x4c(%rbp)
movsd  -0x38(%rbp),%xmm0
subsd  -0x28(%rbp),%xmm0
mov    0x2c8f(%rip),%rax
cvtsi2sdq (%rax),%xmm1
divsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
lea    0xcb8(%rip),%rdi
mov    $0x10000000,%esi
mov    $0x0,%al
call   1060 <printf@plt>
movsd  -0x40(%rbp),%xmm0
lea    0xcbf(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
cmpl   $0x0,-0x2c(%rbp)
je     13aa <main+0x20a>
lea    0xcc0(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13b8 <main+0x218>
lea    0xcbf(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movsd  -0x58(%rbp),%xmm0
lea    0xcc2(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
cmpl   $0x0,-0x4c(%rbp)
je     13e8 <main+0x248>
lea    0xc82(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
jmp    13f6 <main+0x256>
lea    0xc81(%rip),%rdi
mov    $0x0,%al
call   1060 <printf@plt>
movsd  -0x40(%rbp),%xmm0
divsd  -0x58(%rbp),%xmm0
lea    0xc98(%rip),%rdi
mov    $0x1,%al
call   1060 <printf@plt>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x10(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x48,%rsp
xor    %edi,%edi
call   10a0 <time@plt>
mov    %eax,%edi
call   1090 <srand@plt>
mov    $0x1000000a,%edi
call   10b0 <malloc@plt>
mov    %rax,%r14
mov    $0x1000000a,%edi
call   10b0 <malloc@plt>
mov    %rax,%rbx
lea    0xe78(%rip),%rdi
call   1040 <puts@plt>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %eax,%eax
call   10d0 <rand@plt>
lea    0x7f(%rax),%ecx
test   %eax,%eax
cmovns %eax,%ecx
and    $0x80,%ecx
sub    %ecx,%eax
mov    %al,(%r14,%rbp,1)
xor    %eax,%eax
call   10d0 <rand@plt>
lea    0x7f(%rax),%ecx
test   %eax,%eax
cmovns %eax,%ecx
and    $0x80,%ecx
sub    %ecx,%eax
mov    %al,(%rbx,%rbp,1)
add    $0x1,%rbp
cmp    $0x10000000,%rbp
jne    1200 <main+0x50>
xor    %eax,%eax
call   1060 <clock@plt>
movaps %xmm0,0x10(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0x10000000,%edx
call   1050 <prtcp@plt>
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0x10000000,%edx
call   10c0 <check@plt>
mov    %eax,%r15d
xor    %eax,%eax
call   1060 <clock@plt>
movaps %xmm0,(%rsp)
mov    0x2d65(%rip),%rax
mov    (%rax),%r13
lea    0xde9(%rip),%rdi
call   1040 <puts@plt>
xor    %ebp,%ebp
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
xor    %eax,%eax
call   10d0 <rand@plt>
lea    0x7f(%rax),%ecx
test   %eax,%eax
cmovns %eax,%ecx
and    $0x80,%ecx
sub    %ecx,%eax
mov    %al,(%r14,%rbp,1)
xor    %eax,%eax
call   10d0 <rand@plt>
lea    0x7f(%rax),%ecx
test   %eax,%eax
cmovns %eax,%ecx
and    $0x80,%ecx
sub    %ecx,%eax
mov    %al,(%rbx,%rbp,1)
add    $0x1,%rbp
cmp    $0x10000000,%rbp
jne    12a0 <main+0xf0>
xor    %eax,%eax
call   1060 <clock@plt>
movaps %xmm0,0x30(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0x10000000,%edx
call   1080 <memcp@plt>
xor    %eax,%eax
call   1060 <clock@plt>
movaps %xmm0,0x20(%rsp)
mov    %r14,%rdi
mov    %rbx,%rsi
mov    $0x10000000,%edx
call   10c0 <check@plt>
mov    %eax,%r12d
movapd (%rsp),%xmm2
unpcklpd 0x20(%rsp),%xmm2
movapd 0x10(%rsp),%xmm0
unpcklpd 0x30(%rsp),%xmm0
subpd  %xmm0,%xmm2
xorps  %xmm0,%xmm0
cvtsi2sd %r13,%xmm0
mov    0x2ca1(%rip),%rax
cvtsi2sdq (%rax),%xmm1
unpcklpd %xmm1,%xmm0
divpd  %xmm0,%xmm2
movapd %xmm2,(%rsp)
lea    0xca0(%rip),%rdi
mov    $0x10000000,%esi
xor    %eax,%eax
call   1070 <printf@plt>
lea    0xcac(%rip),%rdi
movaps (%rsp),%xmm0
mov    $0x1,%al
call   1070 <printf@plt>
test   %r15d,%r15d
lea    0xd01(%rip),%r15
lea    0xd0f(%rip),%rbp
mov    %rbp,%rdi
cmove  %r15,%rdi
call   1040 <puts@plt>
movaps (%rsp),%xmm0
movhlps %xmm0,%xmm0
movaps %xmm0,0x10(%rsp)
lea    0xc8a(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
test   %r12d,%r12d
cmove  %r15,%rbp
mov    %rbp,%rdi
call   1040 <puts@plt>
movapd (%rsp),%xmm0
divsd  0x10(%rsp),%xmm0
lea    0xc7b(%rip),%rdi
mov    $0x1,%al
call   1070 <printf@plt>
mov    %rbx,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x48,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@.str = [18 x i8] c"Making part copy\0A\00"
@CLOCKS_PER_SEC = global i64 0
@.str.1 = [20 x i8] c"Making memory copy\0A\00"
@.str.2 = [31 x i8] c"Results for copying %d chars:\0A\00"
@.str.3 = [25 x i8] c"* Function prtcp: %lf - \00"
@.str.4 = [18 x i8] c"Copied correctly\0A\00"
@.str.5 = [22 x i8] c"Copied not correctly\0A\00"
@.str.6 = [25 x i8] c"* Function memcp: %lf - \00"
@.str.7 = [20 x i8] c"* Boost: %lf times\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i8*
%3 = alloca i8*
%4 = alloca i64
%5 = alloca double
%6 = alloca i32
%7 = alloca double
%8 = alloca double
%9 = alloca i64
%10 = alloca i32
%11 = alloca double
store i32 0, i32* %1
%12 = call i32 @time(i32 0)
%13 = call i32 @srand(i32 %12)
%14 = call i8* @malloc(i32 268435466)
store i8* %14, i8** %2
%15 = call i8* @malloc(i32 268435466)
store i8* %15, i8** %3
%16 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
store i64 0, i64* %4
br label %17
17: ; preds = %33, %0
%18 = load i64, i64* %4
%19 = icmp ult i64 %18, 268435456
br i1 %19, label %20, label %36
20: ; preds = %17
%21 = call i32 (...) @rand()
%22 = srem i32 %21, 128
%23 = trunc i32 %22 to i8
%24 = load i8*, i8** %2
%25 = load i64, i64* %4
%26 = getelementptr inbounds i8, i8* %24, i64 %25
store i8 %23, i8* %26
%27 = call i32 (...) @rand()
%28 = srem i32 %27, 128
%29 = trunc i32 %28 to i8
%30 = load i8*, i8** %3
%31 = load i64, i64* %4
%32 = getelementptr inbounds i8, i8* %30, i64 %31
store i8 %29, i8* %32
br label %33
33: ; preds = %20
%34 = load i64, i64* %4
%35 = add i64 %34, 1
store i64 %35, i64* %4
br label %17
36: ; preds = %17
%37 = call double (...) @clock()
store double %37, double* %5
%38 = load i8*, i8** %2
%39 = load i8*, i8** %3
%40 = call i32 @prtcp(i8* %38, i8* %39, i32 268435456)
%41 = load i8*, i8** %2
%42 = load i8*, i8** %3
%43 = call i32 @check(i8* %41, i8* %42, i32 268435456)
store i32 %43, i32* %6
%44 = call double (...) @clock()
store double %44, double* %7
%45 = load double, double* %7
%46 = load double, double* %5
%47 = fsub double %45, %46
%48 = load i64, i64* @CLOCKS_PER_SEC
%49 = sitofp i64 %48 to double
%50 = fdiv double %47, %49
store double %50, double* %8
%51 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0))
store i64 0, i64* %9
br label %52
52: ; preds = %68, %36
%53 = load i64, i64* %9
%54 = icmp ult i64 %53, 268435456
br i1 %54, label %55, label %71
55: ; preds = %52
%56 = call i32 (...) @rand()
%57 = srem i32 %56, 128
%58 = trunc i32 %57 to i8
%59 = load i8*, i8** %2
%60 = load i64, i64* %9
%61 = getelementptr inbounds i8, i8* %59, i64 %60
store i8 %58, i8* %61
%62 = call i32 (...) @rand()
%63 = srem i32 %62, 128
%64 = trunc i32 %63 to i8
%65 = load i8*, i8** %3
%66 = load i64, i64* %9
%67 = getelementptr inbounds i8, i8* %65, i64 %66
store i8 %64, i8* %67
br label %68
68: ; preds = %55
%69 = load i64, i64* %9
%70 = add i64 %69, 1
store i64 %70, i64* %9
br label %52
71: ; preds = %52
%72 = call double (...) @clock()
store double %72, double* %5
%73 = load i8*, i8** %2
%74 = load i8*, i8** %3
%75 = call i32 @memcp(i8* %73, i8* %74, i32 268435456)
%76 = call double (...) @clock()
store double %76, double* %7
%77 = load i8*, i8** %2
%78 = load i8*, i8** %3
%79 = call i32 @check(i8* %77, i8* %78, i32 268435456)
store i32 %79, i32* %10
%80 = load double, double* %7
%81 = load double, double* %5
%82 = fsub double %80, %81
%83 = load i64, i64* @CLOCKS_PER_SEC
%84 = sitofp i64 %83 to double
%85 = fdiv double %82, %84
store double %85, double* %11
%86 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 268435456)
%87 = load double, double* %8
%88 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), double %87)
%89 = load i32, i32* %6
%90 = icmp ne i32 %89, 0
br i1 %90, label %91, label %93
91: ; preds = %71
%92 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
br label %95
93: ; preds = %71
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %95
95: ; preds = %93, %91
%96 = load double, double* %11
%97 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), double %96)
%98 = load i32, i32* %10
%99 = icmp ne i32 %98, 0
br i1 %99, label %100, label %102
100: ; preds = %95
%101 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.4, i64 0, i64 0))
br label %104
102: ; preds = %95
%103 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.5, i64 0, i64 0))
br label %104
104: ; preds = %102, %100
%105 = load double, double* %8
%106 = load double, double* %11
%107 = fdiv double %105, %106
%108 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), double %107)
%109 = load i8*, i8** %3
%110 = call i32 @free(i8* %109)
%111 = load i8*, i8** %2
%112 = call i32 @free(i8* %111)
ret i32 0
}

LLVM IR (-O2):
@CLOCKS_PER_SEC = global i64 0
@.str.2 = [31 x i8] c"Results for copying %d chars:\0A\00"
@.str.3 = [25 x i8] c"* Function prtcp: %lf - \00"
@.str.6 = [25 x i8] c"* Function memcp: %lf - \00"
@.str.7 = [20 x i8] c"* Boost: %lf times\0A\00"
@str = [17 x i8] c"Making part copy\00"
@str.8 = [19 x i8] c"Making memory copy\00"
@str.10 = [21 x i8] c"Copied not correctly\00"
@str.12 = [17 x i8] c"Copied correctly\00"
define i32 @main() {
%1 = tail call i32 @time(i32 0)
%2 = tail call i32 @srand(i32 %1)
%3 = tail call dereferenceable_or_null(268435466) i8* @malloc(i32 268435466)
%4 = tail call dereferenceable_or_null(268435466) i8* @malloc(i32 268435466)
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
br label %13
6: ; preds = %13
%7 = tail call double (...) @clock()
%8 = tail call i32 @prtcp(i8* %3, i8* %4, i32 268435456)
%9 = tail call i32 @check(i8* %3, i8* %4, i32 268435456)
%10 = tail call double (...) @clock()
%11 = load i64, i64* @CLOCKS_PER_SEC
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.8, i64 0, i64 0))
br label %55
13: ; preds = %0, %13
%14 = phi i64 [ 0, %0 ], [ %23, %13 ]
%15 = tail call i32 (...) @rand()
%16 = srem i32 %15, 128
%17 = trunc i32 %16 to i8
%18 = getelementptr inbounds i8, i8* %3, i64 %14
store i8 %17, i8* %18
%19 = tail call i32 (...) @rand()
%20 = srem i32 %19, 128
%21 = trunc i32 %20 to i8
%22 = getelementptr inbounds i8, i8* %4, i64 %14
store i8 %21, i8* %22
%23 = add nuw nsw i64 %14, 1
%24 = icmp eq i64 %23, 268435456
br i1 %24, label %6, label %13
25: ; preds = %55
%26 = tail call double (...) @clock()
%27 = tail call i32 @memcp(i8* %3, i8* %4, i32 268435456)
%28 = tail call double (...) @clock()
%29 = tail call i32 @check(i8* %3, i8* %4, i32 268435456)
%30 = insertelement <2 x double> poison, double %10, i64 0
%31 = insertelement <2 x double> %30, double %28, i64 1
%32 = insertelement <2 x double> poison, double %7, i64 0
%33 = insertelement <2 x double> %32, double %26, i64 1
%34 = fsub <2 x double> %31, %33
%35 = load i64, i64* @CLOCKS_PER_SEC
%36 = insertelement <2 x i64> poison, i64 %11, i64 0
%37 = insertelement <2 x i64> %36, i64 %35, i64 1
%38 = sitofp <2 x i64> %37 to <2 x double>
%39 = fdiv <2 x double> %34, %38
%40 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([31 x i8], [31 x i8]* @.str.2, i64 0, i64 0), i32 268435456)
%41 = extractelement <2 x double> %39, i64 0
%42 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0), double %41)
%43 = icmp eq i32 %9, 0
%44 = select i1 %43, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @str.10, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @str.12, i64 0, i64 0)
%45 = tail call i32 @puts(i8* dereferenceable(1) %44)
%46 = extractelement <2 x double> %39, i64 1
%47 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.6, i64 0, i64 0), double %46)
%48 = icmp eq i32 %29, 0
%49 = select i1 %48, i8* getelementptr inbounds ([21 x i8], [21 x i8]* @str.10, i64 0, i64 0), i8* getelementptr inbounds ([17 x i8], [17 x i8]* @str.12, i64 0, i64 0)
%50 = tail call i32 @puts(i8* dereferenceable(1) %49)
%51 = fdiv double %41, %46
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), double %51)
%53 = tail call i32 @free(i8* %4)
%54 = tail call i32 @free(i8* %3)
ret i32 0
55: ; preds = %6, %55
%56 = phi i64 [ 0, %6 ], [ %65, %55 ]
%57 = tail call i32 (...) @rand()
%58 = srem i32 %57, 128
%59 = trunc i32 %58 to i8
%60 = getelementptr inbounds i8, i8* %3, i64 %56
store i8 %59, i8* %60
%61 = tail call i32 (...) @rand()
%62 = srem i32 %61, 128
%63 = trunc i32 %62 to i8
%64 = getelementptr inbounds i8, i8* %4, i64 %56
store i8 %63, i8* %64
%65 = add nuw nsw i64 %56, 1
%66 = icmp eq i64 %65, 268435456
br i1 %66, label %25, label %55
}