// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heathgps.cpp
// Function: show_rcvr_rate()
void show_rcvr_rate()
{
int color;

   // show the receiver navigation rate above the screen receiver data block

   color = GREEN;
   if(last_plot_key) color = BLUE;

   if(ticc_port_open() || (enviro_mode() && (rcvr_type != THERMO_RCVR))) {
      if(ticc_port_open() && enviro_mode()) {
         vidstr(VAL_ROW+0, VAL_COL, color,  "Enviro & TICC   ");
         return;
      }
      else if(enviro_mode()) {
         vidstr(VAL_ROW+0, VAL_COL, color,  "Enviro sensor on");
         return;
      }
      else if(ticc_port_open()) {
         vidstr(VAL_ROW+0, VAL_COL, color,  "TICC port ADEVs ");
         return;
      }
   }

   if(have_nav_rate && (nav_rate != 1)) {
      if(nav_rate < 10.0) sprintf(out, "Rcvr rate:%3.1f Hz", nav_rate);
      else                sprintf(out, "Rcvr rate:%3d Hz", (int) nav_rate);
      vidstr(VAL_ROW+0, VAL_COL, color,  out);
   }
   else if((rcvr_type == CS_RCVR) && have_cs_cbtid) {
      sprintf(out, "CBT: %-13.13s", cs_cbtid);
      vidstr(VAL_ROW+0, VAL_COL, color, out);
   }
   else if(rcvr_type == THERMO_RCVR) {
      vidstr(VAL_ROW+0, VAL_COL, color,  "Sensor data     ");
   }
   else {
      vidstr(VAL_ROW+0, VAL_COL, color,  "Receiver data   ");
   }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
leaq 0x158e04(%rip), %rax    # 0x205220
xorl %r14d, %r14d
cmpl $0x1, (%rax)
adcl $0x9, %r14d
callq 0x66b41
movl %eax, %ebx
callq 0x57eca
testl %ebx, %ebx
je 0xac44a
testl %eax, %eax
je 0xac45e
movzbl %r14b, %edx
leaq 0x6746c(%rip), %rcx     # 0x1138b1
jmp 0xac557
testl %eax, %eax
je 0xac48b
leaq 0x15647b(%rip), %rax    # 0x2028d0
cmpq $0x80000, (%rax)        # imm = 0x80000
je 0xac48b
callq 0x57eca
testl %eax, %eax
je 0xac477
movzbl %r14b, %edx
leaq 0x67450(%rip), %rcx     # 0x1138c2
jmp 0xac557
testl %ebx, %ebx
je 0xac48b
movzbl %r14b, %edx
leaq 0x6744d(%rip), %rcx     # 0x1138d3
jmp 0xac557
leaq 0x24ae3a(%rip), %rax    # 0x2f72cc
cmpl $0x0, (%rax)
je 0xac4d3
leaq 0x158eba(%rip), %rax    # 0x205358
movsd (%rax), %xmm0
ucomisd 0x46bc6(%rip), %xmm0    # 0xf3070
jne 0xac4ae
jnp 0xac4d3
movsd 0x46bf2(%rip), %xmm1    # 0xf30a8
ucomisd %xmm0, %xmm1
jbe 0xac533
leaq 0x279d5d(%rip), %rdi    # 0x326220
leaq 0x6741a(%rip), %rsi     # 0x1138e4
movb $0x1, %al
callq 0x9060
jmp 0xac54c
leaq 0x1563f6(%rip), %rax    # 0x2028d0
movq (%rax), %rax
cmpq $0x20000, %rax          # imm = 0x20000
jne 0xac51e
leaq 0x15851c(%rip), %rcx    # 0x204a08
cmpl $0x0, (%rcx)
je 0xac51e
leaq 0x279d28(%rip), %rbx    # 0x326220
leaq 0x67409(%rip), %rsi     # 0x113908
leaq 0x27a6ca(%rip), %rdx    # 0x326bd0
movq %rbx, %rdi
xorl %eax, %eax
callq 0x9060
movzbl %r14b, %edx
pushq $0xf
popq %rsi
xorl %edi, %edi
movq %rbx, %rcx
jmp 0xac55c
movzbl %r14b, %edx
cmpq $0x80000, %rax          # imm = 0x80000
jne 0xac565
leaq 0x673e5(%rip), %rcx     # 0x113916
jmp 0xac557
cvttsd2si %xmm0, %edx
leaq 0x279ce2(%rip), %rdi    # 0x326220
leaq 0x673b2(%rip), %rsi     # 0x1138f7
xorl %eax, %eax
callq 0x9060
movzbl %r14b, %edx
leaq 0x279cc9(%rip), %rcx    # 0x326220
pushq $0xf
popq %rsi
xorl %edi, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0xe2d2
leaq 0x673bb(%rip), %rcx     # 0x113927
jmp 0xac557