// File: tewalds[P]pentagod/agentmcts.cpp
// Function: AgentMCTS::statestring[abi:cxx11]()
string AgentMCTS::statestring(){
	switch(threadstate){
	case Thread_Cancelled:  return "Thread_Wait_Cancelled";
	case Thread_Wait_Start: return "Thread_Wait_Start";
	case Thread_Wait_Start_Cancelled: return "Thread_Wait_Start_Cancelled";
	case Thread_Running:    return "Thread_Running";
	case Thread_GC:         return "Thread_GC";
	case Thread_GC_End:     return "Thread_GC_End";
	case Thread_Wait_End:   return "Thread_Wait_End";
	}
	return "Thread_State_Unknown!!!";
}

// Assembly:
subq $0x88, %rsp
movq %rdi, 0x40(%rsp)
movq %rdi, %rax
movq %rax, 0x48(%rsp)
movq %rdi, 0x80(%rsp)
movq %rsi, 0x78(%rsp)
movq 0x78(%rsp), %rax
movl 0xa80(%rax), %eax
movq %rax, 0x50(%rsp)
subq $0x6, %rax
ja 0x2b38f
movq 0x50(%rsp), %rax
leaq 0x1549d(%rip), %rcx     # 0x405e4
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x77(%rsp), %rdi
movq %rdi, 0x38(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x38(%rsp), %rdx
leaq 0x1565c(%rip), %rsi     # 0x407cc
callq 0x44d0
jmp 0x2b177
leaq 0x77(%rsp), %rdi
callq 0x43f0
jmp 0x2b3da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x77(%rsp), %rdi
callq 0x43f0
jmp 0x2b3e7
leaq 0x63(%rsp), %rdi
movq %rdi, 0x30(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x30(%rsp), %rdx
leaq 0x154fd(%rip), %rsi     # 0x406c0
callq 0x44d0
jmp 0x2b1ca
leaq 0x63(%rsp), %rdi
callq 0x43f0
jmp 0x2b3da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x63(%rsp), %rdi
callq 0x43f0
jmp 0x2b3e7
leaq 0x62(%rsp), %rdi
movq %rdi, 0x28(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x28(%rsp), %rdx
leaq 0x155cc(%rip), %rsi     # 0x407e2
callq 0x44d0
jmp 0x2b21d
leaq 0x62(%rsp), %rdi
callq 0x43f0
jmp 0x2b3da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x62(%rsp), %rdi
callq 0x43f0
jmp 0x2b3e7
leaq 0x61(%rsp), %rdi
movq %rdi, 0x20(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x20(%rsp), %rdx
leaq 0x15595(%rip), %rsi     # 0x407fe
callq 0x44d0
jmp 0x2b270
leaq 0x61(%rsp), %rdi
callq 0x43f0
jmp 0x2b3da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x61(%rsp), %rdi
callq 0x43f0
jmp 0x2b3e7
leaq 0x60(%rsp), %rdi
movq %rdi, 0x18(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x18(%rsp), %rdx
leaq 0x15551(%rip), %rsi     # 0x4080d
callq 0x44d0
jmp 0x2b2c3
leaq 0x60(%rsp), %rdi
callq 0x43f0
jmp 0x2b3da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x60(%rsp), %rdi
callq 0x43f0
jmp 0x2b3e7
leaq 0x5f(%rsp), %rdi
movq %rdi, 0x10(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x10(%rsp), %rdx
leaq 0x15508(%rip), %rsi     # 0x40817
callq 0x44d0
jmp 0x2b316
leaq 0x5f(%rsp), %rdi
callq 0x43f0
jmp 0x2b3da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x5f(%rsp), %rdi
callq 0x43f0
jmp 0x2b3e7
leaq 0x5e(%rsp), %rdi
movq %rdi, 0x8(%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq 0x8(%rsp), %rdx
leaq 0x154c3(%rip), %rsi     # 0x40825
callq 0x44d0
jmp 0x2b369
leaq 0x5e(%rsp), %rdi
callq 0x43f0
jmp 0x2b3da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x5e(%rsp), %rdi
callq 0x43f0
jmp 0x2b3e7
leaq 0x5d(%rsp), %rdi
movq %rdi, (%rsp)
callq 0x4670
movq 0x40(%rsp), %rdi
movq (%rsp), %rdx
leaq 0x15488(%rip), %rsi     # 0x40835
callq 0x44d0
jmp 0x2b3b4
leaq 0x5d(%rsp), %rdi
callq 0x43f0
jmp 0x2b3da
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x68(%rsp)
movl %eax, 0x64(%rsp)
leaq 0x5d(%rsp), %rdi
callq 0x43f0
jmp 0x2b3e7
movq 0x48(%rsp), %rax
addq $0x88, %rsp
retq
movq 0x68(%rsp), %rdi
callq 0x4660
nopw %cs:(%rax,%rax)