// File: /workspace/github_cpp_makefile_star2_O1/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 0xa724(%rip), %rax      # 0x15a20
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 0xc0a2
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 0xc0a2
leaq 0x34(%rsp), %rcx
movl $0xa77e, (%rcx)         # imm = 0xA77E
leaq 0x18(%rsp), %rdi
movq $0x0, -0x8(%rdi)
leaq 0x10(%rsp), %rsi
leaq 0xf(%rsp), %rdx
callq 0xc23e
leaq 0x10(%rsp), %r12
movq (%r12), %rsi
movq %r12, %rdi
callq 0xc2b2
movaps (%r12), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r12)
movq 0x10(%rbx), %rdi
movups %xmm0, 0x8(%rbx)
testq %rdi, %rdi
je 0xb3e2
callq 0x65e2
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xb3f1
callq 0x65e2
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 0x98b4
leaq 0x10(%rsp), %r12
movq $0x0, (%r12)
movq %r14, %rdi
movq %r13, %rsi
callq 0xc21a
movq %r12, %rdi
callq 0xb112
movl $0x50, %edi
callq 0x5390
movq %rax, %r13
movq %rax, %rdi
callq 0x5aec
leaq 0x18(%rsp), %rdi
movq %r13, -0x8(%rdi)
movq %r13, %rsi
callq 0xc48c
leaq 0x10(%rsp), %r12
movq %r12, %rdi
movq %r13, %rsi
callq 0xc458
movaps (%r12), %xmm0
xorps %xmm1, %xmm1
movaps %xmm1, (%r12)
movq 0x28(%rbx), %rdi
movups %xmm0, 0x20(%rbx)
testq %rdi, %rdi
je 0xb488
callq 0x65e2
movq 0x18(%rsp), %rdi
testq %rdi, %rdi
je 0xb497
callq 0x65e2
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 0xb4d4
movq 0xaaca(%rip), %rcx      # 0x15f90
cmpb $0x0, (%rcx)
je 0xb4d0
incl 0xc(%rax)
jmp 0xb4d4
lock
incl 0xc(%rax)
leaq 0x20(%rsp), %rsi
callq 0x996a
movq 0x28(%rsp), %rdi
testq %rdi, %rdi
je 0xb514
movq 0xaaa1(%rip), %rax      # 0x15f90
cmpb $0x0, (%rax)
je 0xb4ff
movl 0xc(%rdi), %eax
leal -0x1(%rax), %ecx
movl %ecx, 0xc(%rdi)
jmp 0xb509
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
lock
xaddl %eax, 0xc(%rdi)
cmpl $0x1, %eax
jne 0xb514
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 0xb591
leaq 0x10(%rsp), %r13
movq %r12, %rsi
movq %r13, %rcx
callq 0x5728
movq (%r13), %r12
jmp 0xb591
movq %rax, %r12
movl $0x50, %esi
jmp 0xb558
movq %rax, %r12
movl $0x38, %esi
movq %r13, %rdi
callq 0x5070
jmp 0xb591
jmp 0xb58e
jmp 0xb58e
movq %rax, %r12
movq %r13, %rdi
callq 0xb146
jmp 0xb576
movq %rax, %r12
movq (%r15), %rdi
cmpq %rbp, %rdi
je 0xb599
movq (%rbp), %rsi
incq %rsi
callq 0x5070
jmp 0xb599
jmp 0xb58e
movq %rax, %r12
movq %r15, %rdi
callq 0xc072
movq 0x38(%rbx), %rdi
testq %rdi, %rdi
je 0xb5a7
callq 0x65e2
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0xb5b5
callq 0x65e2
movq %r14, %rdi
callq 0xb112
movq 0x10(%rbx), %rdi
testq %rdi, %rdi
je 0xb5cb
callq 0x65e2
movq %r12, %rdi
callq 0x5200
nop