#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*/ assert(int);
int main() {
  assert("a"[0] == 97);
  assert("z"[0] == 122);
  assert("A"[0] == 65);
  assert("Z"[0] == 90);
  assert("\n"[0] == 10);
  assert("\r"[0] == 13);
  assert("\0"[0] == 0);
  assert("\""[0] == 34);
  assert("\01"[0] == 1);
  assert("\013"[0] == 013);
  assert("\x12"[0] == 0x12);
  return 0;
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x0,-0x4(%rbp)
movsbl 0xeda(%rip),%eax
cmp    $0x61,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xec5(%rip),%eax
cmp    $0x7a,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xeb0(%rip),%eax
cmp    $0x41,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xe9b(%rip),%eax
cmp    $0x5a,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xe86(%rip),%eax
cmp    $0xa,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xe71(%rip),%eax
cmp    $0xd,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xe64(%rip),%eax
cmp    $0x0,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xe45(%rip),%eax
cmp    $0x22,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xe30(%rip),%eax
cmp    $0x1,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xe1b(%rip),%eax
cmp    $0xb,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
movsbl 0xe06(%rip),%eax
cmp    $0x12,%eax
sete   %al
and    $0x1,%al
movzbl %al,%edi
call   1030 <assert@plt>
xor    %eax,%eax
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
mov    $0x1,%edi
call   1030 <assert@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [2 x i8] c"a\00"
@.str.1 = [2 x i8] c"z\00"
@.str.2 = [2 x i8] c"A\00"
@.str.3 = [2 x i8] c"Z\00"
@.str.4 = [2 x i8] c"\0A\00"
@.str.5 = [2 x i8] c"\0D\00"
@.str.6 = [2 x i8] zeroinitializer
@.str.7 = [2 x i8] c"\22\00"
@.str.8 = [2 x i8] c"\01\00"
@.str.9 = [2 x i8] c"\0B\00"
@.str.10 = [2 x i8] c"\12\00"
define i32 @main() {
%1 = alloca i32
store i32 0, i32* %1
%2 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str, i64 0, i64 0)
%3 = sext i8 %2 to i32
%4 = icmp eq i32 %3, 97
%5 = zext i1 %4 to i32
%6 = call i32 @assert(i32 %5)
%7 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.1, i64 0, i64 0)
%8 = sext i8 %7 to i32
%9 = icmp eq i32 %8, 122
%10 = zext i1 %9 to i32
%11 = call i32 @assert(i32 %10)
%12 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.2, i64 0, i64 0)
%13 = sext i8 %12 to i32
%14 = icmp eq i32 %13, 65
%15 = zext i1 %14 to i32
%16 = call i32 @assert(i32 %15)
%17 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.3, i64 0, i64 0)
%18 = sext i8 %17 to i32
%19 = icmp eq i32 %18, 90
%20 = zext i1 %19 to i32
%21 = call i32 @assert(i32 %20)
%22 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0)
%23 = sext i8 %22 to i32
%24 = icmp eq i32 %23, 10
%25 = zext i1 %24 to i32
%26 = call i32 @assert(i32 %25)
%27 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5, i64 0, i64 0)
%28 = sext i8 %27 to i32
%29 = icmp eq i32 %28, 13
%30 = zext i1 %29 to i32
%31 = call i32 @assert(i32 %30)
%32 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.6, i64 0, i64 0)
%33 = sext i8 %32 to i32
%34 = icmp eq i32 %33, 0
%35 = zext i1 %34 to i32
%36 = call i32 @assert(i32 %35)
%37 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.7, i64 0, i64 0)
%38 = sext i8 %37 to i32
%39 = icmp eq i32 %38, 34
%40 = zext i1 %39 to i32
%41 = call i32 @assert(i32 %40)
%42 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.8, i64 0, i64 0)
%43 = sext i8 %42 to i32
%44 = icmp eq i32 %43, 1
%45 = zext i1 %44 to i32
%46 = call i32 @assert(i32 %45)
%47 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9, i64 0, i64 0)
%48 = sext i8 %47 to i32
%49 = icmp eq i32 %48, 11
%50 = zext i1 %49 to i32
%51 = call i32 @assert(i32 %50)
%52 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.10, i64 0, i64 0)
%53 = sext i8 %52 to i32
%54 = icmp eq i32 %53, 18
%55 = zext i1 %54 to i32
%56 = call i32 @assert(i32 %55)
ret i32 0
}

LLVM IR (-O2):
define i32 @main() {
%1 = tail call i32 @assert(i32 1)
%2 = tail call i32 @assert(i32 1)
%3 = tail call i32 @assert(i32 1)
%4 = tail call i32 @assert(i32 1)
%5 = tail call i32 @assert(i32 1)
%6 = tail call i32 @assert(i32 1)
%7 = tail call i32 @assert(i32 1)
%8 = tail call i32 @assert(i32 1)
%9 = tail call i32 @assert(i32 1)
%10 = tail call i32 @assert(i32 1)
%11 = tail call i32 @assert(i32 1)
ret i32 0
}