// File: jkingan[P]ladyheather/heather.cpp
// Function: show_queue_info()
void show_queue_info()
{
int row, col;
int j;
int adev_flag;
int color;
DATA_SIZE queue_time;

   // show the plot queue size and view interval settings
   if(first_key) return;
   if(zoom_screen == 'O') return;
   if(zoom_screen == 'H') return;

   col = FILTER_COL;
   if(text_mode) {
      row = TEXT_ROWS - 2;  // FILTER_ROW+3+eofs+1+3;
   }
   else if(zoom_screen == 'P') {
      col = ZOOM_LEFT + ZOOM_SPACE*2;
      row = 0;
   }
   else if(luxor) {
     row = VER_ROW+12;
     col = VER_COL;
   }
   else if(SCREEN_HEIGHT <= TINY_HEIGHT) {
      if(all_adevs && (adev_cols_shown > 2)) {
         row = MOUSE_ROW+2;
         if(pause_data) --row;
      }
      else row = MOUSE_ROW+1;
   }
   else {
      row = MOUSE_ROW+1;
   }

   j = row;
   if(luxor == 0) --j;
   queue_row = j;

   if(all_adevs && (adev_cols_shown > 2) && (SCREEN_WIDTH < WIDE_WIDTH)) {
       // aaawww
       sprintf(out, "                 ");
   }
   else if(zoom_screen == 'P') {
      if(pause_data) vidstr(j, col+ZOOM_SPACE*2, YELLOW, "UPDATES PAUSED   ");
      else           vidstr(j, col+ZOOM_SPACE*2, YELLOW, "                 ");
   }
   else if(pause_data) {
      vidstr(j, col, YELLOW, "UPDATES PAUSED   ");
      --j;
   }
   else {
      vidstr(j, col, YELLOW, "                 ");
      --j;
   }
   queue_row = j;

   #ifdef ADEV_STUFF
      if(all_adevs && (adev_cols_shown > 2) && (SCREEN_WIDTH < WIDE_WIDTH)) {
         // aaawww
         sprintf(out, "                    ");
      }
      else {
         adev_flag = 0;  // set to 0 if all adev periods are the same
         if(pps_adev_period != adev_period) adev_flag |= 0x01; // different channels have different adev periods
         if(osc_adev_period != adev_period) adev_flag |= 0x02;
         if(chc_adev_period != adev_period) adev_flag |= 0x04;
         if(chc_adev_period != adev_period) adev_flag |= 0x08;

         if(no_adev_flag) color = GREY;
         else if(adev_q_allocated == 0) color = GREY;
         else color = WHITE;

         if((adev_period <= 0.0) && (adev_flag == 0)) {  // aaaapppp
            if(luxor) sprintf(out, "                    ");
            else      sprintf(out, "ADEV:  OFF          ");
         }
         else if(adev_flag) {
            sprintf(out, "ADEVP: multiple   ");
         }
         else if(adev_period == 1.0) {
            sprintf(out, "ADEVQ: %ld pts ", adev_q_size);
         }
         else if(adev_period < 1.0)  sprintf(out, "ADEVP: %.3f secs    ", adev_period);
         else                        sprintf(out, "ADEVP: %.1f sec   ", adev_period);
         vidstr(j, col, color, out);
         if(zoom_screen == 'P') {
            col += ZOOM_SPACE;
         }
         else {
            --j;
            queue_row = j;
         }
      }
   #endif

   queue_time = (DATA_SIZE) (plot_q_size * queue_interval);
   queue_time /= nav_rate;
   if(all_adevs && (adev_cols_shown > 2) && (SCREEN_WIDTH < WIDE_WIDTH)) {
      // aaawww
      sprintf(out, "                    ");
   }
   else {
      if(queue_time >= (DATA_SIZE) (60.0*60.0*24.0)) sprintf(out, "PLOTQ: %.1f day  ", (DATA_SIZE) queue_time/(60.0*60.0*24.0));
      else if(queue_time >= (DATA_SIZE)(60.0*60.0))  sprintf(out, "PLOTQ: %.1f hr   ", (DATA_SIZE) queue_time/(60.0*60.0));
      else if(queue_time >= (DATA_SIZE)60.0)         sprintf(out, "PLOTQ: %.1f min  ", (DATA_SIZE) queue_time/60.0);
      else if(queue_time > (DATA_SIZE)0.0)           sprintf(out, "PLOTQ: %.1f sec  ", (DATA_SIZE) queue_time);
      else                                           sprintf(out, "PLOTQ: OFF          ");
      vidstr(j, col, WHITE, out);
   }

   if(luxor && (lat || lon)) show_sun_moon(j+2, col);

   if(zoom_screen == 'P') ;
   else --j;

   view_row = j;
   queue_row = j;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
cmpl $0x0, 0x27dd69(%rip)    # 0x29e138
je 0x203d6
jmp 0x209b7
movzbl 0x34b5ab(%rip), %eax    # 0x36b988
cmpl $0x4f, %eax
jne 0x203e7
jmp 0x209b7
movzbl 0x34b59a(%rip), %eax    # 0x36b988
cmpl $0x48, %eax
jne 0x203f8
jmp 0x209b7
movl 0x257586(%rip), %eax    # 0x277984
movl %eax, -0x8(%rbp)
cmpl $0x0, 0x2575b0(%rip)    # 0x2779b8
je 0x2041b
movl 0x2575dc(%rip), %eax    # 0x2779ec
subl $0x2, %eax
movl %eax, -0x4(%rbp)
jmp 0x204b5
movzbl 0x34b566(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x20437
movl $0x28, -0x8(%rbp)
movl $0x0, -0x4(%rbp)
jmp 0x204b3
cmpb $0x0, 0x27dce0(%rip)    # 0x29e11e
je 0x20457
movl 0x25752e(%rip), %eax    # 0x277974
addl $0xc, %eax
movl %eax, -0x4(%rbp)
movl 0x257526(%rip), %eax    # 0x277978
movl %eax, -0x8(%rbp)
jmp 0x204b1
cmpl $0x1e0, 0x257583(%rip)  # imm = 0x1E0
jg 0x204a3
cmpb $0x0, 0x27bab4(%rip)    # 0x29bf1e
je 0x20495
cmpl $0x2, 0x27b9f5(%rip)    # 0x29be68
jle 0x20495
movl 0x25750d(%rip), %eax    # 0x277988
addl $0x2, %eax
movl %eax, -0x4(%rbp)
cmpb $0x0, 0x259f8c(%rip)    # 0x27a414
je 0x20493
movl -0x4(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x204a1
movl 0x2574ed(%rip), %eax    # 0x277988
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x204af
movl 0x2574df(%rip), %eax    # 0x277988
addl $0x1, %eax
movl %eax, -0x4(%rbp)
jmp 0x204b1
jmp 0x204b3
jmp 0x204b5
movl -0x4(%rbp), %eax
movl %eax, -0xc(%rbp)
movzbl 0x27dc5c(%rip), %eax    # 0x29e11e
cmpl $0x0, %eax
jne 0x204d0
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl %eax, 0x2574d7(%rip)    # 0x2779b0
cmpb $0x0, 0x27ba3e(%rip)    # 0x29bf1e
je 0x20511
cmpl $0x2, 0x27b97f(%rip)    # 0x29be68
jle 0x20511
cmpl $0x4fa, 0x2574eb(%rip)  # imm = 0x4FA
jge 0x20511
leaq 0x37af02(%rip), %rdi    # 0x39b400
leaq 0x1761b7(%rip), %rsi    # 0x1966bc
movb $0x0, %al
callq 0x9060
jmp 0x205ad
movzbl 0x34b470(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x2055e
cmpb $0x0, 0x259ef0(%rip)    # 0x27a414
je 0x20542
movl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
addl $0x28, %esi
movl $0xe, %edx
leaq 0x1503fa(%rip), %rcx    # 0x170935
callq 0x10ee0
jmp 0x2055c
movl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
addl $0x28, %esi
movl $0xe, %edx
leaq 0x176165(%rip), %rcx    # 0x1966bc
callq 0x10ee0
jmp 0x205ab
cmpb $0x0, 0x259eaf(%rip)    # 0x27a414
je 0x20589
movl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
movl $0xe, %edx
leaq 0x1503bc(%rip), %rcx    # 0x170935
callq 0x10ee0
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x205a9
movl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
movl $0xe, %edx
leaq 0x176121(%rip), %rcx    # 0x1966bc
callq 0x10ee0
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x205ab
jmp 0x205ad
movl -0xc(%rbp), %eax
movl %eax, 0x2573fa(%rip)    # 0x2779b0
cmpb $0x0, 0x27b961(%rip)    # 0x29bf1e
je 0x205ee
cmpl $0x2, 0x27b8a2(%rip)    # 0x29be68
jle 0x205ee
cmpl $0x4fa, 0x25740e(%rip)  # imm = 0x4FA
jge 0x205ee
leaq 0x37ae25(%rip), %rdi    # 0x39b400
leaq 0x1760d7(%rip), %rsi    # 0x1966b9
movb $0x0, %al
callq 0x9060
jmp 0x207d8
movl $0x0, -0x10(%rbp)
movsd 0x27b8e3(%rip), %xmm0   # 0x29bee0
ucomisd 0x27b8d3(%rip), %xmm0   # 0x29bed8
jne 0x2060b
jp 0x2060b
jmp 0x20614
movl -0x10(%rbp), %eax
orl $0x1, %eax
movl %eax, -0x10(%rbp)
movsd 0x27b8cc(%rip), %xmm0   # 0x29bee8
ucomisd 0x27b8b4(%rip), %xmm0   # 0x29bed8
jne 0x2062a
jp 0x2062a
jmp 0x20633
movl -0x10(%rbp), %eax
orl $0x2, %eax
movl %eax, -0x10(%rbp)
movsd 0x27b8b5(%rip), %xmm0   # 0x29bef0
ucomisd 0x27b895(%rip), %xmm0   # 0x29bed8
jne 0x20649
jp 0x20649
jmp 0x20652
movl -0x10(%rbp), %eax
orl $0x4, %eax
movl %eax, -0x10(%rbp)
movsd 0x27b896(%rip), %xmm0   # 0x29bef0
ucomisd 0x27b876(%rip), %xmm0   # 0x29bed8
jne 0x20668
jp 0x20668
jmp 0x20671
movl -0x10(%rbp), %eax
orl $0x8, %eax
movl %eax, -0x10(%rbp)
cmpl $0x0, 0x27b89c(%rip)    # 0x29bf14
je 0x20683
movl $0x8, -0x14(%rbp)
jmp 0x2069e
cmpl $0x0, 0x27b836(%rip)    # 0x29bec0
jne 0x20695
movl $0x8, -0x14(%rbp)
jmp 0x2069c
movl $0xf, -0x14(%rbp)
jmp 0x2069e
xorps %xmm0, %xmm0
ucomisd 0x27b82f(%rip), %xmm0   # 0x29bed8
jb 0x206eb
cmpl $0x0, -0x10(%rbp)
jne 0x206eb
cmpb $0x0, 0x27da66(%rip)    # 0x29e11e
je 0x206d1
leaq 0x37ad3f(%rip), %rdi    # 0x39b400
leaq 0x175ff1(%rip), %rsi    # 0x1966b9
movb $0x0, %al
callq 0x9060
jmp 0x206e6
leaq 0x37ad28(%rip), %rdi    # 0x39b400
leaq 0x150268(%rip), %rsi    # 0x170947
movb $0x0, %al
callq 0x9060
jmp 0x20795
cmpl $0x0, -0x10(%rbp)
je 0x2070b
leaq 0x37ad08(%rip), %rdi    # 0x39b400
leaq 0x15025d(%rip), %rsi    # 0x17095c
movb $0x0, %al
callq 0x9060
jmp 0x20793
movsd 0x27b7c5(%rip), %xmm0   # 0x29bed8
movsd 0x14e94d(%rip), %xmm1   # 0x16f068
ucomisd %xmm1, %xmm0
jne 0x20741
jp 0x20741
movq 0x27b78e(%rip), %rdx    # 0x29beb8
leaq 0x37accf(%rip), %rdi    # 0x39b400
leaq 0x150237(%rip), %rsi    # 0x17096f
movb $0x0, %al
callq 0x9060
jmp 0x20791
movsd 0x14e91f(%rip), %xmm0   # 0x16f068
ucomisd 0x27b787(%rip), %xmm0   # 0x29bed8
jbe 0x20772
movsd 0x27b77d(%rip), %xmm0   # 0x29bed8
leaq 0x37ac9e(%rip), %rdi    # 0x39b400
leaq 0x150216(%rip), %rsi    # 0x17097f
movb $0x1, %al
callq 0x9060
jmp 0x2078f
movsd 0x27b75e(%rip), %xmm0   # 0x29bed8
leaq 0x37ac7f(%rip), %rdi    # 0x39b400
leaq 0x15020c(%rip), %rsi    # 0x170994
movb $0x1, %al
callq 0x9060
jmp 0x20791
jmp 0x20793
jmp 0x20795
movl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
movl -0x14(%rbp), %eax
leaq 0x37ac5b(%rip), %rcx    # 0x39b400
movzbl %al, %edx
callq 0x10ee0
movzbl 0x34b1d4(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x207c4
movl -0x8(%rbp), %eax
addl $0x14, %eax
movl %eax, -0x8(%rbp)
jmp 0x207d6
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl %eax, 0x2571da(%rip)    # 0x2779b0
jmp 0x207d8
movq 0x259d21(%rip), %rax    # 0x27a500
imulq 0x259d91(%rip), %rax    # 0x27a578
cvtsi2sd %rax, %xmm0
movsd %xmm0, -0x20(%rbp)
movsd 0x259d3f(%rip), %xmm1   # 0x27a538
movsd -0x20(%rbp), %xmm0
divsd %xmm1, %xmm0
movsd %xmm0, -0x20(%rbp)
cmpb $0x0, 0x27b710(%rip)    # 0x29bf1e
je 0x2083f
cmpl $0x2, 0x27b651(%rip)    # 0x29be68
jle 0x2083f
cmpl $0x4fa, 0x2571bd(%rip)  # imm = 0x4FA
jge 0x2083f
leaq 0x37abd4(%rip), %rdi    # 0x39b400
leaq 0x175e86(%rip), %rsi    # 0x1966b9
movb $0x0, %al
callq 0x9060
jmp 0x2094f
movsd -0x20(%rbp), %xmm0
movsd 0x14e7bc(%rip), %xmm1   # 0x16f008
ucomisd %xmm1, %xmm0
jb 0x2087d
movsd -0x20(%rbp), %xmm0
movsd 0x14e7a9(%rip), %xmm1   # 0x16f008
divsd %xmm1, %xmm0
leaq 0x37ab96(%rip), %rdi    # 0x39b400
leaq 0x150136(%rip), %rsi    # 0x1709a7
movb $0x1, %al
callq 0x9060
jmp 0x20938
movsd -0x20(%rbp), %xmm0
movsd 0x14e786(%rip), %xmm1   # 0x16f010
ucomisd %xmm1, %xmm0
jb 0x208b8
movsd -0x20(%rbp), %xmm0
movsd 0x14e773(%rip), %xmm1   # 0x16f010
divsd %xmm1, %xmm0
leaq 0x37ab58(%rip), %rdi    # 0x39b400
leaq 0x15010a(%rip), %rsi    # 0x1709b9
movb $0x1, %al
callq 0x9060
jmp 0x20936
movsd -0x20(%rbp), %xmm0
movsd 0x14e753(%rip), %xmm1   # 0x16f018
ucomisd %xmm1, %xmm0
jb 0x208f3
movsd -0x20(%rbp), %xmm0
movsd 0x14e740(%rip), %xmm1   # 0x16f018
divsd %xmm1, %xmm0
leaq 0x37ab1d(%rip), %rdi    # 0x39b400
leaq 0x1500e1(%rip), %rsi    # 0x1709cb
movb $0x1, %al
callq 0x9060
jmp 0x20934
movsd -0x20(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jbe 0x2091d
movsd -0x20(%rbp), %xmm0
leaq 0x37aaf3(%rip), %rdi    # 0x39b400
leaq 0x1500c9(%rip), %rsi    # 0x1709dd
movb $0x1, %al
callq 0x9060
jmp 0x20932
leaq 0x37aadc(%rip), %rdi    # 0x39b400
leaq 0x1500c4(%rip), %rsi    # 0x1709ef
movb $0x0, %al
callq 0x9060
jmp 0x20934
jmp 0x20936
jmp 0x20938
movl -0xc(%rbp), %edi
movl -0x8(%rbp), %esi
movl $0xf, %edx
leaq 0x37aab6(%rip), %rcx    # 0x39b400
callq 0x10ee0
cmpb $0x0, 0x27d7c8(%rip)    # 0x29e11e
je 0x2098e
movsd 0x34b850(%rip), %xmm0   # 0x36c1b0
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x20980
jp 0x20980
movsd 0x34b845(%rip), %xmm0   # 0x36c1b8
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
jne 0x20980
jp 0x20980
jmp 0x2098e
movl -0xc(%rbp), %edi
addl $0x2, %edi
movl -0x8(%rbp), %esi
callq 0xecf80
movzbl 0x34aff3(%rip), %eax    # 0x36b988
cmpl $0x50, %eax
jne 0x2099c
jmp 0x209a5
movl -0xc(%rbp), %eax
addl $-0x1, %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl %eax, 0x256ffe(%rip)    # 0x2779ac
movl -0xc(%rbp), %eax
movl %eax, 0x256ff9(%rip)    # 0x2779b0
addq $0x20, %rsp
popq %rbp
retq
nopl (%rax)