#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*/ printf(char *, ...);
int main() {
  char array[11] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
  char *ptr;
  int i;
  char inta[3] = {0};
  for (i = 0; i < 11; i++)
    printf("array[%d]=%d address=%p array+i=%p\n", i, array[i], &array[i],
           (array + i));
  printf("\n========================================================= \n");
  ptr = array;
  printf(" ptr=array %p \n", ptr);
  ptr = (char *)&array;
  printf(" ptr=&array %p \n", ptr);
  ptr = &array[0];
  printf(" ptr=&array[0] %p \n", ptr);
  printf("array+i=&array[i] *(array+i)=array[i] %d %p \n", *(array + 1),
         (array + 1));
  printf("array+i implicitly array+i * sizeof(array[0] \n");
  printf("%d %p", *array, *array);
  printf("\n2-D \n");
  int b[2][3] = {{1, 2, 3}, {4, 5, 6}};
  int(*ptrb)[3] = b;
  int j;
  printf("b, &b[0], *b, b[0],&b[0][0] are start address \n");
  for (i = 0; i < 2; i++)
    for (j = 0; j < 3; j++)
      printf("b[%d][%d], &b[i][j]=%p b=%p &b=%p *b=%p b[0]=%p \n", i, j,
             &b[i][j], b, &b, *b, b[0]);
  printf("b is pointer to int(*)[3] +1=3*int b+1 or &b[1] or &b[1][0] or "
         "*(b+1) or = %p \n",
         *(b));
  printf("b[i][j] = *(b[i]+j) = *(*(b+i)+j) \n");
  printf("*b is a int[], **b is int");
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x60,%rsp
movl   $0x0,-0x4(%rbp)
mov    0xeca(%rip),%rax
mov    %rax,-0xf(%rbp)
mov    0xec7(%rip),%ax
mov    %ax,-0x7(%rbp)
mov    0xebf(%rip),%al
mov    %al,-0x5(%rbp)
lea    -0x1f(%rbp),%rdi
xor    %esi,%esi
mov    $0x3,%edx
call   1040 <memset@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0xb,-0x1c(%rbp)
jge    11ad <main+0x8d>
mov    -0x1c(%rbp),%esi
movslq -0x1c(%rbp),%rax
movsbl -0xf(%rbp,%rax,1),%edx
movslq -0x1c(%rbp),%rax
lea    -0xf(%rbp),%rcx
add    %rax,%rcx
lea    -0xf(%rbp),%r8
movslq -0x1c(%rbp),%rax
add    %rax,%r8
lea    0xe90(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1165 <main+0x45>
lea    0xe98(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xf(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rsi
lea    0xebb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xf(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rsi
lea    0xeb1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0xf(%rbp),%rax
mov    %rax,-0x18(%rbp)
mov    -0x18(%rbp),%rsi
lea    0xea8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0xe(%rbp),%esi
lea    -0xf(%rbp),%rdx
add    $0x1,%rdx
lea    0xea2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec2(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movsbl -0xf(%rbp),%esi
movsbl -0xf(%rbp),%edx
lea    0xedb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xed3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    0xdb4(%rip),%rax
mov    %rax,-0x40(%rbp)
mov    0xdb1(%rip),%rax
mov    %rax,-0x38(%rbp)
mov    0xdae(%rip),%rax
mov    %rax,-0x30(%rbp)
lea    -0x40(%rbp),%rax
mov    %rax,-0x48(%rbp)
lea    0xea3(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x1c(%rbp)
cmpl   $0x2,-0x1c(%rbp)
jge    1316 <main+0x1f6>
movl   $0x0,-0x4c(%rbp)
cmpl   $0x3,-0x4c(%rbp)
jge    1303 <main+0x1e3>
mov    -0x1c(%rbp),%esi
mov    -0x4c(%rbp),%edx
movslq -0x1c(%rbp),%rax
lea    -0x40(%rbp),%rcx
imul   $0xc,%rax,%rax
add    %rax,%rcx
movslq -0x4c(%rbp),%rax
shl    $0x2,%rax
add    %rax,%rcx
lea    -0x40(%rbp),%r8
lea    -0x40(%rbp),%r10
lea    -0x40(%rbp),%rax
lea    0xe77(%rip),%rdi
lea    -0x40(%rbp),%r9
mov    %r10,(%rsp)
mov    %rax,0x8(%rsp)
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x4c(%rbp)
jmp    12a4 <main+0x184>
jmp    1308 <main+0x1e8>
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    1293 <main+0x173>
lea    -0x40(%rbp),%rsi
lea    0xe69(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeab(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x4(%rbp),%eax
add    $0x60,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x28,%rsp
movabs $0x706050403020100,%rax
05 06 07
mov    %rax,(%rsp)
movl   $0xa090807,0x7(%rsp)
0a
lea    0x7(%rsp),%r12
lea    0xedb(%rip),%rbx
mov    %rsp,%r15
mov    %rbx,%rdi
xor    %esi,%esi
xor    %edx,%edx
mov    %r15,%rcx
mov    %r15,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x1(%rsp),%r14
movsbl 0x1(%rsp),%edx
mov    %rbx,%rdi
mov    $0x1,%esi
mov    %r14,%rcx
mov    %r14,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x2(%rsp),%rcx
movsbl 0x2(%rsp),%edx
mov    %rbx,%rdi
mov    $0x2,%esi
mov    %rcx,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x3(%rsp),%rcx
movsbl 0x3(%rsp),%edx
mov    %rbx,%rdi
mov    $0x3,%esi
mov    %rcx,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x4(%rsp),%rcx
movsbl 0x4(%rsp),%edx
mov    %rbx,%rdi
mov    $0x4,%esi
mov    %rcx,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x5(%rsp),%rcx
movsbl 0x5(%rsp),%edx
mov    %rbx,%rdi
mov    $0x5,%esi
mov    %rcx,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x6(%rsp),%rcx
movsbl 0x6(%rsp),%edx
mov    %rbx,%rdi
mov    $0x6,%esi
mov    %rcx,%r8
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x7(%rsp),%edx
mov    %rbx,%rdi
mov    $0x7,%esi
mov    %r12,%rcx
mov    %r12,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x8(%rsp),%rcx
movsbl 0x8(%rsp),%edx
mov    %rbx,%rdi
mov    $0x8,%esi
mov    %rcx,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x9(%rsp),%rcx
movsbl 0x9(%rsp),%edx
mov    %rbx,%rdi
mov    $0x9,%esi
mov    %rcx,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xa(%rsp),%rcx
movsbl 0xa(%rsp),%edx
mov    %rbx,%rdi
mov    $0xa,%esi
mov    %rcx,%r8
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xecd(%rip),%rdi
call   1030 <puts@plt>
lea    0xdbc(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdbb(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdbb(%rip),%rdi
mov    %r15,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x1(%rsp),%esi
lea    0xdb9(%rip),%rdi
mov    %r14,%rdx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xeb4(%rip),%rdi
call   1030 <puts@plt>
movsbl (%rsp),%edx
lea    0xdc6(%rip),%rdi
mov    %edx,%esi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xec2(%rip),%rdi
call   1030 <puts@plt>
mov    0xd1b(%rip),%rax
mov    %rax,0x20(%rsp)
movaps 0xcff(%rip),%xmm0
movaps %xmm0,0x10(%rsp)
lea    0x20(%rsp),%r15
lea    0xe9f(%rip),%rdi
call   1030 <puts@plt>
lea    0x10(%rsp),%rbx
lea    0xd82(%rip),%r14
mov    %r14,%rdi
xor    %esi,%esi
xor    %edx,%edx
mov    %rbx,%rcx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
push   %rbx
push   %rbx
call   1040 <printf@plt>
add    $0x10,%rsp
lea    0x14(%rsp),%rcx
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x1,%edx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
push   %rbx
push   %rbx
call   1040 <printf@plt>
add    $0x10,%rsp
lea    0x18(%rsp),%rcx
mov    %r14,%rdi
xor    %esi,%esi
mov    $0x2,%edx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
push   %rbx
push   %rbx
call   1040 <printf@plt>
add    $0x10,%rsp
lea    0x1c(%rsp),%rcx
mov    %r14,%rdi
mov    $0x1,%esi
xor    %edx,%edx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
push   %rbx
push   %rbx
call   1040 <printf@plt>
add    $0x10,%rsp
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x1,%edx
mov    %r15,%rcx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
push   %rbx
push   %rbx
call   1040 <printf@plt>
add    $0x10,%rsp
lea    0x24(%rsp),%rcx
mov    %r14,%rdi
mov    $0x1,%esi
mov    $0x2,%edx
mov    %rbx,%r8
mov    %rbx,%r9
xor    %eax,%eax
push   %rbx
push   %rbx
call   1040 <printf@plt>
add    $0x10,%rsp
lea    0xce2(%rip),%rdi
mov    %rbx,%rsi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xdda(%rip),%rdi
call   1030 <puts@plt>
lea    0xd15(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
xor    %eax,%eax
add    $0x28,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

LLVM IR (-O0):
@__const.main.array = [11 x i8] c"\00\01\02\03\04\05\06\07\08\09\0A"
@.str = [36 x i8] c"array[%d]=%d address=%p array+i=%p\0A\00"
@.str.1 = [61 x i8] c"\0A========================================================= \0A\00"
@.str.2 = [16 x i8] c" ptr=array %p \0A\00"
@.str.3 = [17 x i8] c" ptr=&array %p \0A\00"
@.str.4 = [20 x i8] c" ptr=&array[0] %p \0A\00"
@.str.5 = [46 x i8] c"array+i=&array[i] *(array+i)=array[i] %d %p \0A\00"
@.str.6 = [47 x i8] c"array+i implicitly array+i * sizeof(array[0] \0A\00"
@.str.7 = [6 x i8] c"%d %p\00"
@.str.8 = [7 x i8] c"\0A2-D \0A\00"
@__const.main.b = [2 x [3 x i32]] [[3 x i32] [i32 1, i32 2, i32 3], [3 x i32] [i32 4, i32 5, i32 6]]
@.str.9 = [48 x i8] c"b, &b[0], *b, b[0],&b[0][0] are start address \0A\00"
@.str.10 = [50 x i8] c"b[%d][%d], &b[i][j]=%p b=%p &b=%p *b=%p b[0]=%p \0A\00"
@.str.11 = [80 x i8] c"b is pointer to int(*)[3] +1=3*int b+1 or &b[1] or &b[1][0] or *(b+1) or = %p \0A\00"
@.str.12 = [36 x i8] c"b[i][j] = *(b[i]+j) = *(*(b+i)+j) \0A\00"
@.str.13 = [26 x i8] c"*b is a int[], **b is int\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca [11 x i8]
%3 = alloca i8*
%4 = alloca i32
%5 = alloca [3 x i8]
%6 = alloca [2 x [3 x i32]]
%7 = alloca [3 x i32]*
%8 = alloca i32
store i32 0, i32* %1
%9 = bitcast [11 x i8]* %2 to i8*
%10 = bitcast [3 x i8]* %5 to i8*
store i32 0, i32* %4
br label %11
11: ; preds = %29, %0
%12 = load i32, i32* %4
%13 = icmp slt i32 %12, 11
br i1 %13, label %14, label %32
14: ; preds = %11
%15 = load i32, i32* %4
%16 = load i32, i32* %4
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 %17
%19 = load i8, i8* %18
%20 = sext i8 %19 to i32
%21 = load i32, i32* %4
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 %22
%24 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
%25 = load i32, i32* %4
%26 = sext i32 %25 to i64
%27 = getelementptr inbounds i8, i8* %24, i64 %26
%28 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 %15, i32 %20, i8* %23, i8* %27)
br label %29
29: ; preds = %14
%30 = load i32, i32* %4
%31 = add nsw i32 %30, 1
store i32 %31, i32* %4
br label %11
32: ; preds = %11
%33 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([61 x i8], [61 x i8]* @.str.1, i64 0, i64 0))
%34 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
store i8* %34, i8** %3
%35 = load i8*, i8** %3
%36 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i8* %35)
%37 = bitcast [11 x i8]* %2 to i8*
store i8* %37, i8** %3
%38 = load i8*, i8** %3
%39 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i8* %38)
%40 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
store i8* %40, i8** %3
%41 = load i8*, i8** %3
%42 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* %41)
%43 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
%44 = getelementptr inbounds i8, i8* %43, i64 1
%45 = load i8, i8* %44
%46 = sext i8 %45 to i32
%47 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
%48 = getelementptr inbounds i8, i8* %47, i64 1
%49 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 %46, i8* %48)
%50 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%51 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
%52 = load i8, i8* %51
%53 = sext i8 %52 to i32
%54 = getelementptr inbounds [11 x i8], [11 x i8]* %2, i64 0, i64 0
%55 = load i8, i8* %54
%56 = sext i8 %55 to i32
%57 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %53, i32 %56)
%58 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8, i64 0, i64 0))
%59 = bitcast [2 x [3 x i32]]* %6 to i8*
%60 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %6, i64 0, i64 0
store [3 x i32]* %60, [3 x i32]** %7
%61 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str.9, i64 0, i64 0))
store i32 0, i32* %4
br label %62
62: ; preds = %88, %32
%63 = load i32, i32* %4
%64 = icmp slt i32 %63, 2
br i1 %64, label %65, label %91
65: ; preds = %62
store i32 0, i32* %8
br label %66
66: ; preds = %84, %65
%67 = load i32, i32* %8
%68 = icmp slt i32 %67, 3
br i1 %68, label %69, label %87
69: ; preds = %66
%70 = load i32, i32* %4
%71 = load i32, i32* %8
%72 = load i32, i32* %4
%73 = sext i32 %72 to i64
%74 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %6, i64 0, i64 %73
%75 = load i32, i32* %8
%76 = sext i32 %75 to i64
%77 = getelementptr inbounds [3 x i32], [3 x i32]* %74, i64 0, i64 %76
%78 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %6, i64 0, i64 0
%79 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %6, i64 0, i64 0
%80 = getelementptr inbounds [3 x i32], [3 x i32]* %79, i64 0, i64 0
%81 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %6, i64 0, i64 0
%82 = getelementptr inbounds [3 x i32], [3 x i32]* %81, i64 0, i64 0
%83 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0), i32 %70, i32 %71, i32* %77, [3 x i32]* %78, [2 x [3 x i32]]* %6, i32* %80, i32* %82)
br label %84
84: ; preds = %69
%85 = load i32, i32* %8
%86 = add nsw i32 %85, 1
store i32 %86, i32* %8
br label %66
87: ; preds = %66
br label %88
88: ; preds = %87
%89 = load i32, i32* %4
%90 = add nsw i32 %89, 1
store i32 %90, i32* %4
br label %62
91: ; preds = %62
%92 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %6, i64 0, i64 0
%93 = getelementptr inbounds [3 x i32], [3 x i32]* %92, i64 0, i64 0
%94 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([80 x i8], [80 x i8]* @.str.11, i64 0, i64 0), i32* %93)
%95 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.12, i64 0, i64 0))
%96 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0))
%97 = load i32, i32* %1
ret i32 %97
}

