// File: /workspace/github_cpp_makefile_star2_O2/jkingan[P]ladyheather/heather.cpp
// Function: show_view_info()
void show_view_info()
{
DATA_SIZE show_time;
int col;
int color;

   // tuck the diaplay interval data into whatever nook or crannie
   // we can find on the screen

   if((all_adevs == SINGLE_ADEVS) || mixed_adevs) {
      if(zoom_screen == 'P') col = ZOOM_LEFT;
      else if(luxor) col = VER_COL;
      else col = FILTER_COL;

      if(all_adevs && (adev_cols_shown > 2) && (SCREEN_WIDTH < WIDE_WIDTH)) {
         // aaawww
         sprintf(out, "                    ");
      }
      else if(show_min_per_div) {
         show_time = (DATA_SIZE) (view_interval*queue_interval*PLOT_WIDTH);  // seconds per screen
         show_time /= plot_mag;
         show_time /= (DATA_SIZE) 60.0;  // minutes/screen
         show_time /= (((DATA_SIZE) PLOT_WIDTH) / (DATA_SIZE) HORIZ_MAJOR);
         show_time /= nav_rate;
         if(SMALL_SCREEN) {
            sprintf(out, "%.1f min/div ", show_time);
         }
         else if((SCREEN_WIDTH <= NARROW_SCREEN) && (small_font != 1)) {
            sprintf(out, "%.1f min/div ", show_time);
         }
         else {
            if(show_time < (DATA_SIZE) 1.0) sprintf(out, "VIEW: %.1f sec/div  ", show_time*(DATA_SIZE) 60.0);
            else                            sprintf(out, "VIEW: %.1f min/div  ", show_time);
         }

         if(view_interval != 1) color = BLUE;
         else                   color = WHITE;

         if(all_adevs && (SCREEN_HEIGHT <= TINY_HEIGHT) && (adev_cols_shown > 2)) {
            // aaawww
            sprintf(out, "                    ");
         }
         else {
            vidstr(view_row, col, color, out);
            if(zoom_screen == 'P') col += ZOOM_SPACE;
            else --view_row;
            queue_row = view_row;
         }

         show_time = (DATA_SIZE) (view_interval*queue_interval*PLOT_WIDTH);  // seconds per screen
         show_time /= plot_mag;
         show_time /= nav_rate;
         if(all_adevs && (SCREEN_HEIGHT <= TINY_HEIGHT) && (adev_cols_shown > 2)) {
            // aaawww
            sprintf(out, "                    ");
         }
         else {
            if(show_time < (DATA_SIZE) (2.0*60.0*60.0)) sprintf(out, "VIEW: %.1f min     ", show_time/60.0F);
            else sprintf(out, "VIEW: %.1f hrs     ", show_time/(DATA_SIZE)(60.0*60.0));
            vidstr(view_row, col, color, out);
            if(zoom_screen == 'P') ;
            else --view_row;
            queue_row = view_row;
         }
      }

      label_plots();
   }
}

