#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 */
scalar_t__ malloc(int);
int rand();
int /*<<< orphan*/ srand(unsigned int);
scalar_t__ time(int /*<<< orphan*/ *);
int **create_matrix() {
  int **p, i, j;
  srand((unsigned)time(NULL));
  p = (int **)malloc(10 * sizeof(int *));
  for (i = 0; i < 10; i++) {
    p[i] = (int *)malloc(10 * sizeof(int));
    for (j = 0; j < 10; j++) {
      p[i][j] = rand() % 2;
    }
  }
  p[0][0] = 0;
  p[0][1] = 1;
  p[0][2] = 1;
  p[0][3] = 1;
  p[0][4] = 1;
  p[0][5] = 1;
  p[0][6] = 1;
  p[0][7] = 1;
  p[0][8] = 1;
  p[1][0] = 0;
  p[2][0] = 0;
  p[3][0] = 0;
  p[4][0] = 0;
  p[5][0] = 0;
  p[6][0] = 0;
  p[7][0] = 0;
  p[8][0] = 0;
  p[8][1] = 1;
  p[8][2] = 1;
  p[8][3] = 1;
  p[8][4] = 1;
  p[8][5] = 1;
  p[8][6] = 1;
  p[8][7] = 1;
  p[8][8] = 1;
  p[8][9] = 1;
  p[9][0] = 0;
  p[9][1] = 0;
  p[9][2] = 0;
  p[9][3] = 0;
  p[9][4] = 0;
  p[9][5] = 0;
  p[9][6] = 0;
  p[9][7] = 0;
  p[9][8] = 0;
  p[9][9] = 0;
  return p;
}


