#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);
int main() {
  for (int i = 'a'; i < 'z'; i++) {
    printf("%c \t", ('a' + i));
  }
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x61,-0x8(%rbp)
cmpl   $0x7a,-0x8(%rbp)
jge    1153 <main+0x43>
mov    -0x8(%rbp),%eax
add    $0x61,%eax
lea    0xec3(%rip),%rdi
movsbl %al,%esi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
jmp    1126 <main+0x16>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0xffffffc2,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffc3,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffc4,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffc5,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffc6,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffc7,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffc8,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffc9,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffca,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffcb,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffcc,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffcd,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffce,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffcf,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd0,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd1,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd2,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd3,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd4,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd5,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd6,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd7,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd8,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffd9,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0xffffffda,%esi
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [5 x i8] c"%c \09\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
store i32 0, i32* %1
store i32 97, i32* %2
br label %3
3: ; preds = %11, %0
%4 = load i32, i32* %2
%5 = icmp slt i32 %4, 122
br i1 %5, label %6, label %14
6: ; preds = %3
%7 = load i32, i32* %2
%8 = add nsw i32 97, %7
%9 = trunc i32 %8 to i8
%10 = call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext %9)
br label %11
11: ; preds = %6
%12 = load i32, i32* %2
%13 = add nsw i32 %12, 1
store i32 %13, i32* %2
br label %3
14: ; preds = %3
ret i32 0
}

LLVM IR (-O2):
@.str = [5 x i8] c"%c \09\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -62)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -61)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -60)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -59)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -58)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -57)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -56)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -55)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -54)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -53)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -52)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -51)
%13 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -50)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -49)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -48)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -47)
%17 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -46)
%18 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -45)
%19 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -44)
%20 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -43)
%21 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -42)
%22 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -41)
%23 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -40)
%24 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -39)
%25 = tail call i32 @printf(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str, i64 0, i64 0), i8 signext -38)
ret i32 0
}