#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() {
  int a[10][10], b[10], i, j, cont = 1;
  for (i = 0; i < 10; i++) {
    for (j = 0; j < 10; j++) {
      a[i][j] = cont;
      cont++;
    }
  }
  for (i = 0; i < 10; i++) {
    for (j = 0; j < 10; j++) {
      if (i == j)
        b[i] = a[i][j];
    }
  }
  for (i = 0; i < 10; i++) {
    for (j = 0; j < 10; j++) {
      a[i][j] = a[i][j] - b[i];
    }
  }
  for (i = 0; i < 10; i++) {
    for (j = 0; j < 10; j++) {
      if (j >= i)
        printf(" ");
      printf(" %d ", a[i][j]);
    }
    printf(" \n");
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x1e0,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x1,-0x1dc(%rbp)
movl   $0x0,-0x1d4(%rbp)
cmpl   $0xa,-0x1d4(%rbp)
jge    11bb <main+0xab>
movl   $0x0,-0x1d8(%rbp)
cmpl   $0xa,-0x1d8(%rbp)
jge    11a2 <main+0x92>
mov    -0x1dc(%rbp),%edx
movslq -0x1d4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1d8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1dc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1dc(%rbp)
mov    -0x1d8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d8(%rbp)
jmp    114d <main+0x3d>
jmp    11a7 <main+0x97>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    1136 <main+0x26>
movl   $0x0,-0x1d4(%rbp)
cmpl   $0xa,-0x1d4(%rbp)
jge    125a <main+0x14a>
movl   $0x0,-0x1d8(%rbp)
cmpl   $0xa,-0x1d8(%rbp)
jge    1241 <main+0x131>
mov    -0x1d4(%rbp),%eax
cmp    -0x1d8(%rbp),%eax
jne    1228 <main+0x118>
movslq -0x1d4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1d8(%rbp),%rcx
mov    (%rax,%rcx,4),%ecx
movslq -0x1d4(%rbp),%rax
mov    %ecx,-0x1d0(%rbp,%rax,4)
jmp    122d <main+0x11d>
mov    -0x1d8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d8(%rbp)
jmp    11dc <main+0xcc>
jmp    1246 <main+0x136>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    11c5 <main+0xb5>
movl   $0x0,-0x1d4(%rbp)
cmpl   $0xa,-0x1d4(%rbp)
jge    1301 <main+0x1f1>
movl   $0x0,-0x1d8(%rbp)
cmpl   $0xa,-0x1d8(%rbp)
jge    12e8 <main+0x1d8>
movslq -0x1d4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1d8(%rbp),%rcx
mov    (%rax,%rcx,4),%edx
movslq -0x1d4(%rbp),%rax
sub    -0x1d0(%rbp,%rax,4),%edx
movslq -0x1d4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1d8(%rbp),%rcx
mov    %edx,(%rax,%rcx,4)
mov    -0x1d8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d8(%rbp)
jmp    127b <main+0x16b>
jmp    12ed <main+0x1dd>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    1264 <main+0x154>
movl   $0x0,-0x1d4(%rbp)
cmpl   $0xa,-0x1d4(%rbp)
jge    13b2 <main+0x2a2>
movl   $0x0,-0x1d8(%rbp)
cmpl   $0xa,-0x1d8(%rbp)
jge    1390 <main+0x280>
mov    -0x1d8(%rbp),%eax
cmp    -0x1d4(%rbp),%eax
jl     134f <main+0x23f>
lea    0xcbb(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movslq -0x1d4(%rbp),%rcx
lea    -0x1a0(%rbp),%rax
imul   $0x28,%rcx,%rcx
add    %rcx,%rax
movslq -0x1d8(%rbp),%rcx
mov    (%rax,%rcx,4),%esi
lea    0xc8b(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1d8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d8(%rbp)
jmp    1322 <main+0x212>
lea    0xc6e(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x1d4(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1d4(%rbp)
jmp    130b <main+0x1fb>
xor    %eax,%eax
add    $0x1e0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r15
push   %r14
push   %r12
push   %rbx
sub    $0x1c8,%rsp
movl   $0x1,0x30(%rsp)
movaps 0xeb3(%rip),%xmm0
movups %xmm0,0x34(%rsp)
movaps 0xeb7(%rip),%xmm0
movups %xmm0,0x44(%rsp)
lea    0x54(%rsp),%rax
movabs $0xb0000000a,%rcx
mov    %rcx,0x54(%rsp)
movaps 0xea7(%rip),%xmm0
movups %xmm0,0x5c(%rsp)
movaps 0xeab(%rip),%xmm0
movups %xmm0,0x6c(%rsp)
movabs $0x1500000014,%rcx
mov    %rcx,0x7c(%rsp)
movaps 0xea0(%rip),%xmm0
movups %xmm0,0x84(%rsp)
movaps 0xea1(%rip),%xmm0
movups %xmm0,0x94(%rsp)
movabs $0x1f0000001e,%rcx
mov    %rcx,0xa4(%rsp)
movaps 0xe90(%rip),%xmm0
movups %xmm0,0xac(%rsp)
movaps 0xe91(%rip),%xmm0
movups %xmm0,0xbc(%rsp)
movabs $0x2900000028,%rcx
mov    %rcx,0xcc(%rsp)
movaps 0xe80(%rip),%xmm0
movups %xmm0,0xd4(%rsp)
movaps 0xe81(%rip),%xmm0
movups %xmm0,0xe4(%rsp)
movabs $0x3300000032,%rcx
mov    %rcx,0xf4(%rsp)
movaps 0xe70(%rip),%xmm0
movups %xmm0,0xfc(%rsp)
movaps 0xe71(%rip),%xmm0
movups %xmm0,0x10c(%rsp)
movabs $0x3d0000003c,%rcx
mov    %rcx,0x11c(%rsp)
movaps 0xe60(%rip),%xmm0
movups %xmm0,0x124(%rsp)
movaps 0xe61(%rip),%xmm0
movups %xmm0,0x134(%rsp)
movabs $0x4700000046,%rcx
mov    %rcx,0x144(%rsp)
movaps 0xe50(%rip),%xmm0
movups %xmm0,0x14c(%rsp)
movaps 0xe51(%rip),%xmm0
movups %xmm0,0x15c(%rsp)
movabs $0x5100000050,%rcx
mov    %rcx,0x16c(%rsp)
movaps 0xe40(%rip),%xmm0
movups %xmm0,0x174(%rsp)
movaps 0xe41(%rip),%xmm0
movups %xmm0,0x184(%rsp)
movabs $0x5b0000005a,%rcx
mov    %rcx,0x194(%rsp)
movaps 0xe30(%rip),%xmm0
movups %xmm0,0x19c(%rsp)
movdqa 0xe30(%rip),%xmm0
movdqu %xmm0,0x1ac(%rsp)
movl   $0x64,0x1bc(%rsp)
mov    0x30(%rsp),%ecx
mov    0x5c(%rsp),%edx
mov    %ecx,(%rsp)
mov    %edx,0x4(%rsp)
mov    0x88(%rsp),%edx
mov    %edx,0x8(%rsp)
mov    0xb4(%rsp),%edx
mov    %edx,0xc(%rsp)
mov    0xe0(%rsp),%edx
mov    %edx,0x10(%rsp)
mov    0x10c(%rsp),%edx
mov    %edx,0x14(%rsp)
mov    0x138(%rsp),%edx
mov    %edx,0x18(%rsp)
mov    0x164(%rsp),%edx
mov    %edx,0x1c(%rsp)
mov    0x190(%rsp),%edx
mov    %edx,0x20(%rsp)
movl   $0x64,0x24(%rsp)
mov    $0x1,%edx
nopl   (%rax)
movd   %ecx,%xmm0
pshufd $0x0,%xmm0,%xmm0
movdqu -0x24(%rax),%xmm1
movdqu -0x14(%rax),%xmm2
psubd  %xmm0,%xmm1
movdqu %xmm1,-0x24(%rax)
psubd  %xmm0,%xmm2
movdqu %xmm2,-0x14(%rax)
sub    %ecx,-0x4(%rax)
sub    %ecx,(%rax)
cmp    $0xa,%rdx
je     13bd <main+0x28d>
mov    (%rsp,%rdx,4),%ecx
add    $0x28,%rax
add    $0x1,%rdx
jmp    1380 <main+0x250>
lea    0x54(%rsp),%r12
lea    0xd77(%rip),%r15
lea    0xd73(%rip),%r14
xor    %ebx,%ebx
jmp    1421 <main+0x2f1>
cs nopw 0x0(%rax,%rax,1)
xchg   %ax,%ax
mov    -0x4(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    (%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %r14,%rdi
call   1040 <puts@plt>
add    $0x1,%rbx
add    $0x28,%r12
cmp    $0xa,%rbx
je     1531 <main+0x401>
test   %rbx,%rbx
jne    1430 <main+0x300>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x24(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x1,%rbx
ja     144f <main+0x31f>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x20(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x2,%rbx
ja     146e <main+0x33e>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x1c(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x3,%rbx
ja     148d <main+0x35d>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x18(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x4,%rbx
ja     14ac <main+0x37c>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x14(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x5,%rbx
ja     14cb <main+0x39b>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x10(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x6,%rbx
ja     14ea <main+0x3ba>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0xc(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x7,%rbx
ja     1509 <main+0x3d9>
mov    $0x20,%edi
call   1030 <putchar@plt>
mov    -0x8(%r12),%esi
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
cmp    $0x8,%rbx
ja     13e0 <main+0x2b0>
mov    $0x20,%edi
call   1030 <putchar@plt>
jmp    13e0 <main+0x2b0>
xor    %eax,%eax
add    $0x1c8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
ret

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

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