// File: /workspace/github_cpp_makefile_star2_O3/dguglielmi[P]dlan-linux-software/common/macaddress.cpp
// Function: CMACAddress::ToString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) const
std::string CMACAddress::ToString(const std::string& strSeparator) const
{
  std::ostringstream ostr;

  ostr 
    << pHexDigits[(m_addr[0] & 0xF0) >> 4] << pHexDigits[m_addr[0] & 0x0F] << strSeparator
    << pHexDigits[(m_addr[1] & 0xF0) >> 4] << pHexDigits[m_addr[1] & 0x0F] << strSeparator
    << pHexDigits[(m_addr[2] & 0xF0) >> 4] << pHexDigits[m_addr[2] & 0x0F] << strSeparator
    << pHexDigits[(m_addr[3] & 0xF0) >> 4] << pHexDigits[m_addr[3] & 0x0F] << strSeparator
    << pHexDigits[(m_addr[4] & 0xF0) >> 4] << pHexDigits[m_addr[4] & 0x0F] << strSeparator
    << pHexDigits[(m_addr[5] & 0xF0) >> 4] << pHexDigits[m_addr[5] & 0x0F];

  return ostr.str();
}

// Assembly:
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x180, %rsp            # imm = 0x180
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x8(%rsp), %r12
movq %r12, %rdi
callq 0x4310
movzbl (%r14), %eax
shrl $0x4, %eax
leaq 0x3480(%rip), %r13      # 0x16710
movb (%rax,%r13), %al
leaq 0x7(%rsp), %rsi
movb %al, (%rsi)
movl $0x1, %edx
movq %r12, %rdi
callq 0x42c0
movzbl (%r14), %ecx
andl $0xf, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rax, %rdi
callq 0x42c0
movzbl 0x1(%r14), %ecx
shrl $0x4, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movzbl 0x1(%r14), %ecx
andl $0xf, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rax, %rdi
callq 0x42c0
movzbl 0x2(%r14), %ecx
shrl $0x4, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movzbl 0x2(%r14), %ecx
andl $0xf, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rax, %rdi
callq 0x42c0
movzbl 0x3(%r14), %ecx
shrl $0x4, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movzbl 0x3(%r14), %ecx
andl $0xf, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rax, %rdi
callq 0x42c0
movzbl 0x4(%r14), %ecx
shrl $0x4, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movzbl 0x4(%r14), %ecx
andl $0xf, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq %rax, %rdi
callq 0x42c0
movzbl 0x5(%r14), %ecx
shrl $0x4, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
movzbl 0x5(%r14), %ecx
andl $0xf, %ecx
movb (%rcx,%r13), %cl
leaq 0x7(%rsp), %rsi
movb %cl, (%rsi)
movl $0x1, %edx
movq %rax, %rdi
callq 0x42c0
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x4390
movq 0xab72(%rip), %rsi      # 0x1dfd8
leaq 0x8(%rsp), %rdi
callq 0x4190
leaq 0x78(%rsp), %rdi
callq 0x4100
movq %rbx, %rax
addq $0x180, %rsp            # imm = 0x180
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
movq 0xab40(%rip), %rsi      # 0x1dfd8
leaq 0x8(%rsp), %rdi
callq 0x4190
leaq 0x78(%rsp), %rdi
callq 0x4100
movq %rbx, %rdi
callq 0x43e0