#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*/ AES(unsigned char *, unsigned char *, unsigned long *);
int /*<<< orphan*/ KeyExpansion(unsigned char *, unsigned long *, int);
unsigned char charsToHex(unsigned char, unsigned char);
int /*<<< orphan*/ printf(char *, ...);
int /*<<< orphan*/ scanf(char *, unsigned char **);
int main() {
  int Nk = 4;
  int Nb = 4;
  int Nr = 10;
  unsigned char key[33];
  unsigned char decrypted_message[33];
  unsigned char encrypted_message[16];
  unsigned char key_test[32];
  unsigned char decrypted_message_test[32];
  unsigned char pairs[16];
  unsigned char key_pairs[16];
  unsigned char pairs_hex[16];
  unsigned char key_pairs_hex[16];
  unsigned long key_expansion[44];
  unsigned char test[4] = {0xdb, 0x13, 0x53, 0x45};
  int i, k;
  printf("Enter Decrypted Message: ");
  scanf("%s", &decrypted_message);
  printf("\n");
  printf("Enter Key: ");
  scanf("%s", &key);
  for (i = 0; i < 16; i++) {
    pairs_hex[i] =
        charsToHex(decrypted_message[2 * i], decrypted_message[2 * i + 1]);
  }
  for (i = 0; i < 16; i++) {
    key_pairs_hex[i] = charsToHex(key[2 * i], key[2 * i + 1]);
  }
  KeyExpansion(key_pairs_hex, key_expansion, Nk);
  AES(pairs_hex, encrypted_message, key_expansion);
  for (i = 0; i < 16; i++) {
    printf("%x", encrypted_message[i]);
  }
  printf("\n");
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x270,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x4,-0x8(%rbp)
movl   $0x4,-0xc(%rbp)
movl   $0xa,-0x10(%rbp)
mov    0xe83(%rip),%eax
mov    %eax,-0x264(%rbp)
lea    0xe7a(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x70(%rbp),%rsi
lea    0xe82(%rip),%rdi
call   1060 <scanf@plt>
lea    0xe79(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    0xe6d(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
lea    -0x40(%rbp),%rsi
lea    0xe56(%rip),%rdi
call   1060 <scanf@plt>
movl   $0x0,-0x268(%rbp)
cmpl   $0x10,-0x268(%rbp)
jge    1232 <main+0xe2>
mov    -0x268(%rbp),%eax
shl    $0x1,%eax
cltq
mov    -0x70(%rbp,%rax,1),%cl
mov    -0x268(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
cltq
movzbl %cl,%edi
movzbl -0x70(%rbp,%rax,1),%esi
call   1070 <charsToHex@plt>
mov    %al,%cl
movslq -0x268(%rbp),%rax
mov    %cl,-0xf0(%rbp,%rax,1)
mov    -0x268(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x268(%rbp)
jmp    11d7 <main+0x87>
movl   $0x0,-0x268(%rbp)
cmpl   $0x10,-0x268(%rbp)
jge    1297 <main+0x147>
mov    -0x268(%rbp),%eax
shl    $0x1,%eax
cltq
mov    -0x40(%rbp,%rax,1),%cl
mov    -0x268(%rbp),%eax
shl    $0x1,%eax
add    $0x1,%eax
cltq
movzbl %cl,%edi
movzbl -0x40(%rbp,%rax,1),%esi
call   1070 <charsToHex@plt>
mov    %al,%cl
movslq -0x268(%rbp),%rax
mov    %cl,-0x100(%rbp,%rax,1)
mov    -0x268(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x268(%rbp)
jmp    123c <main+0xec>
lea    -0x100(%rbp),%rdi
lea    -0x260(%rbp),%rsi
mov    -0x8(%rbp),%edx
call   1050 <KeyExpansion@plt>
lea    -0xf0(%rbp),%rdi
lea    -0x80(%rbp),%rsi
lea    -0x260(%rbp),%rdx
call   1040 <AES@plt>
movl   $0x0,-0x268(%rbp)
cmpl   $0x10,-0x268(%rbp)
jge    1309 <main+0x1b9>
movslq -0x268(%rbp),%rax
movzbl -0x80(%rbp,%rax,1),%esi
lea    0xd41(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
mov    -0x268(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x268(%rbp)
jmp    12ce <main+0x17e>
lea    0xd11(%rip),%rdi
mov    $0x0,%al
call   1030 <printf@plt>
xor    %eax,%eax
add    $0x270,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %r14
push   %rbx
sub    $0x1f8,%rsp
lea    0xe8f(%rip),%rdi
xor    %ebx,%ebx
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xe99(%rip),%r14
lea    0x30(%rsp),%rsi
mov    %r14,%rdi
call   1070 <scanf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
lea    0xe7e(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0x60(%rsp),%rsi
mov    %r14,%rdi
call   1070 <scanf@plt>
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movzbl 0x30(%rsp,%rbx,2),%edi
movzbl 0x31(%rsp,%rbx,2),%esi
call   1080 <charsToHex@plt>
mov    %al,0x20(%rsp,%rbx,1)
add    $0x1,%rbx
cmp    $0x10,%rbx
jne    11c0 <main+0x60>
xor    %ebx,%ebx
nop
movzbl 0x60(%rsp,%rbx,2),%edi
movzbl 0x61(%rsp,%rbx,2),%esi
call   1080 <charsToHex@plt>
mov    %al,0x10(%rsp,%rbx,1)
add    $0x1,%rbx
cmp    $0x10,%rbx
jne    11e0 <main+0x80>
lea    0x10(%rsp),%rdi
lea    0x90(%rsp),%rbx
mov    %rbx,%rsi
mov    $0x4,%edx
call   1060 <KeyExpansion@plt>
lea    0x20(%rsp),%rdi
mov    %rsp,%rsi
mov    %rbx,%rdx
call   1050 <AES@plt>
movzbl (%rsp),%esi
lea    0xdf7(%rip),%rbx
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x1(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x2(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x3(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x4(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x5(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x6(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x7(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x8(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0x9(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xa(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xb(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xc(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xd(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xe(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
movzbl 0xf(%rsp),%esi
mov    %rbx,%rdi
xor    %eax,%eax
call   1040 <printf@plt>
mov    $0xa,%edi
call   1030 <putchar@plt>
xor    %eax,%eax
add    $0x1f8,%rsp
pop    %rbx
pop    %r14
ret

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

LLVM IR (-O2):
@.str = [26 x i8] c"Enter Decrypted Message: \00"
@.str.1 = [3 x i8] c"%s\00"
@.str.3 = [12 x i8] c"Enter Key: \00"
@.str.4 = [3 x i8] c"%x\00"
define i32 @main() {
%1 = alloca [33 x i8]
%2 = alloca [33 x i8]
%3 = alloca [16 x i8]
%4 = alloca [16 x i8]
%5 = alloca [16 x i8]
%6 = alloca [44 x i64]
%7 = getelementptr inbounds [33 x i8], [33 x i8]* %1, i64 0, i64 0
%8 = getelementptr inbounds [33 x i8], [33 x i8]* %2, i64 0, i64 0
%9 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 0
%10 = getelementptr inbounds [16 x i8], [16 x i8]* %4, i64 0, i64 0
%11 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 0
%12 = bitcast [44 x i64]* %6 to i8*
%13 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str, i64 0, i64 0))
%14 = bitcast [33 x i8]* %2 to i8**
%15 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8** %14)
%16 = call i32 @putchar(i32 10)
%17 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([12 x i8], [12 x i8]* @.str.3, i64 0, i64 0))
%18 = bitcast [33 x i8]* %1 to i8**
%19 = call i32 @scanf(i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.1, i64 0, i64 0), i8** %18)
br label %20
20: ; preds = %0, %20
%21 = phi i64 [ 0, %0 ], [ %30, %20 ]
%22 = shl nuw nsw i64 %21, 1
%23 = getelementptr inbounds [33 x i8], [33 x i8]* %2, i64 0, i64 %22
%24 = load i8, i8* %23
%25 = or i64 %22, 1
%26 = getelementptr inbounds [33 x i8], [33 x i8]* %2, i64 0, i64 %25
%27 = load i8, i8* %26
%28 = call zeroext i8 @charsToHex(i8 zeroext %24, i8 zeroext %27)
%29 = getelementptr inbounds [16 x i8], [16 x i8]* %4, i64 0, i64 %21
store i8 %28, i8* %29
%30 = add nuw nsw i64 %21, 1
%31 = icmp eq i64 %30, 16
br i1 %31, label %32, label %20
32: ; preds = %20, %32
%33 = phi i64 [ %42, %32 ], [ 0, %20 ]
%34 = shl nuw nsw i64 %33, 1
%35 = getelementptr inbounds [33 x i8], [33 x i8]* %1, i64 0, i64 %34
%36 = load i8, i8* %35
%37 = or i64 %34, 1
%38 = getelementptr inbounds [33 x i8], [33 x i8]* %1, i64 0, i64 %37
%39 = load i8, i8* %38
%40 = call zeroext i8 @charsToHex(i8 zeroext %36, i8 zeroext %39)
%41 = getelementptr inbounds [16 x i8], [16 x i8]* %5, i64 0, i64 %33
store i8 %40, i8* %41
%42 = add nuw nsw i64 %33, 1
%43 = icmp eq i64 %42, 16
br i1 %43, label %44, label %32
44: ; preds = %32
%45 = getelementptr inbounds [44 x i64], [44 x i64]* %6, i64 0, i64 0
%46 = call i32 @KeyExpansion(i8* %11, i64* %45, i32 4)
%47 = call i32 @AES(i8* %10, i8* %9, i64* %45)
%48 = load i8, i8* %9
%49 = zext i8 %48 to i32
%50 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %49)
%51 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 1
%52 = load i8, i8* %51
%53 = zext i8 %52 to i32
%54 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %53)
%55 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 2
%56 = load i8, i8* %55
%57 = zext i8 %56 to i32
%58 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %57)
%59 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 3
%60 = load i8, i8* %59
%61 = zext i8 %60 to i32
%62 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %61)
%63 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 4
%64 = load i8, i8* %63
%65 = zext i8 %64 to i32
%66 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %65)
%67 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 5
%68 = load i8, i8* %67
%69 = zext i8 %68 to i32
%70 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %69)
%71 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 6
%72 = load i8, i8* %71
%73 = zext i8 %72 to i32
%74 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %73)
%75 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 7
%76 = load i8, i8* %75
%77 = zext i8 %76 to i32
%78 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %77)
%79 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 8
%80 = load i8, i8* %79
%81 = zext i8 %80 to i32
%82 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %81)
%83 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 9
%84 = load i8, i8* %83
%85 = zext i8 %84 to i32
%86 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %85)
%87 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 10
%88 = load i8, i8* %87
%89 = zext i8 %88 to i32
%90 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %89)
%91 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 11
%92 = load i8, i8* %91
%93 = zext i8 %92 to i32
%94 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %93)
%95 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 12
%96 = load i8, i8* %95
%97 = zext i8 %96 to i32
%98 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %97)
%99 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 13
%100 = load i8, i8* %99
%101 = zext i8 %100 to i32
%102 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %101)
%103 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 14
%104 = load i8, i8* %103
%105 = zext i8 %104 to i32
%106 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %105)
%107 = getelementptr inbounds [16 x i8], [16 x i8]* %3, i64 0, i64 15
%108 = load i8, i8* %107
%109 = zext i8 %108 to i32
%110 = call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([3 x i8], [3 x i8]* @.str.4, i64 0, i64 0), i32 %109)
%111 = call i32 @putchar(i32 10)
ret i32 0
}