#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*/ free(void *);
unsigned int get_input_space_partitioned_random();
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, ...);
int main(void) {
  unsigned int num_items = 20;
  unsigned int i;
  unsigned int j;
  unsigned int **p =
      (unsigned int **)malloc(sizeof(unsigned int *) * num_items);
  char *str = (char *)malloc(sizeof(char) * 8);
  char *str2 = (char *)malloc(sizeof(char) * 256);
  char *cpy = str2;
  for (i = 0; i < 256; i++) {
    cpy[0] = (char)i;
    cpy++;
  }
  cpy[0] = 0;
  str[0] = 'a';
  str[1] = 'b';
  str[2] = 'c';
  str[3] = 'd';
  str[4] = 'e';
  str[5] = 'f';
  str[6] = 'g';
  str[7] = 0;
  printf("%s", str2);
  for (i = 0; i < num_items; i++) {
    p[i] = (unsigned int *)malloc(sizeof(unsigned int) * num_items);
    for (j = 0; j < num_items; j++) {
      p[i][j] = get_input_space_partitioned_random();
    }
  }
  for (i = 0; i < num_items; i++) {
    for (j = 0; j < num_items; j++) {
      printf("%X\n", p[i][j]);
    }
    free((void *)p[i]);
  }
  free((void *)p);
  free((void *)str);
  free((void *)str2);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x14,-0x8(%rbp)
mov    -0x8(%rbp),%eax
shl    $0x3,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,-0x18(%rbp)
mov    $0x8,%edi
call   1060 <malloc@plt>
mov    %rax,-0x20(%rbp)
mov    $0x100,%edi
call   1060 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
mov    %rax,-0x30(%rbp)
movl   $0x0,-0xc(%rbp)
cmpl   $0x100,-0xc(%rbp)
jae    11c5 <main+0x85>
mov    -0xc(%rbp),%eax
mov    %al,%cl
mov    -0x30(%rbp),%rax
mov    %cl,(%rax)
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1193 <main+0x53>
mov    -0x30(%rbp),%rax
movb   $0x0,(%rax)
mov    -0x20(%rbp),%rax
movb   $0x61,(%rax)
mov    -0x20(%rbp),%rax
movb   $0x62,0x1(%rax)
mov    -0x20(%rbp),%rax
movb   $0x63,0x2(%rax)
mov    -0x20(%rbp),%rax
movb   $0x64,0x3(%rax)
mov    -0x20(%rbp),%rax
movb   $0x65,0x4(%rax)
mov    -0x20(%rbp),%rax
movb   $0x66,0x5(%rax)
mov    -0x20(%rbp),%rax
movb   $0x67,0x6(%rax)
mov    -0x20(%rbp),%rax
movb   $0x0,0x7(%rax)
mov    -0x28(%rbp),%rsi
lea    0xdea(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    129a <main+0x15a>
mov    -0x8(%rbp),%eax
shl    $0x2,%rax
mov    %eax,%edi
call   1060 <malloc@plt>
mov    %rax,%rdx
mov    -0x18(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    %rdx,(%rax,%rcx,8)
movl   $0x0,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    1287 <main+0x147>
mov    $0x0,%al
call   1050 <get_input_space_partitioned_random@plt>
mov    %eax,%edx
mov    -0x18(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x10(%rbp),%ecx
mov    %edx,(%rax,%rcx,4)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1253 <main+0x113>
jmp    128c <main+0x14c>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    1224 <main+0xe4>
movl   $0x0,-0xc(%rbp)
mov    -0xc(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    130b <main+0x1cb>
movl   $0x0,-0x10(%rbp)
mov    -0x10(%rbp),%eax
cmp    -0x8(%rbp),%eax
jae    12ed <main+0x1ad>
mov    -0x18(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    (%rax,%rcx,8),%rax
mov    -0x10(%rbp),%ecx
mov    (%rax,%rcx,4),%esi
lea    0xd2b(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    12b4 <main+0x174>
mov    -0x18(%rbp),%rax
mov    -0xc(%rbp),%ecx
mov    (%rax,%rcx,8),%rdi
call   1030 <free@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    12a1 <main+0x161>
mov    -0x18(%rbp),%rdi
call   1030 <free@plt>
mov    -0x20(%rbp),%rdi
call   1030 <free@plt>
mov    -0x28(%rbp),%rdi
call   1030 <free@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    $0xa0,%edi
call   1060 <malloc@plt>
mov    %rax,%r13
mov    $0x8,%edi
call   1060 <malloc@plt>
mov    %rax,%r14
mov    $0x100,%edi
call   1060 <malloc@plt>
mov    %rax,%r15
movaps 0xe89(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xe8f(%rip),%xmm0
movups %xmm0,0x10(%rax)
movaps 0xe94(%rip),%xmm0
movups %xmm0,0x20(%rax)
movaps 0xe99(%rip),%xmm0
movups %xmm0,0x30(%rax)
movaps 0xe9e(%rip),%xmm0
movups %xmm0,0x40(%rax)
movaps 0xea3(%rip),%xmm0
movups %xmm0,0x50(%rax)
movaps 0xea8(%rip),%xmm0
movups %xmm0,0x60(%rax)
movaps 0xead(%rip),%xmm0
movups %xmm0,0x70(%rax)
movaps 0xeb2(%rip),%xmm0
movups %xmm0,0x80(%rax)
movaps 0xeb4(%rip),%xmm0
movups %xmm0,0x90(%rax)
movaps 0xeb6(%rip),%xmm0
movups %xmm0,0xa0(%rax)
movaps 0xeb8(%rip),%xmm0
movups %xmm0,0xb0(%rax)
movaps 0xeba(%rip),%xmm0
movups %xmm0,0xc0(%rax)
movaps 0xebc(%rip),%xmm0
movups %xmm0,0xd0(%rax)
movaps 0xebe(%rip),%xmm0
movups %xmm0,0xe0(%rax)
movaps 0xec0(%rip),%xmm0
movups %xmm0,0xf0(%rax)
movb   $0x0,0x100(%rax)
movabs $0x67666564636261,%rax
mov    %rax,(%r14)
lea    0xeae(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %ebx,%ebx
xchg   %ax,%ax
mov    $0x50,%edi
call   1060 <malloc@plt>
mov    %rax,0x0(%r13,%rbx,8)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x4(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x8(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0xc(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x10(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x14(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x18(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x1c(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x20(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x24(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x28(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x2c(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x30(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x34(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x38(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x3c(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x40(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x44(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x48(%rcx)
xor    %eax,%eax
call   1050 <get_input_space_partitioned_random@plt>
mov    0x0(%r13,%rbx,8),%rcx
mov    %eax,0x4c(%rcx)
add    $0x1,%rbx
cmp    $0x14,%rbx
jne    1260 <main+0x120>
lea    0xd54(%rip),%r12
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    0x0(%r13,%rbx,8),%rax
mov    (%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x4(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x8(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0xc(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x10(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x14(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x18(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x1c(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x20(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x24(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x28(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x2c(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x30(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x34(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x38(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x3c(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x40(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x44(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x48(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rax
mov    0x4c(%rax),%esi
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x0(%r13,%rbx,8),%rdi
call   1030 <free@plt>
add    $0x1,%rbx
cmp    $0x14,%rbx
jne    13c0 <main+0x280>
mov    %r13,%rdi
call   1030 <free@plt>
mov    %r14,%rdi
call   1030 <free@plt>
mov    %r15,%rdi
call   1030 <free@plt>
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@.str = [3 x i8] c"%s\00"
@.str.1 = [4 x i8] c"%X\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca i32**
%6 = alloca i8*
%7 = alloca i8*
%8 = alloca i8*
store i32 0, i32* %1
store i32 20, i32* %2
%9 = load i32, i32* %2
%10 = zext i32 %9 to i64
%11 = mul i64 8, %10
%12 = trunc i64 %11 to i32
%13 = call i64 @malloc(i32 %12)
%14 = inttoptr i64 %13 to i32**
store i32** %14, i32*** %5
%15 = call i64 @malloc(i32 8)
%16 = inttoptr i64 %15 to i8*
store i8* %16, i8** %6
%17 = call i64 @malloc(i32 256)
%18 = inttoptr i64 %17 to i8*
store i8* %18, i8** %7
%19 = load i8*, i8** %7
store i8* %19, i8** %8
store i32 0, i32* %3
br label %20
20: ; preds = %30, %0
%21 = load i32, i32* %3
%22 = icmp ult i32 %21, 256
br i1 %22, label %23, label %33
23: ; preds = %20
%24 = load i32, i32* %3
%25 = trunc i32 %24 to i8
%26 = load i8*, i8** %8
%27 = getelementptr inbounds i8, i8* %26, i64 0
store i8 %25, i8* %27
%28 = load i8*, i8** %8
%29 = getelementptr inbounds i8, i8* %28, i32 1
store i8* %29, i8** %8
br label %30
30: ; preds = %23
%31 = load i32, i32* %3
%32 = add i32 %31, 1
store i32 %32, i32* %3
br label %20
33: ; preds = %20
%34 = load i8*, i8** %8
%35 = getelementptr inbounds i8, i8* %34, i64 0
store i8 0, i8* %35
%36 = load i8*, i8** %6
%37 = getelementptr inbounds i8, i8* %36, i64 0
store i8 97, i8* %37
%38 = load i8*, i8** %6
%39 = getelementptr inbounds i8, i8* %38, i64 1
store i8 98, i8* %39
%40 = load i8*, i8** %6
%41 = getelementptr inbounds i8, i8* %40, i64 2
store i8 99, i8* %41
%42 = load i8*, i8** %6
%43 = getelementptr inbounds i8, i8* %42, i64 3
store i8 100, i8* %43
%44 = load i8*, i8** %6
%45 = getelementptr inbounds i8, i8* %44, i64 4
store i8 101, i8* %45
%46 = load i8*, i8** %6
%47 = getelementptr inbounds i8, i8* %46, i64 5
store i8 102, i8* %47
%48 = load i8*, i8** %6
%49 = getelementptr inbounds i8, i8* %48, i64 6
store i8 103, i8* %49
%50 = load i8*, i8** %6
%51 = getelementptr inbounds i8, i8* %50, i64 7
store i8 0, i8* %51
%52 = load i8*, i8** %7
%53 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %52)
store i32 0, i32* %3
br label %54
54: ; preds = %87, %33
%55 = load i32, i32* %3
%56 = load i32, i32* %2
%57 = icmp ult i32 %55, %56
br i1 %57, label %58, label %90
58: ; preds = %54
%59 = load i32, i32* %2
%60 = zext i32 %59 to i64
%61 = mul i64 4, %60
%62 = trunc i64 %61 to i32
%63 = call i64 @malloc(i32 %62)
%64 = inttoptr i64 %63 to i32*
%65 = load i32**, i32*** %5
%66 = load i32, i32* %3
%67 = zext i32 %66 to i64
%68 = getelementptr inbounds i32*, i32** %65, i64 %67
store i32* %64, i32** %68
store i32 0, i32* %4
br label %69
69: ; preds = %83, %58
%70 = load i32, i32* %4
%71 = load i32, i32* %2
%72 = icmp ult i32 %70, %71
br i1 %72, label %73, label %86
73: ; preds = %69
%74 = call i32 (...) @get_input_space_partitioned_random()
%75 = load i32**, i32*** %5
%76 = load i32, i32* %3
%77 = zext i32 %76 to i64
%78 = getelementptr inbounds i32*, i32** %75, i64 %77
%79 = load i32*, i32** %78
%80 = load i32, i32* %4
%81 = zext i32 %80 to i64
%82 = getelementptr inbounds i32, i32* %79, i64 %81
store i32 %74, i32* %82
br label %83
83: ; preds = %73
%84 = load i32, i32* %4
%85 = add i32 %84, 1
store i32 %85, i32* %4
br label %69
86: ; preds = %69
br label %87
87: ; preds = %86
%88 = load i32, i32* %3
%89 = add i32 %88, 1
store i32 %89, i32* %3
br label %54
90: ; preds = %54
store i32 0, i32* %3
br label %91
91: ; preds = %122, %90
%92 = load i32, i32* %3
%93 = load i32, i32* %2
%94 = icmp ult i32 %92, %93
br i1 %94, label %95, label %125
95: ; preds = %91
store i32 0, i32* %4
br label %96
96: ; preds = %111, %95
%97 = load i32, i32* %4
%98 = load i32, i32* %2
%99 = icmp ult i32 %97, %98
br i1 %99, label %100, label %114
100: ; preds = %96
%101 = load i32**, i32*** %5
%102 = load i32, i32* %3
%103 = zext i32 %102 to i64
%104 = getelementptr inbounds i32*, i32** %101, i64 %103
%105 = load i32*, i32** %104
%106 = load i32, i32* %4
%107 = zext i32 %106 to i64
%108 = getelementptr inbounds i32, i32* %105, i64 %107
%109 = load i32, i32* %108
%110 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %109)
br label %111
111: ; preds = %100
%112 = load i32, i32* %4
%113 = add i32 %112, 1
store i32 %113, i32* %4
br label %96
114: ; preds = %96
%115 = load i32**, i32*** %5
%116 = load i32, i32* %3
%117 = zext i32 %116 to i64
%118 = getelementptr inbounds i32*, i32** %115, i64 %117
%119 = load i32*, i32** %118
%120 = bitcast i32* %119 to i8*
%121 = call i32 @free(i8* %120)
br label %122
122: ; preds = %114
%123 = load i32, i32* %3
%124 = add i32 %123, 1
store i32 %124, i32* %3
br label %91
125: ; preds = %91
%126 = load i32**, i32*** %5
%127 = bitcast i32** %126 to i8*
%128 = call i32 @free(i8* %127)
%129 = load i8*, i8** %6
%130 = call i32 @free(i8* %129)
%131 = load i8*, i8** %7
%132 = call i32 @free(i8* %131)
ret i32 0
}

LLVM IR (-O2):
@.str = [3 x i8] c"%s\00"
@.str.1 = [4 x i8] c"%X\0A\00"
define i32 @main() {
%1 = tail call i64 @malloc(i32 160)
%2 = tail call i64 @malloc(i32 8)
%3 = tail call i64 @malloc(i32 256)
%4 = inttoptr i64 %3 to i8*
%5 = getelementptr i8, i8* %4, i64 256
%6 = inttoptr i64 %3 to <16 x i8>*
store <16 x i8> <i8 0, i8 1, i8 2, i8 3, i8 4, i8 5, i8 6, i8 7, i8 8, i8 9, i8 10, i8 11, i8 12, i8 13, i8 14, i8 15>, <16 x i8>* %6
%7 = getelementptr i8, i8* %4, i64 16
%8 = bitcast i8* %7 to <16 x i8>*
store <16 x i8> <i8 16, i8 17, i8 18, i8 19, i8 20, i8 21, i8 22, i8 23, i8 24, i8 25, i8 26, i8 27, i8 28, i8 29, i8 30, i8 31>, <16 x i8>* %8
%9 = getelementptr i8, i8* %4, i64 32
%10 = bitcast i8* %9 to <16 x i8>*
store <16 x i8> <i8 32, i8 33, i8 34, i8 35, i8 36, i8 37, i8 38, i8 39, i8 40, i8 41, i8 42, i8 43, i8 44, i8 45, i8 46, i8 47>, <16 x i8>* %10
%11 = getelementptr i8, i8* %4, i64 48
%12 = bitcast i8* %11 to <16 x i8>*
store <16 x i8> <i8 48, i8 49, i8 50, i8 51, i8 52, i8 53, i8 54, i8 55, i8 56, i8 57, i8 58, i8 59, i8 60, i8 61, i8 62, i8 63>, <16 x i8>* %12
%13 = getelementptr i8, i8* %4, i64 64
%14 = bitcast i8* %13 to <16 x i8>*
store <16 x i8> <i8 64, i8 65, i8 66, i8 67, i8 68, i8 69, i8 70, i8 71, i8 72, i8 73, i8 74, i8 75, i8 76, i8 77, i8 78, i8 79>, <16 x i8>* %14
%15 = getelementptr i8, i8* %4, i64 80
%16 = bitcast i8* %15 to <16 x i8>*
store <16 x i8> <i8 80, i8 81, i8 82, i8 83, i8 84, i8 85, i8 86, i8 87, i8 88, i8 89, i8 90, i8 91, i8 92, i8 93, i8 94, i8 95>, <16 x i8>* %16
%17 = getelementptr i8, i8* %4, i64 96
%18 = bitcast i8* %17 to <16 x i8>*
store <16 x i8> <i8 96, i8 97, i8 98, i8 99, i8 100, i8 101, i8 102, i8 103, i8 104, i8 105, i8 106, i8 107, i8 108, i8 109, i8 110, i8 111>, <16 x i8>* %18
%19 = getelementptr i8, i8* %4, i64 112
%20 = bitcast i8* %19 to <16 x i8>*
store <16 x i8> <i8 112, i8 113, i8 114, i8 115, i8 116, i8 117, i8 118, i8 119, i8 120, i8 121, i8 122, i8 123, i8 124, i8 125, i8 126, i8 127>, <16 x i8>* %20
%21 = getelementptr i8, i8* %4, i64 128
%22 = bitcast i8* %21 to <16 x i8>*
store <16 x i8> <i8 -128, i8 -127, i8 -126, i8 -125, i8 -124, i8 -123, i8 -122, i8 -121, i8 -120, i8 -119, i8 -118, i8 -117, i8 -116, i8 -115, i8 -114, i8 -113>, <16 x i8>* %22
%23 = getelementptr i8, i8* %4, i64 144
%24 = bitcast i8* %23 to <16 x i8>*
store <16 x i8> <i8 -112, i8 -111, i8 -110, i8 -109, i8 -108, i8 -107, i8 -106, i8 -105, i8 -104, i8 -103, i8 -102, i8 -101, i8 -100, i8 -99, i8 -98, i8 -97>, <16 x i8>* %24
%25 = getelementptr i8, i8* %4, i64 160
%26 = bitcast i8* %25 to <16 x i8>*
store <16 x i8> <i8 -96, i8 -95, i8 -94, i8 -93, i8 -92, i8 -91, i8 -90, i8 -89, i8 -88, i8 -87, i8 -86, i8 -85, i8 -84, i8 -83, i8 -82, i8 -81>, <16 x i8>* %26
%27 = getelementptr i8, i8* %4, i64 176
%28 = bitcast i8* %27 to <16 x i8>*
store <16 x i8> <i8 -80, i8 -79, i8 -78, i8 -77, i8 -76, i8 -75, i8 -74, i8 -73, i8 -72, i8 -71, i8 -70, i8 -69, i8 -68, i8 -67, i8 -66, i8 -65>, <16 x i8>* %28
%29 = getelementptr i8, i8* %4, i64 192
%30 = bitcast i8* %29 to <16 x i8>*
store <16 x i8> <i8 -64, i8 -63, i8 -62, i8 -61, i8 -60, i8 -59, i8 -58, i8 -57, i8 -56, i8 -55, i8 -54, i8 -53, i8 -52, i8 -51, i8 -50, i8 -49>, <16 x i8>* %30
%31 = getelementptr i8, i8* %4, i64 208
%32 = bitcast i8* %31 to <16 x i8>*
store <16 x i8> <i8 -48, i8 -47, i8 -46, i8 -45, i8 -44, i8 -43, i8 -42, i8 -41, i8 -40, i8 -39, i8 -38, i8 -37, i8 -36, i8 -35, i8 -34, i8 -33>, <16 x i8>* %32
%33 = getelementptr i8, i8* %4, i64 224
%34 = bitcast i8* %33 to <16 x i8>*
store <16 x i8> <i8 -32, i8 -31, i8 -30, i8 -29, i8 -28, i8 -27, i8 -26, i8 -25, i8 -24, i8 -23, i8 -22, i8 -21, i8 -20, i8 -19, i8 -18, i8 -17>, <16 x i8>* %34
%35 = getelementptr i8, i8* %4, i64 240
%36 = bitcast i8* %35 to <16 x i8>*
store <16 x i8> <i8 -16, i8 -15, i8 -14, i8 -13, i8 -12, i8 -11, i8 -10, i8 -9, i8 -8, i8 -7, i8 -6, i8 -5, i8 -4, i8 -3, i8 -2, i8 -1>, <16 x i8>* %36
%37 = inttoptr i64 %1 to i32**
%38 = inttoptr i64 %2 to i8*
store i8 0, i8* %5
store i8 97, i8* %38
%39 = getelementptr inbounds i8, i8* %38, i64 1
store i8 98, i8* %39
%40 = getelementptr inbounds i8, i8* %38, i64 2
store i8 99, i8* %40
%41 = getelementptr inbounds i8, i8* %38, i64 3
store i8 100, i8* %41
%42 = getelementptr inbounds i8, i8* %38, i64 4
store i8 101, i8* %42
%43 = getelementptr inbounds i8, i8* %38, i64 5
store i8 102, i8* %43
%44 = getelementptr inbounds i8, i8* %38, i64 6
store i8 103, i8* %44
%45 = getelementptr inbounds i8, i8* %38, i64 7
store i8 0, i8* %45
%46 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str, i64 0, i64 0), i8* %4)
br label %47
47: ; preds = %0, %47
%48 = phi i64 [ 0, %0 ], [ %111, %47 ]
%49 = tail call i64 @malloc(i32 80)
%50 = inttoptr i64 %49 to i32*
%51 = getelementptr inbounds i32*, i32** %37, i64 %48
store i32* %50, i32** %51
%52 = tail call i32 (...) @get_input_space_partitioned_random()
%53 = load i32*, i32** %51
store i32 %52, i32* %53
%54 = tail call i32 (...) @get_input_space_partitioned_random()
%55 = load i32*, i32** %51
%56 = getelementptr inbounds i32, i32* %55, i64 1
store i32 %54, i32* %56
%57 = tail call i32 (...) @get_input_space_partitioned_random()
%58 = load i32*, i32** %51
%59 = getelementptr inbounds i32, i32* %58, i64 2
store i32 %57, i32* %59
%60 = tail call i32 (...) @get_input_space_partitioned_random()
%61 = load i32*, i32** %51
%62 = getelementptr inbounds i32, i32* %61, i64 3
store i32 %60, i32* %62
%63 = tail call i32 (...) @get_input_space_partitioned_random()
%64 = load i32*, i32** %51
%65 = getelementptr inbounds i32, i32* %64, i64 4
store i32 %63, i32* %65
%66 = tail call i32 (...) @get_input_space_partitioned_random()
%67 = load i32*, i32** %51
%68 = getelementptr inbounds i32, i32* %67, i64 5
store i32 %66, i32* %68
%69 = tail call i32 (...) @get_input_space_partitioned_random()
%70 = load i32*, i32** %51
%71 = getelementptr inbounds i32, i32* %70, i64 6
store i32 %69, i32* %71
%72 = tail call i32 (...) @get_input_space_partitioned_random()
%73 = load i32*, i32** %51
%74 = getelementptr inbounds i32, i32* %73, i64 7
store i32 %72, i32* %74
%75 = tail call i32 (...) @get_input_space_partitioned_random()
%76 = load i32*, i32** %51
%77 = getelementptr inbounds i32, i32* %76, i64 8
store i32 %75, i32* %77
%78 = tail call i32 (...) @get_input_space_partitioned_random()
%79 = load i32*, i32** %51
%80 = getelementptr inbounds i32, i32* %79, i64 9
store i32 %78, i32* %80
%81 = tail call i32 (...) @get_input_space_partitioned_random()
%82 = load i32*, i32** %51
%83 = getelementptr inbounds i32, i32* %82, i64 10
store i32 %81, i32* %83
%84 = tail call i32 (...) @get_input_space_partitioned_random()
%85 = load i32*, i32** %51
%86 = getelementptr inbounds i32, i32* %85, i64 11
store i32 %84, i32* %86
%87 = tail call i32 (...) @get_input_space_partitioned_random()
%88 = load i32*, i32** %51
%89 = getelementptr inbounds i32, i32* %88, i64 12
store i32 %87, i32* %89
%90 = tail call i32 (...) @get_input_space_partitioned_random()
%91 = load i32*, i32** %51
%92 = getelementptr inbounds i32, i32* %91, i64 13
store i32 %90, i32* %92
%93 = tail call i32 (...) @get_input_space_partitioned_random()
%94 = load i32*, i32** %51
%95 = getelementptr inbounds i32, i32* %94, i64 14
store i32 %93, i32* %95
%96 = tail call i32 (...) @get_input_space_partitioned_random()
%97 = load i32*, i32** %51
%98 = getelementptr inbounds i32, i32* %97, i64 15
store i32 %96, i32* %98
%99 = tail call i32 (...) @get_input_space_partitioned_random()
%100 = load i32*, i32** %51
%101 = getelementptr inbounds i32, i32* %100, i64 16
store i32 %99, i32* %101
%102 = tail call i32 (...) @get_input_space_partitioned_random()
%103 = load i32*, i32** %51
%104 = getelementptr inbounds i32, i32* %103, i64 17
store i32 %102, i32* %104
%105 = tail call i32 (...) @get_input_space_partitioned_random()
%106 = load i32*, i32** %51
%107 = getelementptr inbounds i32, i32* %106, i64 18
store i32 %105, i32* %107
%108 = tail call i32 (...) @get_input_space_partitioned_random()
%109 = load i32*, i32** %51
%110 = getelementptr inbounds i32, i32* %109, i64 19
store i32 %108, i32* %110
%111 = add nuw nsw i64 %48, 1
%112 = icmp eq i64 %111, 20
br i1 %112, label %113, label %47
113: ; preds = %47, %113
%114 = phi i64 [ %198, %113 ], [ 0, %47 ]
%115 = getelementptr inbounds i32*, i32** %37, i64 %114
%116 = load i32*, i32** %115
%117 = load i32, i32* %116
%118 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %117)
%119 = load i32*, i32** %115
%120 = getelementptr inbounds i32, i32* %119, i64 1
%121 = load i32, i32* %120
%122 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %121)
%123 = load i32*, i32** %115
%124 = getelementptr inbounds i32, i32* %123, i64 2
%125 = load i32, i32* %124
%126 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %125)
%127 = load i32*, i32** %115
%128 = getelementptr inbounds i32, i32* %127, i64 3
%129 = load i32, i32* %128
%130 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %129)
%131 = load i32*, i32** %115
%132 = getelementptr inbounds i32, i32* %131, i64 4
%133 = load i32, i32* %132
%134 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %133)
%135 = load i32*, i32** %115
%136 = getelementptr inbounds i32, i32* %135, i64 5
%137 = load i32, i32* %136
%138 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %137)
%139 = load i32*, i32** %115
%140 = getelementptr inbounds i32, i32* %139, i64 6
%141 = load i32, i32* %140
%142 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %141)
%143 = load i32*, i32** %115
%144 = getelementptr inbounds i32, i32* %143, i64 7
%145 = load i32, i32* %144
%146 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %145)
%147 = load i32*, i32** %115
%148 = getelementptr inbounds i32, i32* %147, i64 8
%149 = load i32, i32* %148
%150 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %149)
%151 = load i32*, i32** %115
%152 = getelementptr inbounds i32, i32* %151, i64 9
%153 = load i32, i32* %152
%154 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %153)
%155 = load i32*, i32** %115
%156 = getelementptr inbounds i32, i32* %155, i64 10
%157 = load i32, i32* %156
%158 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %157)
%159 = load i32*, i32** %115
%160 = getelementptr inbounds i32, i32* %159, i64 11
%161 = load i32, i32* %160
%162 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %161)
%163 = load i32*, i32** %115
%164 = getelementptr inbounds i32, i32* %163, i64 12
%165 = load i32, i32* %164
%166 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %165)
%167 = load i32*, i32** %115
%168 = getelementptr inbounds i32, i32* %167, i64 13
%169 = load i32, i32* %168
%170 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %169)
%171 = load i32*, i32** %115
%172 = getelementptr inbounds i32, i32* %171, i64 14
%173 = load i32, i32* %172
%174 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %173)
%175 = load i32*, i32** %115
%176 = getelementptr inbounds i32, i32* %175, i64 15
%177 = load i32, i32* %176
%178 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %177)
%179 = load i32*, i32** %115
%180 = getelementptr inbounds i32, i32* %179, i64 16
%181 = load i32, i32* %180
%182 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %181)
%183 = load i32*, i32** %115
%184 = getelementptr inbounds i32, i32* %183, i64 17
%185 = load i32, i32* %184
%186 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %185)
%187 = load i32*, i32** %115
%188 = getelementptr inbounds i32, i32* %187, i64 18
%189 = load i32, i32* %188
%190 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %189)
%191 = load i32*, i32** %115
%192 = getelementptr inbounds i32, i32* %191, i64 19
%193 = load i32, i32* %192
%194 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([4 x i8], [4 x i8]* @.str.1, i64 0, i64 0), i32 %193)
%195 = bitcast i32** %115 to i8**
%196 = load i8*, i8** %195
%197 = tail call i32 @free(i8* %196)
%198 = add nuw nsw i64 %114, 1
%199 = icmp eq i64 %198, 20
br i1 %199, label %200, label %113
200: ; preds = %113
%201 = inttoptr i64 %1 to i8*
%202 = tail call i32 @free(i8* %201)
%203 = tail call i32 @free(i8* %38)
%204 = tail call i32 @free(i8* %4)
ret i32 0
}