// File: /workspace/github_c_makefile_star2_O1/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 0x1662d(%rip), %r14     # 0x29f30
movq (%r14), %rdi
callq 0x6120
movq (%r14), %rdi
leaq 0xe574(%rip), %rbx      # 0x21e89
movq %rbx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe59e(%rip), %rsi      # 0x21eca
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe5cb(%rip), %rsi      # 0x21f0b
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe5f8(%rip), %rsi      # 0x21f4c
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe625(%rip), %rsi      # 0x21f8d
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe652(%rip), %rsi      # 0x21fce
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe67f(%rip), %rsi      # 0x2200f
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe6ac(%rip), %rsi      # 0x22050
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
movq %rbx, %rsi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe6c9(%rip), %rsi      # 0x22091
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe6f6(%rip), %rsi      # 0x220d2
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe722(%rip), %rsi      # 0x22112
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
leaq 0xe753(%rip), %rsi      # 0x22157
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
movq 0x16598(%rip), %rax     # 0x29fb0
movl (%rax), %esi
decl %esi
xorl %edx, %edx
callq 0x6490
cmpl $-0x1, %eax
je 0x13a3c
movq (%r14), %rdi
leaq 0x168de(%rip), %rsi     # 0x2a310
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6550
movq (%r14), %rdi
callq 0x6200
movq (%r14), %rdi
movl $0x20, %esi
callq 0xb95e
movq (%r14), %rdi
callq 0x6120
leaq 0x19e0c(%rip), %rbx     # 0x2d86c
movl (%rbx), %eax
movl %eax, 0x1f458(%rip)     # 0x32ec0
movl $0x1, %edi
xorl %esi, %esi
callq 0x13523
movl (%rbx), %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x13052
xorl %edi, %edi
xorl %eax, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0xc715
nop