// File: /workspace/github_c_makefile_star2_O3/ajpaulson[P]srogue11/rip.c
// Function: total_winner
void total_winner()
{
	clear();
addstr("                                                               \n");
addstr("  @   @               @   @           @          @@@  @     @  \n");
addstr("  @   @               @@ @@           @           @   @     @  \n");
addstr("  @   @  @@@  @   @   @ @ @  @@@   @@@@  @@@      @  @@@    @  \n");
addstr("   @@@@ @   @ @   @   @   @     @ @   @ @   @     @   @     @  \n");
addstr("      @ @   @ @   @   @   @  @@@@ @   @ @@@@@     @   @     @  \n");
addstr("  @   @ @   @ @  @@   @   @ @   @ @   @ @         @   @  @     \n");
addstr("   @@@   @@@   @@ @   @   @  @@@@  @@@@  @@@     @@@   @@   @  \n");
addstr("                                                               \n");
addstr("     Congratulations, you have made it to the light of day!    \n");
addstr("\nYou have joined the elite ranks of those who have escaped the\n");
addstr("Dungeons of Doom alive.  You journey home and sell all your loot at\n");
addstr("a great profit and are admitted to the fighters guild.\n");

	mvaddstr(LINES - 1, 0,spacemsg);
	refresh();
	wait_for(stdscr, ' ');
	clear();
	oldpurse = purse;
	showpack(TRUE, NULL);
	score(purse, WINNER, 0);
	byebye(0);
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq 0x167a3(%rip), %r14     # 0x29f30
movq (%r14), %rdi
callq 0x6120
movq (%r14), %rdi
leaq 0xe762(%rip), %rbx      # 0x21f01
movq %rbx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe78c(%rip), %rsi      # 0x21f42
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe7b9(%rip), %rsi      # 0x21f83
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe7e6(%rip), %rsi      # 0x21fc4
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe813(%rip), %rsi      # 0x22005
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe840(%rip), %rsi      # 0x22046
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe86d(%rip), %rsi      # 0x22087
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe89a(%rip), %rsi      # 0x220c8
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
movq %rbx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe8b7(%rip), %rsi      # 0x22109
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe8e4(%rip), %rsi      # 0x2214a
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe910(%rip), %rsi      # 0x2218a
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe941(%rip), %rsi      # 0x221cf
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
movq 0x1670e(%rip), %rax     # 0x29fb0
movl (%rax), %esi
decl %esi
xorl %edx, %edx
callq 0x6490
cmpl $-0x1, %eax
je 0x138c6
movq (%r14), %rdi
leaq 0x16a54(%rip), %rsi     # 0x2a310
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
callq 0x6200
movq (%r14), %rdi
movl $0x20, %esi
callq 0xb89e
movq (%r14), %rdi
callq 0x6120
leaq 0x19f82(%rip), %rbx     # 0x2d86c
movl (%rbx), %eax
movl %eax, 0x1f5ce(%rip)     # 0x32ec0
movl $0x1, %edi
xorl %esi, %esi
callq 0x133b2
movl (%rbx), %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x12eea
xorl %edi, %edi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xc65c