LLVM IR (-O2):
@__const.main.array = [11 x i8] c"\00\01\02\03\04\05\06\07\08\09\0A"
@.str = [36 x i8] c"array[%d]=%d address=%p array+i=%p\0A\00"
@.str.2 = [16 x i8] c" ptr=array %p \0A\00"
@.str.3 = [17 x i8] c" ptr=&array %p \0A\00"
@.str.4 = [20 x i8] c" ptr=&array[0] %p \0A\00"
@.str.5 = [46 x i8] c"array+i=&array[i] *(array+i)=array[i] %d %p \0A\00"
@.str.7 = [6 x i8] c"%d %p\00"
@__const.main.b = [2 x [3 x i32]] [[3 x i32] [i32 1, i32 2, i32 3], [3 x i32] [i32 4, i32 5, i32 6]]
@.str.10 = [50 x i8] c"b[%d][%d], &b[i][j]=%p b=%p &b=%p *b=%p b[0]=%p \0A\00"
@.str.11 = [80 x i8] c"b is pointer to int(*)[3] +1=3*int b+1 or &b[1] or &b[1][0] or *(b+1) or = %p \0A\00"
@.str.13 = [26 x i8] c"*b is a int[], **b is int\00"
@str = [60 x i8] c"\0A========================================================= \00"
@str.14 = [46 x i8] c"array+i implicitly array+i * sizeof(array[0] \00"
@str.15 = [6 x i8] c"\0A2-D \00"
@str.16 = [47 x i8] c"b, &b[0], *b, b[0],&b[0][0] are start address \00"
@str.17 = [35 x i8] c"b[i][j] = *(b[i]+j) = *(*(b+i)+j) \00"
define i32 @main() {
%1 = alloca [11 x i8]
%2 = alloca [2 x [3 x i32]]
%3 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 0
%4 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 0, i32 0, i8* %3, i8* %3)
%5 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 1
%6 = load i8, i8* %5
%7 = sext i8 %6 to i32
%8 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 1, i32 %7, i8* %5, i8* %5)
%9 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 2
%10 = load i8, i8* %9
%11 = sext i8 %10 to i32
%12 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 2, i32 %11, i8* %9, i8* %9)
%13 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 3
%14 = load i8, i8* %13
%15 = sext i8 %14 to i32
%16 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 3, i32 %15, i8* %13, i8* %13)
%17 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 4
%18 = load i8, i8* %17
%19 = sext i8 %18 to i32
%20 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 4, i32 %19, i8* %17, i8* %17)
%21 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 5
%22 = load i8, i8* %21
%23 = sext i8 %22 to i32
%24 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 5, i32 %23, i8* %21, i8* %21)
%25 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 6
%26 = load i8, i8* %25
%27 = sext i8 %26 to i32
%28 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 6, i32 %27, i8* %25, i8* %25)
%29 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 7
%30 = load i8, i8* %29
%31 = sext i8 %30 to i32
%32 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 7, i32 %31, i8* %29, i8* %29)
%33 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 8
%34 = load i8, i8* %33
%35 = sext i8 %34 to i32
%36 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 8, i32 %35, i8* %33, i8* %33)
%37 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 9
%38 = load i8, i8* %37
%39 = sext i8 %38 to i32
%40 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 9, i32 %39, i8* %37, i8* %37)
%41 = getelementptr inbounds [11 x i8], [11 x i8]* %1, i64 0, i64 10
%42 = load i8, i8* %41
%43 = sext i8 %42 to i32
%44 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @.str, i64 0, i64 0), i32 10, i32 %43, i8* %41, i8* %41)
%45 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([60 x i8], [60 x i8]* @str, i64 0, i64 0))
%46 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([16 x i8], [16 x i8]* @.str.2, i64 0, i64 0), i8* %3)
%47 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0), i8* %3)
%48 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4, i64 0, i64 0), i8* %3)
%49 = load i8, i8* %5
%50 = sext i8 %49 to i32
%51 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @.str.5, i64 0, i64 0), i32 %50, i8* %5)
%52 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.14, i64 0, i64 0))
%53 = load i8, i8* %3
%54 = sext i8 %53 to i32
%55 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str.7, i64 0, i64 0), i32 %54, i32 %54)
%56 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @str.15, i64 0, i64 0))
%57 = bitcast [2 x [3 x i32]]* %2 to i8*
%58 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str.16, i64 0, i64 0))
%59 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %2, i64 0, i64 0
%60 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %2, i64 0, i64 0, i64 0
%61 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0), i32 0, i32 0, i32* %60, [3 x i32]* %59, [2 x [3 x i32]]* %2, i32* %60, i32* %60)
%62 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %2, i64 0, i64 0, i64 1
%63 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0), i32 0, i32 1, i32* %62, [3 x i32]* %59, [2 x [3 x i32]]* %2, i32* %60, i32* %60)
%64 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %2, i64 0, i64 0, i64 2
%65 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0), i32 0, i32 2, i32* %64, [3 x i32]* %59, [2 x [3 x i32]]* %2, i32* %60, i32* %60)
%66 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %2, i64 0, i64 1, i64 0
%67 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0), i32 1, i32 0, i32* %66, [3 x i32]* %59, [2 x [3 x i32]]* %2, i32* %60, i32* %60)
%68 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %2, i64 0, i64 1, i64 1
%69 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0), i32 1, i32 1, i32* %68, [3 x i32]* %59, [2 x [3 x i32]]* %2, i32* %60, i32* %60)
%70 = getelementptr inbounds [2 x [3 x i32]], [2 x [3 x i32]]* %2, i64 0, i64 1, i64 2
%71 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.10, i64 0, i64 0), i32 1, i32 2, i32* %70, [3 x i32]* %59, [2 x [3 x i32]]* %2, i32* %60, i32* %60)
%72 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @.str.11, i64 0, i64 0), i32* %60)
%73 = call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.17, i64 0, i64 0))
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.13, i64 0, i64 0))
ret i32 0
}