// File: /workspace/github_cpp_makefile_star2_O3/XuhuiSun95[P]Ticket-Booking-Service/server/ServerInterface.cpp
// Function: ServerInterface::PrintStatus()
void ServerInterface::PrintStatus() {

    if(mServer)
        std::cout << "Server [" << mServerName << "] is current running..." << std::endl;
    else
        std::cout << "Server [" << mServerName << "] is waiting for host..." << std::endl;

    std::cout << "--------------------------------------------------" << std::endl;
    std::cout << "|" 
              << std::setw(30) << std::right << "Server INFO"
              << std::setw(19) << std::right << "|" << std::endl;
    std::cout << std::setw(48 - mServerInfo.first.length()) 
              << std::left << "| ip address: " << mServerInfo.first
              << " |" << std::endl;
    std::cout << std::setw(48 - std::to_string(mServerInfo.second).length()) 
              << std::left << "| port #: " << mServerInfo.second
              << " |" << std::endl;
    std::cout << "--------------------------------------------------" << std::endl;
    std::cout << "|" 
              << std::setw(32) << std::right << "Pair Server INFO"
              << std::setw(17) << std::right << "|" << std::endl;
    std::cout << std::setw(48 - mPairInfo.first.length()) 
              << std::left << "| ip address: " << mPairInfo.first
              << " |" << std::endl;
    std::cout << std::setw(48 - std::to_string(mPairInfo.second).length()) 
              << std::left << "| port #: " << mPairInfo.second
              << " |" << std::endl;
    std::cout << "--------------------------------------------------" << std::endl;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r12
movb 0x1(%rdi), %bl
movq 0x3872(%rip), %r14      # 0x6fd0
leaq 0x1b18(%rip), %rsi      # 0x527d
movl $0x8, %edx
movq %r14, %rdi
callq 0x2210
movq 0x8(%r12), %rsi
movq 0x10(%r12), %rdx
movq %r14, %rdi
callq 0x2210
movq %rax, %r15
cmpb $0x1, %bl
jne 0x379a
leaq 0x1af3(%rip), %rsi      # 0x5286
movl $0x17, %edx
jmp 0x37a6
leaq 0x1afd(%rip), %rsi      # 0x529e
movl $0x18, %edx
movq %r15, %rdi
callq 0x2210
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x1adb(%rip), %rsi      # 0x52b7
movl $0x32, %edx
movq %r14, %rdi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x1ae3(%rip), %r15      # 0x52fa
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rcx
movq $0x1e, 0x10(%r14,%rcx)
movq -0x18(%rax), %rax
movl $0xffffff4f, %r13d      # imm = 0xFFFFFF4F
movl 0x18(%r14,%rax), %ecx
andl %r13d, %ecx
movl $0x80, %ebx
orl %ebx, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x19a9(%rip), %rsi      # 0x5205
movl $0xb, %edx
movq %r14, %rdi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rcx
movq $0x13, 0x10(%r14,%rcx)
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl %r13d, %ecx
orl %ebx, %ecx
movl %ecx, 0x18(%r14,%rax)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq (%r14), %rax
movl $0x30, %ecx
subl 0x30(%r12), %ecx
movq -0x18(%rax), %rdx
movslq %ecx, %rcx
movq %rcx, 0x10(%r14,%rdx)
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl %r13d, %ecx
orl $0x20, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x19f3(%rip), %rsi      # 0x52ea
movl $0xe, %edx
movq %r14, %rdi
callq 0x2210
movq 0x28(%r12), %rsi
movq 0x30(%r12), %rdx
movq %r14, %rdi
callq 0x2210
movq %rax, %r15
leaq 0x19d9(%rip), %rsi      # 0x52f9
movl $0x2, %edx
movq %rax, %rdi
callq 0x2210
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq %r12, -0x30(%rbp)
movl 0x48(%r12), %ebx
movl %ebx, %r15d
negl %r15d
cmovsl %ebx, %r15d
movl $0x1, %r12d
cmpl $0xa, %r15d
jb 0x39bd
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x39b4
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x39ba
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x39bd
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x3981
addl $-0x3, %r12d
jmp 0x39bd
addl $-0x2, %r12d
jmp 0x39bd
decl %r12d
shrl $0x1f, %ebx
movl %ebx, %esi
addl %r12d, %esi
leaq -0x40(%rbp), %rax
movq %rax, -0x10(%rax)
leaq -0x50(%rbp), %r13
movq %r13, %rdi
movl $0x2d, %edx
callq 0x2220
movq (%r13), %rdi
addq %rbx, %rdi
movl %r12d, %esi
movl %r15d, %edx
callq 0x3eb6
movq 0x8(%r13), %rax
movq (%r14), %rcx
movq -0x18(%rcx), %rdx
shlq $0x20, %rax
movabsq $0x3000000000, %rsi     # imm = 0x3000000000
subq %rax, %rsi
sarq $0x20, %rsi
movq %rsi, 0x10(%r14,%rdx)
movq -0x18(%rcx), %rax
movl $0xffffff4f, %ecx       # imm = 0xFFFFFF4F
andl 0x18(%r14,%rax), %ecx
orl $0x20, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x18ca(%rip), %rsi      # 0x52fc
movl $0xa, %edx
movq %r14, %rdi
callq 0x2210
movq -0x30(%rbp), %r12
movl 0x48(%r12), %esi
movq 0x3581(%rip), %r14      # 0x6fd0
movq %r14, %rdi
callq 0x22c0
movq %rax, %r15
leaq 0x1898(%rip), %rsi      # 0x52f9
movl $0x2, %edx
movq %rax, %rdi
callq 0x2210
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3aa7
callq 0x21c0
leaq 0x1809(%rip), %rsi      # 0x52b7
movl $0x32, %edx
movq %r14, %rdi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
leaq 0x1811(%rip), %r15      # 0x52fa
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rcx
movq $0x20, 0x10(%r14,%rcx)
movq -0x18(%rax), %rax
movl $0xffffff4f, %r13d      # imm = 0xFFFFFF4F
movl 0x18(%r14,%rax), %ecx
andl %r13d, %ecx
movl $0x80, %ebx
orl %ebx, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x1716(%rip), %rsi      # 0x5244
movl $0x10, %edx
movq %r14, %rdi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rcx
movq $0x11, 0x10(%r14,%rcx)
movq -0x18(%rax), %rax
movl 0x18(%r14,%rax), %ecx
andl %r13d, %ecx
orl %ebx, %ecx
movl %ecx, 0x18(%r14,%rax)
movl $0x1, %edx
movq %r14, %rdi
movq %r15, %rsi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq 0x58(%r12), %rax
movq (%r14), %rcx
movq -0x18(%rcx), %rdx
shlq $0x20, %rax
movabsq $0x3000000000, %rsi     # imm = 0x3000000000
subq %rax, %rsi
sarq $0x20, %rsi
movq %rsi, 0x10(%r14,%rdx)
movq -0x18(%rcx), %rax
movl 0x18(%r14,%rax), %ecx
andl %r13d, %ecx
orl $0x20, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x1714(%rip), %rsi      # 0x52ea
movl $0xe, %edx
movq %r14, %rdi
callq 0x2210
movq 0x50(%r12), %rsi
movq 0x58(%r12), %rdx
movq %r14, %rdi
callq 0x2210
movq %rax, %r15
leaq 0x16fa(%rip), %rsi      # 0x52f9
movl $0x2, %edx
movq %rax, %rdi
callq 0x2210
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r15, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movl 0x70(%r12), %ebx
movl %ebx, %r15d
negl %r15d
cmovsl %ebx, %r15d
movl $0x1, %r12d
cmpl $0xa, %r15d
jb 0x3c98
movl $0x4, %r12d
movl $0xd1b71759, %eax       # imm = 0xD1B71759
movl %r15d, %ecx
cmpl $0x63, %ecx
jbe 0x3c8f
cmpl $0x3e7, %ecx            # imm = 0x3E7
jbe 0x3c95
cmpl $0x2710, %ecx           # imm = 0x2710
jb 0x3c98
movl %ecx, %edx
imulq %rax, %rdx
shrq $0x2d, %rdx
addl $0x4, %r12d
cmpl $0x1869f, %ecx          # imm = 0x1869F
movl %edx, %ecx
ja 0x3c5c
addl $-0x3, %r12d
jmp 0x3c98
addl $-0x2, %r12d
jmp 0x3c98
decl %r12d
shrl $0x1f, %ebx
movl %ebx, %esi
addl %r12d, %esi
leaq -0x50(%rbp), %r13
leaq -0x40(%rbp), %rax
movq %rax, (%r13)
movq %r13, %rdi
movl $0x2d, %edx
callq 0x2220
movq (%r13), %rdi
addq %rbx, %rdi
movl %r12d, %esi
movl %r15d, %edx
callq 0x3eb6
movq 0x8(%r13), %rax
movq (%r14), %rcx
movq -0x18(%rcx), %rdx
shlq $0x20, %rax
movabsq $0x3000000000, %rsi     # imm = 0x3000000000
subq %rax, %rsi
sarq $0x20, %rsi
movq %rsi, 0x10(%r14,%rdx)
movq -0x18(%rcx), %rax
movl $0xffffff4f, %ecx       # imm = 0xFFFFFF4F
andl 0x18(%r14,%rax), %ecx
orl $0x20, %ecx
movl %ecx, 0x18(%r14,%rax)
leaq 0x15ef(%rip), %rsi      # 0x52fc
movl $0xa, %edx
movq %r14, %rdi
callq 0x2210
movq -0x30(%rbp), %rax
movl 0x70(%rax), %esi
movq 0x32a8(%rip), %rbx      # 0x6fd0
movq %rbx, %rdi
callq 0x22c0
movq %rax, %r14
leaq 0x15bf(%rip), %rsi      # 0x52f9
movl $0x2, %edx
movq %rax, %rdi
callq 0x2210
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %r14, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3d80
callq 0x21c0
leaq 0x1530(%rip), %rsi      # 0x52b7
movl $0x32, %edx
movq %rbx, %rdi
callq 0x2210
movq (%rbx), %rax
movq -0x18(%rax), %rdi
addq %rbx, %rdi
movl $0xa, %esi
callq 0x21d0
movsbl %al, %esi
movq %rbx, %rdi
callq 0x2030
movq %rax, %rdi
callq 0x2150
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x3dcc
movq %rax, %rbx
movq -0x50(%rbp), %rdi
leaq -0x40(%rbp), %rax
cmpq %rax, %rdi
je 0x3de1
callq 0x21c0
movq %rbx, %rdi
callq 0x22f0
nop