// File: /workspace/github_cpp_makefile_star2_O1/jkingan[P]ladyheather/heathgps.cpp
// Function: show_version_header()
void show_version_header()
{
   if(zoom_screen) return;
   if(text_mode && first_key) return;

   if(rpn_mode || (getting_string == CALC_CMD)) {
      vidstr(VER_ROW+0, VER_COL, YELLOW, "CALCULATOR MODE ENABLED!");
   }
   else if(measure_jitter) {
      if(no_poll) vidstr(VER_ROW+0, VER_COL, RED, "Jitter meas - no polling");
      else        vidstr(VER_ROW+0, VER_COL, RED, "Jitter measurement mode ");
   }
   else if(read_only) vidstr(VER_ROW+0, VER_COL, BLUE, "Read-only mode set      ");
   else if(no_send)   vidstr(VER_ROW+0, VER_COL, BLUE, "COM output disabled     ");
   else if(no_poll)   vidstr(VER_ROW+0, VER_COL, BLUE, "Rcvr requests disabled  ");
   else if(just_read) vidstr(VER_ROW+0, VER_COL, BLUE, "Rcvr decode disabled    ");
   else if(disable_kbd > 1) {
      if(script_file) {
         vidstr(VER_ROW+0, VER_COL, BLUE, "Script file error        "); 
      }
      else {
         vidstr(VER_ROW+0, VER_COL, BLUE, "Keyboard is disabled     "); 
      }
   }
// else if(disable_kbd) vidstr(VER_ROW+0, VER_COL, BLUE,   "Press ESC Y to exit    ");
// else if(disable_kbd) vidstr(VER_ROW+0, VER_COL, BLUE,   "Keyboard is disabled   ");
   else if(disable_kbd) vidstr(VER_ROW+0, VER_COL, BLUE,   "Kbd disabled  Press ESC");
   else if(osc_params)  vidstr(VER_ROW+0, VER_COL, YELLOW, "OSC param display      "); 
   else if(plot_version) {
       if(rcvr_type == NO_RCVR) sprintf(out, "V%s - %s ", VERSION, date_string);
       else {
          sprintf(out, "V%s - %s       ", VERSION, date_string);
          out[24] = 0;
       }
       vidstr(VER_ROW+0, VER_COL, BLUE, out);
   }
   else if(rcvr_type == NO_RCVR) {
      vidstr(VER_ROW+0, VER_COL, BLUE, "Press SPACE for help");
   }
   else vidstr(VER_ROW+0, VER_COL, BLUE, "Press SPACE for help    ");

   show_unit_info();
// show_version_info();
}

