#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*/ clrscr();
int /*<<< orphan*/ gotoxy(int, int /*<<< orphan*/);
int /*<<< orphan*/ printf(char *);
int /*<<< orphan*/ waitForAnyKey();
void gameOverScreen(void) {
  int x = 17, y = 3;
  gotoxy(x, y++);
  printf(":'######::::::'###::::'##::::'##:'########:\n");
  gotoxy(x, y++);
  printf("'##... ##::::'## ##::: ###::'###: ##.....::\n");
  gotoxy(x, y++);
  printf(" ##:::..::::'##:. ##:: ####'####: ##:::::::\n");
  gotoxy(x, y++);
  printf(" ##::'####:'##:::. ##: ## ### ##: ######:::\n");
  gotoxy(x, y++);
  printf(" ##::: ##:: #########: ##. #: ##: ##...::::\n");
  gotoxy(x, y++);
  printf(" ##::: ##:: ##.... ##: ##:.:: ##: ##:::::::\n");
  gotoxy(x, y++);
  printf(". ######::: ##:::: ##: ##:::: ##: ########:\n");
  gotoxy(x, y++);
  printf(":......::::..:::::..::..:::::..::........::\n");
  gotoxy(x, y++);
  printf(":'#######::'##::::'##:'########:'########::'####:\n");
  gotoxy(x, y++);
  printf("'##.... ##: ##:::: ##: ##.....:: ##.... ##: ####:\n");
  gotoxy(x, y++);
  printf(" ##:::: ##: ##:::: ##: ##::::::: ##:::: ##: ####:\n");
  gotoxy(x, y++);
  printf(" ##:::: ##: ##:::: ##: ######::: ########::: ##::\n");
  gotoxy(x, y++);
  printf(" ##:::: ##:. ##:: ##:: ##...:::: ##.. ##::::..:::\n");
  gotoxy(x, y++);
  printf(" ##:::: ##::. ## ##::: ##::::::: ##::. ##::'####:\n");
  gotoxy(x, y++);
  printf(". #######::::. ###:::: ########: ##:::. ##: ####:\n");
  gotoxy(x, y++);
  printf(":.......::::::...:::::........::..:::::..::....::\n");
  waitForAnyKey();
  clrscr();
  return;
}


