// File: /workspace/github_cpp_makefile_star2_O3/Themaister[P]umusd/player.cpp
// Function: Player::Player()
Player::Player()
{
   cmd = std::make_shared<TCPCommand>(42878);
   cmd->set_remote(*this);

   event = std::unique_ptr<EventHandler>(new EventHandler);
   dev = std::shared_ptr<Audio>(new ALSA);
   dev->set_remote(*this);

   event->add(cmd);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0xa510(%rip), %rax      # 0x15a58
movq %rax, (%rdi)
leaq 0x18(%rdi), %r14
leaq 0x40(%rdi), %r15
leaq 0x50(%rdi), %rbp
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movups %xmm0, 0x18(%rdi)
movups %xmm0, 0x28(%rdi)
xorl %eax, %eax
movq %rax, 0x38(%rdi)
movq %rbp, 0x40(%rdi)
movq %rax, 0x48(%rdi)
movb $0x0, 0x50(%rdi)
leaq 0x60(%rdi), %r13
movups %xmm0, 0x60(%rdi)
movups %xmm0, 0x70(%rdi)
movups %xmm0, 0x80(%rdi)
movups %xmm0, 0x90(%rdi)
movups %xmm0, 0xa0(%rdi)
movq %r13, %rdi
xorl %esi, %esi
callq 0xc2c2
leaq 0xb0(%rbx), %rdi
xorps %xmm0, %xmm0
movups %xmm0, 0xf0(%rbx)
movups %xmm0, 0xe0(%rbx)
movups %xmm0, 0xd0(%rbx)
movups %xmm0, 0xc0(%rbx)
movups %xmm0, 0xb0(%rbx)
xorl %esi, %esi
callq 0xc2c2
leaq 0x34(%rsp), %rdx
movl $0xa77e, (%rdx)         # imm = 0xA77E
leaq 0x10(%rsp), %rdi
leaq 0xf(%rsp), %rsi
callq 0xc45e
movaps 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x10(%rsp)
movq 0x10(%rbx), %rdi
movups %xmm0, 0x8(%rbx)
testq %rdi, %rdi
je 0xb61f
callq 0x69c2
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xb61f
callq 0x69c2
movq 0x8(%rbx), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
movl $0x38, %edi
callq 0x5390
movq %rax, %r13
movq %rax, %rdi
callq 0x9b60
leaq 0x10(%rsp), %r12
movq $0x0, (%r12)
movq %r14, %rdi
movq %r13, %rsi
callq 0xc43a
movq %r12, %rdi
callq 0xb34e
movl $0x50, %edi
callq 0x5390
movq %rax, %r13
movq %rax, %rdi
callq 0x5aec
leaq 0x10(%rsp), %rdi
movq %r13, %rsi
callq 0xc698
movaps 0x10(%rsp), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, 0x10(%rsp)
movq 0x28(%rbx), %rdi
movups %xmm0, 0x20(%rbx)
testq %rdi, %rdi
je 0xb6b1
callq 0x69c2
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xb6b1
callq 0x69c2
movq 0x20(%rbx), %rdi
movq (%rdi), %rax
movq %rbx, %rsi
callq *0x10(%rax)
movq 0x8(%rbx), %rax
movq 0x18(%rbx), %rdi
movq %rax, 0x20(%rsp)
movq 0x10(%rbx), %rax
movq %rax, 0x28(%rsp)
testq %rax, %rax
je 0xb6ee
movq 0xa8b0(%rip), %rcx      # 0x15f90
cmpb $0x0, (%rcx)
je 0xb6ea
incl 0xc(%rax)
jmp 0xb6ee
lock
incl 0xc(%rax)
leaq 0x20(%rsp), %rsi
callq 0x9c16
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0xb72e
movq 0xa887(%rip), %rax      # 0x15f90
cmpb $0x0, (%rax)
je 0xb719
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0xb723
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0xb72e
movq (%rdi), %rax
callq *0x18(%rax)
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0xb7ab
leaq 0x10(%rsp), %r13
movq %r12, %rsi
movq %r13, %rcx
callq 0x5726
movq (%r13), %r12
jmp 0xb7ab
movq %rax, %r12
movl $0x50, %esi
jmp 0xb772
movq %rax, %r12
movl $0x38, %esi
movq %r13, %rdi
callq 0x5070
jmp 0xb7ab
jmp 0xb7a8
jmp 0xb7a8
movq %rax, %r12
movq %r13, %rdi
callq 0xb382
jmp 0xb790
movq %rax, %r12
movq (%r15), %rdi
cmpq %rbp, %rdi
je 0xb7b3
movq (%rbp), %rsi
incq %rsi
callq 0x5070
jmp 0xb7b3
jmp 0xb7a8
movq %rax, %r12
movq %r15, %rdi
callq 0xc292
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0xb7c1
callq 0x69c2
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0xb7cf
callq 0x69c2
movq %r14, %rdi
callq 0xb34e
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0xb7e5
callq 0x69c2
movq %r12, %rdi
callq 0x5200
nop