int main() {
  int i, j, k;
  int a[2][3][4] = {{
                        {111, 112, 113, 114},
                        {121, 122, 123, 124},
                        {131, 132, 133, 134},
                    },
                    {
                        {211, 212, 213, 214},
                        {221, 222, 223, 224},
                        {231, 232, 233, 234},
                    }};
  int *pa[2];
  for (i = 0; i < 2; i++)
    for (j = 0; j < 3; j++) {
      for (k = 0; k < 4; k++)
        printf("%d(%X), ", a[i][j][k], &a[i][j][k]);
      printf("\n");
    }
  printf("\n%d, %X, %X, %X\n", ***a, **a, *a, a);
  fn_test1(*(a + 1) + 1);
  fn_test1(a[1] + 1);
  pa[0] = (int *)a;
  pa[1] = (int *)*(a + 1);
  fn_test2(pa);
  printf("\nPress any key to end...");
  getchar();
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x80,%rsp
movl   $0x0,-0x4(%rbp)
lea    -0x70(%rbp),%rdi
lea    0xe93(%rip),%rsi
mov    $0x60,%edx
call   1060 <memcpy@plt>
movl   $0x0,-0x8(%rbp)
cmpl   $0x2,-0x8(%rbp)
jge    123b <main+0xeb>
movl   $0x0,-0xc(%rbp)
cmpl   $0x3,-0xc(%rbp)
jge    1228 <main+0xd8>
movl   $0x0,-0x10(%rbp)
cmpl   $0x4,-0x10(%rbp)
jge    120c <main+0xbc>
movslq -0x8(%rbp),%rcx
lea    -0x70(%rbp),%rax
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
movslq -0xc(%rbp),%rcx
shl    $0x4,%rcx
add    %rcx,%rax
movslq -0x10(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
movslq -0x8(%rbp),%rax
lea    -0x70(%rbp),%rdx
imul   $0x30,%rax,%rax
add    %rax,%rdx
movslq -0xc(%rbp),%rax
shl    $0x4,%rax
add    %rax,%rdx
movslq -0x10(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rdx
lea    0xe69(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
jmp    11a0 <main+0x50>
lea    0xe65(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
jmp    118f <main+0x3f>
jmp    122d <main+0xdd>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    117e <main+0x2e>
mov    -0x70(%rbp),%esi
lea    -0x70(%rbp),%rdx
lea    -0x70(%rbp),%rcx
lea    -0x70(%rbp),%r8
lea    0xe18(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x70(%rbp),%rdi
add    $0x30,%rdi
add    $0x10,%rdi
mov    $0x0,%al
call   1070 <fn_test1@plt>
lea    -0x70(%rbp),%rdi
add    $0x30,%rdi
add    $0x10,%rdi
mov    $0x0,%al
call   1070 <fn_test1@plt>
lea    -0x70(%rbp),%rax
mov    %rax,-0x80(%rbp)
lea    -0x70(%rbp),%rax
add    $0x30,%rax
mov    %rax,-0x78(%rbp)
lea    -0x80(%rbp),%rdi
mov    $0x0,%al
call   1040 <fn_test2@plt>
lea    0xdd6(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    $0x0,%al
call   1050 <getchar@plt>
xor    %eax,%eax
add    $0x80,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x78,%rsp
movaps 0xeeb(%rip),%xmm0
movaps %xmm0,0x50(%rsp)
movaps 0xecf(%rip),%xmm0
movaps %xmm0,0x40(%rsp)
movaps 0xeb3(%rip),%xmm0
movaps %xmm0,0x30(%rsp)
movaps 0xe97(%rip),%xmm0
movaps %xmm0,0x20(%rsp)
movaps 0xe7b(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
movaps 0xe5f(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0x40(%rsp),%r15
lea    0x30(%rsp),%r14
lea    0x20(%rsp),%rbp
lea    0x10(%rsp),%r13
lea    0xea0(%rip),%rbx
mov    %rsp,%r12
mov    %rbx,%rdi
mov    $0x6f,%esi
mov    %r12,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%rsp),%rdx
mov    0x4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x8(%rsp),%rdx
mov    0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xc(%rsp),%rdx
mov    0xc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x10(%rsp),%esi
mov    %rbx,%rdi
mov    %r13,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x14(%rsp),%rdx
mov    0x14(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x18(%rsp),%rdx
mov    0x18(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1c(%rsp),%rdx
mov    0x1c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x20(%rsp),%esi
mov    %rbx,%rdi
mov    %rbp,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x24(%rsp),%rdx
mov    0x24(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x28(%rsp),%rdx
mov    0x28(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x2c(%rsp),%rdx
mov    0x2c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x30(%rsp),%esi
mov    %rbx,%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x34(%rsp),%rdx
mov    0x34(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x38(%rsp),%rdx
mov    0x38(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3c(%rsp),%rdx
mov    0x3c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x40(%rsp),%esi
mov    %rbx,%rdi
mov    %r15,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x44(%rsp),%rdx
mov    0x44(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x48(%rsp),%rdx
mov    0x48(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4c(%rsp),%rdx
mov    0x4c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    0x50(%rsp),%esi
mov    %rbx,%rdi
lea    0x50(%rsp),%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x54(%rsp),%rdx
mov    0x54(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x58(%rsp),%rdx
mov    0x58(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x5c(%rsp),%rdx
mov    0x5c(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
mov    (%rsp),%esi
lea    0xca1(%rip),%rdi
mov    %r12,%rdx
mov    %r12,%rcx
mov    %r12,%r8
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1070 <fn_test1@plt>
mov    %r15,%rdi
xor    %eax,%eax
call   1070 <fn_test1@plt>
mov    %r12,0x60(%rsp)
mov    %r14,0x68(%rsp)
lea    0x60(%rsp),%rdi
xor    %eax,%eax
call   1050 <fn_test2@plt>
lea    0xc71(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
call   1060 <getchar@plt>
xor    %eax,%eax
add    $0x78,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
@__const.main.a = [2 x [3 x [4 x i32]]] [[3 x [4 x i32]] [[4 x i32] [i32 111, i32 112, i32 113, i32 114], [4 x i32] [i32 121, i32 122, i32 123, i32 124], [4 x i32] [i32 131, i32 132, i32 133, i32 134]], [3 x [4 x i32]] [[4 x i32] [i32 211, i32 212, i32 213, i32 214], [4 x i32] [i32 221, i32 222, i32 223, i32 224], [4 x i32] [i32 231, i32 232, i32 233, i32 234]]]
@.str = [9 x i8] c"%d(%X), \00"
@.str.1 = [2 x i8] c"\0A\00"
@.str.2 = [17 x i8] c"\0A%d, %X, %X, %X\0A\00"
@.str.3 = [25 x i8] c"\0APress any key to end...\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
%5 = alloca [2 x [3 x [4 x i32]]]
%6 = alloca [2 x i32*]
store i32 0, i32* %1
%7 = bitcast [2 x [3 x [4 x i32]]]* %5 to i8*
store i32 0, i32* %2
br label %8
8: ; preds = %49, %0
%9 = load i32, i32* %2
%10 = icmp slt i32 %9, 2
br i1 %10, label %11, label %52
11: ; preds = %8
store i32 0, i32* %3
br label %12
12: ; preds = %45, %11
%13 = load i32, i32* %3
%14 = icmp slt i32 %13, 3
br i1 %14, label %15, label %48
15: ; preds = %12
store i32 0, i32* %4
br label %16
16: ; preds = %40, %15
%17 = load i32, i32* %4
%18 = icmp slt i32 %17, 4
br i1 %18, label %19, label %43
19: ; preds = %16
%20 = load i32, i32* %2
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 %21
%23 = load i32, i32* %3
%24 = sext i32 %23 to i64
%25 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %22, i64 0, i64 %24
%26 = load i32, i32* %4
%27 = sext i32 %26 to i64
%28 = getelementptr inbounds [4 x i32], [4 x i32]* %25, i64 0, i64 %27
%29 = load i32, i32* %28
%30 = load i32, i32* %2
%31 = sext i32 %30 to i64
%32 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 %31
%33 = load i32, i32* %3
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %32, i64 0, i64 %34
%36 = load i32, i32* %4
%37 = sext i32 %36 to i64
%38 = getelementptr inbounds [4 x i32], [4 x i32]* %35, i64 0, i64 %37
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %29, i32* %38)
br label %40
40: ; preds = %19
%41 = load i32, i32* %4
%42 = add nsw i32 %41, 1
store i32 %42, i32* %4
br label %16
43: ; preds = %16
%44 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0))
br label %45
45: ; preds = %43
%46 = load i32, i32* %3
%47 = add nsw i32 %46, 1
store i32 %47, i32* %3
br label %12
48: ; preds = %12
br label %49
49: ; preds = %48
%50 = load i32, i32* %2
%51 = add nsw i32 %50, 1
store i32 %51, i32* %2
br label %8
52: ; preds = %8
%53 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 0
%54 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %53, i64 0, i64 0
%55 = getelementptr inbounds [4 x i32], [4 x i32]* %54, i64 0, i64 0
%56 = load i32, i32* %55
%57 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 0
%58 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %57, i64 0, i64 0
%59 = getelementptr inbounds [4 x i32], [4 x i32]* %58, i64 0, i64 0
%60 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 0
%61 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %60, i64 0, i64 0
%62 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 0
%63 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %56, i32* %59, [4 x i32]* %61, [3 x [4 x i32]]* %62)
%64 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 0
%65 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %64, i64 1
%66 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %65, i64 0, i64 0
%67 = getelementptr inbounds [4 x i32], [4 x i32]* %66, i64 1
%68 = call i32 ([4 x i32]*, ...) bitcast (i32 (...)* @fn_test1 to i32 ([4 x i32]*, ...)*)([4 x i32]* %67)
%69 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 1
%70 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %69, i64 0, i64 0
%71 = getelementptr inbounds [4 x i32], [4 x i32]* %70, i64 1
%72 = call i32 ([4 x i32]*, ...) bitcast (i32 (...)* @fn_test1 to i32 ([4 x i32]*, ...)*)([4 x i32]* %71)
%73 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 0
%74 = bitcast [3 x [4 x i32]]* %73 to i32*
%75 = getelementptr inbounds [2 x i32*], [2 x i32*]* %6, i64 0, i64 0
store i32* %74, i32** %75
%76 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %5, i64 0, i64 0
%77 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %76, i64 1
%78 = getelementptr inbounds [3 x [4 x i32]], [3 x [4 x i32]]* %77, i64 0, i64 0
%79 = bitcast [4 x i32]* %78 to i32*
%80 = getelementptr inbounds [2 x i32*], [2 x i32*]* %6, i64 0, i64 1
store i32* %79, i32** %80
%81 = getelementptr inbounds [2 x i32*], [2 x i32*]* %6, i64 0, i64 0
%82 = call i32 (i32**, ...) bitcast (i32 (...)* @fn_test2 to i32 (i32**, ...)*)(i32** %81)
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%84 = call i32 (...) @getchar()
ret i32 0
}

LLVM IR (-O2):
@__const.main.a = [2 x [3 x [4 x i32]]] [[3 x [4 x i32]] [[4 x i32] [i32 111, i32 112, i32 113, i32 114], [4 x i32] [i32 121, i32 122, i32 123, i32 124], [4 x i32] [i32 131, i32 132, i32 133, i32 134]], [3 x [4 x i32]] [[4 x i32] [i32 211, i32 212, i32 213, i32 214], [4 x i32] [i32 221, i32 222, i32 223, i32 224], [4 x i32] [i32 231, i32 232, i32 233, i32 234]]]
@.str = [9 x i8] c"%d(%X), \00"
@.str.2 = [17 x i8] c"\0A%d, %X, %X, %X\0A\00"
@.str.3 = [25 x i8] c"\0APress any key to end...\00"
define i32 @main() {
%1 = alloca [2 x [3 x [4 x i32]]]
%2 = alloca [2 x i32*]
%3 = bitcast [2 x [3 x [4 x i32]]]* %1 to i8*
%4 = bitcast [2 x i32*]* %2 to i8*
%5 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 0, i64 0
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 111, i32* %5)
%7 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 0, i64 1
%8 = load i32, i32* %7
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %8, i32* %7)
%10 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 0, i64 2
%11 = load i32, i32* %10
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %11, i32* %10)
%13 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 0, i64 3
%14 = load i32, i32* %13
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %14, i32* %13)
%16 = call i32 @putchar(i32 10)
%17 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 1, i64 0
%18 = load i32, i32* %17
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %18, i32* %17)
%20 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 1, i64 1
%21 = load i32, i32* %20
%22 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %21, i32* %20)
%23 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 1, i64 2
%24 = load i32, i32* %23
%25 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %24, i32* %23)
%26 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 1, i64 3
%27 = load i32, i32* %26
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %27, i32* %26)
%29 = call i32 @putchar(i32 10)
%30 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 2, i64 0
%31 = load i32, i32* %30
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %31, i32* %30)
%33 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 2, i64 1
%34 = load i32, i32* %33
%35 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %34, i32* %33)
%36 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 2, i64 2
%37 = load i32, i32* %36
%38 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %37, i32* %36)
%39 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 2, i64 3
%40 = load i32, i32* %39
%41 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %40, i32* %39)
%42 = call i32 @putchar(i32 10)
%43 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 0, i64 0
%44 = load i32, i32* %43
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %44, i32* %43)
%46 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 0, i64 1
%47 = load i32, i32* %46
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %47, i32* %46)
%49 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 0, i64 2
%50 = load i32, i32* %49
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %50, i32* %49)
%52 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 0, i64 3
%53 = load i32, i32* %52
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %53, i32* %52)
%55 = call i32 @putchar(i32 10)
%56 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 1, i64 0
%57 = load i32, i32* %56
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %57, i32* %56)
%59 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 1, i64 1
%60 = load i32, i32* %59
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %60, i32* %59)
%62 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 1, i64 2
%63 = load i32, i32* %62
%64 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %63, i32* %62)
%65 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 1, i64 3
%66 = load i32, i32* %65
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %66, i32* %65)
%68 = call i32 @putchar(i32 10)
%69 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 2, i64 0
%70 = load i32, i32* %69
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %70, i32* %69)
%72 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 2, i64 1
%73 = load i32, i32* %72
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %73, i32* %72)
%75 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 2, i64 2
%76 = load i32, i32* %75
%77 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %76, i32* %75)
%78 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 2, i64 3
%79 = load i32, i32* %78
%80 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %79, i32* %78)
%81 = call i32 @putchar(i32 10)
%82 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0
%83 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 0, i64 0
%84 = load i32, i32* %5
%85 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.2, i64 0, i64 0), i32 %84, i32* %5, [4 x i32]* %83, [3 x [4 x i32]]* %82)
%86 = getelementptr inbounds [2 x [3 x [4 x i32]]], [2 x [3 x [4 x i32]]]* %1, i64 0, i64 1, i64 1
%87 = call i32 ([4 x i32]*, ...) bitcast (i32 (...)* @fn_test1 to i32 ([4 x i32]*, ...)*)([4 x i32]* %86)
%88 = call i32 ([4 x i32]*, ...) bitcast (i32 (...)* @fn_test1 to i32 ([4 x i32]*, ...)*)([4 x i32]* %86)
%89 = getelementptr inbounds [2 x i32*], [2 x i32*]* %2, i64 0, i64 0
store i32* %5, i32** %89
%90 = getelementptr inbounds [2 x i32*], [2 x i32*]* %2, i64 0, i64 1
store i32* %43, i32** %90
%91 = call i32 (i32**, ...) bitcast (i32 (...)* @fn_test2 to i32 (i32**, ...)*)(i32** %89)
%92 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.3, i64 0, i64 0))
%93 = call i32 (...) @getchar()
ret i32 0
}