// File: /workspace/github_cpp_makefile_star2_O1/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 %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp            # imm = 0x208
movq %rcx, -0x50(%rbp)
movq %rdx, %r15
movq %rsi, %rax
movq %rdi, %r14
leaq -0x38(%rbp), %rcx
movq %rcx, -0x10(%rcx)
movq $0x0, -0x8(%rcx)
movb $0x0, (%rcx)
leaq -0x48(%rbp), %rsi
movq %rax, %rdi
callq 0x33b0
cmpq $0x0, -0x40(%rbp)
je 0x5463
leaq -0x218(%rbp), %r13
movq %r13, -0x10(%r13)
leaq 0xb77d(%rip), %rsi      # 0x10af2
leaq 0xb778(%rip), %rdx      # 0x10af4
leaq -0x228(%rbp), %rdi
callq 0x4bc4
leaq -0x48(%rbp), %rdi
leaq -0x228(%rbp), %rsi
callq 0x4f0d
movl %eax, %r12d
movb $0x1, %r15b
testb %al, %al
jne 0x53d1
leaq -0x60(%rbp), %rbx
movq %rbx, -0x10(%rbx)
leaq 0xada2(%rip), %rsi      # 0x10153
leaq 0xad9f(%rip), %rdx      # 0x10157
leaq -0x70(%rbp), %rdi
callq 0x4bc4
leaq -0x48(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x4f0d
movl %eax, %r15d
testb %r12b, %r12b
jne 0x53ef
leaq -0x60(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x53ef
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x32f0
movq -0x228(%rbp), %rdi
cmpq %r13, %rdi
je 0x540a
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %r14, %r12
testb %r15b, %r15b
jne 0x541e
leaq -0x48(%rbp), %rdi
callq 0x527c
movq %rax, %r12
testq %r12, %r12
je 0x5496
cmpq %r14, %r12
jne 0x5435
movq -0x50(%rbp), %rax
cmpb $0x0, (%rax)
jne 0x5558
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x544e
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %r12, %rax
addq $0x208, %rsp            # imm = 0x208
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x10, %edi
callq 0x3180
movq %rax, %rbx
movq %rax, %rdi
movq %r15, %rsi
callq 0x3490
movq 0x10b6e(%rip), %rsi     # 0x15ff0
movq 0x10b27(%rip), %rdx     # 0x15fb0
movq %rbx, %rdi
callq 0x3500
jmp 0x558a
movl $0x10, %edi
callq 0x3180
movq %rax, %rbx
leaq -0x228(%rbp), %rdi
callq 0x33d0
leaq -0x228(%rbp), %rdi
movq (%rdi), %rax
movq -0x18(%rax), %rax
orl $0x1, -0x210(%rbp,%rax)
leaq 0xac8c(%rip), %rsi      # 0x10158
movl $0x7, %edx
callq 0x3370
leaq -0x90(%rbp), %rdi
leaq -0x48(%rbp), %rsi
callq 0x4e91
movq -0x90(%rbp), %rsi
movq -0x88(%rbp), %rdx
leaq -0x228(%rbp), %rdi
callq 0x3370
leaq 0xac59(%rip), %rsi      # 0x10160
leaq -0x228(%rbp), %rdi
movl $0x12, %edx
callq 0x3370
leaq -0x220(%rbp), %rsi
leaq -0xb0(%rbp), %rdi
callq 0x3480
movb $0x1, %r15b
leaq -0xb0(%rbp), %rsi
movq %rbx, %rdi
callq 0x3490
xorl %r15d, %r15d
movq 0x10aa9(%rip), %rsi     # 0x15ff0
movq 0x10a62(%rip), %rdx     # 0x15fb0
movq %rbx, %rdi
callq 0x3500
jmp 0x558a
movl $0x10, %edi
callq 0x3180
movq %rax, %rbx
leaq 0xac07(%rip), %rsi      # 0x10173
movq %rax, %rdi
callq 0x3130
movq 0x10a75(%rip), %rsi     # 0x15ff0
movq 0x10a2e(%rip), %rdx     # 0x15fb0
movq %rbx, %rdi
callq 0x3500
movq %rax, %r14
leaq -0xa0(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x55b4
movq -0xa0(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x55b4
movq %rax, %r14
movb $0x1, %r15b
leaq -0x80(%rbp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x55d7
movq -0x80(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x55d7
jmp 0x55d1
movq %rax, %r14
movb $0x1, %r15b
movq 0x109da(%rip), %rsi     # 0x15fb8
leaq -0x228(%rbp), %rdi
callq 0x3190
leaq -0x1b8(%rbp), %rdi
callq 0x3110
jmp 0x5600
jmp 0x5623
movq %rax, %r14
movb $0x1, %r15b
testb %r15b, %r15b
jne 0x5626
jmp 0x5657
movq %rax, %r14
movq -0x70(%rbp), %rdi
cmpq %rbx, %rdi
je 0x5635
movq -0x60(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x5635
jmp 0x5632
movq %rax, %r14
movq %rbx, %rdi
callq 0x3250
jmp 0x5657
jmp 0x5654
movq %rax, %r14
movq -0x228(%rbp), %rdi
cmpq %r13, %rdi
je 0x5657
movq -0x218(%rbp), %rsi
incq %rsi
callq 0x32f0
jmp 0x5657
jmp 0x5654
movq %rax, %r14
movq -0x48(%rbp), %rdi
leaq -0x38(%rbp), %rax
cmpq %rax, %rdi
je 0x5670
movq -0x38(%rbp), %rsi
incq %rsi
callq 0x32f0
movq %r14, %rdi
callq 0x3530