#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 *, int, int);
int main() {
  int i;
  i = 97;
  do {
    printf("%c - %d\n", i, i);
    i++;
  } while (i <= 122);
  int a;
  a = 65;
  do {
    printf("%c - %d\n", a, a);
    a++;
  } while (a <= 90);
  int m;
  m = 48;
  do {
    printf("%c - %d\n", m, m);
    m++;
  } while (m <= 57);
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movl   $0x61,-0x8(%rbp)
mov    -0x8(%rbp),%esi
mov    -0x8(%rbp),%edx
lea    0xecd(%rip),%rdi
call   1030 <printf@plt>
mov    -0x8(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
cmpl   $0x7a,-0x8(%rbp)
jle    1126 <main+0x16>
movl   $0x41,-0xc(%rbp)
mov    -0xc(%rbp),%esi
mov    -0xc(%rbp),%edx
lea    0xea1(%rip),%rdi
call   1030 <printf@plt>
mov    -0xc(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0xc(%rbp)
cmpl   $0x5a,-0xc(%rbp)
jle    1152 <main+0x42>
movl   $0x30,-0x10(%rbp)
mov    -0x10(%rbp),%esi
mov    -0x10(%rbp),%edx
lea    0xe75(%rip),%rdi
call   1030 <printf@plt>
mov    -0x10(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x10(%rbp)
cmpl   $0x39,-0x10(%rbp)
jle    117e <main+0x6e>
mov    -0x4(%rbp),%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x61,%esi
mov    $0x61,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x62,%esi
mov    $0x62,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x63,%esi
mov    $0x63,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x64,%esi
mov    $0x64,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x65,%esi
mov    $0x65,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x66,%esi
mov    $0x66,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x67,%esi
mov    $0x67,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x68,%esi
mov    $0x68,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x69,%esi
mov    $0x69,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6a,%esi
mov    $0x6a,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6b,%esi
mov    $0x6b,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6c,%esi
mov    $0x6c,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6d,%esi
mov    $0x6d,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6e,%esi
mov    $0x6e,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x6f,%esi
mov    $0x6f,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x70,%esi
mov    $0x70,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x71,%esi
mov    $0x71,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x72,%esi
mov    $0x72,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x73,%esi
mov    $0x73,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x74,%esi
mov    $0x74,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x75,%esi
mov    $0x75,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x76,%esi
mov    $0x76,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x77,%esi
mov    $0x77,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x78,%esi
mov    $0x78,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x79,%esi
mov    $0x79,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x7a,%esi
mov    $0x7a,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x41,%esi
mov    $0x41,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x42,%esi
mov    $0x42,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x43,%esi
mov    $0x43,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x44,%esi
mov    $0x44,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x45,%esi
mov    $0x45,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x46,%esi
mov    $0x46,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x47,%esi
mov    $0x47,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x48,%esi
mov    $0x48,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x49,%esi
mov    $0x49,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4a,%esi
mov    $0x4a,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4b,%esi
mov    $0x4b,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4c,%esi
mov    $0x4c,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4d,%esi
mov    $0x4d,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4e,%esi
mov    $0x4e,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x4f,%esi
mov    $0x4f,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x50,%esi
mov    $0x50,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x51,%esi
mov    $0x51,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x52,%esi
mov    $0x52,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x53,%esi
mov    $0x53,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x54,%esi
mov    $0x54,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x55,%esi
mov    $0x55,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x56,%esi
mov    $0x56,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x57,%esi
mov    $0x57,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x58,%esi
mov    $0x58,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x59,%esi
mov    $0x59,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x5a,%esi
mov    $0x5a,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x30,%esi
mov    $0x30,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x31,%esi
mov    $0x31,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x32,%esi
mov    $0x32,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x33,%esi
mov    $0x33,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x34,%esi
mov    $0x34,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x35,%esi
mov    $0x35,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x36,%esi
mov    $0x36,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x37,%esi
mov    $0x37,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x38,%esi
mov    $0x38,%edx
call   1030 <printf@plt>
mov    %rbx,%rdi
mov    $0x39,%esi
mov    $0x39,%edx
call   1030 <printf@plt>
xor    %eax,%eax
pop    %rbx
ret

LLVM IR (-O0):
@.str = [9 x i8] c"%c - %d\0A\00"
define i32 @main() {
%1 = alloca i32
%2 = alloca i32
%3 = alloca i32
%4 = alloca i32
store i32 0, i32* %1
store i32 97, i32* %2
br label %5
5: ; preds = %11, %0
%6 = load i32, i32* %2
%7 = load i32, i32* %2
%8 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %6, i32 %7)
%9 = load i32, i32* %2
%10 = add nsw i32 %9, 1
store i32 %10, i32* %2
br label %11
11: ; preds = %5
%12 = load i32, i32* %2
%13 = icmp sle i32 %12, 122
br i1 %13, label %5, label %14
14: ; preds = %11
store i32 65, i32* %3
br label %15
15: ; preds = %21, %14
%16 = load i32, i32* %3
%17 = load i32, i32* %3
%18 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %16, i32 %17)
%19 = load i32, i32* %3
%20 = add nsw i32 %19, 1
store i32 %20, i32* %3
br label %21
21: ; preds = %15
%22 = load i32, i32* %3
%23 = icmp sle i32 %22, 90
br i1 %23, label %15, label %24
24: ; preds = %21
store i32 48, i32* %4
br label %25
25: ; preds = %31, %24
%26 = load i32, i32* %4
%27 = load i32, i32* %4
%28 = call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 %26, i32 %27)
%29 = load i32, i32* %4
%30 = add nsw i32 %29, 1
store i32 %30, i32* %4
br label %31
31: ; preds = %25
%32 = load i32, i32* %4
%33 = icmp sle i32 %32, 57
br i1 %33, label %25, label %34
34: ; preds = %31
%35 = load i32, i32* %1
ret i32 %35
}

LLVM IR (-O2):
@.str = [9 x i8] c"%c - %d\0A\00"
define i32 @main() {
%1 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 97, i32 97)
%2 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 98, i32 98)
%3 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 99, i32 99)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 100, i32 100)
%5 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 101, i32 101)
%6 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 102, i32 102)
%7 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 103, i32 103)
%8 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 104, i32 104)
%9 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 105, i32 105)
%10 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 106, i32 106)
%11 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 107, i32 107)
%12 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 108, i32 108)
%13 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 109, i32 109)
%14 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 110, i32 110)
%15 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 111, i32 111)
%16 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 112, i32 112)
%17 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 113, i32 113)
%18 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 114, i32 114)
%19 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 115, i32 115)
%20 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 116, i32 116)
%21 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 117, i32 117)
%22 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 118, i32 118)
%23 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 119, i32 119)
%24 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 120, i32 120)
%25 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 121, i32 121)
%26 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 122, i32 122)
%27 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 65, i32 65)
%28 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 66, i32 66)
%29 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 67, i32 67)
%30 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 68, i32 68)
%31 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 69, i32 69)
%32 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 70, i32 70)
%33 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 71, i32 71)
%34 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 72, i32 72)
%35 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 73, i32 73)
%36 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 74, i32 74)
%37 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 75, i32 75)
%38 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 76, i32 76)
%39 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 77, i32 77)
%40 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 78, i32 78)
%41 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 79, i32 79)
%42 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 80, i32 80)
%43 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 81, i32 81)
%44 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 82, i32 82)
%45 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 83, i32 83)
%46 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 84, i32 84)
%47 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 85, i32 85)
%48 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 86, i32 86)
%49 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 87, i32 87)
%50 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 88, i32 88)
%51 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 89, i32 89)
%52 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 90, i32 90)
%53 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 48, i32 48)
%54 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 49, i32 49)
%55 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 50, i32 50)
%56 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 51, i32 51)
%57 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 52, i32 52)
%58 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 53, i32 53)
%59 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 54, i32 54)
%60 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 55, i32 55)
%61 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 56, i32 56)
%62 = tail call i32 @printf(i8* getelementptr inbounds ([9 x i8], [9 x i8]* @.str, i64 0, i64 0), i32 57, i32 57)
ret i32 0
}