#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 */
typedef int uint8_t;
typedef int uint32_t;

/* Variables and functions */
int inverse(int);
int /*<<< orphan*/ printf(char *, ...);
int main(int argc, char **argv) {
  (void)argc;
  (void)argv;
  uint8_t SBox[256];
  printf("uint8_t SBox[] =\n");
  printf("{\n");
  for (uint32_t i = 0; i < 256;) {
    printf("\t");
    for (uint8_t j = 0; j < 16; j++, i++) {
      uint8_t b = inverse(i);
      b = b ^ (((b) >> 4) | ((b) << (8 - 4))) ^
          (((b) >> 5) | ((b) << (8 - 5))) ^ (((b) >> 6) | ((b) << (8 - 6))) ^
          (((b) >> 7) | ((b) << (8 - 7))) ^ 0x63;
      SBox[i] = b;
      printf("0x%.2x, ", b);
    }
    printf("\n");
  }
  printf("};\n");
  printf("uint8_t ISBox[] =\n");
  printf("{\n");
  for (uint32_t i = 0; i < 256;) {
    printf("\t");
    for (uint8_t j = 0; j < 16; j++, i++) {
      uint8_t k;
      for (k = 0; SBox[k] != i; k++)
        ;
      printf("0x%.2x, ", k);
    }
    printf("\n");
  }
  printf("};\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x430,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xec0(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xec4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x414(%rbp)
cmpl   $0x100,-0x414(%rbp)
jge    126a <main+0x14a>
lea    0xe9f(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x418(%rbp)
cmpl   $0x10,-0x418(%rbp)
jge    1257 <main+0x137>
mov    -0x414(%rbp),%edi
call   1040 <inverse@plt>
mov    %eax,-0x41c(%rbp)
mov    -0x41c(%rbp),%eax
mov    -0x41c(%rbp),%ecx
sar    $0x4,%ecx
mov    -0x41c(%rbp),%edx
shl    $0x4,%edx
or     %edx,%ecx
xor    %ecx,%eax
mov    -0x41c(%rbp),%ecx
sar    $0x5,%ecx
mov    -0x41c(%rbp),%edx
shl    $0x3,%edx
or     %edx,%ecx
xor    %ecx,%eax
mov    -0x41c(%rbp),%ecx
sar    $0x6,%ecx
mov    -0x41c(%rbp),%edx
shl    $0x2,%edx
or     %edx,%ecx
xor    %ecx,%eax
mov    -0x41c(%rbp),%ecx
sar    $0x7,%ecx
mov    -0x41c(%rbp),%edx
shl    $0x1,%edx
or     %edx,%ecx
xor    %ecx,%eax
xor    $0x63,%eax
mov    %eax,-0x41c(%rbp)
mov    -0x41c(%rbp),%ecx
movslq -0x414(%rbp),%rax
mov    %ecx,-0x410(%rbp,%rax,4)
mov    -0x41c(%rbp),%esi
lea    0xdea(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x418(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x418(%rbp)
mov    -0x414(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x414(%rbp)
jmp    1187 <main+0x67>
lea    0xdc4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    115f <main+0x3f>
lea    0xdaf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xda5(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xd85(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x420(%rbp)
cmpl   $0x100,-0x420(%rbp)
jge    135a <main+0x23a>
lea    0xd60(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x424(%rbp)
cmpl   $0x10,-0x424(%rbp)
jge    1347 <main+0x227>
movl   $0x0,-0x428(%rbp)
movslq -0x428(%rbp),%rax
mov    -0x410(%rbp,%rax,4),%eax
cmp    -0x420(%rbp),%eax
je     1310 <main+0x1f0>
jmp    12fc <main+0x1dc>
mov    -0x428(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x428(%rbp)
jmp    12dd <main+0x1bd>
mov    -0x428(%rbp),%esi
lea    0xcfa(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x424(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x424(%rbp)
mov    -0x420(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x420(%rbp)
jmp    12c6 <main+0x1a6>
lea    0xcd4(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
jmp    129e <main+0x17e>
lea    0xcbf(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x430,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x418,%rsp
lea    0xeb1(%rip),%rdi
call   1040 <puts@plt>
lea    0xec8(%rip),%rdi
call   1040 <puts@plt>
lea    0x10(%rsp),%r12
lea    0xe8b(%rip),%r14
xor    %r13d,%r13d
xor    %r15d,%r15d
nopl   0x0(%rax,%rax,1)
mov    %r15d,%eax
add    $0x1,%rax
mov    %rax,0x8(%rsp)
mov    $0x9,%edi
call   1030 <putchar@plt>
xor    %ebp,%ebp
nopl   0x0(%rax,%rax,1)
lea    0x0(%r13,%rbp,1),%edi
call   1060 <inverse@plt>
mov    %eax,%ecx
sar    $0x4,%ecx
mov    %eax,%esi
shl    $0x4,%esi
or     %ecx,%esi
lea    0x0(,%rax,8),%r8d
mov    %eax,%edx
lea    0x0(,%rax,4),%edi
mov    %eax,%ebx
lea    (%rax,%rax,1),%ecx
xor    %eax,%esi
sar    $0x5,%eax
or     %eax,%r8d
sar    $0x6,%edx
or     %edx,%edi
xor    %r8d,%edi
sar    $0x7,%ebx
or     %ebx,%ecx
xor    %edi,%esi
xor    %ecx,%esi
xor    $0x63,%esi
mov    %esi,(%r12,%rbp,4)
mov    %r14,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
add    $0x1,%rbp
cmp    $0x10,%ebp
jne    11a0 <main+0x60>
sub    0x8(%rsp),%ebp
mov    $0xa,%edi
call   1030 <putchar@plt>
add    $0xfffffff0,%r15d
add    $0x10,%r13
add    $0x40,%r12
cmp    $0xff,%ebp
jl     1180 <main+0x40>
lea    0xe02(%rip),%rdi
call   1040 <puts@plt>
lea    0xde2(%rip),%rdi
call   1040 <puts@plt>
lea    0xde8(%rip),%rdi
call   1040 <puts@plt>
lea    0x10(%rsp),%r14
lea    0xdab(%rip),%r15
xor    %ebx,%ebx
nopw   0x0(%rax,%rax,1)
mov    $0x9,%edi
call   1030 <putchar@plt>
lea    0x10(%rbx),%ebp
mov    $0xffffffff,%esi
mov    %r14,%rax
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rax),%rcx
cmp    %ebx,(%rax)
mov    %rcx,%rax
jne    1280 <main+0x140>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x1,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    12b0 <main+0x170>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x2,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    12e0 <main+0x1a0>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x3,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    1310 <main+0x1d0>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x4,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    1340 <main+0x200>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x5,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    1370 <main+0x230>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x6,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    13a0 <main+0x260>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x7,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    13d0 <main+0x290>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x8,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    1400 <main+0x2c0>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0x9,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    1430 <main+0x2f0>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0xa,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    1460 <main+0x320>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0xb,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    1490 <main+0x350>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0xc,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    14c0 <main+0x380>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0xd,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    14f0 <main+0x3b0>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    %ebx,%eax
or     $0xe,%eax
mov    $0xffffffff,%esi
mov    %r14,%rcx
cs nopw 0x0(%rax,%rax,1)
nop
add    $0x1,%esi
lea    0x4(%rcx),%rdx
cmp    %eax,(%rcx)
mov    %rdx,%rcx
jne    1520 <main+0x3e0>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
or     $0xf,%ebx
mov    $0xffffffff,%esi
mov    %r14,%rax
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
add    $0x1,%esi
lea    0x4(%rax),%rcx
cmp    %ebx,(%rax)
mov    %rcx,%rax
jne    1550 <main+0x410>
mov    %r15,%rdi
xor    %eax,%eax
call   1050 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
cmp    $0xff,%ebx
mov    %ebp,%ebx
jb     1260 <main+0x120>
lea    0xaa7(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
add    $0x418,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

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

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