#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 *, ...);
void printTable(char *encoded, char *decoded) {
  int i;
  printf("===============================\n");
  printf("=== Encrypted === Decrypted ===\n");
  printf("===============================\n");
  for (i = 0; i < 26; i++)
    printf("=== %5c%13c      ===\n", encoded[i], decoded[i]);
  printf("===============================\n");
}


x86 assembly (clang, -O0):
<printTable>:
push   %rbp
mov    %rsp,%rbp
sub    $0x20,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
lea    0xed9(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xeec(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xebd(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
movl   $0x0,-0x14(%rbp)
cmpl   $0x1a,-0x14(%rbp)
jge    118f <printTable+0x7f>
mov    -0x8(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsbl (%rax,%rcx,1),%esi
mov    -0x10(%rbp),%rax
movslq -0x14(%rbp),%rcx
movsbl (%rax,%rcx,1),%edx
lea    0xec8(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    1151 <printTable+0x41>
lea    0xe6a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
add    $0x20,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<printTable>:
push   %r15
push   %r14
push   %r12
push   %rbx
push   %rax
mov    %rsi,%r15
mov    %rdi,%rbx
lea    0xf01(%rip),%r14
mov    %r14,%rdi
call   1030 <puts@plt>
lea    0xed2(%rip),%rdi
call   1030 <puts@plt>
mov    %r14,%rdi
call   1030 <puts@plt>
movsbl (%rbx),%esi
movsbl (%r15),%edx
lea    0xea1(%rip),%r12
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x1(%rbx),%esi
movsbl 0x1(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x2(%rbx),%esi
movsbl 0x2(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x3(%rbx),%esi
movsbl 0x3(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x4(%rbx),%esi
movsbl 0x4(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x5(%rbx),%esi
movsbl 0x5(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x6(%rbx),%esi
movsbl 0x6(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x7(%rbx),%esi
movsbl 0x7(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x8(%rbx),%esi
movsbl 0x8(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x9(%rbx),%esi
movsbl 0x9(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xa(%rbx),%esi
movsbl 0xa(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xb(%rbx),%esi
movsbl 0xb(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xc(%rbx),%esi
movsbl 0xc(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xd(%rbx),%esi
movsbl 0xd(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xe(%rbx),%esi
movsbl 0xe(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0xf(%rbx),%esi
movsbl 0xf(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x10(%rbx),%esi
movsbl 0x10(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x11(%rbx),%esi
movsbl 0x11(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x12(%rbx),%esi
movsbl 0x12(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x13(%rbx),%esi
movsbl 0x13(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x14(%rbx),%esi
movsbl 0x14(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x15(%rbx),%esi
movsbl 0x15(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x16(%rbx),%esi
movsbl 0x16(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x17(%rbx),%esi
movsbl 0x17(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x18(%rbx),%esi
movsbl 0x18(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movsbl 0x19(%rbx),%esi
movsbl 0x19(%r15),%edx
mov    %r12,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    %r14,%rdi
add    $0x8,%rsp
pop    %rbx
pop    %r12
pop    %r14
pop    %r15
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [33 x i8] c"===============================\0A\00"
@.str.1 = [33 x i8] c"=== Encrypted === Decrypted ===\0A\00"
@.str.2 = [22 x i8] c"=== %5c%13c ===\0A\00"
define void @printTable(i8* %0, i8* %1) {
%3 = alloca i8*
%4 = alloca i8*
%5 = alloca i32
store i8* %0, i8** %3
store i8* %1, i8** %4
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
store i32 0, i32* %5
br label %9
9: ; preds = %26, %2
%10 = load i32, i32* %5
%11 = icmp slt i32 %10, 26
br i1 %11, label %12, label %29
12: ; preds = %9
%13 = load i8*, i8** %3
%14 = load i32, i32* %5
%15 = sext i32 %14 to i64
%16 = getelementptr inbounds i8, i8* %13, i64 %15
%17 = load i8, i8* %16
%18 = sext i8 %17 to i32
%19 = load i8*, i8** %4
%20 = load i32, i32* %5
%21 = sext i32 %20 to i64
%22 = getelementptr inbounds i8, i8* %19, i64 %21
%23 = load i8, i8* %22
%24 = sext i8 %23 to i32
%25 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.2, i64 0, i64 0), i32 %18, i32 %24)
br label %26
26: ; preds = %12
%27 = load i32, i32* %5
%28 = add nsw i32 %27, 1
store i32 %28, i32* %5
br label %9
29: ; preds = %9
%30 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
ret void
}

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