x86 assembly (clang, -O0):
<gameOverScreen>:
push   %rbp
mov    %rsp,%rbp
sub    $0x10,%rsp
movl   $0x11,-0x4(%rbp)
movl   $0x3,-0x8(%rbp)
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xe90(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xe9e(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xeac(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xeba(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xec8(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xed6(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xee4(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xef2(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xf00(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xf14(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xf28(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xf3c(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xf50(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xf64(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xf78(%rip),%rdi
call   1040 <printf@plt>
mov    -0x4(%rbp),%edi
mov    -0x8(%rbp),%esi
mov    %esi,%eax
add    $0x1,%eax
mov    %eax,-0x8(%rbp)
call   1060 <gotoxy@plt>
lea    0xf8c(%rip),%rdi
call   1040 <printf@plt>
mov    $0x0,%al
call   1050 <waitForAnyKey@plt>
mov    $0x0,%al
call   1030 <clrscr@plt>
add    $0x10,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<gameOverScreen>:
push   %rax
mov    $0x11,%edi
mov    $0x3,%esi
call   1060 <gotoxy@plt>
lea    0xea9(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x4,%esi
call   1060 <gotoxy@plt>
lea    0xeba(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x5,%esi
call   1060 <gotoxy@plt>
lea    0xecb(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x6,%esi
call   1060 <gotoxy@plt>
lea    0xedc(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x7,%esi
call   1060 <gotoxy@plt>
lea    0xeed(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x8,%esi
call   1060 <gotoxy@plt>
lea    0xefe(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x9,%esi
call   1060 <gotoxy@plt>
lea    0xf0f(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0xa,%esi
call   1060 <gotoxy@plt>
lea    0xf20(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0xb,%esi
call   1060 <gotoxy@plt>
lea    0xf31(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0xc,%esi
call   1060 <gotoxy@plt>
lea    0xf48(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0xd,%esi
call   1060 <gotoxy@plt>
lea    0xf5f(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0xe,%esi
call   1060 <gotoxy@plt>
lea    0xf76(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0xf,%esi
call   1060 <gotoxy@plt>
lea    0xf8d(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x10,%esi
call   1060 <gotoxy@plt>
lea    0xfa4(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x11,%esi
call   1060 <gotoxy@plt>
lea    0xfbb(%rip),%rdi
call   1040 <puts@plt>
mov    $0x11,%edi
mov    $0x12,%esi
call   1060 <gotoxy@plt>
lea    0xfd2(%rip),%rdi
call   1040 <puts@plt>
xor    %eax,%eax
call   1050 <waitForAnyKey@plt>
xor    %eax,%eax
pop    %rcx
jmp    1030 <clrscr@plt>

LLVM IR (-O0):
@.str = [45 x i8] c":'######::::::'###::::'##::::'##:'########:\0A\00"
@.str.1 = [45 x i8] c"'##... ##::::'## ##::: ###::'###: ##.....::\0A\00"
@.str.2 = [45 x i8] c" ##:::..::::'##:. ##:: ####'####: ##:::::::\0A\00"
@.str.3 = [45 x i8] c" ##::'####:'##:::. ##: ## ### ##: ######:::\0A\00"
@.str.4 = [45 x i8] c" ##::: ##:: #########: ##. #: ##: ##...::::\0A\00"
@.str.5 = [45 x i8] c" ##::: ##:: ##.... ##: ##:.:: ##: ##:::::::\0A\00"
@.str.6 = [45 x i8] c". ######::: ##:::: ##: ##:::: ##: ########:\0A\00"
@.str.7 = [45 x i8] c":......::::..:::::..::..:::::..::........::\0A\00"
@.str.8 = [51 x i8] c":'#######::'##::::'##:'########:'########::'####:\0A\00"
@.str.9 = [51 x i8] c"'##.... ##: ##:::: ##: ##.....:: ##.... ##: ####:\0A\00"
@.str.10 = [51 x i8] c" ##:::: ##: ##:::: ##: ##::::::: ##:::: ##: ####:\0A\00"
@.str.11 = [51 x i8] c" ##:::: ##: ##:::: ##: ######::: ########::: ##::\0A\00"
@.str.12 = [51 x i8] c" ##:::: ##:. ##:: ##:: ##...:::: ##.. ##::::..:::\0A\00"
@.str.13 = [51 x i8] c" ##:::: ##::. ## ##::: ##::::::: ##::. ##::'####:\0A\00"
@.str.14 = [51 x i8] c". #######::::. ###:::: ########: ##:::. ##: ####:\0A\00"
@.str.15 = [51 x i8] c":.......::::::...:::::........::..:::::..::....::\0A\00"
define void @gameOverScreen() {
%1 = alloca i32
%2 = alloca i32
store i32 17, i32* %1
store i32 3, i32* %2
%3 = load i32, i32* %1
%4 = load i32, i32* %2
%5 = add nsw i32 %4, 1
store i32 %5, i32* %2
%6 = call i32 @gotoxy(i32 %3, i32 %4)
%7 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str, i64 0, i64 0))
%8 = load i32, i32* %1
%9 = load i32, i32* %2
%10 = add nsw i32 %9, 1
store i32 %10, i32* %2
%11 = call i32 @gotoxy(i32 %8, i32 %9)
%12 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.1, i64 0, i64 0))
%13 = load i32, i32* %1
%14 = load i32, i32* %2
%15 = add nsw i32 %14, 1
store i32 %15, i32* %2
%16 = call i32 @gotoxy(i32 %13, i32 %14)
%17 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.2, i64 0, i64 0))
%18 = load i32, i32* %1
%19 = load i32, i32* %2
%20 = add nsw i32 %19, 1
store i32 %20, i32* %2
%21 = call i32 @gotoxy(i32 %18, i32 %19)
%22 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0))
%23 = load i32, i32* %1
%24 = load i32, i32* %2
%25 = add nsw i32 %24, 1
store i32 %25, i32* %2
%26 = call i32 @gotoxy(i32 %23, i32 %24)
%27 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.4, i64 0, i64 0))
%28 = load i32, i32* %1
%29 = load i32, i32* %2
%30 = add nsw i32 %29, 1
store i32 %30, i32* %2
%31 = call i32 @gotoxy(i32 %28, i32 %29)
%32 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.5, i64 0, i64 0))
%33 = load i32, i32* %1
%34 = load i32, i32* %2
%35 = add nsw i32 %34, 1
store i32 %35, i32* %2
%36 = call i32 @gotoxy(i32 %33, i32 %34)
%37 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.6, i64 0, i64 0))
%38 = load i32, i32* %1
%39 = load i32, i32* %2
%40 = add nsw i32 %39, 1
store i32 %40, i32* %2
%41 = call i32 @gotoxy(i32 %38, i32 %39)
%42 = call i32 @printf(i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.7, i64 0, i64 0))
%43 = load i32, i32* %1
%44 = load i32, i32* %2
%45 = add nsw i32 %44, 1
store i32 %45, i32* %2
%46 = call i32 @gotoxy(i32 %43, i32 %44)
%47 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.8, i64 0, i64 0))
%48 = load i32, i32* %1
%49 = load i32, i32* %2
%50 = add nsw i32 %49, 1
store i32 %50, i32* %2
%51 = call i32 @gotoxy(i32 %48, i32 %49)
%52 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.9, i64 0, i64 0))
%53 = load i32, i32* %1
%54 = load i32, i32* %2
%55 = add nsw i32 %54, 1
store i32 %55, i32* %2
%56 = call i32 @gotoxy(i32 %53, i32 %54)
%57 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.10, i64 0, i64 0))
%58 = load i32, i32* %1
%59 = load i32, i32* %2
%60 = add nsw i32 %59, 1
store i32 %60, i32* %2
%61 = call i32 @gotoxy(i32 %58, i32 %59)
%62 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.11, i64 0, i64 0))
%63 = load i32, i32* %1
%64 = load i32, i32* %2
%65 = add nsw i32 %64, 1
store i32 %65, i32* %2
%66 = call i32 @gotoxy(i32 %63, i32 %64)
%67 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.12, i64 0, i64 0))
%68 = load i32, i32* %1
%69 = load i32, i32* %2
%70 = add nsw i32 %69, 1
store i32 %70, i32* %2
%71 = call i32 @gotoxy(i32 %68, i32 %69)
%72 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.13, i64 0, i64 0))
%73 = load i32, i32* %1
%74 = load i32, i32* %2
%75 = add nsw i32 %74, 1
store i32 %75, i32* %2
%76 = call i32 @gotoxy(i32 %73, i32 %74)
%77 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.14, i64 0, i64 0))
%78 = load i32, i32* %1
%79 = load i32, i32* %2
%80 = add nsw i32 %79, 1
store i32 %80, i32* %2
%81 = call i32 @gotoxy(i32 %78, i32 %79)
%82 = call i32 @printf(i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.15, i64 0, i64 0))
%83 = call i32 (...) @waitForAnyKey()
%84 = call i32 (...) @clrscr()
ret void
}

