int wallGenerator(char **array) {
  int i;
  int j;
  i = 0;
  j = 0;
  while (i < 9) {
    j = 0;
    while (j < 9) {
      array[i][j] = '#';
      j = j + 1;
    }
    i = i + 1;
  }
  i = 0;
  j = 0;
}


x86 assembly (clang, -O0):
<wallGenerator>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
cmpl   $0x9,-0x14(%rbp)
jge    1161 <wallGenerator+0x61>
movl   $0x0,-0x18(%rbp)
cmpl   $0x9,-0x18(%rbp)
jge    1153 <wallGenerator+0x53>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
movb   $0x23,(%rax,%rcx,1)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1127 <wallGenerator+0x27>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1116 <wallGenerator+0x16>
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x18(%rbp)
mov    -0x4(%rbp),%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<wallGenerator>:
mov    (%rdi),%rax
movb   $0x23,(%rax)
mov    (%rdi),%rax
movb   $0x23,0x1(%rax)
mov    (%rdi),%rax
movb   $0x23,0x2(%rax)
mov    (%rdi),%rax
movb   $0x23,0x3(%rax)
mov    (%rdi),%rax
movb   $0x23,0x4(%rax)
mov    (%rdi),%rax
movb   $0x23,0x5(%rax)
mov    (%rdi),%rax
movb   $0x23,0x6(%rax)
mov    (%rdi),%rax
movb   $0x23,0x7(%rax)
mov    (%rdi),%rax
movb   $0x23,0x8(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,0x1(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,0x2(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,0x3(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,0x4(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,0x5(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,0x6(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,0x7(%rax)
mov    0x8(%rdi),%rax
movb   $0x23,0x8(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,0x1(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,0x2(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,0x3(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,0x4(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,0x5(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,0x6(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,0x7(%rax)
mov    0x10(%rdi),%rax
movb   $0x23,0x8(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,0x1(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,0x2(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,0x3(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,0x4(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,0x5(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,0x6(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,0x7(%rax)
mov    0x18(%rdi),%rax
movb   $0x23,0x8(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,0x1(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,0x2(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,0x3(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,0x4(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,0x5(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,0x6(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,0x7(%rax)
mov    0x20(%rdi),%rax
movb   $0x23,0x8(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,0x1(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,0x2(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,0x3(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,0x4(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,0x5(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,0x6(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,0x7(%rax)
mov    0x28(%rdi),%rax
movb   $0x23,0x8(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,0x1(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,0x2(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,0x3(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,0x4(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,0x5(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,0x6(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,0x7(%rax)
mov    0x30(%rdi),%rax
movb   $0x23,0x8(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,0x1(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,0x2(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,0x3(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,0x4(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,0x5(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,0x6(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,0x7(%rax)
mov    0x38(%rdi),%rax
movb   $0x23,0x8(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,0x1(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,0x2(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,0x3(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,0x4(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,0x5(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,0x6(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,0x7(%rax)
mov    0x40(%rdi),%rax
movb   $0x23,0x8(%rax)
ret

LLVM IR (-O0):
define i32 @wallGenerator(i8** %0) {
%2 = alloca i32
%3 = alloca i8**
%4 = alloca i32
%5 = alloca i32
store i8** %0, i8*** %3
store i32 0, i32* %4
store i32 0, i32* %5
br label %6
6: ; preds = %24, %1
%7 = load i32, i32* %4
%8 = icmp slt i32 %7, 9
br i1 %8, label %9, label %27
9: ; preds = %6
store i32 0, i32* %5
br label %10
10: ; preds = %13, %9
%11 = load i32, i32* %5
%12 = icmp slt i32 %11, 9
br i1 %12, label %13, label %24
13: ; preds = %10
%14 = load i8**, i8*** %3
%15 = load i32, i32* %4
%16 = sext i32 %15 to i64
%17 = getelementptr inbounds i8*, i8** %14, i64 %16
%18 = load i8*, i8** %17
%19 = load i32, i32* %5
%20 = sext i32 %19 to i64
%21 = getelementptr inbounds i8, i8* %18, i64 %20
store i8 35, i8* %21
%22 = load i32, i32* %5
%23 = add nsw i32 %22, 1
store i32 %23, i32* %5
br label %10
24: ; preds = %10
%25 = load i32, i32* %4
%26 = add nsw i32 %25, 1
store i32 %26, i32* %4
br label %6
27: ; preds = %6
store i32 0, i32* %4
store i32 0, i32* %5
%28 = load i32, i32* %2
ret i32 %28
}

LLVM IR (-O2):
define i32 @wallGenerator(i8** nocapture %0) {
%2 = load i8*, i8** %0
store i8 35, i8* %2
%3 = load i8*, i8** %0
%4 = getelementptr inbounds i8, i8* %3, i64 1
store i8 35, i8* %4
%5 = load i8*, i8** %0
%6 = getelementptr inbounds i8, i8* %5, i64 2
store i8 35, i8* %6
%7 = load i8*, i8** %0
%8 = getelementptr inbounds i8, i8* %7, i64 3
store i8 35, i8* %8
%9 = load i8*, i8** %0
%10 = getelementptr inbounds i8, i8* %9, i64 4
store i8 35, i8* %10
%11 = load i8*, i8** %0
%12 = getelementptr inbounds i8, i8* %11, i64 5
store i8 35, i8* %12
%13 = load i8*, i8** %0
%14 = getelementptr inbounds i8, i8* %13, i64 6
store i8 35, i8* %14
%15 = load i8*, i8** %0
%16 = getelementptr inbounds i8, i8* %15, i64 7
store i8 35, i8* %16
%17 = load i8*, i8** %0
%18 = getelementptr inbounds i8, i8* %17, i64 8
store i8 35, i8* %18
%19 = getelementptr inbounds i8*, i8** %0, i64 1
%20 = load i8*, i8** %19
store i8 35, i8* %20
%21 = load i8*, i8** %19
%22 = getelementptr inbounds i8, i8* %21, i64 1
store i8 35, i8* %22
%23 = load i8*, i8** %19
%24 = getelementptr inbounds i8, i8* %23, i64 2
store i8 35, i8* %24
%25 = load i8*, i8** %19
%26 = getelementptr inbounds i8, i8* %25, i64 3
store i8 35, i8* %26
%27 = load i8*, i8** %19
%28 = getelementptr inbounds i8, i8* %27, i64 4
store i8 35, i8* %28
%29 = load i8*, i8** %19
%30 = getelementptr inbounds i8, i8* %29, i64 5
store i8 35, i8* %30
%31 = load i8*, i8** %19
%32 = getelementptr inbounds i8, i8* %31, i64 6
store i8 35, i8* %32
%33 = load i8*, i8** %19
%34 = getelementptr inbounds i8, i8* %33, i64 7
store i8 35, i8* %34
%35 = load i8*, i8** %19
%36 = getelementptr inbounds i8, i8* %35, i64 8
store i8 35, i8* %36
%37 = getelementptr inbounds i8*, i8** %0, i64 2
%38 = load i8*, i8** %37
store i8 35, i8* %38
%39 = load i8*, i8** %37
%40 = getelementptr inbounds i8, i8* %39, i64 1
store i8 35, i8* %40
%41 = load i8*, i8** %37
%42 = getelementptr inbounds i8, i8* %41, i64 2
store i8 35, i8* %42
%43 = load i8*, i8** %37
%44 = getelementptr inbounds i8, i8* %43, i64 3
store i8 35, i8* %44
%45 = load i8*, i8** %37
%46 = getelementptr inbounds i8, i8* %45, i64 4
store i8 35, i8* %46
%47 = load i8*, i8** %37
%48 = getelementptr inbounds i8, i8* %47, i64 5
store i8 35, i8* %48
%49 = load i8*, i8** %37
%50 = getelementptr inbounds i8, i8* %49, i64 6
store i8 35, i8* %50
%51 = load i8*, i8** %37
%52 = getelementptr inbounds i8, i8* %51, i64 7
store i8 35, i8* %52
%53 = load i8*, i8** %37
%54 = getelementptr inbounds i8, i8* %53, i64 8
store i8 35, i8* %54
%55 = getelementptr inbounds i8*, i8** %0, i64 3
%56 = load i8*, i8** %55
store i8 35, i8* %56
%57 = load i8*, i8** %55
%58 = getelementptr inbounds i8, i8* %57, i64 1
store i8 35, i8* %58
%59 = load i8*, i8** %55
%60 = getelementptr inbounds i8, i8* %59, i64 2
store i8 35, i8* %60
%61 = load i8*, i8** %55
%62 = getelementptr inbounds i8, i8* %61, i64 3
store i8 35, i8* %62
%63 = load i8*, i8** %55
%64 = getelementptr inbounds i8, i8* %63, i64 4
store i8 35, i8* %64
%65 = load i8*, i8** %55
%66 = getelementptr inbounds i8, i8* %65, i64 5
store i8 35, i8* %66
%67 = load i8*, i8** %55
%68 = getelementptr inbounds i8, i8* %67, i64 6
store i8 35, i8* %68
%69 = load i8*, i8** %55
%70 = getelementptr inbounds i8, i8* %69, i64 7
store i8 35, i8* %70
%71 = load i8*, i8** %55
%72 = getelementptr inbounds i8, i8* %71, i64 8
store i8 35, i8* %72
%73 = getelementptr inbounds i8*, i8** %0, i64 4
%74 = load i8*, i8** %73
store i8 35, i8* %74
%75 = load i8*, i8** %73
%76 = getelementptr inbounds i8, i8* %75, i64 1
store i8 35, i8* %76
%77 = load i8*, i8** %73
%78 = getelementptr inbounds i8, i8* %77, i64 2
store i8 35, i8* %78
%79 = load i8*, i8** %73
%80 = getelementptr inbounds i8, i8* %79, i64 3
store i8 35, i8* %80
%81 = load i8*, i8** %73
%82 = getelementptr inbounds i8, i8* %81, i64 4
store i8 35, i8* %82
%83 = load i8*, i8** %73
%84 = getelementptr inbounds i8, i8* %83, i64 5
store i8 35, i8* %84
%85 = load i8*, i8** %73
%86 = getelementptr inbounds i8, i8* %85, i64 6
store i8 35, i8* %86
%87 = load i8*, i8** %73
%88 = getelementptr inbounds i8, i8* %87, i64 7
store i8 35, i8* %88
%89 = load i8*, i8** %73
%90 = getelementptr inbounds i8, i8* %89, i64 8
store i8 35, i8* %90
%91 = getelementptr inbounds i8*, i8** %0, i64 5
%92 = load i8*, i8** %91
store i8 35, i8* %92
%93 = load i8*, i8** %91
%94 = getelementptr inbounds i8, i8* %93, i64 1
store i8 35, i8* %94
%95 = load i8*, i8** %91
%96 = getelementptr inbounds i8, i8* %95, i64 2
store i8 35, i8* %96
%97 = load i8*, i8** %91
%98 = getelementptr inbounds i8, i8* %97, i64 3
store i8 35, i8* %98
%99 = load i8*, i8** %91
%100 = getelementptr inbounds i8, i8* %99, i64 4
store i8 35, i8* %100
%101 = load i8*, i8** %91
%102 = getelementptr inbounds i8, i8* %101, i64 5
store i8 35, i8* %102
%103 = load i8*, i8** %91
%104 = getelementptr inbounds i8, i8* %103, i64 6
store i8 35, i8* %104
%105 = load i8*, i8** %91
%106 = getelementptr inbounds i8, i8* %105, i64 7
store i8 35, i8* %106
%107 = load i8*, i8** %91
%108 = getelementptr inbounds i8, i8* %107, i64 8
store i8 35, i8* %108
%109 = getelementptr inbounds i8*, i8** %0, i64 6
%110 = load i8*, i8** %109
store i8 35, i8* %110
%111 = load i8*, i8** %109
%112 = getelementptr inbounds i8, i8* %111, i64 1
store i8 35, i8* %112
%113 = load i8*, i8** %109
%114 = getelementptr inbounds i8, i8* %113, i64 2
store i8 35, i8* %114
%115 = load i8*, i8** %109
%116 = getelementptr inbounds i8, i8* %115, i64 3
store i8 35, i8* %116
%117 = load i8*, i8** %109
%118 = getelementptr inbounds i8, i8* %117, i64 4
store i8 35, i8* %118
%119 = load i8*, i8** %109
%120 = getelementptr inbounds i8, i8* %119, i64 5
store i8 35, i8* %120
%121 = load i8*, i8** %109
%122 = getelementptr inbounds i8, i8* %121, i64 6
store i8 35, i8* %122
%123 = load i8*, i8** %109
%124 = getelementptr inbounds i8, i8* %123, i64 7
store i8 35, i8* %124
%125 = load i8*, i8** %109
%126 = getelementptr inbounds i8, i8* %125, i64 8
store i8 35, i8* %126
%127 = getelementptr inbounds i8*, i8** %0, i64 7
%128 = load i8*, i8** %127
store i8 35, i8* %128
%129 = load i8*, i8** %127
%130 = getelementptr inbounds i8, i8* %129, i64 1
store i8 35, i8* %130
%131 = load i8*, i8** %127
%132 = getelementptr inbounds i8, i8* %131, i64 2
store i8 35, i8* %132
%133 = load i8*, i8** %127
%134 = getelementptr inbounds i8, i8* %133, i64 3
store i8 35, i8* %134
%135 = load i8*, i8** %127
%136 = getelementptr inbounds i8, i8* %135, i64 4
store i8 35, i8* %136
%137 = load i8*, i8** %127
%138 = getelementptr inbounds i8, i8* %137, i64 5
store i8 35, i8* %138
%139 = load i8*, i8** %127
%140 = getelementptr inbounds i8, i8* %139, i64 6
store i8 35, i8* %140
%141 = load i8*, i8** %127
%142 = getelementptr inbounds i8, i8* %141, i64 7
store i8 35, i8* %142
%143 = load i8*, i8** %127
%144 = getelementptr inbounds i8, i8* %143, i64 8
store i8 35, i8* %144
%145 = getelementptr inbounds i8*, i8** %0, i64 8
%146 = load i8*, i8** %145
store i8 35, i8* %146
%147 = load i8*, i8** %145
%148 = getelementptr inbounds i8, i8* %147, i64 1
store i8 35, i8* %148
%149 = load i8*, i8** %145
%150 = getelementptr inbounds i8, i8* %149, i64 2
store i8 35, i8* %150
%151 = load i8*, i8** %145
%152 = getelementptr inbounds i8, i8* %151, i64 3
store i8 35, i8* %152
%153 = load i8*, i8** %145
%154 = getelementptr inbounds i8, i8* %153, i64 4
store i8 35, i8* %154
%155 = load i8*, i8** %145
%156 = getelementptr inbounds i8, i8* %155, i64 5
store i8 35, i8* %156
%157 = load i8*, i8** %145
%158 = getelementptr inbounds i8, i8* %157, i64 6
store i8 35, i8* %158
%159 = load i8*, i8** %145
%160 = getelementptr inbounds i8, i8* %159, i64 7
store i8 35, i8* %160
%161 = load i8*, i8** %145
%162 = getelementptr inbounds i8, i8* %161, i64 8
store i8 35, i8* %162
ret i32 undef
}