#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*/ gamebox;

/* Variables and functions */
int /*<<< orphan*/ blockval(int **, int, int);
int /*<<< orphan*/ memset(int **, int /*<<< orphan*/, int);
int /*<<< orphan*/ printf(char *, ...);
int tryi(long long val) {
  int gamebox[20][20];
  memset(gamebox, 0, sizeof(gamebox));
  int i;
  for (i = 0; i < 20; i++)
    gamebox[0][i] = (val >> i) % 2;
  int j;
  for (i = 1; i < 20; i++) {
    for (j = 0; j < 20; j++) {
      if (!blockval(gamebox, i - 1, j)) {
        gamebox[i][j] = 1;
      }
    }
  }
  for (i = 0; i < 20; i++)
    if (!blockval(gamebox, 20 - 1, i))
      return 0;
  printf("\n");
  for (i = 0; i < 20; i++) {
    for (j = 0; j < 20; j++) {
      printf("%d ", gamebox[i][j]);
    }
    printf("\n");
  }
  return 1;
}


x86 assembly (clang, -O0):
<tryi>:
push   %rbp
mov    %rsp,%rbp
sub    $0x660,%rsp
mov    %rdi,-0x10(%rbp)
lea    -0x650(%rbp),%rdi
xor    %esi,%esi
mov    $0x640,%edx
call   1050 <memset@plt>
movl   $0x0,-0x654(%rbp)
cmpl   $0x14,-0x654(%rbp)
jge    11a4 <tryi+0x74>
mov    -0x10(%rbp),%rax
mov    -0x654(%rbp),%ecx
sar    %cl,%rax
mov    $0x2,%ecx
cqto
idiv   %rcx
mov    %edx,%ecx
movslq -0x654(%rbp),%rax
mov    %ecx,-0x650(%rbp,%rax,4)
mov    -0x654(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x654(%rbp)
jmp    115c <tryi+0x2c>
movl   $0x1,-0x654(%rbp)
cmpl   $0x14,-0x654(%rbp)
jge    124b <tryi+0x11b>
movl   $0x0,-0x658(%rbp)
cmpl   $0x14,-0x658(%rbp)
jge    1232 <tryi+0x102>
lea    -0x650(%rbp),%rdi
mov    -0x654(%rbp),%esi
sub    $0x1,%esi
mov    -0x658(%rbp),%edx
call   1030 <blockval@plt>
cmp    $0x0,%eax
jne    1219 <tryi+0xe9>
movslq -0x654(%rbp),%rcx
lea    -0x650(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x658(%rbp),%rcx
movl   $0x1,(%rax,%rcx,4)
jmp    121e <tryi+0xee>
mov    -0x658(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x658(%rbp)
jmp    11c5 <tryi+0x95>
jmp    1237 <tryi+0x107>
mov    -0x654(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x654(%rbp)
jmp    11ae <tryi+0x7e>
movl   $0x0,-0x654(%rbp)
cmpl   $0x14,-0x654(%rbp)
jge    12a7 <tryi+0x177>
lea    -0x650(%rbp),%rdi
mov    -0x654(%rbp),%edx
mov    $0x13,%esi
call   1030 <blockval@plt>
cmp    $0x0,%eax
jne    128e <tryi+0x15e>
movl   $0x0,-0x4(%rbp)
jmp    134d <tryi+0x21d>
jmp    1293 <tryi+0x163>
mov    -0x654(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x654(%rbp)
jmp    1255 <tryi+0x125>
lea    0xd52(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
movl   $0x0,-0x654(%rbp)
cmpl   $0x14,-0x654(%rbp)
jge    1346 <tryi+0x216>
movl   $0x0,-0x658(%rbp)
cmpl   $0x14,-0x658(%rbp)
jge    1324 <tryi+0x1f4>
movslq -0x654(%rbp),%rcx
lea    -0x650(%rbp),%rax
imul   $0x50,%rcx,%rcx
add    %rcx,%rax
movslq -0x658(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xcf9(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x658(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x658(%rbp)
jmp    12d6 <tryi+0x1a6>
lea    0xcd5(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
mov    -0x654(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x654(%rbp)
jmp    12bf <tryi+0x18f>
movl   $0x1,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x660,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<tryi>:
push   %rbp
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x640,%rsp
mov    %rdi,%r14
mov    %rsp,%rdi
xor    %ebx,%ebx
xor    %esi,%esi
mov    $0x640,%edx
call   1060 <memset@plt>
mov    %r14,%rax
shr    $0x3f,%rax
nopw   0x0(%rax,%rax,1)
mov    %r14,%rdx
mov    %ebx,%ecx
sar    %cl,%rdx
lea    (%rdx,%rax,1),%esi
and    $0xfffffffe,%esi
lea    0x1(%rbx),%ecx
mov    %r14,%rdi
sar    %cl,%rdi
sub    %esi,%edx
mov    %edx,(%rsp,%rbx,4)
lea    (%rdi,%rax,1),%ecx
and    $0xfffffffe,%ecx
sub    %ecx,%edi
mov    %edi,0x4(%rsp,%rbx,4)
add    $0x2,%rbx
cmp    $0x14,%rbx
jne    1170 <tryi+0x30>
lea    0x50(%rsp),%r15
mov    $0x1,%r12d
mov    %rsp,%r14
jmp    11ce <tryi+0x8e>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
add    $0x1,%r12
add    $0x50,%r15
cmp    $0x14,%r12
je     1204 <tryi+0xc4>
lea    -0x1(%r12),%ebp
xor    %ebx,%ebx
jmp    11ea <tryi+0xaa>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rbx
cmp    $0x14,%rbx
je     11c0 <tryi+0x80>
mov    %r14,%rdi
mov    %ebp,%esi
mov    %ebx,%edx
call   1040 <blockval@plt>
test   %eax,%eax
jne    11e0 <tryi+0xa0>
movl   $0x1,(%r15,%rbx,4)
jmp    11e0 <tryi+0xa0>
mov    %rsp,%rdi
xor    %ebx,%ebx
mov    $0x13,%esi
xor    %edx,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x1,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x2,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x3,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x4,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x5,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x6,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x7,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x8,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x9,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0xa,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0xb,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0xc,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0xd,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0xe,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0xf,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x10,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x11,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x12,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    %rsp,%rdi
mov    $0x13,%esi
mov    $0x13,%edx
call   1040 <blockval@plt>
test   %eax,%eax
je     1558 <tryi+0x418>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    $0x4c,%ebp
lea    0xbdf(%rip),%r14
mov    $0x1,%ebx
mov    -0x4c(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x48(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x44(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x40(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x3c(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x38(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x34(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x30(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x2c(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x28(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x24(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x20(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x1c(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x18(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x14(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x10(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0xc(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x8(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    -0x4(%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rsp,%rbp,1),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x50,%rbp
cmp    $0x68c,%rbp
jne    1426 <tryi+0x2e6>
mov    %ebx,%eax
add    $0x640,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
pop    %rbp
ret

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

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