#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 EXIT_SUCCESS;
int /*<<< orphan*/ printf(char *, int);
int main(int argc, const char *argv[]) {
  int upper, vowels, total_chars, spaces, newlines;
  upper = vowels = total_chars = spaces = newlines = 0;
  int lettercount[26];
  int i = 0;
  while (i < 26) {
    lettercount[i] = 0;
    i++;
  }
  printf("%d\n", i);
  printf("%d\n", lettercount[i + 200]);
  return EXIT_SUCCESS;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0xa0,%rsp
movl   $0x0,-0x4(%rbp)
mov    %edi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movl   $0x0,-0x24(%rbp)
movl   $0x0,-0x20(%rbp)
movl   $0x0,-0x1c(%rbp)
movl   $0x0,-0x18(%rbp)
movl   $0x0,-0x14(%rbp)
movl   $0x0,-0x94(%rbp)
cmpl   $0x1a,-0x94(%rbp)
jge    1189 <main+0x79>
movslq -0x94(%rbp),%rax
movl   $0x0,-0x90(%rbp,%rax,4)
mov    -0x94(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x94(%rbp)
jmp    1156 <main+0x46>
mov    -0x94(%rbp),%esi
lea    0xe6a(%rip),%rdi
call   1030 <printf@plt>
mov    -0x94(%rbp),%eax
add    $0xc8,%eax
cltq
mov    -0x90(%rbp,%rax,4),%esi
lea    0xe4a(%rip),%rdi
call   1030 <printf@plt>
mov    0x2e1e(%rip),%rax
mov    (%rax),%eax
add    $0xa0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rbx
lea    0xee8(%rip),%rbx
mov    %rbx,%rdi
mov    $0x1a,%esi
call   1030 <printf@plt>
mov    %rbx,%rdi
call   1030 <printf@plt>
mov    0x2eac(%rip),%rax
mov    (%rax),%eax
pop    %rbx
ret

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

LLVM IR (-O2):
@.str = [4 x i8] c"%d\0A\00"
@EXIT_SUCCESS = global i32 0
define i32 @main(i32 %0, i8** nocapture readnone %1) {
%3 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 26)
%4 = tail call i32 @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 undef)
%5 = load i32, i32* @EXIT_SUCCESS
ret i32 %5
}