// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
movq 0x19d75(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
callq 0x6110
movq 0x19d66(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x132e6(%rip), %rsi     # 0x2c54a
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19d4b(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x1330c(%rip), %rsi     # 0x2c58b
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19d30(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x13332(%rip), %rsi     # 0x2c5cc
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19d15(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x13358(%rip), %rsi     # 0x2c60d
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19cfa(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x1337e(%rip), %rsi     # 0x2c64e
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19cdf(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x133a4(%rip), %rsi     # 0x2c68f
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19cc4(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x133ca(%rip), %rsi     # 0x2c6d0
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19ca9(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x133f0(%rip), %rsi     # 0x2c711
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19c8e(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x1320e(%rip), %rsi     # 0x2c54a
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19c73(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x133fb(%rip), %rsi     # 0x2c752
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19c58(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x13421(%rip), %rsi     # 0x2c793
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19c3d(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x13446(%rip), %rsi     # 0x2c7d3
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19c22(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x13470(%rip), %rsi     # 0x2c818
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19c07(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
movq 0x19c1d(%rip), %rax     # 0x32fe0
movl (%rax), %esi
subl $0x1, %esi
xorl %edx, %edx
callq 0x6490
cmpl $-0x1, %eax
jne 0x193d6
jmp 0x193f1
movq 0x19be3(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
leaq 0x19f29(%rip), %rsi     # 0x33310
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x6560
movq 0x19bc8(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
callq 0x61f0
movq 0x19bb9(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
movl $0x20, %esi
callq 0xdbc0
movq 0x19ba5(%rip), %rax     # 0x32fc0
movq (%rax), %rdi
callq 0x6110
leaq 0x1d8b2(%rip), %rax     # 0x36cdc
movl (%rax), %eax
movl %eax, 0x22efe(%rip)     # 0x3c330
movl $0x1, %edi
xorl %eax, %eax
movl %eax, %esi
callq 0x18d20
leaq 0x1d895(%rip), %rax     # 0x36cdc
movl (%rax), %edi
movl $0x2, %esi
xorl %edx, %edx
callq 0x18640
xorl %edi, %edi
movb $0x0, %al
callq 0xeef0
popq %rbp
retq