#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*/ a(int **);
int /*<<< orphan*/ printf(char *, int, ...);
int main() {
  int *e[10];
  int g[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  for (int i = 0; i < 10; i++) {
    e[i] = &g[i];
    printf("e[%d] addr %p\n", i, e[i]);
    printf("e%d addr %p\n", i, e + i);
    printf("e%d val %p\n", i, *(e + i));
  }
  a(e);
  int b[2][4] = {{1, 2, 3, 4}, {5, 6, 7, 8}};
  for (int i = 0; i < 2; i++) {
    for (int j = 0; j < 4; j++) {
      printf("b[%d][%d] %d, addr %p\n", i, j, b[i][j], &b[i][j]);
      printf("b[%d][%d] %p, addr %p\n", i, j, b, b[i]);
    }
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x90(%rbp),%rdi
lea    0xeb0(%rip),%rsi
mov    $0x28,%edx
call   1040 <memcpy@plt>
movl   $0x0,-0x94(%rbp)
cmpl   $0xa,-0x94(%rbp)
jge    120c <main+0xdc>
movslq -0x94(%rbp),%rax
lea    -0x90(%rbp),%rcx
shl    $0x2,%rax
add    %rax,%rcx
movslq -0x94(%rbp),%rax
mov    %rcx,-0x60(%rbp,%rax,8)
mov    -0x94(%rbp),%esi
movslq -0x94(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rdx
lea    0xe7d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x94(%rbp),%esi
lea    -0x60(%rbp),%rdx
movslq -0x94(%rbp),%rax
shl    $0x3,%rax
add    %rax,%rdx
lea    0xe66(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x94(%rbp),%esi
movslq -0x94(%rbp),%rax
mov    -0x60(%rbp,%rax,8),%rdx
lea    0xe53(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    1164 <main+0x34>
lea    -0x60(%rbp),%rdi
call   1050 <a@plt>
mov    0xe64(%rip),%rax
mov    %rax,-0xc0(%rbp)
mov    0xe5e(%rip),%rax
mov    %rax,-0xb8(%rbp)
mov    0xe58(%rip),%rax
mov    %rax,-0xb0(%rbp)
mov    0xe52(%rip),%rax
mov    %rax,-0xa8(%rbp)
movl   $0x0,-0xc4(%rbp)
cmpl   $0x2,-0xc4(%rbp)
jge    133a <main+0x20a>
movl   $0x0,-0xc8(%rbp)
cmpl   $0x4,-0xc8(%rbp)
jge    1321 <main+0x1f1>
mov    -0xc4(%rbp),%esi
mov    -0xc8(%rbp),%edx
movslq -0xc4(%rbp),%rcx
lea    -0xc0(%rbp),%rax
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0xc8(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
movslq -0xc4(%rbp),%rax
lea    -0xc0(%rbp),%r8
shl    $0x4,%rax
add    %rax,%r8
movslq -0xc8(%rbp),%rax
shl    $0x2,%rax
add    %rax,%r8
lea    0xd80(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc4(%rbp),%esi
mov    -0xc8(%rbp),%edx
lea    -0xc0(%rbp),%rcx
movslq -0xc4(%rbp),%rax
lea    -0xc0(%rbp),%r8
shl    $0x4,%rax
add    %rax,%r8
lea    0xd61(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc8(%rbp)
jmp    126e <main+0x13e>
jmp    1326 <main+0x1f6>
mov    -0xc4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc4(%rbp)
jmp    1257 <main+0x127>
xor    %eax,%eax
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x98,%rsp
mov    0xee8(%rip),%rax
mov    %rax,0x90(%rsp)
movaps 0xec9(%rip),%xmm0
movaps %xmm0,0x80(%rsp)
movaps 0xeaa(%rip),%xmm0
movaps %xmm0,0x70(%rsp)
lea    0x80(%rsp),%r13
lea    0x70(%rsp),%rdx
mov    %rdx,0x20(%rsp)
lea    0xeb4(%rip),%r15
mov    %r15,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xeb0(%rip),%r12
lea    0x20(%rsp),%rdx
mov    %r12,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x20(%rsp),%rdx
lea    0xea0(%rip),%rbx
mov    %rbx,%rdi
xor    %esi,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x74(%rsp),%rdx
lea    0x28(%rsp),%r14
mov    %rdx,0x28(%rsp)
mov    %r15,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x1,%esi
mov    %r14,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x28(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x1,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x78(%rsp),%rdx
lea    0x30(%rsp),%rbp
mov    %rdx,0x30(%rsp)
mov    %r15,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x2,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x30(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x2,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x7c(%rsp),%rdx
lea    0x38(%rsp),%rbp
mov    %rdx,0x38(%rsp)
mov    %r15,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x3,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x38(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x3,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x40(%rsp),%rbp
mov    %r13,0x40(%rsp)
mov    %r15,%rdi
mov    $0x4,%esi
mov    %r13,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x4,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x40(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x4,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x84(%rsp),%rdx
lea    0x48(%rsp),%rbp
mov    %rdx,0x48(%rsp)
mov    %r15,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x5,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x48(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x5,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x88(%rsp),%rdx
lea    0x50(%rsp),%rbp
mov    %rdx,0x50(%rsp)
mov    %r15,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x6,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x50(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x6,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x8c(%rsp),%rdx
lea    0x58(%rsp),%rbp
mov    %rdx,0x58(%rsp)
mov    %r15,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x7,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x58(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x7,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x60(%rsp),%rbp
lea    0x90(%rsp),%rdx
mov    %rdx,0x60(%rsp)
mov    %r15,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x8,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x60(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x8,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x94(%rsp),%rdx
lea    0x68(%rsp),%rbp
mov    %rdx,0x68(%rsp)
mov    %r15,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x9,%esi
mov    %rbp,%rdx
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x68(%rsp),%rdx
mov    %rbx,%rdi
mov    $0x9,%esi
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x20(%rsp),%rdi
call   1040 <a@plt>
movaps 0xc5e(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xc42(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0x10(%rsp),%r14
lea    0xc02(%rip),%r15
mov    %rsp,%rbx
mov    %r15,%rdi
xor    %esi,%esi
xor    %edx,%edx
mov    $0x1,%ecx
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xbf9(%rip),%r12
mov    %r12,%rdi
xor    %esi,%esi
xor    %edx,%edx
mov    %rbx,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x4(%rsp),%r8
mov    0x4(%rsp),%ecx
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
xor    %esi,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x8(%rsp),%r8
mov    0x8(%rsp),%ecx
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
xor    %esi,%esi
mov    $0x2,%edx
mov    %rbx,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0xc(%rsp),%r8
mov    0xc(%rsp),%ecx
mov    %r15,%rdi
xor    %esi,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
xor    %esi,%esi
mov    $0x3,%edx
mov    %rbx,%rcx
mov    %rbx,%r8
xor    %eax,%eax
call   1030 <printf@plt>
mov    0x10(%rsp),%ecx
mov    %r15,%rdi
mov    $0x1,%esi
xor    %edx,%edx
mov    %r14,%r8
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x1,%esi
xor    %edx,%edx
mov    %rbx,%rcx
mov    %r14,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x14(%rsp),%r8
mov    0x14(%rsp),%ecx
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %rbx,%rcx
mov    %r14,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x18(%rsp),%r8
mov    0x18(%rsp),%ecx
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
mov    %rbx,%rcx
mov    %r14,%r8
xor    %eax,%eax
call   1030 <printf@plt>
lea    0x1c(%rsp),%r8
mov    0x1c(%rsp),%ecx
mov    %r15,%rdi
mov    $0x1,%esi
mov    $0x3,%edx
xor    %eax,%eax
call   1030 <printf@plt>
mov    %r12,%rdi
mov    $0x1,%esi
mov    $0x3,%edx
mov    %rbx,%rcx
mov    %r14,%r8
xor    %eax,%eax
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x98,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.g = [10 x i32] [i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10]
@.str = [15 x i8] c"e[%d] addr %p\0A\00"
@.str.1 = [13 x i8] c"e%d addr %p\0A\00"
@.str.2 = [12 x i8] c"e%d val %p\0A\00"
@__const.main.b = [2 x [4 x i32]] [[4 x i32] [i32 1, i32 2, i32 3, i32 4], [4 x i32] [i32 5, i32 6, i32 7, i32 8]]
@.str.3 = [23 x i8] c"b[%d][%d] %d, addr %p\0A\00"
@.str.4 = [23 x i8] c"b[%d][%d] %p, addr %p\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [10 x i32*]
%3 = alloca [10 x i32]
%4 = alloca i32
%5 = alloca [2 x [4 x i32]]
%6 = alloca i32
%7 = alloca i32
store i32 0, i32* %1
%8 = bitcast [10 x i32]* %3 to i8*
store i32 0, i32* %4
br label %9
9: ; preds = %38, %0
%10 = load i32, i32* %4
%11 = icmp slt i32 %10, 10
br i1 %11, label %12, label %41
12: ; preds = %9
%13 = load i32, i32* %4
%14 = sext i32 %13 to i64
%15 = getelementptr inbounds [10 x i32], [10 x i32]* %3, i64 0, i64 %14
%16 = load i32, i32* %4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [10 x i32*], [10 x i32*]* %2, i64 0, i64 %17
store i32* %15, i32** %18
%19 = load i32, i32* %4
%20 = load i32, i32* %4
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [10 x i32*], [10 x i32*]* %2, i64 0, i64 %21
%23 = load i32*, i32** %22
%24 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str, i64 0, i64 0), i32 %19, i32* %23)
%25 = load i32, i32* %4
%26 = getelementptr inbounds [10 x i32*], [10 x i32*]* %2, i64 0, i64 0
%27 = load i32, i32* %4
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds i32*, i32** %26, i64 %28
%30 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.1, i64 0, i64 0), i32 %25, i32** %29)
%31 = load i32, i32* %4
%32 = getelementptr inbounds [10 x i32*], [10 x i32*]* %2, i64 0, i64 0
%33 = load i32, i32* %4
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds i32*, i32** %32, i64 %34
%36 = load i32*, i32** %35
%37 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.2, i64 0, i64 0), i32 %31, i32* %36)
br label %38
38: ; preds = %12
%39 = load i32, i32* %4
%40 = add nsw i32 %39, 1
store i32 %40, i32* %4
br label %9
41: ; preds = %9
%42 = getelementptr inbounds [10 x i32*], [10 x i32*]* %2, i64 0, i64 0
%43 = call i32 @a(i32** %42)
%44 = bitcast [2 x [4 x i32]]* %5 to i8*
store i32 0, i32* %6
br label %45
45: ; preds = %81, %41
%46 = load i32, i32* %6
%47 = icmp slt i32 %46, 2
br i1 %47, label %48, label %84
48: ; preds = %45
store i32 0, i32* %7
br label %49
49: ; preds = %77, %48
%50 = load i32, i32* %7
%51 = icmp slt i32 %50, 4
br i1 %51, label %52, label %80
52: ; preds = %49
%53 = load i32, i32* %6
%54 = load i32, i32* %7
%55 = load i32, i32* %6
%56 = sext i32 %55 to i64
%57 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %5, i64 0, i64 %56
%58 = load i32, i32* %7
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds [4 x i32], [4 x i32]* %57, i64 0, i64 %59
%61 = load i32, i32* %60
%62 = load i32, i32* %6
%63 = sext i32 %62 to i64
%64 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %5, i64 0, i64 %63
%65 = load i32, i32* %7
%66 = sext i32 %65 to i64
%67 = getelementptr inbounds [4 x i32], [4 x i32]* %64, i64 0, i64 %66
%68 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.3, i64 0, i64 0), i32 %53, i32 %54, i32 %61, i32* %67)
%69 = load i32, i32* %6
%70 = load i32, i32* %7
%71 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %5, i64 0, i64 0
%72 = load i32, i32* %6
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [2 x [4 x i32]], [2 x [4 x i32]]* %5, i64 0, i64 %73
%75 = getelementptr inbounds [4 x i32], [4 x i32]* %74, i64 0, i64 0
%76 = call i32 (i8*, i32, ...) @printf(i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.4, i64 0, i64 0), i32 %69, i32 %70, [4 x i32]* %71, i32* %75)
br label %77
77: ; preds = %52
%78 = load i32, i32* %7
%79 = add nsw i32 %78, 1
store i32 %79, i32* %7
br label %49
80: ; preds = %49
br label %81
81: ; preds = %80
%82 = load i32, i32* %6
%83 = add nsw i32 %82, 1
store i32 %83, i32* %6
br label %45
84: ; preds = %45
ret i32 0
}

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