#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 EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, ...);
int main(void) {
  int data[2][3] = {
      {10, 20, 30},
      {40, 50, 60},
  };
  printf("          data: %p\n", (void *)data);
  printf("      &data[0]: %p\n", (void *)&data[0]);
  printf("       data[0]: %p\n", (void *)data[0]);
  printf("         &data: %p\n", (void *)&data);
  printf("         *data: %p\n", (void *)*data);
  printf("     *&data[0]: %p\n", (void *)*&data[0]);
  printf("        *&data: %p\n", (void *)*&data);
  printf("   &data[0][0]: %p\n", (void *)&data[0][0]);
  printf("      *data[0]: %d\n", *data[0]);
  printf("  *&data[0][0]: %d\n", *&data[0][0]);
  printf("     *(data+1): %p\n", (void *)*(data + 1));
  printf("  *(*(data+1)): %d\n", *(*(data + 1)));
  printf("   *(data+1)+1: %p\n", (void *)(*(data + 1) + 1));
  printf("*(*(data+1)+1): %d\n", *(*(data + 1) + 1));
  printf("\n Array elements:\n");
  int *ptr;
  unsigned short new_line = 1;
  for (ptr = &data[0][0]; ptr <= &data[2 - 1][3 - 1]; ptr++, new_line++) {
    printf("%d, ", *ptr);
    if (new_line % 3 == 0)
      printf("\n");
  }
  printf("\n Row elements:\n");
  for (ptr = data[0]; ptr < data[0] + 3; ptr++)
    printf("%d, ", *ptr);
  return (EXIT_SUCCESS);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xeda(%rip),%rax
mov    %rax,-0x20(%rbp)
mov    0xed7(%rip),%rax
mov    %rax,-0x18(%rbp)
mov    0xed4(%rip),%rax
mov    %rax,-0x10(%rbp)
lea    -0x20(%rbp),%rsi
lea    0xecd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xecf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xed1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xed5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xed7(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xed9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
lea    0xedb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%esi
lea    0xede(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x20(%rbp),%esi
lea    0xee1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
add    $0xc,%rsi
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%esi
lea    0xee2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rsi
add    $0xc,%rsi
add    $0x4,%rsi
lea    0xedc(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x10(%rbp),%esi
lea    0xedf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xee5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movw   $0x1,-0x2a(%rbp)
lea    -0x20(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
lea    -0x20(%rbp),%rcx
add    $0xc,%rcx
add    $0x8,%rcx
cmp    %rcx,%rax
ja     12d2 <main+0x1c2>
mov    -0x28(%rbp),%rax
mov    (%rax),%esi
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movzwl -0x2a(%rbp),%eax
mov    $0x3,%ecx
cltd
idiv   %ecx
cmp    $0x0,%edx
jne    12b0 <main+0x1a0>
lea    0xeae(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    12b5 <main+0x1a5>
mov    -0x28(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x28(%rbp)
mov    -0x2a(%rbp),%ax
add    $0x1,%ax
mov    %ax,-0x2a(%rbp)
jmp    1260 <main+0x150>
lea    0xe6f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x20(%rbp),%rax
mov    %rax,-0x28(%rbp)
mov    -0x28(%rbp),%rax
lea    -0x20(%rbp),%rcx
add    $0xc,%rcx
cmp    %rcx,%rax
jae    1322 <main+0x212>
mov    -0x28(%rbp),%rax
mov    (%rax),%esi
lea    0xe39(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x28(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x28(%rbp)
jmp    12e8 <main+0x1d8>
mov    0x2cb7(%rip),%rax
mov    (%rax),%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x18,%rsp
mov    0xecb(%rip),%rax
mov    %rax,0x10(%rsp)
movaps 0xeaf(%rip),%xmm0
movaps %xmm0,(%rsp)
lea    0x10(%rsp),%r14
lea    0xeb7(%rip),%rdi
mov    %rsp,%r15
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xeb7(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xeba(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xebd(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec0(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec3(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec6(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xec9(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rsp),%esi
lea    0xec9(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%rsp),%esi
lea    0xecc(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xc(%rsp),%rsi
lea    0xecd(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0xc(%rsp),%esi
lea    0xecf(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xed5(%rip),%rdi
mov    %r14,%rsi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x10(%rsp),%esi
lea    0xed4(%rip),%rdi
xor    %eax,%eax
call   1050 <printf@plt>
lea    0xedf(%rip),%rdi
call   1040 <puts@plt>
mov    $0x1,%bp
mov    $0xffff,%bx
lea    0x14(%rsp),%r12
lea    0xec1(%rip),%r14
jmp    128f <main+0x15f>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
add    $0x4,%r15
add    $0x1,%ebp
add    $0xffffffff,%ebx
cmp    %r12,%r15
ja     12be <main+0x18e>
movzwl %bp,%eax
imul   $0xaaab,%eax,%eax
shr    $0x11,%eax
lea    (%rax,%rax,2),%r13d
mov    (%r15),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    %bx,%r13w
jne    1280 <main+0x150>
mov    $0xa,%edi
call   1030 <putchar@plt>
jmp    1280 <main+0x150>
lea    0xe82(%rip),%rdi
call   1040 <puts@plt>
mov    (%rsp),%esi
lea    0xe5c(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    0x2cdf(%rip),%rax
mov    (%rax),%eax
add    $0x18,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

LLVM IR (-O2):
@__const.main.data = [2 x [3 x i32]] [[3 x i32] [i32 10, i32 20, i32 30], [3 x i32] [i32 40, i32 50, i32 60]]
@.str = [20 x i8] c" data: %p\0A\00"
@.str.1 = [20 x i8] c" &data[0]: %p\0A\00"
@.str.2 = [20 x i8] c" data[0]: %p\0A\00"
@.str.3 = [20 x i8] c" &data: %p\0A\00"
@.str.4 = [20 x i8] c" *data: %p\0A\00"
@.str.5 = [20 x i8] c" *&data[0]: %p\0A\00"
@.str.6 = [20 x i8] c" *&data: %p\0A\00"
@.str.7 = [20 x i8] c" &data[0][0]: %p\0A\00"
@.str.8 = [20 x i8] c" *data[0]: %d\0A\00"
@.str.9 = [20 x i8] c" *&data[0][0]: %d\0A\00"
@.str.10 = [20 x i8] c" *(data+1): %p\0A\00"
@.str.11 = [20 x i8] c" *(*(data+1)): %d\0A\00"
@.str.12 = [20 x i8] c" *(data+1)+1: %p\0A\00"
@.str.13 = [20 x i8] c"*(*(data+1)+1): %d\0A\00"
@.str.15 = [5 x i8] c"%d, \00"
@EXIT_SUCCESS = global i32 0
@str = [18 x i8] c"\0A Array elements:\00"
@str.18 = [16 x i8] c"\0A Row elements:\00"
define i32 @main() {
%1 = alloca [2 x [3 x i32]]
%2 = bitcast [2 x [3 x i32]]* %1 to i8*
%3 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str, i64 0, i64 0), [2 x [3 x i32]]* %1)
%4 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.1, i64 0, i64 0), [2 x [3 x i32]]* %1)
%5 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %1, i64 0, i64 0, i64 0
%6 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.2, i64 0, i64 0), [2 x [3 x i32]]* %1)
%7 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.3, i64 0, i64 0), [2 x [3 x i32]]* %1)
%8 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), [2 x [3 x i32]]* %1)
%9 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.5, i64 0, i64 0), [2 x [3 x i32]]* %1)
%10 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0), [2 x [3 x i32]]* %1)
%11 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.7, i64 0, i64 0), [2 x [3 x i32]]* %1)
%12 = load i32, i32* %5
%13 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.8, i64 0, i64 0), i32 %12)
%14 = load i32, i32* %5
%15 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.9, i64 0, i64 0), i32 %14)
%16 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %1, i64 0, i64 1, i64 0
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.10, i64 0, i64 0), i32* %16)
%18 = load i32, i32* %16
%19 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.11, i64 0, i64 0), i32 %18)
%20 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %1, i64 0, i64 1, i64 1
%21 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.12, i64 0, i64 0), i32* %20)
%22 = load i32, i32* %20
%23 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0), i32 %22)
%24 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @str, i64 0, i64 0))
%25 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %1, i64 0, i64 1, i64 2
br label %26
26: ; preds = %0, %35
%27 = phi i16 [ 1, %0 ], [ %37, %35 ]
%28 = phi i32* [ %5, %0 ], [ %36, %35 ]
%29 = load i32, i32* %28
%30 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i32 %29)
%31 = urem i16 %27, 3
%32 = icmp eq i16 %31, 0
br i1 %32, label %33, label %35
33: ; preds = %26
%34 = call i32 @putchar(i32 10)
br label %35
35: ; preds = %26, %33
%36 = getelementptr inbounds i32, i32* %28, i64 1
%37 = add i16 %27, 1
%38 = icmp ugt i32* %36, %25
br i1 %38, label %39, label %26
39: ; preds = %35
%40 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @str.18, i64 0, i64 0))
%41 = load i32, i32* %5
%42 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i32 %41)
%43 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %1, i64 0, i64 0, i64 1
%44 = load i32, i32* %43
%45 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i32 %44)
%46 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %1, i64 0, i64 0, i64 2
%47 = load i32, i32* %46
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @.str.15, i64 0, i64 0), i32 %47)
%49 = load i32, i32* @EXIT_SUCCESS
ret i32 %49
}