// File: jkingan[P]ladyheather/heathgps.cpp
// Function: show_ebolt_info()
void show_ebolt_info()
{
   show_build_info(1);

#ifdef WINDOWS
   if(com[RCVR_PORT].com_port >= 10)      sprintf(out, "Ser: %2u.%-8lu COM:%d",  hw_code, (unsigned long) ebolt_serno, com[RCVR_PORT].com_port);
   else if (com[RCVR_PORT].com_port)      sprintf(out, "Ser: %2u.%-8lu  COM:%d", hw_code, (unsigned long) ebolt_serno, com[RCVR_PORT].com_port);
#else   // __linux__  __MACH__  __FreeBSD__
   if(com[RCVR_PORT].com_port >= 10)      sprintf(out, "Ser: %2u.%-8lu TTY:%d",  hw_code, (unsigned long) ebolt_serno, com[RCVR_PORT].com_port-1);
   else if (com[RCVR_PORT].com_port)      sprintf(out, "Ser: %2u.%-8lu  TTY:%d", hw_code, (unsigned long) ebolt_serno, com[RCVR_PORT].com_port-1);
#endif
   else if(com[RCVR_PORT].usb_port >= 10) sprintf(out, "Ser: %2u.%-8lu USB:%d",  hw_code, (unsigned long) ebolt_serno, com[RCVR_PORT].usb_port-1);
   else if(com[RCVR_PORT].usb_port)       sprintf(out, "Ser: %2u.%-8lu  USB:%d", hw_code, (unsigned long) ebolt_serno, com[RCVR_PORT].usb_port-1);
#ifdef TCP_IP 
   else if(com[RCVR_PORT].IP_addr[0]) {
      sprintf(out," IP: %-17.17ss", com[RCVR_PORT].IP_addr); // TCP 
   }
#endif
   else {
      sprintf(out," COM: none");
   }

// Assembly:
pushq %rbp
movq %rsp, %rbp
movl $0x1, %edi
callq 0xfd130
leaq 0x27013b(%rip), %rax    # 0x36d4c0
cmpl $0xa, 0x157c0(%rax)
jl 0xfd3cc
leaq 0x26f7ed(%rip), %rax    # 0x36cb82
movzwl (%rax), %edx
movl 0x2cdc46(%rip), %eax    # 0x3cafe4
movl %eax, %ecx
leaq 0x270119(%rip), %rax    # 0x36d4c0
movl 0x157c0(%rax), %r8d
subl $0x1, %r8d
leaq 0x29e047(%rip), %rdi    # 0x39b400
leaq 0x8e03d(%rip), %rsi     # 0x18b3fd
movb $0x0, %al
callq 0x9060
jmp 0xfd50c
leaq 0x2700ed(%rip), %rax    # 0x36d4c0
cmpl $0x0, 0x157c0(%rax)
je 0xfd41a
leaq 0x26f79f(%rip), %rax    # 0x36cb82
movzwl (%rax), %edx
movl 0x2cdbf8(%rip), %eax    # 0x3cafe4
movl %eax, %ecx
leaq 0x2700cb(%rip), %rax    # 0x36d4c0
movl 0x157c0(%rax), %r8d
subl $0x1, %r8d
leaq 0x29dff9(%rip), %rdi    # 0x39b400
leaq 0x8e005(%rip), %rsi     # 0x18b413
movb $0x0, %al
callq 0x9060
jmp 0xfd50a
leaq 0x27009f(%rip), %rax    # 0x36d4c0
cmpl $0xa, 0x157c4(%rax)
jl 0xfd468
leaq 0x26f751(%rip), %rax    # 0x36cb82
movzwl (%rax), %edx
movl 0x2cdbaa(%rip), %eax    # 0x3cafe4
movl %eax, %ecx
leaq 0x27007d(%rip), %rax    # 0x36d4c0
movl 0x157c4(%rax), %r8d
subl $0x1, %r8d
leaq 0x29dfab(%rip), %rdi    # 0x39b400
leaq 0x8dfce(%rip), %rsi     # 0x18b42a
movb $0x0, %al
callq 0x9060
jmp 0xfd508
leaq 0x270051(%rip), %rax    # 0x36d4c0
cmpl $0x0, 0x157c4(%rax)
je 0xfd4b3
leaq 0x26f703(%rip), %rax    # 0x36cb82
movzwl (%rax), %edx
movl 0x2cdb5c(%rip), %eax    # 0x3cafe4
movl %eax, %ecx
leaq 0x27002f(%rip), %rax    # 0x36d4c0
movl 0x157c4(%rax), %r8d
subl $0x1, %r8d
leaq 0x29df5d(%rip), %rdi    # 0x39b400
leaq 0x8df96(%rip), %rsi     # 0x18b440
movb $0x0, %al
callq 0x9060
jmp 0xfd506
leaq 0x270006(%rip), %rax    # 0x36d4c0
cmpb $0x0, 0x158cd(%rax)
je 0xfd4ef
leaq 0x29df36(%rip), %rdi    # 0x39b400
leaq 0x8df86(%rip), %rsi     # 0x18b457
leaq 0x26ffe8(%rip), %rdx    # 0x36d4c0
addq $0x157c0, %rdx          # imm = 0x157C0
addq $0x10d, %rdx            # imm = 0x10D
movb $0x0, %al
callq 0x9060
jmp 0xfd504
leaq 0x29df0a(%rip), %rdi    # 0x39b400
leaq 0x8df69(%rip), %rsi     # 0x18b466
movb $0x0, %al
callq 0x9060
jmp 0xfd506
jmp 0xfd508
jmp 0xfd50a
jmp 0xfd50c
leaq 0x17a461(%rip), %rax    # 0x277974
movl (%rax), %edi
addl $0x4, %edi
leaq 0x17a459(%rip), %rax    # 0x277978
movl (%rax), %esi
movl $0xf, %edx
leaq 0x29ded3(%rip), %rcx    # 0x39b400
callq 0x10ee0
popq %rbp
retq
nopw %cs:(%rax,%rax)