x86 assembly (clang, -O0):
<create_matrix>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
xor    %eax,%eax
mov    %eax,%edi
call   1040 <time@plt>
mov    %eax,%edi
call   1030 <srand@plt>
mov    $0x50,%edi
call   1050 <malloc@plt>
mov    %rax,-0x8(%rbp)
movl   $0x0,-0xc(%rbp)
cmpl   $0xa,-0xc(%rbp)
jge    11e4 <create_matrix+0xa4>
mov    $0x28,%edi
call   1050 <malloc@plt>
mov    %rax,%rdx
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
movl   $0x0,-0x10(%rbp)
cmpl   $0xa,-0x10(%rbp)
jge    11d1 <create_matrix+0x91>
mov    $0x0,%al
call   1060 <rand@plt>
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    -0x8(%rbp),%rax
movslq -0xc(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x10(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    1197 <create_matrix+0x57>
jmp    11d6 <create_matrix+0x96>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    116d <create_matrix+0x2d>
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x1,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x1,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x1,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x1,0x10(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x1,0x14(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x1,0x18(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x1,0x1c(%rax)
mov    -0x8(%rbp),%rax
mov    (%rax),%rax
movl   $0x1,0x20(%rax)
mov    -0x8(%rbp),%rax
mov    0x8(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x10(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x18(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x20(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x28(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x30(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x38(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0x10(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0x14(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0x18(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0x1c(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0x20(%rax)
mov    -0x8(%rbp),%rax
mov    0x40(%rax),%rax
movl   $0x1,0x24(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0x4(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0x8(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0xc(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0x10(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0x14(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0x18(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0x1c(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0x20(%rax)
mov    -0x8(%rbp),%rax
mov    0x48(%rax),%rax
movl   $0x0,0x24(%rax)
mov    -0x8(%rbp),%rax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<create_matrix>:
push   %r14
push   %rbx
push   %rax
xor    %edi,%edi
call   1040 <time@plt>
mov    %eax,%edi
call   1030 <srand@plt>
mov    $0x50,%edi
call   1050 <malloc@plt>
mov    %rax,%r14
xor    %ebx,%ebx
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    $0x28,%edi
call   1050 <malloc@plt>
mov    %rax,(%r14,%rbx,8)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0x4(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0x8(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0xc(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0x10(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0x14(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0x18(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0x1c(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0x20(%rcx)
xor    %eax,%eax
call   1060 <rand@plt>
mov    %eax,%ecx
shr    $0x1f,%ecx
add    %eax,%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%eax
mov    (%r14,%rbx,8),%rcx
mov    %eax,0x24(%rcx)
add    $0x1,%rbx
cmp    $0xa,%rbx
jne    1170 <create_matrix+0x30>
mov    (%r14),%rax
movaps 0xd67(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xd6d(%rip),%xmm1
movups %xmm1,0x10(%rax)
movl   $0x1,0x20(%rax)
mov    0x8(%r14),%rax
movl   $0x0,(%rax)
mov    0x10(%r14),%rax
movl   $0x0,(%rax)
mov    0x18(%r14),%rax
movl   $0x0,(%rax)
mov    0x20(%r14),%rax
movl   $0x0,(%rax)
mov    0x28(%r14),%rax
movl   $0x0,(%rax)
mov    0x30(%r14),%rax
movl   $0x0,(%rax)
mov    0x38(%r14),%rax
movl   $0x0,(%rax)
mov    0x40(%r14),%rax
movups %xmm0,(%rax)
movups %xmm1,0x10(%rax)
movabs $0x100000001,%rcx
mov    %rcx,0x20(%rax)
mov    0x48(%r14),%rax
xorps  %xmm0,%xmm0
movups %xmm0,0x10(%rax)
movups %xmm0,(%rax)
movq   $0x0,0x20(%rax)
mov    %r14,%rax
add    $0x8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define i32** @create_matrix() {
%1 = alloca i32**
%2 = alloca i32
%3 = alloca i32
%4 = call i64 @time(i32* null)
%5 = trunc i64 %4 to i32
%6 = call i32 @srand(i32 %5)
%7 = call i64 @malloc(i32 80)
%8 = inttoptr i64 %7 to i32**
store i32** %8, i32*** %1
store i32 0, i32* %2
br label %9
9: ; preds = %37, %0
%10 = load i32, i32* %2
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %40
12: ; preds = %9
%13 = call i64 @malloc(i32 40)
%14 = inttoptr i64 %13 to i32*
%15 = load i32**, i32*** %1
%16 = load i32, i32* %2
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds i32*, i32** %15, i64 %17
store i32* %14, i32** %18
store i32 0, i32* %3
br label %19
19: ; preds = %33, %12
%20 = load i32, i32* %3
%21 = icmp slt i32 %20, 10
br i1 %21, label %22, label %36
22: ; preds = %19
%23 = call i32 (...) @rand()
%24 = srem i32 %23, 2
%25 = load i32**, i32*** %1
%26 = load i32, i32* %2
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds i32*, i32** %25, i64 %27
%29 = load i32*, i32** %28
%30 = load i32, i32* %3
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds i32, i32* %29, i64 %31
store i32 %24, i32* %32
br label %33
33: ; preds = %22
%34 = load i32, i32* %3
%35 = add nsw i32 %34, 1
store i32 %35, i32* %3
br label %19
36: ; preds = %19
br label %37
37: ; preds = %36
%38 = load i32, i32* %2
%39 = add nsw i32 %38, 1
store i32 %39, i32* %2
br label %9
40: ; preds = %9
%41 = load i32**, i32*** %1
%42 = getelementptr inbounds i32*, i32** %41, i64 0
%43 = load i32*, i32** %42
%44 = getelementptr inbounds i32, i32* %43, i64 0
store i32 0, i32* %44
%45 = load i32**, i32*** %1
%46 = getelementptr inbounds i32*, i32** %45, i64 0
%47 = load i32*, i32** %46
%48 = getelementptr inbounds i32, i32* %47, i64 1
store i32 1, i32* %48
%49 = load i32**, i32*** %1
%50 = getelementptr inbounds i32*, i32** %49, i64 0
%51 = load i32*, i32** %50
%52 = getelementptr inbounds i32, i32* %51, i64 2
store i32 1, i32* %52
%53 = load i32**, i32*** %1
%54 = getelementptr inbounds i32*, i32** %53, i64 0
%55 = load i32*, i32** %54
%56 = getelementptr inbounds i32, i32* %55, i64 3
store i32 1, i32* %56
%57 = load i32**, i32*** %1
%58 = getelementptr inbounds i32*, i32** %57, i64 0
%59 = load i32*, i32** %58
%60 = getelementptr inbounds i32, i32* %59, i64 4
store i32 1, i32* %60
%61 = load i32**, i32*** %1
%62 = getelementptr inbounds i32*, i32** %61, i64 0
%63 = load i32*, i32** %62
%64 = getelementptr inbounds i32, i32* %63, i64 5
store i32 1, i32* %64
%65 = load i32**, i32*** %1
%66 = getelementptr inbounds i32*, i32** %65, i64 0
%67 = load i32*, i32** %66
%68 = getelementptr inbounds i32, i32* %67, i64 6
store i32 1, i32* %68
%69 = load i32**, i32*** %1
%70 = getelementptr inbounds i32*, i32** %69, i64 0
%71 = load i32*, i32** %70
%72 = getelementptr inbounds i32, i32* %71, i64 7
store i32 1, i32* %72
%73 = load i32**, i32*** %1
%74 = getelementptr inbounds i32*, i32** %73, i64 0
%75 = load i32*, i32** %74
%76 = getelementptr inbounds i32, i32* %75, i64 8
store i32 1, i32* %76
%77 = load i32**, i32*** %1
%78 = getelementptr inbounds i32*, i32** %77, i64 1
%79 = load i32*, i32** %78
%80 = getelementptr inbounds i32, i32* %79, i64 0
store i32 0, i32* %80
%81 = load i32**, i32*** %1
%82 = getelementptr inbounds i32*, i32** %81, i64 2
%83 = load i32*, i32** %82
%84 = getelementptr inbounds i32, i32* %83, i64 0
store i32 0, i32* %84
%85 = load i32**, i32*** %1
%86 = getelementptr inbounds i32*, i32** %85, i64 3
%87 = load i32*, i32** %86
%88 = getelementptr inbounds i32, i32* %87, i64 0
store i32 0, i32* %88
%89 = load i32**, i32*** %1
%90 = getelementptr inbounds i32*, i32** %89, i64 4
%91 = load i32*, i32** %90
%92 = getelementptr inbounds i32, i32* %91, i64 0
store i32 0, i32* %92
%93 = load i32**, i32*** %1
%94 = getelementptr inbounds i32*, i32** %93, i64 5
%95 = load i32*, i32** %94
%96 = getelementptr inbounds i32, i32* %95, i64 0
store i32 0, i32* %96
%97 = load i32**, i32*** %1
%98 = getelementptr inbounds i32*, i32** %97, i64 6
%99 = load i32*, i32** %98
%100 = getelementptr inbounds i32, i32* %99, i64 0
store i32 0, i32* %100
%101 = load i32**, i32*** %1
%102 = getelementptr inbounds i32*, i32** %101, i64 7
%103 = load i32*, i32** %102
%104 = getelementptr inbounds i32, i32* %103, i64 0
store i32 0, i32* %104
%105 = load i32**, i32*** %1
%106 = getelementptr inbounds i32*, i32** %105, i64 8
%107 = load i32*, i32** %106
%108 = getelementptr inbounds i32, i32* %107, i64 0
store i32 0, i32* %108
%109 = load i32**, i32*** %1
%110 = getelementptr inbounds i32*, i32** %109, i64 8
%111 = load i32*, i32** %110
%112 = getelementptr inbounds i32, i32* %111, i64 1
store i32 1, i32* %112
%113 = load i32**, i32*** %1
%114 = getelementptr inbounds i32*, i32** %113, i64 8
%115 = load i32*, i32** %114
%116 = getelementptr inbounds i32, i32* %115, i64 2
store i32 1, i32* %116
%117 = load i32**, i32*** %1
%118 = getelementptr inbounds i32*, i32** %117, i64 8
%119 = load i32*, i32** %118
%120 = getelementptr inbounds i32, i32* %119, i64 3
store i32 1, i32* %120
%121 = load i32**, i32*** %1
%122 = getelementptr inbounds i32*, i32** %121, i64 8
%123 = load i32*, i32** %122
%124 = getelementptr inbounds i32, i32* %123, i64 4
store i32 1, i32* %124
%125 = load i32**, i32*** %1
%126 = getelementptr inbounds i32*, i32** %125, i64 8
%127 = load i32*, i32** %126
%128 = getelementptr inbounds i32, i32* %127, i64 5
store i32 1, i32* %128
%129 = load i32**, i32*** %1
%130 = getelementptr inbounds i32*, i32** %129, i64 8
%131 = load i32*, i32** %130
%132 = getelementptr inbounds i32, i32* %131, i64 6
store i32 1, i32* %132
%133 = load i32**, i32*** %1
%134 = getelementptr inbounds i32*, i32** %133, i64 8
%135 = load i32*, i32** %134
%136 = getelementptr inbounds i32, i32* %135, i64 7
store i32 1, i32* %136
%137 = load i32**, i32*** %1
%138 = getelementptr inbounds i32*, i32** %137, i64 8
%139 = load i32*, i32** %138
%140 = getelementptr inbounds i32, i32* %139, i64 8
store i32 1, i32* %140
%141 = load i32**, i32*** %1
%142 = getelementptr inbounds i32*, i32** %141, i64 8
%143 = load i32*, i32** %142
%144 = getelementptr inbounds i32, i32* %143, i64 9
store i32 1, i32* %144
%145 = load i32**, i32*** %1
%146 = getelementptr inbounds i32*, i32** %145, i64 9
%147 = load i32*, i32** %146
%148 = getelementptr inbounds i32, i32* %147, i64 0
store i32 0, i32* %148
%149 = load i32**, i32*** %1
%150 = getelementptr inbounds i32*, i32** %149, i64 9
%151 = load i32*, i32** %150
%152 = getelementptr inbounds i32, i32* %151, i64 1
store i32 0, i32* %152
%153 = load i32**, i32*** %1
%154 = getelementptr inbounds i32*, i32** %153, i64 9
%155 = load i32*, i32** %154
%156 = getelementptr inbounds i32, i32* %155, i64 2
store i32 0, i32* %156
%157 = load i32**, i32*** %1
%158 = getelementptr inbounds i32*, i32** %157, i64 9
%159 = load i32*, i32** %158
%160 = getelementptr inbounds i32, i32* %159, i64 3
store i32 0, i32* %160
%161 = load i32**, i32*** %1
%162 = getelementptr inbounds i32*, i32** %161, i64 9
%163 = load i32*, i32** %162
%164 = getelementptr inbounds i32, i32* %163, i64 4
store i32 0, i32* %164
%165 = load i32**, i32*** %1
%166 = getelementptr inbounds i32*, i32** %165, i64 9
%167 = load i32*, i32** %166
%168 = getelementptr inbounds i32, i32* %167, i64 5
store i32 0, i32* %168
%169 = load i32**, i32*** %1
%170 = getelementptr inbounds i32*, i32** %169, i64 9
%171 = load i32*, i32** %170
%172 = getelementptr inbounds i32, i32* %171, i64 6
store i32 0, i32* %172
%173 = load i32**, i32*** %1
%174 = getelementptr inbounds i32*, i32** %173, i64 9
%175 = load i32*, i32** %174
%176 = getelementptr inbounds i32, i32* %175, i64 7
store i32 0, i32* %176
%177 = load i32**, i32*** %1
%178 = getelementptr inbounds i32*, i32** %177, i64 9
%179 = load i32*, i32** %178
%180 = getelementptr inbounds i32, i32* %179, i64 8
store i32 0, i32* %180
%181 = load i32**, i32*** %1
%182 = getelementptr inbounds i32*, i32** %181, i64 9
%183 = load i32*, i32** %182
%184 = getelementptr inbounds i32, i32* %183, i64 9
store i32 0, i32* %184
%185 = load i32**, i32*** %1
ret i32** %185
}

LLVM IR (-O2):
define i32** @create_matrix() {
%1 = tail call i64 @time(i32* null)
%2 = trunc i64 %1 to i32
%3 = tail call i32 @srand(i32 %2)
%4 = tail call i64 @malloc(i32 80)
%5 = inttoptr i64 %4 to i32**
br label %6
6: ; preds = %0, %6
%7 = phi i64 [ 0, %0 ], [ %50, %6 ]
%8 = tail call i64 @malloc(i32 40)
%9 = inttoptr i64 %8 to i32*
%10 = getelementptr inbounds i32*, i32** %5, i64 %7
store i32* %9, i32** %10
%11 = tail call i32 (...) @rand()
%12 = srem i32 %11, 2
%13 = load i32*, i32** %10
store i32 %12, i32* %13
%14 = tail call i32 (...) @rand()
%15 = srem i32 %14, 2
%16 = load i32*, i32** %10
%17 = getelementptr inbounds i32, i32* %16, i64 1
store i32 %15, i32* %17
%18 = tail call i32 (...) @rand()
%19 = srem i32 %18, 2
%20 = load i32*, i32** %10
%21 = getelementptr inbounds i32, i32* %20, i64 2
store i32 %19, i32* %21
%22 = tail call i32 (...) @rand()
%23 = srem i32 %22, 2
%24 = load i32*, i32** %10
%25 = getelementptr inbounds i32, i32* %24, i64 3
store i32 %23, i32* %25
%26 = tail call i32 (...) @rand()
%27 = srem i32 %26, 2
%28 = load i32*, i32** %10
%29 = getelementptr inbounds i32, i32* %28, i64 4
store i32 %27, i32* %29
%30 = tail call i32 (...) @rand()
%31 = srem i32 %30, 2
%32 = load i32*, i32** %10
%33 = getelementptr inbounds i32, i32* %32, i64 5
store i32 %31, i32* %33
%34 = tail call i32 (...) @rand()
%35 = srem i32 %34, 2
%36 = load i32*, i32** %10
%37 = getelementptr inbounds i32, i32* %36, i64 6
store i32 %35, i32* %37
%38 = tail call i32 (...) @rand()
%39 = srem i32 %38, 2
%40 = load i32*, i32** %10
%41 = getelementptr inbounds i32, i32* %40, i64 7
store i32 %39, i32* %41
%42 = tail call i32 (...) @rand()
%43 = srem i32 %42, 2
%44 = load i32*, i32** %10
%45 = getelementptr inbounds i32, i32* %44, i64 8
store i32 %43, i32* %45
%46 = tail call i32 (...) @rand()
%47 = srem i32 %46, 2
%48 = load i32*, i32** %10
%49 = getelementptr inbounds i32, i32* %48, i64 9
store i32 %47, i32* %49
%50 = add nuw nsw i64 %7, 1
%51 = icmp eq i64 %50, 10
br i1 %51, label %52, label %6
52: ; preds = %6
%53 = load i32*, i32** %5
%54 = bitcast i32* %53 to <4 x i32>*
store <4 x i32> <i32 0, i32 1, i32 1, i32 1>, <4 x i32>* %54
%55 = getelementptr inbounds i32, i32* %53, i64 4
%56 = bitcast i32* %55 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %56
%57 = getelementptr inbounds i32, i32* %53, i64 8
store i32 1, i32* %57
%58 = getelementptr inbounds i32*, i32** %5, i64 1
%59 = load i32*, i32** %58
store i32 0, i32* %59
%60 = getelementptr inbounds i32*, i32** %5, i64 2
%61 = load i32*, i32** %60
store i32 0, i32* %61
%62 = getelementptr inbounds i32*, i32** %5, i64 3
%63 = load i32*, i32** %62
store i32 0, i32* %63
%64 = getelementptr inbounds i32*, i32** %5, i64 4
%65 = load i32*, i32** %64
store i32 0, i32* %65
%66 = getelementptr inbounds i32*, i32** %5, i64 5
%67 = load i32*, i32** %66
store i32 0, i32* %67
%68 = getelementptr inbounds i32*, i32** %5, i64 6
%69 = load i32*, i32** %68
store i32 0, i32* %69
%70 = getelementptr inbounds i32*, i32** %5, i64 7
%71 = load i32*, i32** %70
store i32 0, i32* %71
%72 = getelementptr inbounds i32*, i32** %5, i64 8
%73 = load i32*, i32** %72
%74 = bitcast i32* %73 to <4 x i32>*
store <4 x i32> <i32 0, i32 1, i32 1, i32 1>, <4 x i32>* %74
%75 = getelementptr inbounds i32, i32* %73, i64 4
%76 = bitcast i32* %75 to <4 x i32>*
store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, <4 x i32>* %76
%77 = getelementptr inbounds i32, i32* %73, i64 8
store i32 1, i32* %77
%78 = getelementptr inbounds i32, i32* %73, i64 9
store i32 1, i32* %78
%79 = getelementptr inbounds i32*, i32** %5, i64 9
%80 = bitcast i32** %79 to i8**
%81 = load i8*, i8** %80
ret i32** %5
}