// File: /workspace/github_cpp_makefile_star2_O2/nickgammon[P]tinymudserver/player.cpp
// Function: tPlayer::GetPlayer(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool const&)
tPlayer * tPlayer::GetPlayer (istream & args, const string & noNameMessage, const bool & notme)
{
  string name;
  args >> name;  
  if (name.empty ())
    throw runtime_error (noNameMessage);
  tPlayer * p = this;
  if (ciStringEqual (name, "me") || ciStringEqual (name, "self"))
    p = this;
  else
    p = FindPlayer (name);
  if (p == NULL)
    throw runtime_error (MAKE_STRING ("Player " << tocapitals (name) << " is not connected."));
  if (notme && p == this)
    throw runtime_error ("You cannot do that to yourself.");
  return p;  
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rcx, %rbx
movq %rdx, %r15
movq %rsi, %rax
movq %rdi, %r14
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
andq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
leaq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x33c0
cmpq $0x0, -0x40(%rbp)
je 0x4a68
leaq 0x912c(%rip), %rsi      # 0xdae0
leaq -0x200(%rbp), %rdi
leaq -0x88(%rbp), %rdx
callq 0x43b6
leaq -0x48(%rbp), %rdi
leaq -0x200(%rbp), %rsi
callq 0x4637
testb %al, %al
je 0x49ec
leaq -0x200(%rbp), %rdi
callq 0x35c8
movq %r14, %r15
jmp 0x4a42
leaq 0x871d(%rip), %rsi      # 0xd110
leaq -0x68(%rbp), %rdi
leaq -0x21(%rbp), %rdx
callq 0x43b6
leaq -0x48(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x4637
movl %eax, %r12d
leaq -0x68(%rbp), %rdi
callq 0x35c8
leaq -0x200(%rbp), %rdi
callq 0x35c8
movq %r14, %r15
testb %r12b, %r12b
jne 0x4a42
leaq -0x48(%rbp), %rdi
callq 0x48f8
movq %rax, %r15
testq %rax, %rax
je 0x4ace
cmpq %r14, %r15
jne 0x4a4c
cmpb $0x0, (%rbx)
jne 0x4a99
leaq -0x48(%rbp), %rdi
callq 0x35c8
movq %r15, %rax
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
pushq $0x10
popq %rdi
callq 0x31b0
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3490
movq 0xf56b(%rip), %rsi      # 0x13ff0
movq 0xf52c(%rip), %rdx      # 0x13fb8
movq %rbx, %rdi
callq 0x34e0
jmp 0x4b75
pushq $0x10
popq %rdi
callq 0x31b0
movq %rax, %rbx
leaq 0x8685(%rip), %rsi      # 0xd130
movq %rax, %rdi
callq 0x3140
movq 0xf536(%rip), %rsi      # 0x13ff0
movq 0xf4f7(%rip), %rdx      # 0x13fb8
movq %rbx, %rdi
callq 0x34e0
jmp 0x4b75
pushq $0x10
popq %rdi
callq 0x31b0
movq %rax, %rbx
leaq -0x200(%rbp), %rdi
callq 0x33f0
leaq -0x200(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
orl $0x1, -0x1e8(%rbp,%rax)
leaq 0x8613(%rip), %rsi      # 0xd115
callq 0x3310
leaq -0x88(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x45f8
leaq -0x200(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x32e0
leaq 0x85ec(%rip), %rsi      # 0xd11d
leaq -0x200(%rbp), %rdi
callq 0x3310
leaq -0x1f8(%rbp), %rsi
leaq -0x68(%rbp), %rdi
callq 0x3470
movb $0x1, %r15b
leaq -0x68(%rbp), %rsi
movq %rbx, %rdi
callq 0x3490
xorl %r15d, %r15d
movq 0xf48a(%rip), %rsi      # 0x13ff0
movq 0xf44b(%rip), %rdx      # 0x13fb8
movq %rbx, %rdi
callq 0x34e0
movq %rax, %r14
leaq -0x68(%rbp), %rdi
callq 0x35c8
jmp 0x4b89
movq %rax, %r14
movb $0x1, %r15b
leaq -0x88(%rbp), %rdi
callq 0x35c8
jmp 0x4b9f
jmp 0x4b99
movq %rax, %r14
movb $0x1, %r15b
leaq -0x200(%rbp), %rdi
callq 0x30b0
testb %r15b, %r15b
jne 0x4bc9
jmp 0x4beb
jmp 0x4bc6
movq %rax, %r14
leaq -0x68(%rbp), %rdi
callq 0x35c8
jmp 0x4bd8
jmp 0x4bc6
jmp 0x4bd5
movq %rax, %r14
movq %rbx, %rdi
callq 0x3270
jmp 0x4beb
jmp 0x4be8
movq %rax, %r14
leaq -0x200(%rbp), %rdi
callq 0x35c8
jmp 0x4beb
jmp 0x4be8
movq %rax, %r14
leaq -0x48(%rbp), %rdi
callq 0x35c8
movq %r14, %rdi
callq 0x3500