#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*/ COLOR_PAIR(int);
int /*<<< orphan*/ attroff(int /*<<< orphan*/);
int /*<<< orphan*/ attron(int /*<<< orphan*/);
int /*<<< orphan*/ erase();
int /*<<< orphan*/ getch();
int /*<<< orphan*/ mvprintw(int, int, char *);
void title() {
  erase();
  mvprintw(3, 24, "Press any key to become DICTATOR");
  mvprintw(5, 24, "             of the             ");
  attron(COLOR_PAIR(40));
  mvprintw(8, 24, "            RITIMBAN            ");
  mvprintw(14, 24, "            REPUBLIC            ");
  attron(COLOR_PAIR(60));
  mvprintw(10, 24, "             ******             ");
  mvprintw(11, 24, "               **               ");
  mvprintw(12, 24, "             ******             ");
  attroff(COLOR_PAIR(60));
  getch();
}


x86 assembly (clang, -O0):
<title>:
push   %rbp
mov    %rsp,%rbp
mov    $0x0,%al
call   1040 <erase@plt>
mov    $0x3,%edi
mov    $0x18,%esi
lea    0xe84(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0x5,%edi
mov    $0x18,%esi
lea    0xe8f(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0x28,%edi
call   1060 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1050 <attron@plt>
mov    $0x8,%edi
mov    $0x18,%esi
lea    0xe89(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0xe,%edi
mov    $0x18,%esi
lea    0xe94(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0x3c,%edi
call   1060 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1050 <attron@plt>
mov    $0xa,%edi
mov    $0x18,%esi
lea    0xe8e(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0xb,%edi
mov    $0x18,%esi
lea    0xe99(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0xc,%edi
mov    $0x18,%esi
lea    0xe62(%rip),%rdx
call   1080 <mvprintw@plt>
mov    $0x3c,%edi
call   1060 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1030 <attroff@plt>
mov    $0x0,%al
call   1070 <getch@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<title>:
push   %rbx
xor    %eax,%eax
call   1040 <erase@plt>
lea    0xe91(%rip),%rdx
mov    $0x3,%edi
mov    $0x18,%esi
call   1080 <mvprintw@plt>
lea    0xe9c(%rip),%rdx
mov    $0x5,%edi
mov    $0x18,%esi
call   1080 <mvprintw@plt>
mov    $0x28,%edi
call   1060 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1050 <attron@plt>
lea    0xe96(%rip),%rdx
mov    $0x8,%edi
mov    $0x18,%esi
call   1080 <mvprintw@plt>
lea    0xea1(%rip),%rdx
mov    $0xe,%edi
mov    $0x18,%esi
call   1080 <mvprintw@plt>
mov    $0x3c,%edi
call   1060 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1050 <attron@plt>
lea    0xe9b(%rip),%rbx
mov    $0xa,%edi
mov    $0x18,%esi
mov    %rbx,%rdx
call   1080 <mvprintw@plt>
lea    0xea3(%rip),%rdx
mov    $0xb,%edi
mov    $0x18,%esi
call   1080 <mvprintw@plt>
mov    $0xc,%edi
mov    $0x18,%esi
mov    %rbx,%rdx
call   1080 <mvprintw@plt>
mov    $0x3c,%edi
call   1060 <COLOR_PAIR@plt>
mov    %eax,%edi
call   1030 <attroff@plt>
xor    %eax,%eax
pop    %rbx
jmp    1070 <getch@plt>

LLVM IR (-O0):
@.str = [33 x i8] c"Press any key to become DICTATOR\00"
@.str.1 = [33 x i8] c" of the \00"
@.str.2 = [33 x i8] c" RITIMBAN \00"
@.str.3 = [33 x i8] c" REPUBLIC \00"
@.str.4 = [33 x i8] c" ****** \00"
@.str.5 = [33 x i8] c" ** \00"
define void @title() {
%1 = call i32 (...) @erase()
%2 = call i32 @mvprintw(i32 3, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%3 = call i32 @mvprintw(i32 5, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%4 = call i32 @COLOR_PAIR(i32 40)
%5 = call i32 @attron(i32 %4)
%6 = call i32 @mvprintw(i32 8, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
%7 = call i32 @mvprintw(i32 14, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%8 = call i32 @COLOR_PAIR(i32 60)
%9 = call i32 @attron(i32 %8)
%10 = call i32 @mvprintw(i32 10, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%11 = call i32 @mvprintw(i32 11, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%12 = call i32 @mvprintw(i32 12, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%13 = call i32 @COLOR_PAIR(i32 60)
%14 = call i32 @attroff(i32 %13)
%15 = call i32 (...) @getch()
ret void
}

LLVM IR (-O2):
@.str = [33 x i8] c"Press any key to become DICTATOR\00"
@.str.1 = [33 x i8] c" of the \00"
@.str.2 = [33 x i8] c" RITIMBAN \00"
@.str.3 = [33 x i8] c" REPUBLIC \00"
@.str.4 = [33 x i8] c" ****** \00"
@.str.5 = [33 x i8] c" ** \00"
define void @title() {
%1 = tail call i32 (...) @erase()
%2 = tail call i32 @mvprintw(i32 3, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str, i64 0, i64 0))
%3 = tail call i32 @mvprintw(i32 5, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.1, i64 0, i64 0))
%4 = tail call i32 @COLOR_PAIR(i32 40)
%5 = tail call i32 @attron(i32 %4)
%6 = tail call i32 @mvprintw(i32 8, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.2, i64 0, i64 0))
%7 = tail call i32 @mvprintw(i32 14, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.3, i64 0, i64 0))
%8 = tail call i32 @COLOR_PAIR(i32 60)
%9 = tail call i32 @attron(i32 %8)
%10 = tail call i32 @mvprintw(i32 10, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%11 = tail call i32 @mvprintw(i32 11, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.5, i64 0, i64 0))
%12 = tail call i32 @mvprintw(i32 12, i32 24, i8* getelementptr inbounds ([33 x i8], [33 x i8]* @.str.4, i64 0, i64 0))
%13 = tail call i32 @COLOR_PAIR(i32 60)
%14 = tail call i32 @attroff(i32 %13)
%15 = tail call i32 (...) @getch()
ret void
}