#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);
int /*<<< orphan*/ printf(char *);
main() {
  printf("\x1b[1;34mhi\033[mbeet\n");
  printf("hi\xa\xa\xa");
  assert(15, 0xff == 255);
  assert(16, '\xfa' == -6);
  assert(17, "i\xfh"[1] == 15);
  assert(19, 012 == 10);
  assert(20, '\2' == 2);
  assert(21, '\07' == 7);
  assert(22, "\56yo"[0] == 46);
  assert(24, 3 == 3);
  assert(25, '3' == 3 + '0');
  assert(26, *"3" == 3 + '0');
}


x86 assembly (clang, -O0):
<main>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xedb(%rip),%rdi
call   1030 <printf@plt>
mov    $0xf,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x10,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
movsbl 0xeb8(%rip),%eax
cmp    $0xf,%eax
sete   %al
and    $0x1,%al
movzbl %al,%esi
mov    $0x11,%edi
call   1040 <assert@plt>
mov    $0x13,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x14,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x15,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
movsbl 0xe72(%rip),%eax
cmp    $0x2e,%eax
sete   %al
and    $0x1,%al
movzbl %al,%esi
mov    $0x16,%edi
call   1040 <assert@plt>
mov    $0x18,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x19,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
movsbl 0xe3c(%rip),%eax
cmp    $0x33,%eax
sete   %al
and    $0x1,%al
movzbl %al,%esi
mov    $0x1a,%edi
call   1040 <assert@plt>
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<main>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xedd(%rip),%rdi
call   1030 <puts@plt>
mov    $0xf,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x10,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x11,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x13,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x14,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x15,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x16,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x18,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x19,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
mov    $0x1a,%edi
mov    $0x1,%esi
call   1040 <assert@plt>
xor    %eax,%eax
pop    %rcx
ret

LLVM IR (-O0):
@.str = [18 x i8] c"\1B[1;34mhi\1B[mbeet\0A\00"
@.str.1 = [6 x i8] c"hi\0A\0A\0A\00"
@.str.2 = [4 x i8] c"i\0Fh\00"
@.str.3 = [4 x i8] c".yo\00"
@.str.4 = [2 x i8] c"3\00"
define i32 @main() {
%1 = call i32 @printf(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @assert(i32 15, i32 1)
%4 = call i32 @assert(i32 16, i32 1)
%5 = load i8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 1)
%6 = sext i8 %5 to i32
%7 = icmp eq i32 %6, 15
%8 = zext i1 %7 to i32
%9 = call i32 @assert(i32 17, i32 %8)
%10 = call i32 @assert(i32 19, i32 1)
%11 = call i32 @assert(i32 20, i32 1)
%12 = call i32 @assert(i32 21, i32 1)
%13 = load i8, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.3, i64 0, i64 0)
%14 = sext i8 %13 to i32
%15 = icmp eq i32 %14, 46
%16 = zext i1 %15 to i32
%17 = call i32 @assert(i32 22, i32 %16)
%18 = call i32 @assert(i32 24, i32 1)
%19 = call i32 @assert(i32 25, i32 1)
%20 = load i8, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.4, i64 0, i64 0)
%21 = sext i8 %20 to i32
%22 = icmp eq i32 %21, 51
%23 = zext i1 %22 to i32
%24 = call i32 @assert(i32 26, i32 %23)
ret i32 0
}

LLVM IR (-O2):
@str = [17 x i8] c"\1B[1;34mhi\1B[mbeet\00"
@str.5 = [5 x i8] c"hi\0A\0A\00"
define i32 @main() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([5 x i8], [5 x i8]* @str.5, i64 0, i64 0))
%3 = tail call i32 @assert(i32 15, i32 1)
%4 = tail call i32 @assert(i32 16, i32 1)
%5 = tail call i32 @assert(i32 17, i32 1)
%6 = tail call i32 @assert(i32 19, i32 1)
%7 = tail call i32 @assert(i32 20, i32 1)
%8 = tail call i32 @assert(i32 21, i32 1)
%9 = tail call i32 @assert(i32 22, i32 1)
%10 = tail call i32 @assert(i32 24, i32 1)
%11 = tail call i32 @assert(i32 25, i32 1)
%12 = tail call i32 @assert(i32 26, i32 1)
ret i32 0
}