// File: tewalds[P]pentagod/gtpgeneral.cpp
// Function: PentagoGTP::won_str[abi:cxx11](int) const
string PentagoGTP::won_str(int outcome) const {
	switch(outcome){
		case -3: return "none";
		case -2: return "black_or_draw";
		case -1: return "white_or_draw";
		case 0:  return "draw";
		case 1:  return "white";
		case 2:  return "black";
		case 3:  return "draw by simultaneous win";
		default: return "unknown";
	}
}

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x40(%rsp)
movq %rdi, %rax
movq %rax, 0x48(%rsp)
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movl %edx, 0x74(%rsp)
movl 0x74(%rsp), %eax
addl $0x3, %eax
movl %eax, %ecx
movq %rcx, 0x50(%rsp)
subl $0x6, %eax
ja 0x13680
movq 0x50(%rsp), %rax
leaq 0x2ab3c(%rip), %rcx     # 0x3df74
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x73(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x38(%rsp), %rdx
leaq 0x2a611(%rip), %rsi     # 0x3da72
callq 0x44d0
jmp 0x13468
leaq 0x73(%rsp), %rdi
callq 0x43f0
jmp 0x136cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x73(%rsp), %rdi
callq 0x43f0
jmp 0x136d8
leaq 0x63(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rdx
leaq 0x2aadc(%rip), %rsi     # 0x3df90
callq 0x44d0
jmp 0x134bb
leaq 0x63(%rsp), %rdi
callq 0x43f0
jmp 0x136cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x63(%rsp), %rdi
callq 0x43f0
jmp 0x136d8
leaq 0x62(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rdx
leaq 0x2aa97(%rip), %rsi     # 0x3df9e
callq 0x44d0
jmp 0x1350e
leaq 0x62(%rsp), %rdi
callq 0x43f0
jmp 0x136cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x62(%rsp), %rdi
callq 0x43f0
jmp 0x136d8
leaq 0x61(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rdx
leaq 0x2aa4d(%rip), %rsi     # 0x3dfa7
callq 0x44d0
jmp 0x13561
leaq 0x61(%rsp), %rdi
callq 0x43f0
jmp 0x136cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x61(%rsp), %rdi
callq 0x43f0
jmp 0x136d8
leaq 0x60(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rdx
leaq 0x29f9e(%rip), %rsi     # 0x3d54b
callq 0x44d0
jmp 0x135b4
leaq 0x60(%rsp), %rdi
callq 0x43f0
jmp 0x136cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x43f0
jmp 0x136d8
leaq 0x5f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x10(%rsp), %rdx
leaq 0x29f77(%rip), %rsi     # 0x3d577
callq 0x44d0
jmp 0x13607
leaq 0x5f(%rsp), %rdi
callq 0x43f0
jmp 0x136cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x5f(%rsp), %rdi
callq 0x43f0
jmp 0x136d8
leaq 0x5e(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x8(%rsp), %rdx
leaq 0x2a959(%rip), %rsi     # 0x3dfac
callq 0x44d0
jmp 0x1365a
leaq 0x5e(%rsp), %rdi
callq 0x43f0
jmp 0x136cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x5e(%rsp), %rdi
callq 0x43f0
jmp 0x136d8
leaq 0x5d(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq (%rsp), %rdx
leaq 0x2a3cc(%rip), %rsi     # 0x3da6a
callq 0x44d0
jmp 0x136a5
leaq 0x5d(%rsp), %rdi
callq 0x43f0
jmp 0x136cb
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x5d(%rsp), %rdi
callq 0x43f0
jmp 0x136d8
movq 0x48(%rsp), %rax
addq $0x88, %rsp
retq
movq 0x68(%rsp), %rdi
callq 0x4660
nopw %cs:(%rax,%rax)