#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 /*<<< orphan*/ rotate(int **, int, int);
int main(void) {
  int **arr = NULL;
  int i, j;
  arr = (int **)malloc(sizeof(int *) * 10);
  for (i = 0; i < 10; i++) {
    arr[i] = (int *)malloc(sizeof(int) * 10);
  }
  for (i = 0; i < 10; i++) {
    for (j = 0; j < 10; j++) {
      arr[i][j] = i * 10 + j;
    }
  }
  for (i = 0; i < 10; i++) {
    for (j = 0; j < 10; j++) {
      printf("%.2d ", arr[i][j]);
    }
    printf("\n");
  }
  rotate(arr, 10, 10);
  printf("After rotate:\n");
  for (i = 0; i < 10; i++) {
    for (j = 0; j < 10; j++) {
      printf("%.2d ", arr[i][j]);
    }
    printf("\n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
movl   $0x0,-0x4(%rbp)
movq   $0x0,-0x10(%rbp)
mov    $0x50,%edi
call   1050 <malloc@plt>
mov    %rax,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    118d <main+0x5d>
mov    $0x28,%edi
call   1050 <malloc@plt>
mov    %rax,%rdx
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    %rdx,(%rax,%rcx,8)
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    115c <main+0x2c>
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    11ea <main+0xba>
movl   $0x0,-0x18(%rbp)
cmpl   $0xa,-0x18(%rbp)
jge    11d7 <main+0xa7>
imul   $0xa,-0x14(%rbp),%edx
add    -0x18(%rbp),%edx
mov    -0x10(%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    11a5 <main+0x75>
jmp    11dc <main+0xac>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1194 <main+0x64>
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    1257 <main+0x127>
movl   $0x0,-0x18(%rbp)
cmpl   $0xa,-0x18(%rbp)
jge    123b <main+0x10b>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xdda(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    1202 <main+0xd2>
lea    0xdd1(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    11f1 <main+0xc1>
mov    -0x10(%rbp),%rdi
mov    $0xa,%edx
mov    %edx,%esi
call   1040 <rotate@plt>
lea    0xd98(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0xa,-0x14(%rbp)
jge    12e2 <main+0x1b2>
movl   $0x0,-0x18(%rbp)
cmpl   $0xa,-0x18(%rbp)
jge    12c6 <main+0x196>
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
mov    (%rax,%rcx,8),%rax
movslq -0x18(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xd4f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x18(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x18(%rbp)
jmp    128d <main+0x15d>
lea    0xd46(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    127c <main+0x14c>
xor    %eax,%eax
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %rbx
mov    $0x50,%edi
call   1070 <malloc@plt>
mov    %rax,%r15
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x8(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x10(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x18(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x20(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x28(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x30(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x38(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x40(%r15)
mov    $0x28,%edi
call   1070 <malloc@plt>
mov    %rax,0x48(%r15)
mov    (%r15),%rax
movaps 0xe09(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xe0f(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x900000008,%rcx
mov    %rcx,0x20(%rax)
mov    0x8(%r15),%rax
movaps 0xe02(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xe08(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x1300000012,%rcx
mov    %rcx,0x20(%rax)
mov    0x10(%r15),%rax
movaps 0xdfb(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xe01(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x1d0000001c,%rcx
mov    %rcx,0x20(%rax)
mov    0x18(%r15),%rax
movaps 0xdf4(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xdfa(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x2700000026,%rcx
mov    %rcx,0x20(%rax)
mov    0x20(%r15),%rax
movaps 0xded(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xdf3(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x3100000030,%rcx
mov    %rcx,0x20(%rax)
mov    0x28(%r15),%rax
movaps 0xde6(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xdec(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x3b0000003a,%rcx
mov    %rcx,0x20(%rax)
mov    0x30(%r15),%rax
movaps 0xddf(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xde5(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x4500000044,%rcx
mov    %rcx,0x20(%rax)
mov    0x38(%r15),%rax
movaps 0xdd8(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xdde(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x4f0000004e,%rcx
mov    %rcx,0x20(%rax)
mov    0x40(%r15),%rax
movaps 0xdd1(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xdd7(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x5900000058,%rcx
mov    %rcx,0x20(%rax)
mov    0x48(%r15),%rax
movaps 0xdca(%rip),%xmm0
movups %xmm0,(%rax)
movaps 0xdd0(%rip),%xmm0
movups %xmm0,0x10(%rax)
movabs $0x6300000062,%rcx
mov    %rcx,0x20(%rax)
lea    0xdc7(%rip),%r14
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
mov    (%r15,%rbx,8),%rax
mov    (%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x4(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x8(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0xc(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x10(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x14(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x18(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x1c(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x20(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x24(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%rbx
cmp    $0xa,%rbx
jne    1380 <main+0x230>
mov    %r15,%rdi
mov    $0xa,%esi
mov    $0xa,%edx
call   1060 <rotate@plt>
lea    0xcec(%rip),%rdi
call   1040 <puts@plt>
lea    0xcda(%rip),%r14
xor    %ebx,%ebx
nopl   0x0(%rax,%rax,1)
mov    (%r15,%rbx,8),%rax
mov    (%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x4(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x8(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0xc(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x10(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x14(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x18(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x1c(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x20(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    (%r15,%rbx,8),%rax
mov    0x24(%rax),%esi
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0x1,%rbx
cmp    $0xa,%rbx
jne    1470 <main+0x320>
xor    %eax,%eax
pop    %rbx
pop    %r14
pop    %r15
ret

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

LLVM IR (-O2):
@.str = [6 x i8] c"%.2d \00"
@str = [14 x i8] c"After rotate:\00"
define i32 @main() {
%1 = tail call i64 @malloc(i32 80)
%2 = inttoptr i64 %1 to i32**
%3 = tail call i64 @malloc(i32 40)
%4 = inttoptr i64 %3 to i32*
store i32* %4, i32** %2
%5 = tail call i64 @malloc(i32 40)
%6 = inttoptr i64 %5 to i32*
%7 = getelementptr inbounds i32*, i32** %2, i64 1
store i32* %6, i32** %7
%8 = tail call i64 @malloc(i32 40)
%9 = inttoptr i64 %8 to i32*
%10 = getelementptr inbounds i32*, i32** %2, i64 2
store i32* %9, i32** %10
%11 = tail call i64 @malloc(i32 40)
%12 = inttoptr i64 %11 to i32*
%13 = getelementptr inbounds i32*, i32** %2, i64 3
store i32* %12, i32** %13
%14 = tail call i64 @malloc(i32 40)
%15 = inttoptr i64 %14 to i32*
%16 = getelementptr inbounds i32*, i32** %2, i64 4
store i32* %15, i32** %16
%17 = tail call i64 @malloc(i32 40)
%18 = inttoptr i64 %17 to i32*
%19 = getelementptr inbounds i32*, i32** %2, i64 5
store i32* %18, i32** %19
%20 = tail call i64 @malloc(i32 40)
%21 = inttoptr i64 %20 to i32*
%22 = getelementptr inbounds i32*, i32** %2, i64 6
store i32* %21, i32** %22
%23 = tail call i64 @malloc(i32 40)
%24 = inttoptr i64 %23 to i32*
%25 = getelementptr inbounds i32*, i32** %2, i64 7
store i32* %24, i32** %25
%26 = tail call i64 @malloc(i32 40)
%27 = inttoptr i64 %26 to i32*
%28 = getelementptr inbounds i32*, i32** %2, i64 8
store i32* %27, i32** %28
%29 = tail call i64 @malloc(i32 40)
%30 = inttoptr i64 %29 to i32*
%31 = getelementptr inbounds i32*, i32** %2, i64 9
store i32* %30, i32** %31
%32 = load i32*, i32** %2
%33 = bitcast i32* %32 to <4 x i32>*
store <4 x i32> <i32 0, i32 1, i32 2, i32 3>, <4 x i32>* %33
%34 = getelementptr inbounds i32, i32* %32, i64 4
%35 = bitcast i32* %34 to <4 x i32>*
store <4 x i32> <i32 4, i32 5, i32 6, i32 7>, <4 x i32>* %35
%36 = getelementptr inbounds i32, i32* %32, i64 8
store i32 8, i32* %36
%37 = getelementptr inbounds i32, i32* %32, i64 9
store i32 9, i32* %37
%38 = load i32*, i32** %7
%39 = bitcast i32* %38 to <4 x i32>*
store <4 x i32> <i32 10, i32 11, i32 12, i32 13>, <4 x i32>* %39
%40 = getelementptr inbounds i32, i32* %38, i64 4
%41 = bitcast i32* %40 to <4 x i32>*
store <4 x i32> <i32 14, i32 15, i32 16, i32 17>, <4 x i32>* %41
%42 = getelementptr inbounds i32, i32* %38, i64 8
store i32 18, i32* %42
%43 = getelementptr inbounds i32, i32* %38, i64 9
store i32 19, i32* %43
%44 = load i32*, i32** %10
%45 = bitcast i32* %44 to <4 x i32>*
store <4 x i32> <i32 20, i32 21, i32 22, i32 23>, <4 x i32>* %45
%46 = getelementptr inbounds i32, i32* %44, i64 4
%47 = bitcast i32* %46 to <4 x i32>*
store <4 x i32> <i32 24, i32 25, i32 26, i32 27>, <4 x i32>* %47
%48 = getelementptr inbounds i32, i32* %44, i64 8
store i32 28, i32* %48
%49 = getelementptr inbounds i32, i32* %44, i64 9
store i32 29, i32* %49
%50 = load i32*, i32** %13
%51 = bitcast i32* %50 to <4 x i32>*
store <4 x i32> <i32 30, i32 31, i32 32, i32 33>, <4 x i32>* %51
%52 = getelementptr inbounds i32, i32* %50, i64 4
%53 = bitcast i32* %52 to <4 x i32>*
store <4 x i32> <i32 34, i32 35, i32 36, i32 37>, <4 x i32>* %53
%54 = getelementptr inbounds i32, i32* %50, i64 8
store i32 38, i32* %54
%55 = getelementptr inbounds i32, i32* %50, i64 9
store i32 39, i32* %55
%56 = load i32*, i32** %16
%57 = bitcast i32* %56 to <4 x i32>*
store <4 x i32> <i32 40, i32 41, i32 42, i32 43>, <4 x i32>* %57
%58 = getelementptr inbounds i32, i32* %56, i64 4
%59 = bitcast i32* %58 to <4 x i32>*
store <4 x i32> <i32 44, i32 45, i32 46, i32 47>, <4 x i32>* %59
%60 = getelementptr inbounds i32, i32* %56, i64 8
store i32 48, i32* %60
%61 = getelementptr inbounds i32, i32* %56, i64 9
store i32 49, i32* %61
%62 = load i32*, i32** %19
%63 = bitcast i32* %62 to <4 x i32>*
store <4 x i32> <i32 50, i32 51, i32 52, i32 53>, <4 x i32>* %63
%64 = getelementptr inbounds i32, i32* %62, i64 4
%65 = bitcast i32* %64 to <4 x i32>*
store <4 x i32> <i32 54, i32 55, i32 56, i32 57>, <4 x i32>* %65
%66 = getelementptr inbounds i32, i32* %62, i64 8
store i32 58, i32* %66
%67 = getelementptr inbounds i32, i32* %62, i64 9
store i32 59, i32* %67
%68 = load i32*, i32** %22
%69 = bitcast i32* %68 to <4 x i32>*
store <4 x i32> <i32 60, i32 61, i32 62, i32 63>, <4 x i32>* %69
%70 = getelementptr inbounds i32, i32* %68, i64 4
%71 = bitcast i32* %70 to <4 x i32>*
store <4 x i32> <i32 64, i32 65, i32 66, i32 67>, <4 x i32>* %71
%72 = getelementptr inbounds i32, i32* %68, i64 8
store i32 68, i32* %72
%73 = getelementptr inbounds i32, i32* %68, i64 9
store i32 69, i32* %73
%74 = load i32*, i32** %25
%75 = bitcast i32* %74 to <4 x i32>*
store <4 x i32> <i32 70, i32 71, i32 72, i32 73>, <4 x i32>* %75
%76 = getelementptr inbounds i32, i32* %74, i64 4
%77 = bitcast i32* %76 to <4 x i32>*
store <4 x i32> <i32 74, i32 75, i32 76, i32 77>, <4 x i32>* %77
%78 = getelementptr inbounds i32, i32* %74, i64 8
store i32 78, i32* %78
%79 = getelementptr inbounds i32, i32* %74, i64 9
store i32 79, i32* %79
%80 = load i32*, i32** %28
%81 = bitcast i32* %80 to <4 x i32>*
store <4 x i32> <i32 80, i32 81, i32 82, i32 83>, <4 x i32>* %81
%82 = getelementptr inbounds i32, i32* %80, i64 4
%83 = bitcast i32* %82 to <4 x i32>*
store <4 x i32> <i32 84, i32 85, i32 86, i32 87>, <4 x i32>* %83
%84 = getelementptr inbounds i32, i32* %80, i64 8
store i32 88, i32* %84
%85 = getelementptr inbounds i32, i32* %80, i64 9
store i32 89, i32* %85
%86 = load i32*, i32** %31
%87 = bitcast i32* %86 to <4 x i32>*
store <4 x i32> <i32 90, i32 91, i32 92, i32 93>, <4 x i32>* %87
%88 = getelementptr inbounds i32, i32* %86, i64 4
%89 = bitcast i32* %88 to <4 x i32>*
store <4 x i32> <i32 94, i32 95, i32 96, i32 97>, <4 x i32>* %89
%90 = getelementptr inbounds i32, i32* %86, i64 8
store i32 98, i32* %90
%91 = getelementptr inbounds i32, i32* %86, i64 9
store i32 99, i32* %91
br label %92
92: ; preds = %0, %92
%93 = phi i64 [ 0, %0 ], [ %135, %92 ]
%94 = getelementptr inbounds i32*, i32** %2, i64 %93
%95 = load i32*, i32** %94
%96 = load i32, i32* %95
%97 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %96)
%98 = load i32*, i32** %94
%99 = getelementptr inbounds i32, i32* %98, i64 1
%100 = load i32, i32* %99
%101 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %100)
%102 = load i32*, i32** %94
%103 = getelementptr inbounds i32, i32* %102, i64 2
%104 = load i32, i32* %103
%105 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %104)
%106 = load i32*, i32** %94
%107 = getelementptr inbounds i32, i32* %106, i64 3
%108 = load i32, i32* %107
%109 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %108)
%110 = load i32*, i32** %94
%111 = getelementptr inbounds i32, i32* %110, i64 4
%112 = load i32, i32* %111
%113 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %112)
%114 = load i32*, i32** %94
%115 = getelementptr inbounds i32, i32* %114, i64 5
%116 = load i32, i32* %115
%117 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %116)
%118 = load i32*, i32** %94
%119 = getelementptr inbounds i32, i32* %118, i64 6
%120 = load i32, i32* %119
%121 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %120)
%122 = load i32*, i32** %94
%123 = getelementptr inbounds i32, i32* %122, i64 7
%124 = load i32, i32* %123
%125 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %124)
%126 = load i32*, i32** %94
%127 = getelementptr inbounds i32, i32* %126, i64 8
%128 = load i32, i32* %127
%129 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %128)
%130 = load i32*, i32** %94
%131 = getelementptr inbounds i32, i32* %130, i64 9
%132 = load i32, i32* %131
%133 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %132)
%134 = tail call i32 @putchar(i32 10)
%135 = add nuw nsw i64 %93, 1
%136 = icmp eq i64 %135, 10
br i1 %136, label %137, label %92
137: ; preds = %92
%138 = tail call i32 @rotate(i32** %2, i32 10, i32 10)
%139 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([14 x i8], [14 x i8]* @str, i64 0, i64 0))
br label %140
140: ; preds = %137, %140
%141 = phi i64 [ 0, %137 ], [ %183, %140 ]
%142 = getelementptr inbounds i32*, i32** %2, i64 %141
%143 = load i32*, i32** %142
%144 = load i32, i32* %143
%145 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %144)
%146 = load i32*, i32** %142
%147 = getelementptr inbounds i32, i32* %146, i64 1
%148 = load i32, i32* %147
%149 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %148)
%150 = load i32*, i32** %142
%151 = getelementptr inbounds i32, i32* %150, i64 2
%152 = load i32, i32* %151
%153 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %152)
%154 = load i32*, i32** %142
%155 = getelementptr inbounds i32, i32* %154, i64 3
%156 = load i32, i32* %155
%157 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %156)
%158 = load i32*, i32** %142
%159 = getelementptr inbounds i32, i32* %158, i64 4
%160 = load i32, i32* %159
%161 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %160)
%162 = load i32*, i32** %142
%163 = getelementptr inbounds i32, i32* %162, i64 5
%164 = load i32, i32* %163
%165 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %164)
%166 = load i32*, i32** %142
%167 = getelementptr inbounds i32, i32* %166, i64 6
%168 = load i32, i32* %167
%169 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %168)
%170 = load i32*, i32** %142
%171 = getelementptr inbounds i32, i32* %170, i64 7
%172 = load i32, i32* %171
%173 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %172)
%174 = load i32*, i32** %142
%175 = getelementptr inbounds i32, i32* %174, i64 8
%176 = load i32, i32* %175
%177 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %176)
%178 = load i32*, i32** %142
%179 = getelementptr inbounds i32, i32* %178, i64 9
%180 = load i32, i32* %179
%181 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 %180)
%182 = tail call i32 @putchar(i32 10)
%183 = add nuw nsw i64 %141, 1
%184 = icmp eq i64 %183, 10
br i1 %184, label %185, label %140
185: ; preds = %140
ret i32 0
}