#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 /*<<< orphan*/ printf(char *, ...);
int main(int argc, const char *argv[]) {
  int i, j, walk = 0;
  int **grades = (int **)malloc(5 * sizeof(int *));
  grades[0] = (int *)malloc(4 * sizeof(int));
  grades[1] = (int *)malloc(4 * sizeof(int));
  grades[2] = (int *)malloc(4 * sizeof(int));
  grades[3] = (int *)malloc(4 * sizeof(int));
  grades[4] = (int *)malloc(4 * sizeof(int));
  for (i = 0; i < 5; i++) {
    for (j = 0; j < 4; j++) {
      grades[i][j] = walk++;
    }
  }
  int **pptr = grades;
  printf("-1: pptr=%p\n", pptr);
  printf("-1: &pptr[0] = %p\n", &pptr[0]);
  printf("-1: pptr+1 = %p\n", pptr + 1);
  printf("-1: pptr+2 = %p\n", pptr + 2);
  printf("\n\n");
  printf("0: pptr[0] = %p\n", pptr[0]);
  printf("0: *pptr=%p\n", *pptr);
  printf("0: &pptr[0][0]=%p\n", &pptr[0][0]);
  printf("\n\n");
  printf("1: pptr[1]=%p\n", pptr[1]);
  printf("1: *(pptr + 1) = %p\n", *(pptr + 1));
  printf("1: &pptr[0][1] = %p\n", &pptr[1][0]);
  printf("\n\n");
  printf("2: *pptr + 1 = %p\n", *pptr + 1);
  printf("2: *(pptr+0) + 1 = %p\n", *(pptr + 0) + 1);
  printf("2: &pptr[0][1] = %p\n", &pptr[1][0]);
  printf("\n\n");
  printf("3: *(pptr[1]+1) = %d\n", *(pptr[1] + 1));
  printf("3: *(*(pptr+1)+1)  = %d\n", *(*(pptr + 1) + 1));
  printf("3: pptr[1][1] = %d\n", pptr[1][1]);
  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   $0x0,-0x1c(%rbp)
mov    $0x28,%edi
call   1040 <malloc@plt>
mov    %rax,-0x28(%rbp)
mov    $0x10,%edi
call   1040 <malloc@plt>
mov    %rax,%rcx
mov    -0x28(%rbp),%rax
mov    %rcx,(%rax)
mov    $0x10,%edi
call   1040 <malloc@plt>
mov    %rax,%rcx
mov    -0x28(%rbp),%rax
mov    %rcx,0x8(%rax)
mov    $0x10,%edi
call   1040 <malloc@plt>
mov    %rax,%rcx
mov    -0x28(%rbp),%rax
mov    %rcx,0x10(%rax)
mov    $0x10,%edi
call   1040 <malloc@plt>
mov    %rax,%rcx
mov    -0x28(%rbp),%rax
mov    %rcx,0x18(%rax)
mov    $0x10,%edi
call   1040 <malloc@plt>
mov    %rax,%rcx
mov    -0x28(%rbp),%rax
mov    %rcx,0x20(%rax)
movl   $0x0,-0x14(%rbp)
cmpl   $0x5,-0x14(%rbp)
jge    1214 <main+0xf4>
movl   $0x0,-0x18(%rbp)
cmpl   $0x4,-0x18(%rbp)
jge    1201 <main+0xe1>
mov    -0x1c(%rbp),%edx
mov    %edx,%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    11cb <main+0xab>
jmp    1206 <main+0xe6>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11ba <main+0x9a>
mov    -0x28(%rbp),%rax
mov    %rax,-0x30(%rbp)
mov    -0x30(%rbp),%rsi
lea    0xdd9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rsi
lea    0xdd4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rsi
add    $0x8,%rsi
lea    0xdd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rsi
add    $0x10,%rsi
lea    0xdcc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xdcf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    (%rax),%rsi
lea    0xdbd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    (%rax),%rsi
lea    0xdb9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    (%rax),%rsi
lea    0xdb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd82(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xda0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd99(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd32(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    (%rax),%rsi
add    $0x4,%rsi
lea    0xd86(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    (%rax),%rsi
add    $0x4,%rsi
lea    0xd80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rsi
lea    0xd81(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xcdc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rax
mov    0x4(%rax),%esi
lea    0xd6f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rax
mov    0x4(%rax),%esi
lea    0xd6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x30(%rbp),%rax
mov    0x8(%rax),%rax
mov    0x4(%rax),%esi
lea    0xd6c(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
mov    $0x28,%edi
call   1050 <malloc@plt>
mov    %rax,%rbx
mov    $0x10,%edi
call   1050 <malloc@plt>
mov    %rax,(%rbx)
mov    $0x10,%edi
call   1050 <malloc@plt>
lea    0x8(%rbx),%r14
mov    %rax,0x8(%rbx)
mov    $0x10,%edi
call   1050 <malloc@plt>
lea    0x10(%rbx),%r15
mov    %rax,0x10(%rbx)
mov    $0x10,%edi
call   1050 <malloc@plt>
mov    %rax,0x18(%rbx)
mov    $0x10,%edi
call   1050 <malloc@plt>
mov    %rax,0x20(%rbx)
mov    (%rbx),%rcx
movaps 0xe67(%rip),%xmm0
movups %xmm0,(%rcx)
mov    0x8(%rbx),%rcx
movaps 0xe69(%rip),%xmm0
movups %xmm0,(%rcx)
mov    0x10(%rbx),%rcx
movaps 0xe6b(%rip),%xmm0
movups %xmm0,(%rcx)
mov    0x18(%rbx),%rcx
movaps 0xe6d(%rip),%xmm0
movups %xmm0,(%rcx)
movaps 0xe73(%rip),%xmm0
movups %xmm0,(%rax)
lea    0xe79(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe75(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe77(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe77(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf4d(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
mov    (%rbx),%rsi
lea    0xe65(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%rsi
lea    0xe65(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%rsi
lea    0xe61(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
mov    0x8(%rbx),%rsi
lea    0xe5a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%rsi
lea    0xe57(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%rsi
lea    0xe5a(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
mov    (%rbx),%rsi
add    $0x4,%rsi
lea    0xe52(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    (%rbx),%rsi
add    $0x4,%rsi
lea    0xe50(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%rsi
lea    0xe55(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
mov    0x8(%rbx),%rax
mov    0x4(%rax),%esi
lea    0xe4d(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%rax
mov    0x4(%rax),%esi
lea    0xe4e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    0x8(%rbx),%rax
mov    0x4(%rax),%esi
lea    0xe52(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
@.str = [13 x i8] c"-1: pptr=%p\0A\00"
@.str.1 = [19 x i8] c"-1: &pptr[0] = %p\0A\00"
@.str.2 = [17 x i8] c"-1: pptr+1 = %p\0A\00"
@.str.3 = [17 x i8] c"-1: pptr+2 = %p\0A\00"
@.str.5 = [17 x i8] c"0: pptr[0] = %p\0A\00"
@.str.6 = [13 x i8] c"0: *pptr=%p\0A\00"
@.str.7 = [19 x i8] c"0: &pptr[0][0]=%p\0A\00"
@.str.8 = [15 x i8] c"1: pptr[1]=%p\0A\00"
@.str.9 = [21 x i8] c"1: *(pptr + 1) = %p\0A\00"
@.str.10 = [21 x i8] c"1: &pptr[0][1] = %p\0A\00"
@.str.11 = [19 x i8] c"2: *pptr + 1 = %p\0A\00"
@.str.12 = [23 x i8] c"2: *(pptr+0) + 1 = %p\0A\00"
@.str.13 = [21 x i8] c"2: &pptr[0][1] = %p\0A\00"
@.str.14 = [22 x i8] c"3: *(pptr[1]+1) = %d\0A\00"
@.str.15 = [25 x i8] c"3: *(*(pptr+1)+1) = %d\0A\00"
@.str.16 = [20 x i8] c"3: pptr[1][1] = %d\0A\00"
@str.19 = [2 x i8] c"\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i64 @malloc(i32 40)
%4 = inttoptr i64 %3 to i32**
%5 = tail call i64 @malloc(i32 16)
%6 = inttoptr i64 %5 to i32*
store i32* %6, i32** %4
%7 = tail call i64 @malloc(i32 16)
%8 = inttoptr i64 %7 to i32*
%9 = getelementptr inbounds i32*, i32** %4, i64 1
store i32* %8, i32** %9
%10 = tail call i64 @malloc(i32 16)
%11 = inttoptr i64 %10 to i32*
%12 = getelementptr inbounds i32*, i32** %4, i64 2
store i32* %11, i32** %12
%13 = tail call i64 @malloc(i32 16)
%14 = inttoptr i64 %13 to i32*
%15 = getelementptr inbounds i32*, i32** %4, i64 3
store i32* %14, i32** %15
%16 = tail call i64 @malloc(i32 16)
%17 = inttoptr i64 %16 to i32*
%18 = getelementptr inbounds i32*, i32** %4, i64 4
store i32* %17, i32** %18
%19 = inttoptr i64 %3 to <4 x i32>**
%20 = load <4 x i32>*, <4 x i32>** %19
store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, <4 x i32>* %20
%21 = bitcast i32** %9 to <4 x i32>**
%22 = load <4 x i32>*, <4 x i32>** %21
store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, <4 x i32>* %22
%23 = bitcast i32** %12 to <4 x i32>**
%24 = load <4 x i32>*, <4 x i32>** %23
store <4 x i32> <i32 8, i32 9, i32 10, i32 11>, <4 x i32>* %24
%25 = bitcast i32** %15 to <4 x i32>**
%26 = load <4 x i32>*, <4 x i32>** %25
store <4 x i32> <i32 12, i32 13, i32 14, i32 15>, <4 x i32>* %26
%27 = inttoptr i64 %16 to <4 x i32>*
store <4 x i32> <i32 16, i32 17, i32 18, i32 19>, <4 x i32>* %27
%28 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str, i64 0, i64 0), i32** %4)
%29 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.1, i64 0, i64 0), i32** %4)
%30 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32** %9)
%31 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i32** %12)
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.19, i64 0, i64 0))
%33 = load i32*, i32** %4
%34 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.5, i64 0, i64 0), i32* %33)
%35 = load i32*, i32** %4
%36 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([13 x i8], [13 x i8]* @.str.6, i64 0, i64 0), i32* %35)
%37 = load i32*, i32** %4
%38 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.7, i64 0, i64 0), i32* %37)
%39 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.19, i64 0, i64 0))
%40 = load i32*, i32** %9
%41 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.8, i64 0, i64 0), i32* %40)
%42 = load i32*, i32** %9
%43 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.9, i64 0, i64 0), i32* %42)
%44 = load i32*, i32** %9
%45 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.10, i64 0, i64 0), i32* %44)
%46 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.19, i64 0, i64 0))
%47 = load i32*, i32** %4
%48 = getelementptr inbounds i32, i32* %47, i64 1
%49 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @.str.11, i64 0, i64 0), i32* %48)
%50 = load i32*, i32** %4
%51 = getelementptr inbounds i32, i32* %50, i64 1
%52 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([23 x i8], [23 x i8]* @.str.12, i64 0, i64 0), i32* %51)
%53 = load i32*, i32** %9
%54 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.13, i64 0, i64 0), i32* %53)
%55 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @str.19, i64 0, i64 0))
%56 = load i32*, i32** %9
%57 = getelementptr inbounds i32, i32* %56, i64 1
%58 = load i32, i32* %57
%59 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([22 x i8], [22 x i8]* @.str.14, i64 0, i64 0), i32 %58)
%60 = load i32*, i32** %9
%61 = getelementptr inbounds i32, i32* %60, i64 1
%62 = load i32, i32* %61
%63 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.15, i64 0, i64 0), i32 %62)
%64 = load i32*, i32** %9
%65 = getelementptr inbounds i32, i32* %64, i64 1
%66 = load i32, i32* %65
%67 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.16, i64 0, i64 0), i32 %66)
ret i32 0
}