// Assembly:
movb 0x2103be(%rip), %al     # 0x226d3e
testb %al, %al
je 0x1698e
cmpb $0x0, 0x2103b2(%rip)    # 0x226d3d
jne 0x1698e
retq
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
cmpb $0x50, 0x2dfe07(%rip)   # 0x2f67a8
je 0x169ba
cmpb $0x0, 0x212594(%rip)    # 0x228f3e
je 0x169b4
movl 0x1ebde6(%rip), %ebx    # 0x202798
jmp 0x169ba
movl 0x1ebdea(%rip), %ebx    # 0x2027a4
testb %al, %al
setne %al
cmpl $0x3, 0x2102c2(%rip)    # 0x226c88
setge %dl
andb %al, %dl
movl 0x1ebe2f(%rip), %ecx    # 0x202800
cmpl $0x4fa, %ecx            # imm = 0x4FA
setl %al
andb %dl, %al
cmpb $0x1, %al
jne 0x16a06
movupd 0x107089(%rip), %xmm0   # 0x11da71
movapd %xmm0, 0x30f830(%rip)   # 0x326220
movabsq $0x20202020202020, %rax # imm = 0x20202020202020
movq %rax, 0x30f82c(%rip)    # 0x32622d
jmp 0x16c2e
cmpb $0x0, 0x30e9e3(%rip)    # 0x3253f0
je 0x16c2e
movq 0x1ee97e(%rip), %rax    # 0x205398
imulq 0x1ee97e(%rip), %rax    # 0x2053a0
movslq 0x1ebe5b(%rip), %rdx    # 0x202884
imulq %rdx, %rax
cvtsi2sd %rax, %xmm0
cvtsi2sdl 0x1ee996(%rip), %xmm1 # 0x2053d0
divsd %xmm1, %xmm0
divsd 0xdc5c2(%rip), %xmm0    # 0xf3008
cvtsi2sd %edx, %xmm1
cvtsi2sdl 0x1ebe22(%rip), %xmm2 # 0x202874
divsd %xmm2, %xmm1
divsd %xmm1, %xmm0
divsd 0x1ee8f6(%rip), %xmm0   # 0x205358
imull $0x31a, 0x1f6ad8(%rip), %eax # imm = 0x31A
pushq $0x64
popq %rsi
cltd
idivl %esi
cmpl %eax, %ecx
jl 0x16a97
cmpl $0x257, 0x1ebd84(%rip)  # imm = 0x257
jle 0x16a97
cmpl %eax, %ecx
jg 0x16c3d
cmpb $0x1, 0x1ebdc8(%rip)    # 0x202859
je 0x16c3d
leaq 0x30f782(%rip), %rdi    # 0x326220
leaq 0xddfed(%rip), %rsi     # 0xf4a92
movb $0x1, %al
callq 0x9060
movq 0x1ee8ed(%rip), %rax    # 0x2053a0
cmpq $0x1, %rax
pushq $0xf
popq %rcx
pushq $0x9
popq %rdx
cmovel %ecx, %edx
cmpb $0x0, 0x210277(%rip)    # 0x226d3e
movzbl %dl, %r14d
movabsq $0x20202020202020, %r15 # imm = 0x20202020202020
je 0x16b07
cmpl $0x1e0, 0x1ebd23(%rip)  # imm = 0x1E0
jg 0x16b07
cmpl $0x3, 0x21019e(%rip)    # 0x226c88
jl 0x16b07
movupd 0x106f7d(%rip), %xmm0   # 0x11da71
movapd %xmm0, 0x30f724(%rip)   # 0x326220
movq %r15, 0x30f72a(%rip)    # 0x32622d
movb $0x1, %cl
jmp 0x16b72
movl 0x1ebcbf(%rip), %edi    # 0x2027cc
leaq 0x30f70c(%rip), %rcx    # 0x326220
movl %ebx, %esi
movl %r14d, %edx
callq 0xe2d2
cmpb $0x50, 0x2dfc83(%rip)   # 0x2f67a8
jne 0x16b32
addl $0x14, %ebx
movl 0x1ebc9c(%rip), %eax    # 0x2027cc
jmp 0x16b40
movl 0x1ebc94(%rip), %eax    # 0x2027cc
decl %eax
movl %eax, 0x1ebc8c(%rip)    # 0x2027cc
movl %eax, 0x1ebc8a(%rip)    # 0x2027d0
movq 0x1ee853(%rip), %rax    # 0x2053a0
cmpb $0x0, 0x2101ea(%rip)    # 0x226d3e
setne %cl
cmpl $0x1e1, 0x1ebca3(%rip)  # imm = 0x1E1
setl %dl
andb %cl, %dl
cmpl $0x3, 0x21011b(%rip)    # 0x226c88
setge %cl
andb %dl, %cl
testb %cl, %cl
je 0x16b92
movupd 0x106ef3(%rip), %xmm0   # 0x11da71
movapd %xmm0, 0x30f69a(%rip)   # 0x326220
movq %r15, 0x30f6a0(%rip)    # 0x32622d
jmp 0x16c2e
imulq 0x1ee7fe(%rip), %rax    # 0x205398
movslq 0x1ebce3(%rip), %rcx    # 0x202884
imulq %rax, %rcx
cvtsi2sd %rcx, %xmm0
cvtsi2sdl 0x1ee81e(%rip), %xmm1 # 0x2053d0
divsd %xmm1, %xmm0
divsd 0x1ee79a(%rip), %xmm0   # 0x205358
movsd 0xdc55a(%rip), %xmm1    # 0xf3120
xorl %eax, %eax
ucomisd %xmm0, %xmm1
seta %al
leaq 0xddef4(%rip), %rcx     # 0xf4aca
leaq 0xddf01(%rip), %rsi     # 0xf4ade
cmovaq %rcx, %rsi
leaq 0xdc5b8(%rip), %rcx     # 0xf31a0
divsd (%rcx,%rax,8), %xmm0
leaq 0x30f62c(%rip), %r15    # 0x326220
movq %r15, %rdi
movb $0x1, %al
callq 0x9060
movl 0x1ebbc8(%rip), %edi    # 0x2027cc
movl %ebx, %esi
movl %r14d, %edx
movq %r15, %rcx
callq 0xe2d2
cmpb $0x50, 0x2dfb90(%rip)   # 0x2f67a8
movl 0x1ebbae(%rip), %eax    # 0x2027cc
je 0x16c28
decl %eax
movl %eax, 0x1ebba4(%rip)    # 0x2027cc
movl %eax, 0x1ebba2(%rip)    # 0x2027d0
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x1538f
movsd 0xdc42b(%rip), %xmm1    # 0xf3070
ucomisd %xmm0, %xmm1
jbe 0x16c66
mulsd 0xdc3b5(%rip), %xmm0    # 0xf3008
leaq 0x30f5c6(%rip), %rdi    # 0x326220
leaq 0xdde3f(%rip), %rsi     # 0xf4aa0
jmp 0x16aa5
leaq 0x30f5b3(%rip), %rdi    # 0x326220
leaq 0xdde41(%rip), %rsi     # 0xf4ab5
jmp 0x16aa5