#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*/ clearscreen();
int /*<<< orphan*/ printf(char *, ...);
void info() {
  clearscreen();
  printf("\n\tCX ASCII MATCH");
  printf("\n\tVersion 0.9.3.7.2 Alpha (Ubuntu)");
  printf("\n\tBuild Date: 8/26/2013");
  printf("\n\tby Vincent Paul Fiestada");
  printf("\n\n\tFollow me on Tumblr: vincentofearth.tumblr.com");
  printf("\n\tEmail me: vincentfiestada@hotmail.com");
  printf("\n\n\tINSTRUCTIONS:"
         "\n\tYour goal is to destroy as many tiles as possible "
         "\n\tby swapping them with adjacent tiles to create rows"
         "\n\tor columns of %d or more identical tiles. Enter your"
         "\n\tmove in this format:\n\t"
         "X Y DIRECTION\n\tW for Up, S for Down, D for Right, A for Left."
         "\n\n\tEnter 0 0 0 to quit a game in progress.",
         2 + 1);
}


x86 assembly (clang, -O0):
<info>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1030 <clearscreen@plt>
lea    0xece(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xed1(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xee6(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xef0(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xefd(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf21(%rip),%rdi
mov    $0x0,%al
call   1040 <printf@plt>
lea    0xf3b(%rip),%rdi
mov    $0x3,%esi
mov    $0x0,%al
call   1040 <printf@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<info>:
push   %rax
xor    %eax,%eax
call   1030 <clearscreen@plt>
lea    0xed1(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xed4(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xee9(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xef3(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf00(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf24(%rip),%rdi
xor    %eax,%eax
call   1040 <printf@plt>
lea    0xf3e(%rip),%rdi
mov    $0x3,%esi
xor    %eax,%eax
pop    %rcx
jmp    1040 <printf@plt>

LLVM IR (-O0):
@.str = [17 x i8] c"\0A\09CX ASCII MATCH\00"
@.str.1 = [35 x i8] c"\0A\09Version 0.9.3.7.2 Alpha (Ubuntu)\00"
@.str.2 = [24 x i8] c"\0A\09Build Date: 8/26/2013\00"
@.str.3 = [27 x i8] c"\0A\09by Vincent Paul Fiestada\00"
@.str.4 = [50 x i8] c"\0A\0A\09Follow me on Tumblr: vincentofearth.tumblr.com\00"
@.str.5 = [40 x i8] c"\0A\09Email me: vincentfiestada@hotmail.com\00"
@.str.6 = [303 x i8] c"\0A\0A\09INSTRUCTIONS:\0A\09Your goal is to destroy as many tiles as possible \0A\09by swapping them with adjacent tiles to create rows\0A\09or columns of %d or more identical tiles. Enter your\0A\09move in this format:\0A\09X Y DIRECTION\0A\09W for Up, S for Down, D for Right, A for Left.\0A\0A\09Enter 0 0 0 to quit a game in progress.\00"
define void @info() {
%1 = call i32 (...) @clearscreen()
%2 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%3 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%5 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%6 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([50 x i8], [50 x i8]* @.str.4, i64 0, i64 0))
%7 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%8 = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([303 x i8], [303 x i8]* @.str.6, i64 0, i64 0), i32 3)
ret void
}

LLVM IR (-O2):
@.str = [17 x i8] c"\0A\09CX ASCII MATCH\00"
@.str.1 = [35 x i8] c"\0A\09Version 0.9.3.7.2 Alpha (Ubuntu)\00"
@.str.2 = [24 x i8] c"\0A\09Build Date: 8/26/2013\00"
@.str.3 = [27 x i8] c"\0A\09by Vincent Paul Fiestada\00"
@.str.4 = [50 x i8] c"\0A\0A\09Follow me on Tumblr: vincentofearth.tumblr.com\00"
@.str.5 = [40 x i8] c"\0A\09Email me: vincentfiestada@hotmail.com\00"
@.str.6 = [303 x i8] c"\0A\0A\09INSTRUCTIONS:\0A\09Your goal is to destroy as many tiles as possible \0A\09by swapping them with adjacent tiles to create rows\0A\09or columns of %d or more identical tiles. Enter your\0A\09move in this format:\0A\09X Y DIRECTION\0A\09W for Up, S for Down, D for Right, A for Left.\0A\0A\09Enter 0 0 0 to quit a game in progress.\00"
define void @info() {
%1 = tail call i32 (...) @clearscreen()
%2 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([24 x i8], [24 x i8]* @.str.2, i64 0, i64 0))
%5 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @.str.3, i64 0, i64 0))
%6 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @.str.4, i64 0, i64 0))
%7 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([40 x i8], [40 x i8]* @.str.5, i64 0, i64 0))
%8 = tail call i32 (i8*, ...) @printf(i8* dereferenceable(1) getelementptr inbounds ([303 x i8], [303 x i8]* @.str.6, i64 0, i64 0), i32 3)
ret void
}