#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 *, char, char, char, char, int);
int main(int argc, char *argv[]) {
  int i = 0;
  char lower_letters[6] = {'a', 'e', 'i', 'o', 'u', 'y'};
  char upper_letters[6] = {'A', 'E', 'I', 'O', 'U', 'Y'};
  for (i = 0; i < 6; i++) {
    int letter_difference = upper_letters[i] - lower_letters[i];
    printf(
        "Letter: %c, ASCII: %d\t:\tLetter: %c, ASCII: %d\t:\tDifference: %d\n",
        lower_letters[i], lower_letters[i], upper_letters[i], upper_letters[i],
        letter_difference);
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x30,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x14(%rbp)
mov    0xecd(%rip),%eax
mov    %eax,-0x1a(%rbp)
mov    0xec7(%rip),%ax
mov    %ax,-0x16(%rbp)
mov    0xebf(%rip),%eax
mov    %eax,-0x20(%rbp)
mov    0xeb9(%rip),%ax
mov    %ax,-0x1c(%rbp)
movl   $0x0,-0x14(%rbp)
cmpl   $0x6,-0x14(%rbp)
jge    11ca <main+0xba>
movslq -0x14(%rbp),%rax
movsbl -0x20(%rbp,%rax,1),%eax
movslq -0x14(%rbp),%rcx
movsbl -0x1a(%rbp,%rcx,1),%ecx
sub    %ecx,%eax
mov    %eax,-0x24(%rbp)
movslq -0x14(%rbp),%rax
mov    -0x1a(%rbp,%rax,1),%sil
movslq -0x14(%rbp),%rax
mov    -0x1a(%rbp,%rax,1),%dl
movslq -0x14(%rbp),%rax
mov    -0x20(%rbp,%rax,1),%cl
movslq -0x14(%rbp),%rax
mov    -0x20(%rbp,%rax,1),%al
mov    -0x24(%rbp),%r9d
lea    0xe63(%rip),%rdi
movsbl %sil,%esi
movsbl %dl,%edx
movsbl %cl,%ecx
movsbl %al,%r8d
call   1030 <printf@plt>
mov    -0x14(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x14(%rbp)
jmp    115c <main+0x4c>
xor    %eax,%eax
add    $0x30,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x61,%esi
mov    $0x61,%edx
mov    $0x41,%ecx
mov    $0x41,%r8d
mov    $0xffffffe0,%r9d
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x65,%esi
mov    $0x65,%edx
mov    $0x45,%ecx
mov    $0x45,%r8d
mov    $0xffffffe0,%r9d
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x69,%esi
mov    $0x69,%edx
mov    $0x49,%ecx
mov    $0x49,%r8d
mov    $0xffffffe0,%r9d
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6f,%esi
mov    $0x6f,%edx
mov    $0x4f,%ecx
mov    $0x4f,%r8d
mov    $0xffffffe0,%r9d
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x75,%esi
mov    $0x75,%edx
mov    $0x55,%ecx
mov    $0x55,%r8d
mov    $0xffffffe0,%r9d
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x79,%esi
mov    $0x79,%edx
mov    $0x59,%ecx
mov    $0x59,%r8d
mov    $0xffffffe0,%r9d
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@__const.main.lower_letters = [6 x i8] c"aeiouy"
@__const.main.upper_letters = [6 x i8] c"AEIOUY"
@.str = [64 x i8] c"Letter: %c, ASCII: %d\09:\09Letter: %c, ASCII: %d\09:\09Difference: %d\0A\00"
define i32 @main(i32 %0, i8** %1) {
%3 = alloca i32
%4 = alloca i32
%5 = alloca i8**
%6 = alloca i32
%7 = alloca [6 x i8]
%8 = alloca [6 x i8]
%9 = alloca i32
store i32 0, i32* %3
store i32 %0, i32* %4
store i8** %1, i8*** %5
store i32 0, i32* %6
%10 = bitcast [6 x i8]* %7 to i8*
%11 = bitcast [6 x i8]* %8 to i8*
store i32 0, i32* %6
br label %12
12: ; preds = %45, %2
%13 = load i32, i32* %6
%14 = icmp slt i32 %13, 6
br i1 %14, label %15, label %48
15: ; preds = %12
%16 = load i32, i32* %6
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds [6 x i8], [6 x i8]* %8, i64 0, i64 %17
%19 = load i8, i8* %18
%20 = sext i8 %19 to i32
%21 = load i32, i32* %6
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds [6 x i8], [6 x i8]* %7, i64 0, i64 %22
%24 = load i8, i8* %23
%25 = sext i8 %24 to i32
%26 = sub nsw i32 %20, %25
store i32 %26, i32* %9
%27 = load i32, i32* %6
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds [6 x i8], [6 x i8]* %7, i64 0, i64 %28
%30 = load i8, i8* %29
%31 = load i32, i32* %6
%32 = sext i32 %31 to i64
%33 = getelementptr inbounds [6 x i8], [6 x i8]* %7, i64 0, i64 %32
%34 = load i8, i8* %33
%35 = load i32, i32* %6
%36 = sext i32 %35 to i64
%37 = getelementptr inbounds [6 x i8], [6 x i8]* %8, i64 0, i64 %36
%38 = load i8, i8* %37
%39 = load i32, i32* %6
%40 = sext i32 %39 to i64
%41 = getelementptr inbounds [6 x i8], [6 x i8]* %8, i64 0, i64 %40
%42 = load i8, i8* %41
%43 = load i32, i32* %9
%44 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str, i64 0, i64 0), i8 signext %30, i8 signext %34, i8 signext %38, i8 signext %42, i32 %43)
br label %45
45: ; preds = %15
%46 = load i32, i32* %6
%47 = add nsw i32 %46, 1
store i32 %47, i32* %6
br label %12
48: ; preds = %12
ret i32 0
}

LLVM IR (-O2):
@.str = [64 x i8] c"Letter: %c, ASCII: %d\09:\09Letter: %c, ASCII: %d\09:\09Difference: %d\0A\00"
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str, i64 0, i64 0), i8 signext 97, i8 signext 97, i8 signext 65, i8 signext 65, i32 -32)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str, i64 0, i64 0), i8 signext 101, i8 signext 101, i8 signext 69, i8 signext 69, i32 -32)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str, i64 0, i64 0), i8 signext 105, i8 signext 105, i8 signext 73, i8 signext 73, i32 -32)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str, i64 0, i64 0), i8 signext 111, i8 signext 111, i8 signext 79, i8 signext 79, i32 -32)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str, i64 0, i64 0), i8 signext 117, i8 signext 117, i8 signext 85, i8 signext 85, i32 -32)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str, i64 0, i64 0), i8 signext 121, i8 signext 121, i8 signext 89, i8 signext 89, i32 -32)
ret i32 0
}