#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*/ fprintf(int /*<<< orphan*/, char *);
scalar_t__ malloc(int);
int /*<<< orphan*/ printf(char *, int, int, ...);
int /*<<< orphan*/ scanf(char *, int *);
int /*<<< orphan*/ stderr;
int main(int argc, char const *argv[]) {
  int **document;
  int size = 3;
  int x = 0, y = 0;
  document = (int **)malloc(size * sizeof(int *));
  if (document == NULL) {
    fprintf(stderr, "problema na alocação\n");
    return 5;
  }
  for (x = 0; x < size; x++) {
    document[x] = (int *)malloc(size * sizeof(int));
    if (document[x] == NULL) {
      fprintf(stderr, "problema na alocação\n");
      return 5;
    }
    for (y = 0; y < size; y++) {
      printf("document[%d][%d] = ", x, y);
      scanf("%d", &document[x][y]);
    }
  }
  for (x = 0; x < size; x++) {
    for (y = 0; y < size; y++) {
      printf("document[%d][%d] = %d\n", x, y, document[x][y]);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x3,-0x1c(%rbp)
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x24(%rbp)
movslq -0x1c(%rbp),%rax
shl    $0x3,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,-0x18(%rbp)
cmpq   $0x0,-0x18(%rbp)
jne    11aa <main+0x6a>
mov    0x2e50(%rip),%rax
mov    (%rax),%edi
lea    0xe67(%rip),%rsi
call   1040 <fprintf@plt>
movl   $0x5,-0x4(%rbp)
jmp    12ef <main+0x1af>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    127a <main+0x13a>
movslq -0x1c(%rbp),%rax
shl    $0x2,%rax
mov    %eax,%edi
call   1050 <malloc@plt>
mov    %rax,%rdx
mov    -0x18(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
movslq -0x20(%rbp),%rcx
cmpq   $0x0,(%rax,%rcx,8)
jne    120f <main+0xcf>
mov    0x2deb(%rip),%rax
mov    (%rax),%edi
lea    0xe02(%rip),%rsi
call   1040 <fprintf@plt>
movl   $0x5,-0x4(%rbp)
jmp    12ef <main+0x1af>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    1267 <main+0x127>
mov    -0x20(%rbp),%esi
mov    -0x24(%rbp),%edx
lea    0xde9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,8),%rsi
movslq -0x24(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rsi
lea    0xdd8(%rip),%rdi
call   1060 <scanf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1216 <main+0xd6>
jmp    126c <main+0x12c>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    11b1 <main+0x71>
movl   $0x0,-0x20(%rbp)
mov    -0x20(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12e8 <main+0x1a8>
movl   $0x0,-0x24(%rbp)
mov    -0x24(%rbp),%eax
cmp    -0x1c(%rbp),%eax
jge    12d5 <main+0x195>
mov    -0x20(%rbp),%esi
mov    -0x24(%rbp),%edx
mov    -0x18(%rbp),%rax
movslq -0x20(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x24(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
lea    0xd6f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x24(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x24(%rbp)
jmp    1294 <main+0x154>
jmp    12da <main+0x19a>
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1281 <main+0x141>
movl   $0x0,-0x4(%rbp)
mov    -0x4(%rbp),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %rbx
push   %rax
mov    $0x18,%edi
call   1050 <malloc@plt>
test   %rax,%rax
je     13d4 <main+0x294>
mov    %rax,%rbx
mov    $0xc,%edi
call   1050 <malloc@plt>
mov    %rax,(%rbx)
test   %rax,%rax
je     13d4 <main+0x294>
lea    0xe9e(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%rsi
lea    0xe9a(%rip),%rbp
mov    %rbp,%rdi
call   1060 <scanf@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%rsi
add    $0x4,%rsi
mov    %rbp,%rdi
call   1060 <scanf@plt>
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%rsi
add    $0x8,%rsi
mov    %rbp,%rdi
call   1060 <scanf@plt>
mov    $0xc,%edi
call   1050 <malloc@plt>
mov    %rax,0x8(%rbx)
test   %rax,%rax
je     13d4 <main+0x294>
lea    0xe20(%rip),%r14
xor    %ebp,%ebp
mov    %r14,%rdi
mov    $0x1,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%rsi
lea    0xe16(%rip),%r15
mov    %r15,%rdi
call   1060 <scanf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%rsi
add    $0x4,%rsi
mov    %r15,%rdi
call   1060 <scanf@plt>
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%rsi
add    $0x8,%rsi
mov    %r15,%rdi
call   1060 <scanf@plt>
mov    $0xc,%edi
call   1050 <malloc@plt>
mov    %rax,0x10(%rbx)
test   %rax,%rax
je     13d4 <main+0x294>
lea    0xd94(%rip),%r14
mov    %r14,%rdi
mov    $0x2,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rbx),%rsi
lea    0xd8c(%rip),%r15
mov    %r15,%rdi
call   1060 <scanf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rbx),%rsi
add    $0x4,%rsi
mov    %r15,%rdi
call   1060 <scanf@plt>
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rbx),%rsi
add    $0x8,%rsi
mov    %r15,%rdi
call   1060 <scanf@plt>
mov    (%rbx),%rax
mov    (%rax),%ecx
lea    0xd33(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%rax
mov    0x4(%rax),%ecx
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    (%rbx),%rax
mov    0x8(%rax),%ecx
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%rax
mov    (%rax),%ecx
mov    %r14,%rdi
mov    $0x1,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%rax
mov    0x4(%rax),%ecx
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x8(%rbx),%rax
mov    0x8(%rax),%ecx
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rbx),%rax
mov    (%rax),%ecx
mov    %r14,%rdi
mov    $0x2,%esi
xor    %edx,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rbx),%rax
mov    0x4(%rax),%ecx
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rbx),%rax
mov    0x8(%rax),%ecx
mov    %r14,%rdi
mov    $0x2,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
jmp    13ee <main+0x2ae>
mov    0x2c05(%rip),%rax
mov    (%rax),%edi
lea    0xc1c(%rip),%rsi
call   1040 <fprintf@plt>
mov    $0x5,%ebp
mov    %ebp,%eax
add    $0x8,%rsp
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@stderr = global i32 0
@.str = [24 x i8] c"problema na aloca\C3\A7\C3\A3o\0A\00"
@.str.1 = [20 x i8] c"document[%d][%d] = \00"
@.str.2 = [3 x i8] c"%d\00"
@.str.3 = [23 x i8] c"document[%d][%d] = %d\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i64 @malloc(i32 24)
%4 = inttoptr i64 %3 to i32**
%5 = icmp eq i64 %3, 0
br i1 %5, label %10, label %6
6: ; preds = %2
%7 = tail call i64 @malloc(i32 12)
%8 = inttoptr i64 %7 to i32*
store i32* %8, i32** %4
%9 = icmp eq i64 %7, 0
br i1 %9, label %29, label %13
10: ; preds = %2
%11 = load i32, i32* @stderr
%12 = tail call i32 @fprintf(i32 %11, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
br label %93
13: ; preds = %6
%14 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 0)
%15 = load i32*, i32** %4
%16 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %15)
%17 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 1)
%18 = load i32*, i32** %4
%19 = getelementptr inbounds i32, i32* %18, i64 1
%20 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %19)
%21 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 0, i32 2)
%22 = load i32*, i32** %4
%23 = getelementptr inbounds i32, i32* %22, i64 2
%24 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %23)
%25 = tail call i64 @malloc(i32 12)
%26 = inttoptr i64 %25 to i32*
%27 = getelementptr inbounds i32*, i32** %4, i64 1
store i32* %26, i32** %27
%28 = icmp eq i64 %25, 0
br i1 %28, label %29, label %32
29: ; preds = %32, %13, %6
%30 = load i32, i32* @stderr
%31 = tail call i32 @fprintf(i32 %30, i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str, i64 0, i64 0))
br label %93
32: ; preds = %13
%33 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 0)
%34 = load i32*, i32** %27
%35 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %34)
%36 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 1)
%37 = load i32*, i32** %27
%38 = getelementptr inbounds i32, i32* %37, i64 1
%39 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %38)
%40 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 1, i32 2)
%41 = load i32*, i32** %27
%42 = getelementptr inbounds i32, i32* %41, i64 2
%43 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %42)
%44 = tail call i64 @malloc(i32 12)
%45 = inttoptr i64 %44 to i32*
%46 = getelementptr inbounds i32*, i32** %4, i64 2
store i32* %45, i32** %46
%47 = icmp eq i64 %44, 0
br i1 %47, label %29, label %48
48: ; preds = %32
%49 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 0)
%50 = load i32*, i32** %46
%51 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %50)
%52 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 1)
%53 = load i32*, i32** %46
%54 = getelementptr inbounds i32, i32* %53, i64 1
%55 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %54)
%56 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), i32 2, i32 2)
%57 = load i32*, i32** %46
%58 = getelementptr inbounds i32, i32* %57, i64 2
%59 = tail call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.2, i64 0, i64 0), i32* %58)
%60 = load i32*, i32** %4
%61 = load i32, i32* %60
%62 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 0, i32 0, i32 %61)
%63 = load i32*, i32** %4
%64 = getelementptr inbounds i32, i32* %63, i64 1
%65 = load i32, i32* %64
%66 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 0, i32 1, i32 %65)
%67 = load i32*, i32** %4
%68 = getelementptr inbounds i32, i32* %67, i64 2
%69 = load i32, i32* %68
%70 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 0, i32 2, i32 %69)
%71 = load i32*, i32** %27
%72 = load i32, i32* %71
%73 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 1, i32 0, i32 %72)
%74 = load i32*, i32** %27
%75 = getelementptr inbounds i32, i32* %74, i64 1
%76 = load i32, i32* %75
%77 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 1, i32 1, i32 %76)
%78 = load i32*, i32** %27
%79 = getelementptr inbounds i32, i32* %78, i64 2
%80 = load i32, i32* %79
%81 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 1, i32 2, i32 %80)
%82 = load i32*, i32** %46
%83 = load i32, i32* %82
%84 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 2, i32 0, i32 %83)
%85 = load i32*, i32** %46
%86 = getelementptr inbounds i32, i32* %85, i64 1
%87 = load i32, i32* %86
%88 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 2, i32 1, i32 %87)
%89 = load i32*, i32** %46
%90 = getelementptr inbounds i32, i32* %89, i64 2
%91 = load i32, i32* %90
%92 = tail call i32 (i8*, i32, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 2, i32 2, i32 %91)
br label %93
93: ; preds = %48, %29, %10
%94 = phi i32 [ 5, %10 ], [ 5, %29 ], [ 0, %48 ]
ret i32 %94
}