LLVM IR (-O2):
@str = [44 x i8] c":'######::::::'###::::'##::::'##:'########:\00"
@str.16 = [44 x i8] c"'##... ##::::'## ##::: ###::'###: ##.....::\00"
@str.17 = [44 x i8] c" ##:::..::::'##:. ##:: ####'####: ##:::::::\00"
@str.18 = [44 x i8] c" ##::'####:'##:::. ##: ## ### ##: ######:::\00"
@str.19 = [44 x i8] c" ##::: ##:: #########: ##. #: ##: ##...::::\00"
@str.20 = [44 x i8] c" ##::: ##:: ##.... ##: ##:.:: ##: ##:::::::\00"
@str.21 = [44 x i8] c". ######::: ##:::: ##: ##:::: ##: ########:\00"
@str.22 = [44 x i8] c":......::::..:::::..::..:::::..::........::\00"
@str.23 = [50 x i8] c":'#######::'##::::'##:'########:'########::'####:\00"
@str.24 = [50 x i8] c"'##.... ##: ##:::: ##: ##.....:: ##.... ##: ####:\00"
@str.25 = [50 x i8] c" ##:::: ##: ##:::: ##: ##::::::: ##:::: ##: ####:\00"
@str.26 = [50 x i8] c" ##:::: ##: ##:::: ##: ######::: ########::: ##::\00"
@str.27 = [50 x i8] c" ##:::: ##:. ##:: ##:: ##...:::: ##.. ##::::..:::\00"
@str.28 = [50 x i8] c" ##:::: ##::. ## ##::: ##::::::: ##::. ##::'####:\00"
@str.29 = [50 x i8] c". #######::::. ###:::: ########: ##:::. ##: ####:\00"
@str.30 = [50 x i8] c":.......::::::...:::::........::..:::::..::....::\00"
define void @gameOverScreen() {
%1 = tail call i32 @gotoxy(i32 17, i32 3)
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str, i64 0, i64 0))
%3 = tail call i32 @gotoxy(i32 17, i32 4)
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.16, i64 0, i64 0))
%5 = tail call i32 @gotoxy(i32 17, i32 5)
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.17, i64 0, i64 0))
%7 = tail call i32 @gotoxy(i32 17, i32 6)
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.18, i64 0, i64 0))
%9 = tail call i32 @gotoxy(i32 17, i32 7)
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.19, i64 0, i64 0))
%11 = tail call i32 @gotoxy(i32 17, i32 8)
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.20, i64 0, i64 0))
%13 = tail call i32 @gotoxy(i32 17, i32 9)
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.21, i64 0, i64 0))
%15 = tail call i32 @gotoxy(i32 17, i32 10)
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([44 x i8], [44 x i8]* @str.22, i64 0, i64 0))
%17 = tail call i32 @gotoxy(i32 17, i32 11)
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.23, i64 0, i64 0))
%19 = tail call i32 @gotoxy(i32 17, i32 12)
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.24, i64 0, i64 0))
%21 = tail call i32 @gotoxy(i32 17, i32 13)
%22 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.25, i64 0, i64 0))
%23 = tail call i32 @gotoxy(i32 17, i32 14)
%24 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.26, i64 0, i64 0))
%25 = tail call i32 @gotoxy(i32 17, i32 15)
%26 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.27, i64 0, i64 0))
%27 = tail call i32 @gotoxy(i32 17, i32 16)
%28 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.28, i64 0, i64 0))
%29 = tail call i32 @gotoxy(i32 17, i32 17)
%30 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.29, i64 0, i64 0))
%31 = tail call i32 @gotoxy(i32 17, i32 18)
%32 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([50 x i8], [50 x i8]* @str.30, i64 0, i64 0))
%33 = tail call i32 (...) @waitForAnyKey()
%34 = tail call i32 (...) @clrscr()
ret void
}