// Assembly:
leaq 0x299fde(%rip), %rax    # 0x30c7a8
cmpb $0x0, (%rax)
jne 0x727e7
leaq 0x1a6002(%rip), %rax    # 0x2187d8
cmpl $0x0, (%rax)
je 0x727e8
leaq 0x1cc776(%rip), %rax    # 0x23ef58
cmpl $0x0, (%rax)
je 0x727e8
retq
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0x2c9033(%rip), %rax    # 0x33b828
cmpl $0x0, (%rax)
jne 0x7283e
leaq 0x2cce07(%rip), %rax    # 0x33f608
movzwl (%rax), %eax
cmpl $0x180, %eax            # imm = 0x180
je 0x7283e
leaq 0x1ca4b6(%rip), %rax    # 0x23ccc8
cmpl $0x0, (%rax)
je 0x72861
leaq 0x2c4802(%rip), %rax    # 0x337020
cmpb $0x0, (%rax)
leaq 0x1a5f6c(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5f67(%rip), %rax    # 0x218798
movl (%rax), %esi
je 0x7288b
leaq 0xb57bf(%rip), %rcx     # 0x127ffb
jmp 0x72892
leaq 0x1a5f4f(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5f4a(%rip), %rax    # 0x218798
movl (%rax), %esi
leaq 0xb578b(%rip), %rcx     # 0x127fe2
movl $0xe, %edx
jmp 0x72911
leaq 0x2c47b2(%rip), %rax    # 0x33701a
cmpb $0x0, (%rax)
je 0x72899
leaq 0x1a5f20(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5f1b(%rip), %rax    # 0x218798
movl (%rax), %esi
leaq 0xb57a7(%rip), %rcx     # 0x12802d
jmp 0x7290c
leaq 0xb5782(%rip), %rcx     # 0x128014
movl $0xc, %edx
jmp 0x72911
leaq 0x2c4779(%rip), %rax    # 0x337019
cmpb $0x0, (%rax)
je 0x728c0
leaq 0x1a5ee8(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5ee3(%rip), %rax    # 0x218798
movl (%rax), %esi
leaq 0xb5788(%rip), %rcx     # 0x128046
jmp 0x7290c
leaq 0x2c4759(%rip), %rax    # 0x337020
cmpb $0x0, (%rax)
je 0x728e7
leaq 0x1a5ec1(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5ebc(%rip), %rax    # 0x218798
movl (%rax), %esi
leaq 0xb577a(%rip), %rcx     # 0x12805f
jmp 0x7290c
leaq 0x2c472a(%rip), %rax    # 0x337018
cmpb $0x0, (%rax)
je 0x72921
leaq 0x1a5e9a(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5e95(%rip), %rax    # 0x218798
movl (%rax), %esi
leaq 0xb576c(%rip), %rcx     # 0x128078
movl $0x9, %edx
callq 0xe7d0
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0xb90f5
leaq 0x1a88f4(%rip), %rax    # 0x21b21c
movb (%rax), %al
cmpb $0x2, %al
jb 0x72956
leaq 0x1cc583(%rip), %rax    # 0x23eeb8
cmpq $0x0, (%rax)
leaq 0x1a5e54(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5e4f(%rip), %rax    # 0x218798
movl (%rax), %esi
je 0x72975
leaq 0xb573d(%rip), %rcx     # 0x128091
jmp 0x7290c
testb %al, %al
je 0x7297e
leaq 0x1a5e33(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5e2e(%rip), %rax    # 0x218798
movl (%rax), %esi
leaq 0xb5752(%rip), %rcx     # 0x1280c5
jmp 0x7290c
leaq 0xb572f(%rip), %rcx     # 0x1280ab
jmp 0x7290c
leaq 0x29a767(%rip), %rax    # 0x30d0ec
cmpb $0x0, (%rax)
je 0x729a8
leaq 0x1a5e03(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5dfe(%rip), %rax    # 0x218798
movl (%rax), %esi
leaq 0xb573a(%rip), %rcx     # 0x1280dd
jmp 0x72857
leaq 0x1a8a32(%rip), %rax    # 0x21b3e1
cmpb $0x0, (%rax)
leaq 0x1a5f17(%rip), %rax    # 0x2188d0
movq (%rax), %rax
je 0x729eb
cmpq $0x400, %rax            # imm = 0x400
jne 0x72a11
leaq 0x2c9853(%rip), %rdi    # 0x33c220
leaq 0xb5721(%rip), %rsi     # 0x1280f5
leaq 0x9b0de(%rip), %rdx     # 0x10dab9
leaq 0x1b0b6e(%rip), %rcx    # 0x223550
xorl %eax, %eax
callq 0x9060
jmp 0x72a3b
leaq 0x1a5da2(%rip), %rcx    # 0x218794
movl (%rcx), %edi
leaq 0x1a5d9d(%rip), %rcx    # 0x218798
movl (%rcx), %esi
cmpq $0x400, %rax            # imm = 0x400
jne 0x72a59
leaq 0xb5703(%rip), %rcx     # 0x12810f
jmp 0x7290c
leaq 0x2c9808(%rip), %rbx    # 0x33c220
leaq 0xb56e0(%rip), %rsi     # 0x1280ff
leaq 0x9b093(%rip), %rdx     # 0x10dab9
leaq 0x1b0b23(%rip), %rcx    # 0x223550
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movb $0x0, 0x18(%rbx)
leaq 0x1a5d52(%rip), %rax    # 0x218794
movl (%rax), %edi
leaq 0x1a5d4d(%rip), %rax    # 0x218798
movl (%rax), %esi
leaq 0x2c97cc(%rip), %rcx    # 0x33c220
jmp 0x7290c
leaq 0xb56c4(%rip), %rcx     # 0x128124
jmp 0x7290c